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 Issue

Rajesh_Arya
Explorer
0 Likes
914

Hi ,

I am working on a development scenario where , a table control has 4 columns. One is material/Batch , quantity , Available stock , Total quanitity(Posting)

.

Once the user enters the quantity , and click on proceed ,  BApi is triggered for 261 , 531 and 131 movement types. Lets not get into the process.

My issue is

Batch/material     No of cylinders  Avail stock    Total quantity    

Med Oxy7.5         20                     300               150  (in Cubic mtrs)

Logic is total qty : 7.5 * 20 = 150 cc.

In tab control internal table calculation is done and its used for bapi posting.

Now the user want to see the  total quantity value in tab control itself once he hits enter . i have added a field and assigned the wa of int tab .

But its not getting updated on screen. Any one can help out ?

Attached screen logic.

1 ACCEPTED SOLUTION
Read only

former_member194152
Contributor
0 Likes
881

You need to call update quantity module at PBO .

5 REPLIES 5
Read only

former_member194152
Contributor
0 Likes
882

You need to call update quantity module at PBO .

Read only

0 Likes
881

Hi Gagan ,

Values are populating in internal table . But they are net getting displayed in tab cntrl afterthe user input.

Read only

0 Likes
881

Hi Rajesh,

That is why I asked you to call update module in PBO, because after PAI(User Command) automatically PBO will called before screen display, so if you want to change in screen display ypu need to write code in PBO, remeber functionality of Report transaaction AT SELECTION-SCREEN OUTPUT event, to change screen appearence.

Regards,

Gagan

Read only

0 Likes
881

Might be the input field name and the work are field name is not matching for Total quantity field.Please check the input field name in layout

Thanks

Naresh

Read only

naresh_bammidi
Contributor
0 Likes
881

Hi,

Please follow below thread..

http://scn.sap.com/thread/3213691

Thanks

Naresh