‎2009 Oct 06 11:15 AM
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
‎2009 Oct 06 12:22 PM
why no body is responding to my question? was my question confusing or did i break the rules of SDN.do reply
‎2009 Oct 06 3:26 PM
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!)