Table control in dialog program


Table control in dialog program using internal table













Table control




Step1. Create internal table in the program

BEGIN OF TY_WBS,
BUKRS     TYPE BUKRS,"CC
GSBER     TYPE GSBER,"BA
WBS_ELE   TYPE PS_POSID,WBS text
INDEX(1)  TYPE C,
END OF TY_WBS,

Define internal table and work area
 G_T_WBS_TAB             TYPE  STANDARD TABLE OF TY_WBS,
 G_R_WBS_TAB             TYPE TY_WBS,

Step 2.Go to the screen were we wanted to create the table control

Screen 1002


















Step 3.

















Step 4.

















Step 5.
















Step 6.


















Step 7.



Step 8.


















Step 9.



Step 10.

















Step 11.














We can validate the table control rows based on the number of lines

In this scenario we are validation based on rows populated in PBO based on project id



























Go flow logic to the screen  1002


















































No comments:

/*Newer Post*/ Home