Application Development and Automation 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: 
Read only

SAP Stndard FI Report/ programs

Former Member
0 Likes
463

Hi,

Many times I observe and not able to quite understand below.

In SAP Standard reports and progrrams, in PAI, there is always a command.

LOOP.

ENDLOOP.

There is nothing in between and no table name.

For example, you can see transaction FS10, Program SAPMF42B and screen 310.

If you see it, there is a loop , endloop in PAI statement. Is it a step Loop or so?


PROCESS BEFORE OUTPUT.
        MODULE EXCTAB.
        MODULE STATUS.
        MODULE TITEL.

      LOOP.
        MODULE D0310_ANZEIGEN.
      ENDLOOP.

PROCESS AFTER INPUT.
        MODULE EXIT AT EXIT-COMMAND.

      LOOP.
      ENDLOOP.

        MODULE OKCODE_VERARBEITUNG.

1 ACCEPTED SOLUTION
Read only

former_member212005
Active Contributor
0 Likes
429

I think what you understood is right...these might be step loops..

Refer the below link..

http://help.sap.com/saphelp_nw04/Helpdata/EN/9f/dbacac35c111d1829f0000e829fbfe/content.htm

Hi,

Many times I observe and not able to quite understand below.

In SAP Standard reports and progrrams, in PAI, there is always a command.

LOOP.

ENDLOOP.

There is nothing in between and no table name.

For example, you can see transaction FS10, Program SAPMF42B and screen 310.

If you see it, there is a loop , endloop in PAI statement. Is it a step Loop or so?


PROCESS BEFORE OUTPUT.
        MODULE EXCTAB.
        MODULE STATUS.
        MODULE TITEL.

      LOOP.
        MODULE D0310_ANZEIGEN.
      ENDLOOP.

PROCESS AFTER INPUT.
        MODULE EXIT AT EXIT-COMMAND.

      LOOP.
      ENDLOOP.

        MODULE OKCODE_VERARBEITUNG.

2 REPLIES 2
Read only

former_member212005
Active Contributor
0 Likes
430

I think what you understood is right...these might be step loops..

Refer the below link..

http://help.sap.com/saphelp_nw04/Helpdata/EN/9f/dbacac35c111d1829f0000e829fbfe/content.htm

Read only

Former Member
0 Likes
429

Hi Rupali,

What you understood is right,,

You can have more details on STEP LOOP in

Tx ABAPDOCU

ABAP Documentation and Examples >BC - ABAP Programming >ABAP User Dialogs >Screens >Complex Screen Elements >Step Loops

Thanks & regards,

Dileep .C