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 data from screen for custom field?

Former Member
0 Kudos

Hi,

I have added custiom field in header for MIGO_GI transaction using BADI MB_MIGO_BADI by using Method PBO_HEADER, How to get the data from that field into method PAI_HEADER, if any body knows,please let me know.

Thanks.

4 REPLIES 4

Former Member
0 Kudos

hi

you need to apppend your custom field in the GOHEAD structure , then automatically you we will get field value in the method IF_EX_MB_MIGO_BADI~PAI_HEADER with internal table is_gohead.

Pls try once?

Tks .. venkat

0 Kudos

Hi,

Thank u for ur reply, I have added the field alredy to that structure, but i am not getting the data.please let me know if u know any solution for this.

Thanks.

0 Kudos

names should be same for both screen fields and internal tables or work area..

0 Kudos

also use .. following code

call function 'OIB_SET_OKCODE'

exporting

i_okcode = i_okcode.