2009 Mar 02 4:38 AM
Hello Friends,
I have a requirement to add two fields called packsize and packno in the quantity tab of migo transaction code.
the user will enter packsize and packno in the respective fields and based on tht the quantity field should be updated..
Pls suggest
Regards,
2009 Mar 02 4:51 AM
Hello Friends,
I have a requirement to add two fields called packsize and packno in the quantity tab of migo transaction code.
the user will enter packsize and packno in the respective fields and based on tht the quantity field should be updated..
Pls suggest
Regards,
2009 Mar 02 4:42 AM
2009 Mar 02 4:51 AM
2009 Mar 02 4:53 AM
Hi Sunny,
Try using exits preferably User Exits or BADI.
Check this link about user exits.
Much Regards,
Amuktha.
2009 Mar 02 4:58 AM
Hi
I would suggest you to check the USER Exits Present in MIGO , and do your changes accordingly.
Thanks
mrutyun^
2009 Mar 02 5:25 AM
Hi Sunny,
I don't think u will be able to add new fields to the quantity tab.
But What u can do is Add your own Tab and here add those 2 fields that you want.
See the link below for the same.
Go to SAP Technical dot com and there go to BADI Tutorials
Rahul
2009 Mar 16 7:47 AM
2012 Oct 18 10:09 AM
****************************MIGO UI ENHANCEMENT*******************************
Step1 : Run Tcode se19 .
Step 2 :Go to group create enhancement and click on classic badi radio button
Step 3 :Enter badi name MB_MIGO_BADI and click on button create.
Step 4: In the pop up screen give you Implementation Name
Step 5:Enter the short text
Step 6:Go to interface tab
Step 7:Click on PBO_DETAIL method of interface .it will ask you to create the enhancement implementation
Step 8:Click on create button and enter Enhancement Implementation ,group etc in pop up screen appeared and ok.
Step 9:Now select your Enhancement Implementation just created in step 8.
Step 10:Go to PBO_DETAIL method
Step 11:And write the following code
METHOD if_ex_mb_migo_badi~pbo_detail.
DATA :gf_class_id TYPE migo_class_id,
g_no_input TYPE xfeld,
g_line_id TYPE goitem-global_counter,
g_ext_data TYPE ty_t_extdata.
gf_class_id = 'MIGO_BADI_IMPLEMENTATION_CIN'.
e_cprog = 'Z_MIGO_ENHANCEMENTS1'.
e_dynnr = '0100'.
e_heading = 'MIGO ENHANCEMENT'.
g_line_id = i_line_id.
ENDMETHOD.
Step 12: Under PAI method declare the field to ‘X’.
Code look Like:- method IF_EX_MB_MIGO_BADI~PAI_DETAIL.
E_FORCE_CHANGE = 'X'.
endmethod.
Step 13: Under the line modify method declare a flag and set to ‘X’ checking for material document number by which we can set the fields to be in display mode when we open MIGO for display of material document created after doing goods receipt.
Code look like:- METHOD if_ex_mb_migo_badi~line_modify.
DATA flag(1) TYPE c.
IF cs_goitem-mblnr IS INITIAL.
flag = 'X'.
ENDIF.
ENDMETHOD.
Step 14:Now go to se80 and make the MODULE program as mentioned in step 11 Z_VENDOR_ENHANCEMENTS1'
Step 15: Step make a sub screen 0100 as in step 11 .
Step 16: save and activate and test the migo.migo look like
2020 Dec 08 4:38 PM
Hi surajprakash.singh
I am very new to BADI , i need to add an new tab in MIGO header level.
As above you have provided an item level adding an tab. Can you provide me an step by step procedure to add field on header level. If you provide me an screenshot also better
Need an urgent requirment.