06-06-2008 1:45 PM
Hi,
Can anyone tell me the the use of GET LATE command in logical database,
when to use this..
example will be more helpful.
Regards,
Mrunal
06-06-2008 1:49 PM
Hi Mrunal,
This link is the help.sap link. It will clear all your queries.
http://help.sap.com/saphelp_nw04s/helpdata/en/9f/db9abd35c111d1829f0000e829fbfe/frameset.htm
Thanks
Nayan
Reward if useful
06-06-2008 1:49 PM
Hi Frd
If you want to perform calculations or other operations which are not associated with certain additional fields, you can formulate ABAP code for the GET and GET LATE events of a logical database table when creating an InfoSet. The code for GET events is particularly important if you have defined parameters or selection criteria for the InfoSet. It is here that you must define the code to check whether a table line is to be evaluated or not.
Example
REPORT demo_program_get_late.
NODES: spfli, sflight, sbook.
DATA weight TYPE i VALUE 0.
START-OF-SELECTION.
WRITE 'Test Program for GET node LATE'.
GET spfli.
SKIP.
WRITE: / 'Carrid:', spfli-carrid,
'Connid:', spfli-connid,
/ 'From: ', spfli-cityfrom,
'To: ', spfli-cityto.
ULINE.
GET sflight.
SKIP.
WRITE: / 'Date:', sflight-fldate.
GET sbook.
weight = weight + sbook-luggweight.
GET sflight LATE.
WRITE: / 'Total luggage weight =', weight.
ULINE.
weight = 0.
Reward Me Point
By
Pari
06-06-2008 1:53 PM
06-06-2008 1:54 PM