Adding 3 new tabs in MIGO header

Hey folks ,
I have implemented  BADI :  MB_MIGO_BADI  for addition of an additional TAB at the header level for a single TAB .
but now i want to add two more tabs in the header but it says """""" The content of global field GNO_INPUT (set in method MODE_SET) will   influence the number of external subsreen:'''''''''._ As using the BADI it shows as :
IF g_no_input IS INITIAL.
    e_cprog   = 'Screen name '.
    e_dynnr   = 'screen Number '.                     "External fields: Display
    e_heading = 'TAB heading  ' (004).
endif .
but the problemis that where i should handel the screen name and number for another two tabs .

Hi ,
I solved this problem , using only one implementation.
I used GF_CLASS_ID type Migo_class_id   default value ' MIGO_BADI_EXAMPLE1'and
          GF_CLASS_ID1 type migo_class_id default value ' MIGO_BADI_EXAMPLE2' .
Then Under INIT_Method
APPEND gf_class_id TO ct_init.
   APPEND gf_class_id1 TO ct_init.
Then Pbo_header methos
IF I_CLASS_ID = GF_CLASS_ID .
" Ur code
Endif .
IF I_CLASS_ID = GF_CLASS_ID1 .
" Ur code
Endif .
Regards:
Atanu

Similar Messages

  • Adding new tab in MIGO Tcode at item leveli

    HI all,
    My requirement is to create a new tab at item level in MIGO Tcode. In that tab I have to add some z-fields, here the point to be noted is these custom fields data needs to be saved into a Z-table along with the goods receipt number which is generated whenever we post the GR. So I searched for screen exits for this. I was not able to found this.
    But I was able to find out a BADI "MB_MIGO_BADI". Is this the right BADI, if so could you let me know in which method I could be able to get the saved GRN number for that posted document. How could I call my custom tab in this BADI.
    If there is any alternate method also, could you please let me know.
    Thanks and regards,
    Srinivas.
    Edited by: Vinod Kumar on Jul 7, 2011 10:30 PM

    Hi gvsastry,
    Thanks for your prompt response, I should save ztable data along with the GRN number which is generated when we post data.
    means if the GR posting fails the Z-table data should not be saved. So is that method which you said, will be triggred after the GR posting itself.
    Regards,
    Srinivas.

  • Issue in adding new tab in PO Header Level on ME21N

    Hello,
    As there are many thread where it has mention how to implement badi to get the required output.
    Similarly, i had used the badi ME_GUI_PO_CUST and the method IF_EX_ME_GUI_PO_CUST~SUBSCRIBE.
    My Doubt :
    From the below sample code, from where i have to create the subscreen, Program name.
    For ME21N the program name in status is showing SAPLMEGUI.
    Sample Code from other thread  and my doubts are next to it..
    CHECK im_application = 'PO'.
    CHECK im_element = 'HEADER'.
    CLEAR re_subscribers[].
    ls_subscribe-name = 'SAPLZPONEWTAB'.   "This is the name of subscreen but it shows the standard one (shall i create a program and then add a subscreen and use here?)
    ls_subscribe-dynpro = '9000'.                      
    ls_subscribe-program = 'SAPLZPONEWTAB'.  "Shall i use the program name SAPLMEGUI here
    ls_subscribe-struct_name = 'ZPONEWTAB'.    "Why this is required, as in my case i want to show some fields from EKKO table
    ls_subscribe-label = text-001.
    ls_subscribe-position = 15.
    ls_subscribe-height = 7.
    append ls_subscribe to re_subscribers.
    Please advice...

    Hi,
    Thanks for the reply.
    I have done the things..but, i can't see the tab in the header level.
    Below is my code with my comment.
    Note :
    I created a Function Group by name SAPLZPOHEADER.
    In se80 by giving the name ZPOHEADER i created a subscreen. Also created a structure as ZPOHEADER using it displayed the fields in the screen.
    Code under IF_EX_ME_GUI_PO_CUST~SUBSCRIBE :
    DATA: ls_subscriber LIKE LINE OF re_subscribers.
          CLEAR: re_subscribers.
          REFRESH: re_subscribers.
    IF im_application = 'PO' AND im_element = 'HEADER'.
        CLEAR re_subscribers[].
       ls_subscriber-name = subscreen1.  "As per the sample code i double click and set the attributes of it as same as sample code.
       ls_subscriber-dynpro = '9000'.  "This is the screen no
       ls_subscriber-program = 'SAPLZPOHEADER'.   "Name of the FM Group/Program
       ls_subscriber-struct_name = 'ZPOHEADER'.     "Structure Name
       ls_subscriber-label = text-001.  "Created label as 'doc header'
       ls_subscriber-position = 11.    "Given the position as i want after 'status' in ME21N
      ls_subscriber-height = 7.        
      APPEND ls_subscriber TO re_subscribers.
    Is anything remaining as in debug mode it fills the re_subscribers and go the 'Create Object' but, can see it in display.
    Pls help...

  • New Tab is replacing the Excise Invoice tab on MIGO Header

    Hi All,
      I have Added new tab in MIGO Header,it is working fine, if i am doing MIGO for Excisable PO , then Excise Details tab is not appearing In my MIGO header (New Tab is replacing the Excise Detils Tab) and at my item level Exise item tab is dispaying.
    I have Used BADI  :  MB_MIGO_BADI 
    At PBO_HEADER,
      data: gf_class_id type migo_class_id.
      gf_class_id = 'MIGO_BADI_IMPLEMENTATION_CIN'.
      E_CPROG = 'ZMIGO_VENDTAB'.
      E_DYNNR = '0001'.
      E_HEADING = 'Vendor Details'.
    Please help me.

    Hello
    Refer to below Code.
    METHOD IF_EX_MB_MIGO_BADI~PBO_HEADER.
           CHECK I_CLASS_ID = GF_CLASS_ID.
           IF MIGO_HTAB = 'GR'.
             IF G_NO_INPUT IS INITIAL.
               E_CPROG   = 'SAPLZMIGBADI'.
               E_DYNNR   = '9000'.                     "External fields: Input
               E_HEADING = 'EXTRA GR'(001).
             ELSE.
               E_CPROG   = 'SAPLZMIGBADI'.
               E_DYNNR   = '9000'.                     "External fields: Input
               E_HEADING = 'EXTRA GR'(001).
             ENDIF.
           ENDIF.
           IF MIGO_HTAB = 'GI'.
             IF G_NO_INPUT IS INITIAL.
               E_CPROG   = 'SAPLZGDRCV'.
               E_DYNNR   = '9000'.                     "External fields: Input
               E_HEADING = 'EXTRA GI'(002).
             ELSE.
               E_CPROG   = 'SAPLZGDRCV'.
               E_DYNNR   = '9000'.                     "External fields: Input
               E_HEADING = 'EXTRA GI'(002).
             ENDIF.
           ENDIF.
           IF MIGO_HTAB = 'GR'.
             CALL FUNCTION 'ZMIGO_BADI_PUT_HEADER'
               EXPORTING
                 IS_MIGO_BADI_HEADER_FIELDS = GS_EXDATA_HEADER.
           ENDIF.
           IF MIGO_HTAB = 'GI'.
             CALL FUNCTION 'ZMIGO_BADI_PUT_HEADER_GI'
               EXPORTING
                 IS_MIGO_BADI_HEADER_FIELDS = GS_EXDATA_HEADER.
           ENDIF.
    ENDMETHOD.
    Abhinav Singh

  • A new TAB in MIGO both at header as well at item level

    hey Folks ,
    My requirement is I want to add a new TAB in MIGO both at header as well at item level , I have made efforts with BADI *mb_migo_badi * and added the tab with a text box   .
    I want to save the text added in the text box  ,
    Please help how to procede ...!
    Regards
    Swapnil

    Hey Ashok ,
    I have already made the efforts with the same class .
    My problem is that i had to save the TEXT in the TEXT BOX with the OBJECT ID ,OBJECT NAME  I have used various function mobules as create text ,save text also .....!
    Have created  OBJECT ID  using SE75 since for MIGO transaction its not provided by SAP
    Please guide me for the same .
    Regards
    Swapnil

  • Exit: MM06E005 - Adding a New tab at PO header level

    Hi, 
    1) Could anybody suggest how to use the exit MM06E005 to define a new tab in PO Header which consists of 5 custom fields. please provide the sequnce of steps to be done.
    Do we need to add the custom fields in the Custom Include CI_EKKODB.
    2) How do i de-activate the Custom Include once the project is de-activated.
    3) Can I go ahead and delete the above Custom Include?
    Regards
    Syam

    you can try the enhancement MM06E005, based on the Document category you can show the fields on the screen.

  • Adding a new tab in the header level of me51n

    Hi gurus
        I want to add a new tab in the header level of purchase requisation (me51n/me52n) , where i want to add some new customer fileds and i will update those in a z table.
    how can i do it . please give the complete code if possible .
    thnks in advance.
    regards
    amarendra

    you can try the enhancement MM06E005, based on the Document category you can show the fields on the screen.

  • Possibility of adding new fields to migo transaction

    Is there a possiblity of adding new fields in migo transaction so that we can enter the base price of items in po.
    Also Can we send mail to relevant authorization if there is difference in price entered in the po and the value entered in GR

    Hi, You can use BADI 'MB_MIGO_BADI' for adding custom fields at item as well as header level .
    or Check SAP Note 339448 - MIGO: settings of table control
    2-You can not do any thing related to price in MIGO, since you cannot enter any manual values in MIGO, it will always pull from PO or MIRO (in case of Imports).

  • Problem in adding of tab in MIGO

    hi all,
         I added one tab in MIGO at item details. i created one program and designed one screen. here i am calculating batch code based on screen fields . i need to update standard batch code field with my calculated batch code.  How to update field that is in different tab. Please suggest.
    Thanx & Regards
    Rami Reddy

    You have to contact iTunes Store Support about this.
    http://www.apple.com/support/itunes/contact/

  • Userexit or BADI for adding additional tab in MIGO screen.

    Hi all ,
       Kindly tell me as to which exit or BADI is used to add additional tab in MIGO header.
    Regards

    Hi,
    Create a program with the screen type sub-screen in SE80 and design the layout for the custom fields.
    Declare the custom fields in a Z**TOP include.
    Under the PBO method declare the program name and screen number
    Under PAI method declare the field to u2018Xu2019.
    Under the line modify method declare a flag and set to u2018Xu2019 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.
    Under the POST_DOCUMENT method write the code for appending the value to Z table along with the values of the line item (In this case production order number, material, u2026u2026.). For these values to be available here in this method use the memory concept u201CExport to memory idu201D in the method LINE_MODIFY. 
    In order to do any validations to the custom fields, go to transaction SE80 and mention the program Name created and in PROCESS ON VALUE_REQUEST create a module and provide the validations required for those custom Fields.
    In order to make the fields to be in display mode during the display of material document, create a module under PBO and import the flag value and the production order number details in the method LINE_MODIFY and if that flag = u2018Xu2019, use  
    LOOP AT SCREEN.
    IF SCREEN-NAME = 'ZZGBAGS'.
    SCREEN-INPUT = '0'.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.Retrieve the values from the Z table matching the key field (production order number) and pass the value of the custom field on to the screen.

  • Screen overlaps in MB_MIGO_BADI, when adding new Tab

    Dear Experts,
    I want to upload an additional tab into the screen of MIGO Header Tab. But when I am adding the screen number, program name, text to display into the the method name "PBO_HEADER", then it is displaying there in header screen, in movement type 103,105...
    If I am not enable this method,and use movement type 101, that will enable a tab "Excise Item", after clicking on "Item OK" at the item screen (Checkbox).
    And If I enable this method with giving screen number, program name, text, then it will overlaps the "Excise Item" tab and didnot come when user click on the "Item OK".
    I think the screen overlaps the standard "Excise Item" tab.
    Please suggest.
    Thanks,
    Deepanshu Mathur

    Hi ,
    Did you check the screen properties .
    Regards,
    Madhu.

  • MM - Creating a new tab in MIGO Transaction

    Hi Gurus
    I am facing a problem to create a *new tab in transaction MIGO*.
    The  scenario is like, the "item text" tab in ME21n/ME22n which contains some text, needs to be mapped in MIGO under a new tab.
    I checked with BADI  "MB_MIGO_BADI" but unable to find the exact interface to implement.
    Thanks in advance

    Hi Sandy
    Check the method PBO_DETAIL of badi  MB_MIGO_BADI: for Item level screen  add your screen to that code .
    1> NEW TAB for Item level in MIGO   
       E_CPROG   = 'ZSCREEN'.   '' Screen should be a container
        E_DYNNR   = '1001'.  "" Screen No
        E_HEADING = 'ITEM TEXT '.  Heading 
    2 > Creating Standard text :
    using se75 cretae standard text and text objetcs as MIGO is not haing as if in PO .
    Create an entry using the DOCUMENT NO and ITEM NO combination and save the cretaed text using Create_text
    entry would be store in STXH table . 
    3 > Use BADI MB_DOCUMENT_BADI* : For creatign actual text for item level mrthod :* MB_DOCUMENT_BEFORE_UPDATE* .
    Hope it will be help full .
    Thanks & Regards
    Swapnil Kamble

  • Display Both Excise Tab And Customized Tab in MIGO header screen

    I want to display both  Excise tab and My customized tab in header screen in MIGO..But I have seen at a time one tab is displaying.Can anybody tell me
    how I want to diplay both tab at a time??

    Hi DEBDATTA PANDA,
    In MIGO - Excise tab is showing as a part of  customization. In PO if tax values are available that values will show in migo(drop down will show  capture/refer /capture+post few more  ) under excise tab.
    pre req. is mat + Vendor +plant need to be excisable .
    Now on your Customized tab is purely a Z development.only you can tell .
    Also , if you are not seeing excise tab in migo , it means either config or master data missing for material code ,  Vendor, Plant
    regards
    manu

  • Adding new tab in POWL

    Hi,
    We are working in SRM6.0.
    Presently I can find  Shopping cart,confirmation, invoice Tabs in my POWL.
    Is that possible to add Purchase order tab with  PO list  ??
    When i click on Define new Query, I can find  only Shopping cart,confirmation, invoice
    in  Select object Type drop down.
    Please let me know is that possible??
    Regards,
    Neelima

    Hi,
    Check whether the below link
    Re: SRM 7.0 POWL Removal of TABS
    Re: How to add a new tab(header) for customer fields in SRM 7.0?Plz help~~~
    http://help.sap.com/bp_ekit604/BBLibrary/Documentation/K50_How_to_Guide_EN_DE.doc
    Regards
    Ganesh

  • Problem in adding new tabs in master data screens for RE-FX in ECC 6.0

    Dear members,
    I am working on RE-FX in ECC 6.0. I need some advice on the foll matter:
    When displaying master data for Rental Object (Rental Space) (Tcode REBDRO) there are three tabs that are visible. They are General Data, Measurement and Area Shares. I would like the tab "Supplementary Texts" to also appear as the fourth tab. I have gone to the node Screen Sequence under the Dialog node under Usage View under Master Data in RE-FX.
    I have added this screen to the sequence and have saved it successfully. Now when i am trying to display the rental space (RS) it is still not showing the tab that I just added. When I am trying to remove one of the existing tabs, by going into the same screen sequence I am successful in doing that. I am also able to add some of the other tabs. However every time I am trying to add the tab "Supplementary texts", I am failing to display it in the master data.
    Request you to please help me as I am not an expert in RE-FX.
    Regards,
    Suvarghya Dutta

    Hi Survaghya,
    We are facing problem in adding tab to transaction RESCSU. We have followed all the steps mentioned by you , like
    1. Go to transaction BUPT .
    2. Select Application Object - transactuion BUS0.
    3.Selected Application object as RESU.
    4. And then went to all the following transactions.
        RESCSU0002     SU: Field Groups
        RESCSU0003     SU: Views
        RESCSU0004     SU: Sections
        RESCSU0005     SU: Screens
        RESCSU0006     SU: Screen Sequences.
    5. Created one z function group , having 2 FM for PBO and PAI.
    6. Also one subscreen having the field mapped to CI_INCLUDE - CI_VISCSU.
    But still we are not able to see the tab on the settlemet screen.
    We tried changing the screen sequence of existing tabs, we could change that, but after performing all the steps mentioned above we could not add new tab.
    Please suggest where are we committing a mistake.
    Thanks & Regards,
    Deepti

Maybe you are looking for