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

sample code in PBO and PAI

Former Member
0 Likes
1,768

Hi all,

i created a new field in the customer master (xd03) screen with a button. if i click that button, it will display the next screen with the new field. now i need to write the code in PBO and PAI events in that screen to get the data from table and to change the already exiting data.

can any body provide me the sample code wht to write in the PBO and PAI eventts.?

thanks in advance.

kp

3 REPLIES 3
Read only

Former Member
0 Likes
913

Sample code:

PROCESS BEFORE OUTPUT.
  MODULE STATUS_MYSCREEN .
*
PROCESS AFTER INPUT.
  MODULE USER_COMMAND_MYSCREEN.

Rob

Read only

0 Likes
913

I am retriving the values from the kna1 table to the customer master (Xd03) screen, by adding the extra field in the screen. can any body provide the sample code. wht to write to get the value from the kna1 to the screen when executing the xd03 transaction, by giving the customer number? i mean what write in the PBO and PAI and give me a sample piece of code..if you have.

Please suggest me.

thanks kp.

Read only

Former Member
0 Likes
913

Hi,

I think you find the answer but i still answered your question.

You can use the function module 'DYNP_VALUES_READ' to read value you want and use the function module ' HELP_VALUES_GET_WITH_TABLE' to get the values from kna1 table.

Good luck.