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

module pool

Former Member
0 Likes
441

Hi,

In my module pool program i have 10 screen which are normal screen. in second screen PBO i have selected the data from LTAK and passed the delivery values to pushbutton on screen i.e these 5 delivery no. are written on 5 push buttons.

Suppose if i click on first button it has to move to next screen where customer details need to be displayed,

using tables likp and kunnr.

my question is how can i catch the value of delivery no. when one of the push button it is pressed and is to be checked in next screen PBO. to fetch the details of kunnr.

suggest me plz.

Thanks in Advance.

Purna.

1 ACCEPTED SOLUTION
Read only

prasanth_kasturi
Active Contributor
0 Likes
409

Hi,

define a variable for 5 buttons

Pass the Five Values to five Variables.

And U will keep a FCT code for each button

so underr this FCT code write the select query to fetch the records using the appropriate Variable

Regards

Prasanth

2 REPLIES 2
Read only

prasanth_kasturi
Active Contributor
0 Likes
410

Hi,

define a variable for 5 buttons

Pass the Five Values to five Variables.

And U will keep a FCT code for each button

so underr this FCT code write the select query to fetch the records using the appropriate Variable

Regards

Prasanth

Read only

Former Member
0 Likes
409

You'll get the Funtion code that you assign to the button in Sy-Ucomm

Read Sy-ucomm and process accordingly in User Command.