ME21N badi ME_GUI_PO_CUST - not working in PO creation

Hi All,
I am working on badi ME_GUI_PO_CUST to create a custom tab on PO header. I have implemented the BADI with custom fields in the custom screen. However, in ME21N, this new tab is not appearing. At the same time, it is appearing in ME23N. If i take a PO in display mode, the tab appears and then switch to chaneg mode, the tab disappears.
Any solution for this pleas.??
Regards,
Arun.

Hi Arun,
You can use MM06E005 exit for adding the tab for item level in ME21n transaction. In general, you go to smod and you give this exit there and then press on documentation then you will find all the information regarding function module exits.
Give this exit in SMOD and then press Attributes--> click on Components, then you will find all the function module exits and subscreen areas where you can add your custom field on the subscreens.
I am giving you the subscreen :
SAPMM06E 0111 CUSTSCR1 SAPLXM06 0111 Subscreen: PO item
Function module exit:
EXIT_SAPMM06E_018 Import Data from Customer Subscreen for purchasing document
Then you start adding the custom field in Custom include of EKPO table and then you go to SE51 and then you import I mean ( Get from dictionary ) that particular Z field and then activate it. These all the thing you need to create a project and implement in CMOD transaction.
Then you write the respective code in Functionmodule exit to populate the data to the database.
Thanks,
Swamy Kunche
Edited by: Swamy Kunche on Dec 7, 2009 10:58 AM

Similar Messages

  • New tabs added by Badi ME_GUI_PO_CUST not seen in ME21N and ME22N

    Hi All
    I am implementing BADI ME_GUI_PO_CUST / ME_PROCESS_PO_CUST to add additional fields in Purchase Order Header.
    The implementation of the BADI ie the Subscreen of the fields to be added appears in Header of  transaction ME23N but it does not appear in the transaction ME22N and ME21N.
    Can anyone help me on this.How to make the tab appear on screen in transaction ME21N and ME22N.
    Thanx.

    Dear Friend,
    Just go to the Class CL_PO_HANDLER_MM
    This is the Super Class for the PO & PR.
    If u debug the PO u can see that PO is calling this super class.
    For this u want to create Subroutine in the Function Group calling the Screen .
    The Problem which u r facing is that the Instance are not yet created for that Cusotmer Data.
    Once u created this Subroutine u can see the fields..
    With Regards,
    Sumodh.P

  • ME21N  ~~BADI - ME_GUI_PO_CUST ,can we have more than cust feilds.

    Hi Experts.....
    I have implemented a BADI named ME_GUI_PO_CUST and ME_PROCESS_PO_CUST in ME21N Transaction to add custom fields. With this I could get an extra custom tab in which I have included 7 Custom fields.
    Now my new req is to get add 8 more new feilds . but in the second method of the BADI -ME_GUI_PO_CUST i.e ....MAP_DYNPRO_FIELDS we have only 10 customer feilds available to be mapped .i ,e MMMFD_CUST_01 --- MMMFD_CUST_02 -
    MMMFD_CUST_03 .....to ......MMMFD_CUST_10 .
    So the Problem is how to map my remaining 5 feilds ..
    Is it possible to add more than 10 feilds in the Customer subscreen .If so please help me do it .
    Thank you in advance

    Subodh ,
    Yes You can use the BADI for header area as well .
    In the BADI Implementation , the first method in the interface - IF_EX_ME_GUI_PO_CUST~SUBSCRIBE
    there is an check for wether the BADI is meant for header or item .
    Code----
    we want to add a customer subscreen on the item detail tab
      CHECK im_application = 'PO'.
      CHECK im_element     = 'ITEM'.
    Code----
    And i have debugged , it triggers for header as well.
    so just change CHECK im_element  = 'ITEM'. to CHECK im_element  =  'HEADER'.
    It will work for header as well.
    Regards ,
    Rajesh .

  • Mic not working in audio creation m

    hey all,
    just bought my x-fi platinum and I got it home and tried to do some vocal recording.
    my mic is a labtec desktop mic w/ noise canceling that I would like to use to record my podcasts with and it's plugged into the line in2/mic 2 port on the front panel 5 /4 box. I switch over to audio creation mode and set the first input to microphone and even with the volume knob on the 5 /4 box cranked up all the way all I get is static. the flexijack setting is set to microphone but when I directly plug my mic into the card itself I get nothing but static with that setup as well.

    ?i found http://www.muvaudio.com/?but that doesnt fix the problem?my mic jack only works in audio creation mode.. and thats not a fully functional grade A productthat is defecti've in some way.. could be driver?Message Edited by anwaypasible on 03-03-200705:20 AM

  • Tnsnames not working for connction creation

    1.1.0.22
    I believe this was working for me x.x.97 the previous release. Not working now. If I enter manually all is well.

    I just checked. This worked fine in 1.1.0.21 and still does.
    When I run 1.1.0.22 the network alias list is empty. Why all of sudden do I have to set an environment variable? I dont have to set the environment variable in the older version? Something has changed in this new build.

  • BADI  ME_GUI_PO_CUST not populating custom fields

    Hi!
        I've created my custom fields in the Line item level for ME21n transaction. The custom fields are in the include structure CL_EKPODB for EKPO. I'm unable to populate my custom fields. Help needed.
        My screen fields are named EKPO-ZZSTREET ,EKPO-ZZCITY etc.  
    Thanks
    Shubha!

    Hi Shubha
          You have to set the mode ( editable / display only etc ) in method FIELDSELECTION_ITEM of BADI ME_PROCESS_PO_CUST to populate custom fields in  ME_GUI_PO_CUST.
    By default system will take display mode. So u can your customer field in Me23n.
    Regards
    Jeevi

  • Why my activated CTS BADI is not working ?

    Hello,
    I'm using the BADi  CTS_EXPORT_FEEDBACK. To do this, I used the transaction SE19, created a new implementation, add my own code and activated implementation, class and method.
    The problem is that when I export an order, the code I've written is not run.
    My BADI is activated and I noticed that in the transport protocol new lines appears :
    DEV        Developpement
           Checks at Operating System Level         03.09.2010 16:39:00    (0) Successfully Completed
           Pre-Export Methods                       03.09.2010 16:39:06    (0) Successfully Completed
           Export                                   03.09.2010 16:39:12    (0) Successfully Completed
         Import steps not specific to transport request  
               Feedback after export or import          03.09.2010 16:39:13    (0) Successfully Completed
    INFORM SAP-SYSTEM OF TP TERMINATION                                                 
    Transport request   : ALL                                                           
    Start: Executing method FEEDBACK_AFTER_EXPORT for business add-on CTS_EXPORT_FEEDBACK
    End: Executing method FEEDBACK_AFTER_EXPORT for business add-on CTS_EXPORT_FEEDBACK 
    INFORM SAP-SYSTEM OF TP TERMINATION                                                 
    End date and time : 20100903163913                                                  
    Ended with return code:  ===> 0 <===                                                
    I tried in my code to write in DB for example but no lines are added. My code works fine when I'me testing the BADI.
    So it's very strange, everything seems to be activated and running but nothings done.
    Another info, the BADI is launched from the program RDDFDBCK (l.348) and when I test this part of the code (call function...) everythings working fine...
    Any idea ?
    Thanks in advance.
    Simon

    Ok, I solved the problem Myself.
    If anybody has the same problem.. here is the solution.
    The job RDDFDBCK is running in backgroung. I ran a DEBUG thanks to the tip in this page : [SDN|http://wihttp//wiki.sdn.sap.com/wiki/display/ABAP/ABAP%20Debugger#ABAPDebugger-HowdoIdebugrunningbackgroundprocessesorasynchronousprocesses%3F]
    I created a block While l_int = 0. Endwhile. In my BADI implementation in order to make the job duration long enough to enter in debug with SM50.
    Here I saw that my SELECT didn't returning lines.
    Finally, I found in SM37 that the main job was launched with the mandant 000 => and my tables contained a field MDNT.
    So the BADI was launched but nothing was done cause to the mandant. I just removed the field MDNT of my customs tables to solve the problem.
    Simon

  • BADI MD_PIR_FLEX_CONS not working

    Hi,
    We want the Stock transfport order to consume the PIRs. For this purpose we implemented the BADI MD_PIR_FLEX_CONS. But its just working for all SD docuements and not MM documents like Purchase req rel, Planned order rel and Stock transport orders.
    We are using 4.7 which has that BADI
    Please advise. Your help will be appreciated
    Regards,
    Shirish

    Hi Rajendran/Shirish/Prem
        Unfortunately the BADI md_pir_flex_cons cannot be used for the STO scenario in strategy 63/60 (planning wa planning material). A modification is necessary. I recently developed this for one customer under remote consulting from SAP labs india in 46C.
    Let us say you have a planning plant A and a distribution plant B. Sales orders are received in Plant B. MRP run creates an STO in plant B and the STO Release is created in plant A. This STO release would consume the PIR of the planning material.
    The development which i did assumes that there will not be any sales orders in Plant A. The other intricacy here is in the development of MD73 to show this consumption. My customer did not want MD73, however MD73 is important and perhaps a new report will have to be created.
    Regards
    Pragnesh
    SAP PP-Development support

  • Changing data captured via ME52N through BADI - ME_REQ_POSTED not working!

    Hi All,
    I am trying to change the 'Release Date' value everytime some data is changed on a purchase requisition via transaction ME52N.  I am using BADI 'ME_REQ_POSTED' via my own implementation of interface method 'IF_EX_ME_REQ_POSTED~POSTED'.
    Everything works and I can access all the data that I need except the fact that the standard variables with item data (i.e. 'IM_EBAN') cannot be changed and so I am forced to rather change table EBAN directly by using a 'MODIFY' statement after processing the data within the BAdi method.
    However when I check table EBAN via se16 I find that the field that I want to change (i.e. EBAN-FRGDT) does not change at all even though the transaction states that the document has been saved successfully and my BADI implementation has been executed in full.
    Therefore how can I ensure that the field is updated via this BADI or via a direct update within the BAdi implementation?
    Thanks.

    Hi,
    I have solved this one.
    Thanks.

  • Round badi does not work in default formulas triggered when sending a value

    I have implemented the round BADI from sdn (how to). Problem is that it works perfect when :
    -  I execute it in UKT
    - I run it as a data manager package
    - I put it in default formulas and run the default formulas as a packe
    It however doesn't work when it is executed in default formulas when sending a value from an input scheduls.It gives an error "error converting records -  the root element is missing"
    Anybody a clue ?
    Cheers
    Nico

    Answering to myself!
    Code correction required:
    loop at it_cv into ls_cv.
    *{   INSERT         BPCK900005                                        2
    CHECK ls_cv-dimension NE 'MEASURES'.
    *}   INSERT

  • BADI ZHRALE00INBOUND_IDOC not working

    Hi *,
    I have implemented BADI HRALE00INBOUND_IDOC .
    For some reasons I cannot activate the BADI.
    I think this could be the right BADI as per my requirement I have to check segment E1P0002 field PERID, which is indeed the TAX NUMBER.
    I have to read the content of this segment extract the tax number and pass TAX TYPE as ES1, before IDOC is post, and I would say before saving the object.
    I have collect the following BADI:
    HRALE00INBOUND_IDOC
    HRALE00INBOUND_OBJEC
    HRALE00SPLIT_INBOUND
    HRALEX_INBOUND
    Which one can fit for my purpose?
    Please don't be shy feel free to suggest.
    Regards,
    AndreA

    Hi Andrea,
    Could you please let me know how you solved the problem?
    I am also facing the same issue.
    Am getting the error message that "There are already implementations active".
    And I see already that CRM_O_BP_RELAT is already implemented which is a standard implementation.
    Thanks

  • Depenedant SelectOneChoices are not working in creation form of ADF 11g

    Hi,
    I have created a ADF creation form using updatable VO.
    I have three list boxes, theaterId, AreaId, SalesSegment. if i select theaterId list box it should refresh the list for areaId and salesSegment.
    I have created list boxes in VO attribute level and defined the dependencies.
    When i run the page dependant lists are not showing data.
    If i create the ADF form with same VO, functionality is working fine but it is not working in the Creation form.
    Pls help me to resolve this issue.
    Thanks inadvance.
    Regards,
    Satya.

    Check this if its helpful: Re: Cascading LOV not refreshing correctly after removing row

  • Implementation Of Badi ME_GUI_PO_CUST for adding fields in Purchase Order

    Hi All
       I am implementing BADI ME_GUI_PO_CUST / ME_PROCESS_PO_CUST to add additional fields in Purchase Order.
    The implementation of the BADI ie the Subscreen of the fields to be added appears in  transaction ME23N but it does not appear in the transaction ME22N and ME21N.
    Can anyone help me on this.
    Thanx.
    Moderator message - Duplicate post locked
    Edited by: Rob Burbank on Jul 10, 2009 12:10 PM

    check the answer
    [New tabs added by Badi ME_GUI_PO_CUST not seen in ME21N and ME22N;
    bye

  • BBP_PO_SEND_XML - Not triggered during the creation of PO

    Hi All,
    We are using SRM 7.0, configuration for sending PO in the form of XML is done as suggested with the method BBP_PO_SEND_XML. The problem is, this BADI is not triggered when we save (even after order) the PO with XML option and the status is displayed as Incorrectly processed. But, when I select the Incorrectly processed output type and click on Repeat Output, the BADI is called and is processed succesfully.
    Any reasons, why the BADI is not triggered during the creation or change of PO and is getting triggered only when we select the option Repeat Output? Please help me in correcting this issue.
    Thanks,
    Phani.

    Logic inside META_PO_SEND was written in user name check. Whereas the method BBP_PO_SEND_XML is triggered with batch user. Due to this reason, custom logic is not triggered.

  • PS - Substitution not working in WBS create

    Hi,
    I have this requirement. I want the last level of WBS to be automatically ticked as account assigned. I created a substituion with a user exit with a prerequisite as PRPS-STUFE >=1
    I used the following logic in the substitution exit
    Check in PRHI for every WBS element (POSNR) if 1st subordinate (PRHI-DOWN) is blank.
    If it is blank then for that WBS element Account assignment element BLEKZ = "X"
    The substitution works perfectly alright in the change mode but it does not work in the creation mode of the Project or WBS elements.
    Any solution to this problem is highly appreciated.
    Best Regards,
    Manoj Bhoota

    Hi Mango,
    Substitution in WBS-element is called in function module G_VSR_SUBSTITUTION_CALL, you may set break point in the FM and the user-exit to check the import and export data during the project creation to see if the substitution do have called and the user-exit do export correct data.
    Regards,
    Rachel

Maybe you are looking for

  • My ipod 4 is stuck in recovery mode after trying to update to 8.0.2

    I started to download the new update this morning when it said i did not have enough memory for it, so i deleted a few things and re tried and this time it worked. However once it was done downloading it said i needed to install it, which when i pres

  • How to present result of DB-Query blasting all formats in width

    Hi, i'm searching for an idea/solution for the problem: Users of my form shall be able to choose an item of a result list of a DB-Query. Unfortunatelly there are too many attributes with alternating length per line, that have to be showed there. Usin

  • Web Service API v.3 overview

    Post Author: yura.tkachenko CA Forum: Nsite There are a lot of calls available in Web Service API v.3, here is list of functions: login (create WS API session which is valid 15,30,60 minutes - actually depends of company settings). Return back to use

  • SP2013 - ADFS Authentification fails

    Hi there, for testing purposes I have set up a sharepoint farm with one sp2013-server, sql 2008R2 and one hostnamed web-application. I have also set up a new certification authority and an adfs-server, both based on windows 2012 r2. After setting up

  • How can I retreive

    I create a user-defined type and table as follow: CREATE TYPE my_type AS OBJECT (attr1 NUMBER, attr2 VARCHAR2(20)) CREATE TABLE usr_tab (col1 NUMBER, col2 my_type) I've tried to query usr_tab: Statment stmt = conn.createStatement(); OracleResultSet r