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 laptop and a desktop, and I dont have internet access at home. I know Adobe Cloud is a monthly subscription allows you to use it every 30 days with no internet connection. The way The Foundry does it, is a yearly plan, and when its time for [More]
BB Curve 8310 OS 4.5 Desktop Manager 5.0 Theme = Dimension Today  Outlook 2007 "full version" Using two POP3 email accounts. One is a personal gmail and the other is most important a business email. I do not use gmails calendar.  12 Months or so [More]
We recently changed a web application using DB2 5.2 tables from ODBC to JDBC. We are using the COM.ibm.db2.jdbc.net.driver. We are using a connection pool and running on iPlanet. We are getting intermittant "CLI0615E Error receiving from socket, serv [More]
After hours of setting individual settings for each photo in a 150 photo slideshow presentation i have a great slideshow in iPhoto. Now trying to share this is proving a challenge - maybe someoone out there can help. First I have exported as a QuickT [More]
Updated to flash 11.0.1.152, now any web chat site that uses flash can only detect the built in iSight camera - none of the other cameras that I have attached. Flash detects all cameras while using Chrome, but not Firefox. Does anyone know why it doe [More]
Hi, In the samplesale RPD, I saw a lot of alias tables and I check the mapping in physical layer, there is no mapping between source table of alias table and F, just have mapping between alias table and F, so what I want to know is what's the purpose [More]
I have been thinking about something I cannot figure out, if anyone has tried this before, please help! Here is one scenario: I have 10 channels, each with one value.  I would like to make a graph of these values versus the channel name.  Is this pos [More]
Hi folks, i am unable to get any splashimage with grub-gfx. I recently installed this package in place of vanilla grub and made the requisite changes to the menu.lst file. grub behaves normally except, it shows no image. here's my menu.lst file: # Co [More]
hi all, i am using db10g. i have EMPLOYEE_MASTER EMP_CODE EMP_NAME EMP_DEPT primary key EMP_CODE and foreign key EMP_DEPT references DEPARTMENT_MASTER (primary key) DPT_CODE DEPARTMENT_MASTER DPT_CODE DPT_NAME DPT_LOCnow my question is first i have t [More]
Hi, I have a standard JEE compliant web-app that uses JSF. Since J2EE 5 and further app servers are mandated to provide JSF implementation I'm not including JSF libs in the war. The app deploys successfully on JBoss, and I believe it will deploy on o [More]