Sitemap

Amicuk Programming Answers

Field-group - Read Content of Field-Group

-0001-11-30   Views:0

Advertisement

Hi, I would like to know how to read the values contained in an field-group. In the below code i would like to know the contents of HEADER at the loop statement. DATA: T1(4), T2 TYPE I. FIELD-GROUPS: HEADER. INSERT T2 T1 INTO HEADER. T1 ='AABB'. T2 =

Hi,
I would like to know how to read the values contained in an field-group. In the below code i would like to know the contents of HEADER at the loop statement.
DATA: T1(4), T2 TYPE I.
FIELD-GROUPS: HEADER.
INSERT T2 T1 INTO HEADER.
T1 ='AABB'. T2 = 1. EXTRACT HEADER.
T1 ='BBCC'. T2 = 2. EXTRACT HEADER.
T1 ='AAAA'. T2 = 2. EXTRACT HEADER.
T1 ='AABB'. T2 = 1. EXTRACT HEADER.
T1 ='BBBB'. T2 = 2. EXTRACT HEADER.
T1 ='BBCC'. T2 = 2. EXTRACT HEADER.
T1 ='AAAA'. T2 = 1. EXTRACT HEADER.
T1 ='BBBB'. T2 = 1. EXTRACT HEADER.
T1 ='AAAA'. T2 = 3. EXTRACT HEADER.
T1 ='AABB'. T2 = 1. EXTRACT HEADER.
SORT BY T1 T2.
LOOP.                       " At this Point, need to know the consolidated contents of Field Group.
  AT FIRST.
    WRITE 'Start of LOOP'.
    ULINE.
  ENDAT.
  AT NEW T1.
    WRITE / '   New T1:'.
  ENDAT.
  AT NEW T2.
    WRITE / '   New T2:'.
  ENDAT.
  WRITE: /14 T1, T2.
  AT END OF T2.
    WRITE / 'End of T2'.
  ENDAT.
  AT END OF T1.
    WRITE / 'End of T1'.
  ENDAT.
  AT LAST.
    ULINE.
  ENDAT.
ENDLOOP.
Edited by: Aravind. R on Jul 29, 2009 2:35 PM

The replay answer
Advertisement
I am affraid this is not possible to preview content of EXTRACTS. You can only have one extract within program ,that's why when you use LOOP without any addtions, system knows that you are addressing EXTRACT. But it is not a physical data object you can address explicitly (neither within debugger). I think this is stored in some special memory area,
I checked in Classic Debugger (top menu Goto -> System areas -> SCREEN table -> then in field Area typed ? to show all memory areas, but nothing meangful for extracts I found.
I think the only way to preview the contents would be writing it on screen.
Regards
Marcin

Go to See the other 5 answers

Field-group - Read Content of Field-Group

Category:DefaultRelease time:-0001-11-30Views:130

Hi, I would like to know how to read the values contained in an field-group. In the below code i would like to know the contents of HEADER at the loop statement. DATA: T1(4), T2 TYPE I. FIELD-GROUPS: HEADER. INSERT T2 T1 INTO HEADER. T1 ='AABB'. T2 =[More]

Content query grouping field that use taxonomyfield display

Category:DefaultRelease time:-0001-11-30Views:130

We have a term store in two languages (Es an En) and a variation system active I have a library that has a  Managed Metadata  field add When I add a content query in a spanish page that display the library content, and group the results using this ta[More]

Field-Group Content.

Category:DefaultRelease time:-0001-11-30Views:130

Is any way to check the content of Field-Group during debugging. How to get the content of Field Group at this point. EXTRACT fgData.I found this post here  [http://forums.sdn.sap.com/thread.jspa?threadID=1427390] by  Marcin Pciak Re: field-group - R[More]

Address book : modify field content to group or multiple selection ... ?

Category:DefaultRelease time:-0001-11-30Views:130

I'm looking for a way to modify multiple cards in the address book, I mean, I have a group and I want to add a comment to all the cards in this group. any idea ?thx for the quick response VK I sync with an iPhone but not mobile me. I corrected 25 syn[More]

Grouping on fields that have more than one value entered.  Please need help fast!!!

Category:DefaultRelease time:2015-10-11Views:130

Post Author: DennisC CA Forum: General I am creating a report that is to be grouped on a particular field that can have more than one entry.  My user said they did not care how I did it but to only count the record one time.  The field that is select[More]

Can you create a If, then [Show DropDown List] If not [Show 2, Person or Group look ups fields]??

Category:DefaultRelease time:2015-10-11Views:130

Hello I am tying to learn SharePoint at a "Throwing you into the Lions with a toothpick" way. I can create  basic columns and work in SharePoint designer fairly OK. Now I am trying to update one of my list with the following and I cannot seem to[More]

PCUI error: Field group could not be read completely

Category:DefaultRelease time:2015-10-11Views:130

Hello, I am trying to remove some fields from the Sales Data tab in the Sales Orders application CRMD_BUS2000115. I have changed field groups before, noth in CRM 4.0 and CRM 5.0, but in this case, I always get this error. By going into debugging mode[More]

Not able to use Shift field and Shift Grouping field while using OPK0

Category:DefaultRelease time:2015-10-11Views:130

Hi, I am using the SAP ECC 6.0 Enhancement Pack-4, In Transaction 'OPK0' while confuguring the default value for shift in the *Default* Tab, i am getting the 'Shift - field:SHIFT_PROP('Proposal Shift for Single-Screen Entry') and Shift Grouping, in D[More]

DAX - Grouping by 2 different fields in 1

Category:DefaultRelease time:2015-10-11Views:130

Hi, Imagine a table that has persons. Persons have a set of attributes like Father and Mother profession. In each of the fields, the contents are on the same context, you can have a person that has a father or mother that is a doctor, engineer or tea[More]

Restrict metadata field during an update to a specific user group

Category:DefaultRelease time:2015-10-11Views:130

Hello everyone, I am having some trouble figuring out the best way to restrict permissions to change some metadata fields for 2 different groups of users. I have two user groups, A and B. Group A will be checking in documents that the B group will th[More]

Urgent problem: grouping by fields of internal table

Category:DefaultRelease time:2015-10-11Views:130

Hi friend, i have a urgent problem and i hope that you can help me out: i have an internal table containing data, and i sorted it by 3 fields. now what i want to do is kind of grouping that means that all the lines that are the same should be written[More]

Hot
I have a SSAS cube with a date dimension called Posting Period and now I would like to have my report parameter using this date dimension to show the current month. So far I have worked out the following expression which are working(Fiscal year calen [More]
I created a servlet which handling user login. The login itself is based on the web.xml, it is run well on windows environment, but not in linux. Although, i have invalidated the session when the user logout, the next user who login still use the pre [More]
I have all the right connectors and I'm get the Not Charging message when I plug it in to charge. it worked at the Amsterdam airport, but now in Greece it doesn't. Using the exact same connection in Greece, my wife's iPad 2 does charge correctly. Doe [More]
Hey everyone, I just have a simple question. My iTunes library size is around 23GB, this is what iTunes displays in the bottom of the program. However, when I go to my iTunes music folder. It says I have around 36GB of files. Is there something wrong [More]
Currently I have a good desktop setup and a macbook retina. I was thinking of expanding my HDD setup and was wondering if buying an enclosure would be a viable idea? I was looking at something like this http://www.newegg.com/Product/Product.aspx?Item [More]
Using RDS Servlet is often tricky, especially for dynamic services, especially when using the SpringFlex integration. Also, there are cases where I would like to just generate the _Super_MyService.as files from a build script. That is, in either case [More]
Hi all, Does oracle b2b supports 'application/vnd.ms-excel' type of files to be send as an attachment to end TP? We are using SOA 11.1.1.3 version.It should be supported though have not tested. Please test and let us know in case of any issue. Regard [More]
I have set up a site in Dreamweaver and wonder why some of the pages shift slightly (and I don't like that) when you select them on the navigation bar and others do not? (When you click from Retailer to Developer, the page shifts; when you click from [More]
Hi all, I am working on a report where, i am retrieving the Header text of Billing Document. I am retrieving Header texts of Billing Documents (VBRK-VBELN) using READ_TEXT Function Module. Now, if a Billing Document is not having header text, the rep [More]
I have made slideshows with audio tract successfully in Aperture, exported to iTunes, MobileMe Gallery and to desktop. Toast has been unable to burn the slideshow to disk.  I noted now that the exported file to desktop is a "protected MPEG-4 movie&qu [More]