Application Development 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: 

how to get value of dictionary refrence screen field value into PAI

Former Member
0 Kudos
116

In module programing i have one dictionary refrence screen field - 'RF02K-LIFNR' which takes default value of vendor number while running,

problem is that how to get that value into PAI, i have defined it as data: RF02K-LIFNR LIKE RF02K-LIFNR. in PAI form - but i value is not transfered from screen to PAI.

how can we do that?

regards,

dushyant.

2 REPLIES 2

Former Member
0 Kudos
61

Hi,

You can declare global variable,

eg:w_lifnr like RF02K-LIFNR.

In PBO module,assign it to RF02K-LIFNR.

i.e,

w_lifnr = RF02K-LIFNR.

In PBO module, get the data from that variable.

i.e,

RF02K-LIFNR = w_lifnr.

Think it will work,

Regards,

Viji

Former Member
0 Kudos
61

Hi,

Please define the following definition in TOP include.

TABLES: RF02K.

I hope that you will get the value. As a good practise use a structure which is similiar to table RF02K. Please search. Surely available.

Regards

Bhupal Reddy