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...

Similar Messages

  • 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.

  • 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.

  • New tab implementation at item level in ME21N/ME22N/ME23N.

    Hi Friends,
    I have implemented two badis 1. ME_GUI_PO_CUST and 2. ME_PROCESS_PO_CUST to get a new tab at item level in ME21N/ME22N/ME23N, I could see this new tab only in ME23N but not in ME21N/ME22N, and I found that Badi ME_PROCESS_PO_CUST is not getting triggered for any of these tcodes : ME21N/ME22N/ME23N. Can anybody help me getting this issue resolved with coding example as well.
    Thanks in Advance.

    Hi Know ,
    I know that we have to use the following BADIs
    ME_PROCESS_PO_CUST
    ME_GUI_PO_CUST
    But I does not know what are the methods to be implemented
    and what is the code we have to write in that methods .
    Thanks in advance ,
    Siva.

  • 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

  • TO ADD TAB AT HEADER LEVEL IN ME21N

    Hi guys
    I have to add a tab at header level of ME21N using BADI ME_GUI_PO_CUST and ME_PROCESS_PO_CUST
    can someone guide me how to do this?
    Thanks

    Hi,
    Try with SMOD enhancement MM06E005. I know this works well for adding a tab in PO header or item level . Read OSS 407975 for implementing this screen exit
    here i am pasting OSS Notes and if you need clearly then login into service.sap.com
    Symptom
    You are using SAP customer enhancement MM06E005. There is no sample source code for this enhancement.
    Other terms
    User exit, customer enhancement, MM06E005, example, sample
    Reason and Prerequisites
    You want to activate user exit MM06E005. Note that this is a consulting note and not a correction of the user exit.
    Solution
    You can use the sample source code attached here to recognize the basic functions of the exit. This example is, however, only one of many options that are offered by the customer enhancement.
    The sample source code includes the following functions:
    Supply of an additional field on header level
    Supply of an additional field on item level
    Derivation of a field on item level from the copied reference document
    Now, in order to be able to use the sample source code, you must create field ZZFLAG on the header level of the document and field ZZFIELD on the item level.
    Double-click on Include table CI_EKKODB
    Enter the following values:
    Name    Component type DType Length DecPlace Short text
    ZZFLAG  CHAR1          CHAR  1      0        1-digit indicator
    Save and activate the include table.
    Double-click on Include table CI_EKPODB
    Enter the following values:
    Name    Component type DType Length DecPlace Short Text
    ZZFIELD CHAR1          CHAR  1      0        1-digit indicator
    Save and activate the include table.
    In order to activate the sample source code, you additionally have to carry out the following changes on screens 0101 and 0111.
    1. Screen 0101: Create the following fields:
                  "Checkbox"            Name: EKKO_CI-ZZFLAG
    2. Screen 0111: Create the following fields:
                  "Input/output field"  Name: EKPO_CI-ZZFIELD
                  "Pushbutton"          Name: BUTTON
                                        FctCode: ZZDETERMINE
    The following assignments apply to the sample source code:
    EXIT_SAPMM06E_006  -->  LXM06F36
    EXIT_SAPMM06E_007  -->  LXM06F38
    EXIT_SAPMM06E_008  -->  LXM06F37
    EXIT_SAPMM06E_009  -->  LXM06F39
    EXIT_SAPMM06E_016  -->  LXM06F41
    EXIT_SAPMM06E_017  -->  LXM06F42
    EXIT_SAPMM06E_018  -->  LXM06F40
    Copy the source code from the attachment and insert it into the corresponding function modules. Save and activate the function modules.
    Create the following variables in the corresponding TOP include in order not to get any syntax errors:
      INCLUDE ZXM06TOP
    data: gl_aktyp type c,
          gl_no_screen type c,
          gl_rekko like ekko,
          gl_ekko_ci like ekko_ci,
          gl_ekpo_ci like ekpo_ci,
          gl_ekpo like ekpo,
          gl_ucomm like sy-ucomm.
    types: begin of ekpo_tab,
              ebeln like ekpo-ebeln,
              ebelp like ekpo-ebelp,
              ekpo like ekpo,
           end of ekpo_tab.
    data:  gt_ref_ekpo_tab type table of ekpo_tab.
    Save and activate the TOP include.
    On header level, you can now store a character, X or space, via field ZZFLAG on the database with the document and read it also again.
    On item level, you can fill field ZZFIELD with a one-digit value and save it with the document. If you copy this document, the system displays an additional function button on tab page "Customer data". If you press this button, the value of the reference document is copied to field ZZFIELD.
    If you want to store the source code as sample source code in your system, start Transaction SMOD. Enter MM06E005 as an enhancement. Select "Components". Press "Change". Position the cursor on the corresponding module and choose "Sample code". Create the corresponding include and copy the source code from the note. Save the include. Note that, of course, syntax errors may occur when you check components. This is because the includes of the sample code are not integrated into a program but rather are completely independent and, therefore, do not have any relationship to each other either. For this reason, only save the include and do not activate or check it. The sample code has to be copied into the corresponding function modules in order to become active.
    If you use the user exit in the new purchase order, it is not guaranteed that the customer screen is always processed. To make sure that possible required fields are checked, include a corresponding message into the EXIT_SAPMM06E_012. This screen is always processed.
    Header Data
    Release Status: Released for Customer
    Released on: 07.09.2006  13:07:34
    Priority: Recommendations/additional info
    Category: Consulting
    Primary Component: MM-PUR-PO Purchase Orders
    Secondary Components: MM-PUR-GF-CE Customer Enhancements
    I have not done BADI for PO,so i am not sure that whether BADI will work for Screen exit or not
    Thanks
    Seshu

  • Additional tab at header level  in ME21N through BADI ME_GUI_PO_CUST

    Hi,
    I want to have additional tab at header level  in ME21n through BADI ME_GUI_PO_CUST.  But after all effort I am not getting display of  tab.  Let me explain what i did till now
    1. Appended  table EKKO with field
    2. Create one function Group -under that
    A. Created one Include u2013Paste the code given
    DATA: call_subscreen   TYPE sy-dynnr,
          call_prog        TYPE sy-repid,
          call_view        TYPE REF TO cl_screen_view_mm,
          call_view_stack  TYPE REF TO cl_screen_view_mm OCCURS 0,
          global_framework TYPE REF TO cl_framework_mm,
          global_help_view TYPE REF TO cl_screen_view_mm,
          global_help_prog TYPE sy-repid.
    FORM SET_SUBSCREEN_AND_PROG *
    --> DYNNR *
    --> PROG *
    --> VIEW *
    --> TO *
    --> CL_SCREEN_VIEW_MM *
    FORM set_subscreen_and_prog USING dynnr TYPE sy-dynnr
    prog TYPE sy-repid
    view TYPE REF TO cl_screen_view_mm.
    call_subscreen = dynnr.
    call_prog = prog.
    call_view = view.
    ENDFORM. "set_subscreen_and_prog
    B. Created one screen  (9000)
    3. Implemented BADI ME_GUI_PO_CUST and paste the code.
    data: ls_subscribe like line of re_subscribers.
    CHECK im_application = 'PO'.
    CHECK im_element = 'HEADER'.
    CLEAR re_subscribers[].
    ls_subscribe-name = ' ZMMSCR1'.
    ls_subscribe-dynpro = '9000'.
    ls_subscribe-program = ' ZMMSCR1'.
    ls_subscribe-struct_name = 'EKKO'.
    ls_subscribe-label = text-001..
    ls_subscribe-position = 15.
    ls_subscribe-height = 7.
    append ls_subscribe to re_subscribers.
    Please help me what s going wrong .and what else I will do to get success.
    Edited by: Vishal A Vijaywargia on Jul 29, 2009 2:24 AM

    Hi Prosengit,
    I am not aure about u r BADI,
    BUt last week i have custom tab in the PO header data using this enahncement 'MM06E005'.
    IN thi senhancement u have thrre screen exits.In this enhancement
    SAPMM06E        0111 CUSTSCR1 SAPLXM06        0111 Subscreen: PO item
    u can add subscreen and u can add u r own fields here .
    and u can write u r code in 'EXIT_SAPMM06E_006'.
    if u want to change the title of the program.
    Go to program SAPLXM06 then go to text element give text symbol no as '111' and u can change the title of u r tab.
    I hope this solves u r problem.

  • How to add user defined tab in the Header level of T-Code O4NM?

    How to add user defined tab in the Header level of  T-Code O4NM?
    I tried with BADI but I cant able to find any BADI for it and also searched for screen exit too..

    Can you check the user exits,
    OIJNOM_N and OIJTKT_N
    Cheers,
    Balaji

  • Require new tab at header level in ME21N using BADI

    Hi All,
    My requirement is add new tab with 8 new fields plus one button. On pressing this button header data need to copy at item detail level. I found two BADI's for that.
    ME_GUI_PO_CUST & ME_PROCESS_PO_CUST. Till now I am able to create new tab with require fields.
    Now help to put how to transfer data from header level to item detail level on pressing newly created push button.
    Also tell me how these data will save in EKKO table.

    Hi Vikas,
    hOPE U CAN USE
    PROCESS_HEADER
    PROCESS_ITEM methods of the badi used and the data will be stored in EKKO table if u populate them .
    let me know if any issues ....
    regards

  • New Tab on header level for me21n/me22n/me23n

    Hi Friends
    i have created a new tab on the me21n/me22n/me23n  header level using the exit
    MM06E005 , The tab is displayed but i am not unable to udate the records into the
    EKKO  Table whereas i have added my field in the include of  EKKO  CL_EKKODB
    Kindly somebody help me with elaborated steps  .
    Thanks & Regards
    Digvijay Rai

    Hi Digvijay,
    Once the data is entered on the screen ..code is written to update the table ie...
    flow of data from custom screen for header is OK..but for display and change we need to
    import the data in a similar manner to the customer subscreen or the tab added in header level
    As you can see the following 3...code must be done in EXIT_SAPMM06E_006/007 to fetch data to customer subscreen for display/change actions..use 006/007 for PBO/PAI actions..
    EXIT_SAPMM06E_006   Export data to customer subscreen for header(PBO)....INCLUDE ZXM06U36
    EXIT_SAPMM06E_007   Export data to customer subscreen for header(PAI)....INCLUDE ZXM06U38 .
    EXIT_SAPMM06E_008   Import data from customer subscreen for header
    Pls check and revert..in addition
    go to smod->MM06E005-> "documentation" -> Display to read more on documentation about data flows and exits used for it
    Hope it helps
    Regards
    Byju

  • Adding a new Tab - ME22n - Item Detail Level

    Hi,
    This is a bit Urgent!
    I need to add a Tab to a TabStrip in Item Detail level, in ME22n that has a count of 12.
    Out of which 1 is custom made.
    Someone else had done this development and i can't figure out how it's done.
    Now, i am adding a 13th Tab.
    There is a Enhancement Project made in CMOD.
    Which has the component  MM06E004 added to it.
    I have added the subscreen 0201 to SAPLXM06.
    And activated the both the enhancement Project and SAPLXM06.
    In ME22n, i should be seeing the 13th Tab in the Item Detail level.
    But i can't.
    I have all together 23 fields... So i have no way but to add all the fields in a new Tab.
    Please help.
    Cheers,
    Remi

    Hi,
    There are some points which you need to keep in mind before implimenting this exit.
    First of all this is a transaction and check whether you need a selection screen ( of a program ) on your new tab which will be inserted in the transaction.
    And to create a field you need to enable one of the screens depending on your requirement.
    SAPMM06E 0101 CUSTSCR1 SAPLXM06 0101
    SAPMM06E 0111 CUSTSCR1 SAPLXM06 0111
    SAPMM06E 0201 CUSTSCR1 SAPLXM06 0201
    SAPMM06E 0211 CUSTSCR1 SAPLXM06 0211
    SAPMM06E 0301 CUSTSCR1 SAPLXM06 0301
    SAPMM06E 0311 CUSTSCR1 SAPLXM06 0311
    If you use any addditional fields you need to define these additional fields in following structures based on the requirement:
    CI_EKKODB
    CI_EKPODB
    To pass data from the PBO / PAI modules you have to enable the suitable function exit based on the requirement. Enabling these exits would pass data from / to the additional screen.
    EXIT_SAPMM06E_006
    EXIT_SAPMM06E_007
    EXIT_SAPMM06E_008
    EXIT_SAPMM06E_009
    EXIT_SAPMM06E_012
    EXIT_SAPMM06E_013
    EXIT_SAPMM06E_014
    EXIT_SAPMM06E_016
    EXIT_SAPMM06E_017
    EXIT_SAPMM06E_018
    So we can either add a additional tab at header level / item level in this transaction.
    Regards,
    Satish

  • [Xfce4] Issue with creating new tab in terminal

    So, when I create a new tab in terminal I got a black rectangle in the top left corner of my screen it dimensions is like terminal window itself.
    I have this problem on Xfce4 and Lxde as well.
    What info do you need to help me with this issue?
    Thanks,
    Igor.

    I noticed that problem with Xfce's terminal as well. I remember it also effecting firefox or other windows depending on how I moved things around.
    I think I may have solved the issue by disabling Xfce's desktop effects, or something to that effect. I haven't seen the problem since I switched over to xmonad though.

  • 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

  • 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.

Maybe you are looking for

  • Asa 5505 sub interface plus ports

    I have never used 5505 I gave used higher firewalls and all of them can do sub interfaces normally we make sub interfaces and vlans are assigned to them I m trying to config 5505 can someone tell me how I can create sub interfaces ? As I saw few conf

  • When placing an image in InDesign, it appears pixelated.  It is a 66mb file in a 6x9" document.

    I am new to InDesign, as I've been creating all my documents for print in Acrobat as a PDF.  When I am placing an image, it appears pixelated.

  • Files not saving in CS2

    Hey, everyone I just started working with InCopy a little while ago, so I hope there isn't some dreadfully easy solution to this problem that I'm just too obtuse to notice, but here it goes. I've just started a job where I'm editing InCopy files, but

  • Does the iPhone 5 'light leak' affect function?

    I just recently received my white iPhone 5, and I have a small light leak near the power button along the bezel. Does this affect the function of the phone, such as the screen brightness? And Would Verizon replace it?

  • Finder opens small window

    Every time I open the Finder, it opens in a very small window which I then have to widen. I close it, re-open it, and it's the small window again. Every time. Is there any way to get the Finder to open in a larger window, the size I closed it in?