Add customer fields to purchase order header

Hi ,
I need to add two additional fields to the purchase order header.
In std program SAPMM06E screen number 101 i have seen a code
CALL CUSTOMER-SUBSCREEN CUSTSCR1 INCLUDING 'SAPLXM06' '0101'
how to make use of this..and add my fields..wht all steps need to be done for this..
do i hve to append fields to ekko..pls give me details
ansari

You have to use [Enhancement|http://help.sap.com/erp2005_ehp_04/helpdata/EN/bf/ec079f5db911d295ae0000e82de14a/frameset.htm] MM06E005, read the enhancement documentation for more information.
- Look at enhancement via transaction [SMOD|https://www.sdn.sap.com/irj/scn/advancedsearch?query=smod&cat=sdn_all]
- Implement via transaction [CMOD|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=cmod&adv=false&sortby=cm_rnd_rankvalue]
Look at [Enhancements|http://help.sap.com/erp2005_ehp_04/helpdata/EN/bf/ec079f5db911d295ae0000e82de14a/frameset.htm] and [Customer Exits|http://help.sap.com/erp2005_ehp_04/helpdata/EN/c8/1975cc43b111d1896f0000e8322d00/frameset.htm] or the old [Changing the SAP Standard (BC)|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCDWBCEX/BCDWBCEX.pdf]
Another source of information begins at OSS [Note 496083 - FAQ: Customer enhancements (User Exits) in purchasing|https://service.sap.com/sap/support/notes/496083]
Regards

Similar Messages

  • Custom field in Purchase Order header tab

    Hi,
    I have created a custom input field for ME22N transaction using the Program SAPLXM06 and screen number 0101.
    The screen is getting visible in PO transaction and user can enter the value in it.
    But it is not getting updated in the database table inspite of passing the screen field value to ekko-zzfield.
    Moreover, i have defined screen field as ekko_ci-zzfield, as this field has been added in the EKKO table.
    What could be the reason???
    Regards
    Pavan

    Hi,
    You need to use the user exits
    EXIT_SAPMM06E_006 - Export Data to Customer Subscreen for Purchasing Document Header (PBO)
    EXIT_SAPMM06E_007 - Export Data to Customer Subscreen for Purchasing Document Header (PAI)
    Thanks,
    Shailaja Ainala.

  • Customer Field in purchase order (ECC 6.0)

    Hi,
    I need a help on custumer field in ECC 6.0.
    I would like to know if there is a standard way to see customer fields in purchase or sales order.
    Thanks very much.
    Diego

    Customer fields (as in KUNNR)  or custom fields?
    Bothe sales orders and POs have user-exit screens that can be employed to show <b>custom </b>fields both at header and item levels.  In the case of sales orders, it is oft-referred to as "Additional Data B" screen.  This is the last tab screen of the sales order.
    Caveat: The above is from 46C, but am willing to bet that this feature still exists in the ECCs.

  • How to add a field in sales order header

    Hi all,
    I need to add a custom field say a check box in sales order header in additional data B tab.
    let me know step by step.
    Points will be rewarded.
    Thanks.
    Ramya

    additional data B in sales order
    sales order - Additional data B
    Add new fields to Additional Data B tab in sales order
    Reward Points..

  • Custom fields on Purchase order screen in SRM are missing.

    Hi ALL,
    SRM 5.0 R/3 4.6c
    We have custom fields which appear on the create PO in SRM, the criteria for these fields to appear is if the item is of service type.So if its service item there will be additional/ custom fields for input purchase order screen in SRM,
    But at this these fields dont show up for service item PO's . this is happening in Q and P environments while it is working fine in D and S. No changes were made to the system.
    Also if I look in to bbp_pd info for the previous service PO, the data shows up in bbp_pd but the data or the custom fields are missing on the web.
    We tried deactivating/activating the custom class in Q , but that did not help us!
    Consider this as urgernt!
    Can anyone please throw some light on this!
    Thanks
    Krishna

    Have you implementated the BADI: BBP_CUF_BADI_2
    if yes, then keep a break point there and see if you are missing any thing there...

  • How to transfer Supplier custom field into Purchase order

    Hi ,
    We had a custom field called Project code in Supplier data (vendor master) at SRM. As per flow purchase order gets created as a follow-on document. Now the requirement -Project code which was there in supplier data this should be transfered to PO
    In my knowledge this can be done through BADI , Could you please explain me steps required to do this?
    Thanks in advance.
    Harish

    Try BBP_DOC_CHANGE_BADI or BBP_ITEM_CHANGE_BADI.

  • ME59n exit/BADI to copy purchase requisition custom field to purchase order

    I have added a custom field (Unloading Point) in the Purchase requisition customer screen. Now When a purchase order is created from the purchase requisition through t-code ME59N, I need to copy the unloading point value from the PR to Unloading Point in the shipping tab of the Purchase Order. Whch User-exit/BADI can be used for this purpose. <removed by moderator>
    Edited by: Thomas Zloch on Nov 23, 2010 12:44 PM - please do not offer ...

    Good you found out what was the answer. Please share your solution, that sort of the idea of a forum like this.........

  • Problem in posting Custom fields in Purchase Order using BAPI_PO_CREATE1

    Hi friends,
    Did any body tried populating custom fields using BAPI_PO_CREATE1?
    I am trying to populate custom fields in Header.
    I am populating EXTENSIONIN-STRUCTURE with 'BAPI_TE_MEPOHEADER' and EXTENSIONIN-VALUEPART1 with respective values of fields using the code below.
    T_CUSTDATA_IN-PROJECT_ID_NUM = '543211'.
    T_CUSTDATA_INX-PROJECT_ID_NUM = 'X'.
    MOVE 'BAPI_TE_MEPOHEADER' TO T_EXTENSIONIN-STRUCTURE.
    *CLEAR T_BAPI_TE_PO_HEADER-PO_NUMBER.
    MOVE-CORRESPONDING T_CUSTDATA_IN TO T_BAPI_TE_MEPOHEADER.
    MOVE 'T_BAPI_TE_MEPOHEADER' TO T_EXTENSIONIN-VALUEPART1.
    APPEND T_EXTENSIONIN.
    MOVE 'BAPI_TE_MEPOHEADERX' TO T_EXTENSIONIN-STRUCTURE.
    *CLEAR T_BAPI_TE_PO_HEADER-PO_NUMBER.
    MOVE-CORRESPONDING T_CUSTDATA_INX TO T_BAPI_TE_MEPOHEADERX.
    MOVE 'T_BAPI_TE_MEPOHEADERX' TO T_EXTENSIONIN-VALUEPART1.
    APPEND T_EXTENSIONIN.
    But still it is not populating the custom fields.
    Can some body help me on this?
    Thanks & Regards,
    Ramesh Kodavati

    Hi,
    You require to implement the Badi ME_BAPI_PO_CUST
                                               Method MAP2I_EXTENSIONIN or INBOUND
    for changing the parameter CH_EXTENSIONIN in method INBOUND
                                       or  CH_STRUC in method MAP2I_EXTENSIONIN.
    in addition to passing the extensionin parameters in bapi.
    implement the above said bapi and put a break point in both of the methods (exactly i don't remember)
    and check values are populating in the CH_STRUC structure.
    Regards,
    Dwaraka.S

  • Add custom field in SOCO search

    hi
    i checked in webdynpro component of SOCO search screen
    i got below info
    Structure       /SAPSRM/S_CLL_WKL_SEARCH
    Method      /SAPSRM/IF_CLL_DODM_WKL_SEARCH~SEARCH
    View            V_WKL_SEARCH
    component /SAPSRM/WDC_DODC_WKL_SRCH
    now there is already cuf fields structure in /SAPSRM/S_CLL_WKL_SEARCH and its clearly seen that on adding more fields here it will get mapped to context of the above view then i could add the fields on the view and map them
    the question is where is SPRO metadata config to enhance the above structure ?
    i dont want to enhance it manually bcoz earlier i did in other structures and faced lot of problems
    SPRO - SAP supplier relation mgmt -- cross appl basic settings -- Extns and field control -- Configure customer fields. shows below options
    Append for Customer Cross-Document Database Fields on Header
    Append for Customer Cross-Document Non-Database Fields on Header
    Append for Customer Fields on Auction Header
    Append for Customer Fields on Supplier List Header
    Append for Customer Fields on RFx Header
    Append for Customer Fields on Confirmation Header
    Append for Customer Fields on Contract Header
    Append for Customer Fields on Invoice Header
    Append for Customer Fields on Purchase Order Header
    Append for Customer Fields on RFx Response Header
    Append for Customer Fields on Shopping Cart Header
    which of these is for the SOCO search structure ?
    also, once these fields are added, there shud be no need to do anything in the method /SAPSRM/IF_CLL_DODM_WKL_SEARCH~SEARCH i assume.
    its pretty strightforward code, looks like accomodating the custom fields in search criteria
    my doubt is main about the meta data config for this search structure
    i checked couple of threads
    http://scn.sap.com/thread/3485435
    http://scn.sap.com/docs/DOC-52584
    my doubt is why they are talking about different structure than   /SAPSRM/S_CLL_WKL_SEARCH ?
    any inputs are welcome
    thanks
    b

    Hi Dan,  
    Thanks for your post.
    As far as I know the full-text search on support field data type of PlainText and
    HTML and the Title field. Please refer to the Full-text and partial word searches section in this document:
    https://msdn.microsoft.com/en-us/library/dd286638.aspx#full_text.
    For this custom string field, we suggest you search it using work item query. To change work item field index, you can execute the
    witadmin indexfield command line to do that. 
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to extend Project Task in the Purchase Order header?

    Hi everybody,
    I am facing a problem I am sure is not so hard, but I cannot find my way through it.
    So, my objective is to extend the Purchase Order Header with the Project Task ID.
    I created the extension field first, as below:
    But I just cannot find how to populate it automatically from the data in the Project Task field.
    I tried a Relation in a BO extension going through the AccountingBlockAssignement, but it seems to not be functional.
    I also tried to make a Reference to the extension field and created an Event After Modify like:
    this.projecttaskpo = this.ExtensionForPO.content
    The Project Task PO is my reference to the extension field created in the Cloud Solution.
    And the ExtensionForPO is my relation to the TaskID:
    import AP.Common.GDT;
    import AP.Purchasing.Global as Purchasing;
    import AP.ProjectManagement.Global as ProjectManagement;
    import AP.IS.CodingBlock.Global as Coding;
    [Extension] businessobject AP.Purchasing.Global:PurchaseOrder {
      [Relation(Coding:AccountingCodingBlockDistribution.AccountingCodingBlockAssignment.ProjectTaskKey.TaskID)]
      [Label("Project ID")] element ExtensionForPO : TaskID;
        node Item {
    I am pretty sure this is not so hard, but I can't figure how to do it.
    The Task ID is in the Line Item so I do not understand why it could be so hard to add it in the Purchase Order Header.
    Moreover, when I try to make the path directly from the PurchaseOrder, like:
    PurchaseOrder.Item.ItemAccountingCodingBlockDistribution.AccountingCodingBlockAssignment.ProjectTaskKey.TaskID
    It returns to me that the association between Item and ItemAccountingCodingBlockDistribution is not a node. I know that, but it would be perfect if I could directly go from the Purchase Order BO to the Project Reference and the Project Tasks. But I cannot do that.
    Any help on this would be greatly appreciated as it is quite a recurring request from customers.
    I could have a misunderstanding in the process of doing it, or even in the code as I am a pure development newbie, so I m open to all propositions.
    Thank you all.
    Have a nice day.
    Jacques-Antoine

    Jacques-Antoine,
    You can't directly translate a repeating node or element (such as an Item or a Project Task from the Accounting Coding Block of an Item) to a singular node or element.
    The reason is that, though your use case may have the elements assumed to be the same for all items, this isn't necessarily the case, so ByDesign won't assume that you can use that kind of logic.
    The simplest approach would be to do an On-Save at the Root node of the Purchase Order along the following lines:
    this.projecttaskpo = this.Item.GetLast().ItemAccountingCodingBlockDistribution.AccountingCodingBlockAssignment.ProjectTaskKey.TaskID;
    i wouldn't actually recommend this code.
    You'd need validations for IsInitial, IsSet, and those kinds of functions.
    i'd at least use some foreach loop to check that all the accounting coding blocks were for the same task, raise warnings if they weren't, etc.

  • Customer field to purchase requisition

    Hello,
    I add the customer field at subscreen of purchase requisition ( at the data base table i add the relative field in ci_ebandb include ) by EXIT_SAPLMEREQ_001 and
    EXIT_SAPLMEREQ_002 and EXIT_SAPLMEREQ_003.
    I add the same customer field at subscreen of purchase order ( at the data base table i add the relative field in ci_ekpodb include ) by EXIT_SAPLMEREQ_016 and EXIT_SAPLMEREQ_017 and EXIT_SAPLMEREQ_018.
    The problem is: when i convert the purchase requisition in purchase order, the data into customer field of
    purchase requisition not are transfert in the customer field of purchase order.
    thanks for help,
    Roberto Baldassarre.

    correction **
    tks for your help,
    but i had just done it. I explain with detail my step:
    I add the customer field at subscreen of purchase requisition by
    EXIT_SAPLMEREQ_001 and EXIT_SAPLMEREQ_002 and EXIT_SAPLMEREQ_003 (at
    the data base table I add the relative field on ci_ebandb include).
    I add the same customer field at subscreen of purchase order by
    EXIT_SAPMM06E_016 and EXIT_SAPMM06E_017 and EXIT_SAPMM06E_018 (at
    the data base table i add the relative field on ci_ekpodb include).
    Step followed:
    1. add field at EBAN table by CI_EBANDB include
    2. add same field at EKPO table by CI_EKPODB include.
    3. write code at EXIT_SAPLMEREQ_001,EXIT_SAPLMEREQ_003 following
    document's help.
    4. write code at EXIT_SAPMM06E_016, EXIT_SAPMM06E_017 ,
    EXIT_SAPMM06E_018 following document's help.
    5. build dynpro 0111 on function group XM02
    6. build dynpro 0111 on function group XM06
    The problem is: when i convert the purchase requisition in purchase
    order (ME59n), the data into customer fields of purchase requisition
    not are copied in the customer fields of purchase order (this field are
    empty).
    Tks for your help!

  • 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

  • How to add custom field in Documents Tab of PO Header ?

    Dear SRM Friends,
      This is a challenging task as an ABAPer to confront to..
      We are in the midst of a requirement where we have to add a custom field in the PO Header. But the requirement is to add the field in Documents Tab in PO Header Data as found in the following path of SRM Webpage  :
    Operational Purchaser > Purchase Orders > Process Purchase Order > Select a PO > Header Data > Documents.
      As guided by "Note 672960 - User-defined fields 2" , on executing all the steps of the note the field is getting added, but in the Basic Data Tab of the PO. But this doesnt meet the client requirement.
      Anybody having some solution to this, shall be greatly awarded.
    Thanks in advance,
    Vikas.

    Hi Vikas,
    You can define a Text ID in Header data with F4 help. But the list of values will be fixed, but configurable. This will exactly solve your problem. This will be quite simple and straight forward solution with no custom developments.
    Please Navigate to
    SAP Implementation Guide -> Supplier Relationship Management -> SRM Server
    -> Cross-Application Basic Settings -> Text Schema
    1. Define Text Types
    Select BBP_PD and double click text id. Add a new text id here.
    2. Define Text Schema
    Select PO and add the newly created text id and set required parameters.
    3. Define Fixed Values for Texts
    Select your PO transaction type and maintain the required values for F4 help / drop down.
    Hope this would solve your problem.
    Regards
    Kathirvel

  • Adding a custom tab in Purchase Order with two fields - ME21N

    Hello Experts,
    My requirement is to add a custom tab with two fields in purchase order at header level.
    The BADI ME_PROCESS_PO_CUST is alreday implemented previously as there was one custom tab added previously in header.
    The structure  CI_EKKODB already have the custom fields for the enhancement done earlier.
    Now to add my additional tab how should i proceed ....should i put my additional fields in the same structure and write my code in same BADI.....will there be any impact on already done enhanecement.
    Please suggest in achieving this functionality.
    Thanks,
    Naveen

    Hi,
    Check this [wiki|http://wiki.sdn.sap.com/wiki/display/ABAP/DetailedexplanationaboutBADIandthewaystofindtheBADIwithanexample%28ME23n+transaction%29], it tells you how to do with an example for item data.
    Regards,
    Eduardo

  • BADI-User exit required for updating Purchase order header field -IHREZ

    Hello All,
    We have requirement in our business to update the purchase order header field "our reference" EKKO-IHREZ with some text field. We need a BADI/user exit that can be used for updating this field . We have checked the BADI ME_PROCESS_PO_CUST and unfortunately we are not able to use this BADI as it getting triggered in enjoy SAP transactions ME21N , ME22N etc. We are not creating the purchase order manually and we are using ME59N for creating Purchase order . Hence we are looking for some user exit/BADI that can be used in ME59N for updating the purchase order header field IHREZ.
    Thanks in advance for your immediate response .
    With regards,
    Joseph Anand B

    TRY using the exist u2022     EXIT_SAPLME59_001
    You can also later on add this field by BAPI_PO_CHANGE

Maybe you are looking for