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

table control flow logic

Former Member
0 Likes
285

Hi,

I was using header part and detail part in a screen..Header part is having only 4 fields(text box)

Detail part is having table control with 5 fields..

Now how to validate using chain and endchain..

can anyone help me with sample code..

My code looks as follows

*Process Before Output

PROCESS BEFORE OUTPUT.

MODULE STATUS_3636.

MODULE MOVE_HDR_TO_SCREEN.

LOOP AT IT_DET WITH CONTROL PO_DET.

MODULE MOVE_DATA_TO_SCREEN.

ENDLOOP.

MODULE CLEAR_FIELDS.

*Procees After Input

PROCESS AFTER INPUT.

MODULE USER_COMMAND_3636.

CHAIN.

FIELD : ZINS,ZLAN,ZCU1,JCV1.

MODULE VALIDATION.

ENDCHAIN.

MODULE MOVE_HDR_FROM_SCREEN.

LOOP AT IT_DET.

CHAIN.

FIELD : EBELN,EBELP,MATNR,MENGE,NETPR.

MODULE VALIDATION_TC.

ENDCHAIN.

MODULE MOVE_DATA_FROM_SCREEN.

ENDLOOP.

1 REPLY 1
Read only

Former Member
0 Likes
258

hi,

cut and paste the module user_command after the chain and endchain. it will work fine.

Rgds.,

subash