Skip to Content
author's profile photo Former Member
Former Member

Formatting Data Using Nested Internal Tables

q]] In the following link http://help.sap.com/saphelp_46c/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm

please find Formatting Data Using Nested Internal Tables

here what does

GET<table name> LATE means?

-


q]] Why is it that I need to Refresh WA_SPFLI-SFLIGHT ,& WA_SFLIGHT-SBOOK & Why I do not do the same with WA_SPFLI.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Nov 22, 2007 at 07:23 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 22, 2007 at 07:26 AM

    GET … LATE

    This event is triggered when all of the data records for a node of the logical database have been read.

    When you define the corresponding event block in the program, you can, as with GET, specify a field list if the logical database supports field selection for this node:

    GET <table> LATE [FIELDS <f1> <f 2>...].

    You can use the event block for processing steps that should occur at the end of the block, like, for example, calculating statistics.

    The following program is connected to the logical database F1S.

    REPORT EVENT_DEMO.

    NODES: SPFLI, SFLIGHT, SBOOK.

    DATA WEIGHT TYPE I VALUE 0.

    START-OF-SELECTION.

    WRITE 'Test Program for GET <table> 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.

    The total luggage weight is calculated for each flight in the event GET SBOOK, and then displayed in the list and reset in the event GET SFLIGHT LATE. Depending on the values you enter on the selection screen, the beginning of the list might look like this:

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.