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-ABAPpg

Former Member
0 Likes
583

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?

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?

3 REPLIES 3
Read only

Former Member
0 Likes
534

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

Read only

Former Member
0 Likes
534

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

Read only

Former Member
0 Likes
534

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.