Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

field groups

Former Member
0 Kudos

what are field groups, im working on HR ABAP. whre can i use this.

plz help me.

1 REPLY 1

Former Member
0 Kudos

Hi,

Field Groups are used to Retrive data like Internal Tables.

When the data is huge, we use field groups instead of internal Tables.

We use certain key words like EXTRACT, HEADER etc in Field groups.

see the sample code:

REPORT demo_extract.

NODES: spfli, sflight.

FIELD-GROUPS: header, flight_info, flight_date.

START-OF-SELECTION.

INSERT: spfli-carrid spfli-connid sflight-fldate

INTO header,

spfli-cityfrom spfli-cityto

INTO flight_info.

GET spfli.

EXTRACT flight_info.

GET sflight.

EXTRACT flight_date.

Not much used in HR programing.

Regards,

Anji

Message was edited by:

Anji Reddy Vangala