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

module pool

Former Member
0 Kudos
182

i wouldlike to loop through the table control and o call another transaction so how to do.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Kudos
157

Hi

U can do it the statament EXIT FROM STEP-LOOP to exit from LOOP/ENDLOOP of table control and than call the new trx:

PROCESS PAI.

LOOP AT .....

MODULE EXIT.

ENDLOOP.

MODULE CALL_TRANSACTION.

MODULE EXIT.

IF .......

FL_CALL_TRX = 'X'.

EXIT FROM STEP-LOOP.

ENDIF.

ENDMODULE.

MODULE CALL_TRANSACTION.

CHECK FL_CALL_TRX.

CALL TRANSACTION .......

ENDMODULE.

Max

1 REPLY 1
Read only

Former Member
0 Kudos
158

Hi

U can do it the statament EXIT FROM STEP-LOOP to exit from LOOP/ENDLOOP of table control and than call the new trx:

PROCESS PAI.

LOOP AT .....

MODULE EXIT.

ENDLOOP.

MODULE CALL_TRANSACTION.

MODULE EXIT.

IF .......

FL_CALL_TRX = 'X'.

EXIT FROM STEP-LOOP.

ENDIF.

ENDMODULE.

MODULE CALL_TRANSACTION.

CHECK FL_CALL_TRX.

CALL TRANSACTION .......

ENDMODULE.

Max