05-29-2006 3:32 AM
for displaying table control data we have to write loop and endloop under PBO and PAI if i use only one loop in either PAI or PBO Wt will happen?
05-29-2006 3:36 AM
Hi Rao,
In the PBO you write a loop with reference to a table control to read the data from an internal table into the table control. In PAI you read the data from the table control back into the internal table.
This is the std way of using a table control. If you remove one loop the program will not work.
Cheers
VJ
05-29-2006 5:30 AM
HI
GOOD
ITS ALL DEPENDS UPON YOUR REQUIREMENT, IT MAY NOT BE COMPULSORY THAT YOU HAVE TO GIVE THE LOOP IN BOTH PAI AND PBO STATEMENT.
PAI-PROCESS AFTER INPUT
PBO-PROCESS BEFORE OUTOUT
SO IF YOU WANT SOMETHING AFTER THE INPUT THAN YOU HAVE TO GIVE THE LOOP AT PAI
OR IF YOU WANT SOMETHING BEFORE THE INUT THATN YOU CAN GIVE THE LOOP STATEMENT AT PBO STATEEMENT
THANKS
MRUTYUN
05-29-2006 5:39 AM
Hi Srinivas,
Check these links.
You will have a clear picture of the use of loops in table control.
http://help.sap.com/saphelp_erp2005/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/frameset.htm
http://www.sapdevelopment.co.uk/dialog/tabcontrol/tc_basic.htm
http://www.geocities.com/SiliconValley/Campus/6345/contro02.htm
Regards,
Susmitha.
Dont forget to reward points for useful answers.