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

BADI implementation

Former Member
0 Likes
416

Dear all,

Im trying to add aadditional tab to MIGO tcode at item level.Now i have designed the screen using get from dictionary as im using a Ztable. I have few issues.

1. When im calling the Screen in the BADI PBOmethod. im getting the tab 2 times in the MIGO screen.how to solve it.

2. I have to concatenate 3 field values on the screen into a single field. how shud i declare the variables in the PAI method .

im doing it this way.

*data : v_slno type zpltmtr(this is my Ztable).

case sy-ucomm.

when 'OK_GO'.

concatenate : v_slno-ebeln v_slno-ebelp v_slno-seqno v_slno-runno into v_slno-slno.

insert zpltmtr from v_slno.

endcase.*

when i designed the screen , i used GET FROM DICTIONARY and i got those fields.so my field name in the screen is for example.

Length = ZPLTMTR-LENGTH.

and in the method im using an internal table to get these values and insert,but im unable to get the screen field values to the method .how shud i do that .please help me with suitable code example.

thanks,

naren

2 REPLIES 2
Read only

Former Member
0 Likes
374

why no body is responding to my question? was my question confusing or did i break the rules of SDN.do reply

Read only

0 Likes
374

If you read forum rules, you'll see that nobody answers when you don't give enough information, or nobody knows.

Moreover, nobody should answer if it looks like training, this forum is just to answer to true issues.

First check if your question gives enough information. First of all, you don't give the BAdI name. Etc.

You must declare screen variables in global scope, not in PAI. You use bad statement INSERT (it looks like SQL!)