Copy PO item -customer fields

Hi all,
I've added 2 customer fields to PO item customer screen via enhancement MM06E005.
All works well besides item copy functionality - the system creates new PO item and copies everything besides my 2 customer fields.
Any idea why + how 2 solve ? Is it working via BADI ME_GUI_PO_CUST ?
Thanks in advance,
Shai Eyal.

Hi Shai,
Please check whether you have used the Function Exit EXIT_SAPMM06E_008 for this requirement or not. Write your logic in the include ZXM06U37 for example as follows
E_CI_EKKO-ZZTEST = EKKO_CI-ZZTEST.
E_CI_UPDATE = 'X'.
Here E_CI_EKKO is the FM Interface CHANGING Parameter and EKKO_CI-ZZTEST refers to the Screen Field. E_CI_UPDATE is also FM Interface parameter.
If this doesn't work out then try using the  BADi ME_PROCESS_PO_CUST.
Hope this will solve your problem. Reward accordingly.
Thanks and Regards,
Maddineni Bharath.

Similar Messages

  • PO service item - custom field value not copied to GR

    Hi All,
    I have a custom field in SC,PO and GR. For a sevice and limit items, the value in custom field in PO is not copied to GR. For goods, it is copied.
    When I debugged, I found that the system tries to match PO item internal number with that of backend item internal number. If this is matched, the custom field values are copied.
    But here it is not matched. What can be the possible reason. Is there any configuration for item internal numbers?
    I found a note 848797 for transfer. But exactly at the corrected code in note, program is failing.
    Have anyone faced this issue before?
    Thanks
    Nandalal

    Yes Disha, the notes are correctly implemented.
    I am confused on whether the internal number generated for the item is copied from some configured internal range, because when I enter two service items, the items shows backend internal numbers like 0000000010 and 0000000020 (increment by 10). But in SRM it is 0000000001 and 0000000002.
    When the code tries to match the respective numbers, it fails and skips the logic to copy custom fields.
    I dont have access to r/3 data.
    Please help.
    Have anyone tried to create a GR with service item and has custom field?
    Thanks
    Nandalal

  • Contract item customer fields not getting saved from ITS side??

    Hi there,
    I have had to add "account assignment" details to a contract item (3 fields: account assignment, G/L account and cost center)...
    All is going fine....in fact the 3 fields have been added on the contract item level in function group BBP_CTR_UI_ITS screen 4100. I followed the instructions in SAP note number 458591 "user defined fields: preparation and use"...
    The 3 fields I added where "generated" down to SAP table level and now appear in table BBP_PDIGP...
    Also when I create a contract from transaction BBP_CTR_MAIN and fill my 3 new fields in on the item level all works fine when I release the contract...the contract item gets created and the 3 new fields appear nicely in table BBP_PDIGP....so from the GUI side all is PERFECT...
    I have worked on the ITS side of things quite a bit but now I clearly don't understand something...
    I go to "internet service" BBP_CTR_MAIN - template SAPLBBP_CTR_UI_ITS 4100.....I have added my code and my 3 fields display perfectly on the web page....for each contract item.....
    As I said I can make the contract with the 3 new fields filled perfectly via the GUI (transaction BBP_CTR_MAIN)....and if I VIEW that contract on the web it also displays perfect with the 3 filled in fields....
    If I COPY that contract.....and save the new one, the 3 fields are still fine, all saved.
    NOW COMES THE PROBLEM:-)
    If I create a new contract from the web, fill in my 3 fields on the contract item level THE 3 FIELD VALUES SEEM TO NOT GET POSTED BACK AND SAVED IN THE SRM DATABASE...
    I have tried everything from using FIELD-GET, FIELD-SET...the note I mentioned above mentions some BADI's that I could possibly use:
    BBP_CUF_BADI_2 (modify screen methods etc)
    BBP_DOC_SAVE_BADI
    All I really want to try understand is how interaction between the user clicking on the web page and the SAP GUI screen flow is really happening.....I mean I see in function group BBP_CTR_UI_ITS there are a number of function modules with ITS in them, are those function modules just called when the user is clicking on the web (via ITS etc) - I would assume so...
    Bottomline is I need what is happening in the SAP GUI to happen on the web as well.....it is almost there, I just need a push in the right direction so that I can grab the fields from the web page, in the most standard way possible.
    Thanks for the help, I am very curious to see how this sort of solved.
    Regards
    Lynton

    He Yann,
    We are running SRM 3.0, EBP 4.0 - support pack 8
    Thanks for the help
    Lynton

  • Sale Order Item : Custom Field : Table Control

    I have added two fields to sale order item table control in program SAPMV45A screen no . 4900. Now the field which i have added are working fine while creating sale order but while changing those fields are not changing.
    condition is like this: the custom field are automatically filled by some logic and if the user want to change those field he will able to do. Now 1st condition is fine and when i change those field they will show the previous saved value inspite of changed value. 
    I have also added those field in additional data b tab in screen 8459 , there they are working fine but here the problem remains the same.

    Hi,
    u can use BAPI_SALESORDER_CHANGE to update the values of those fields. for that u need to extend few tables and coding that u can get from the BAPI documentation. If not getting reply back. i can help u..
    regards,
    pavan.

  • Classic Scenario- Service Item custom field transfer from SRM to ECC

    Hello Experts,
    I was looking for a way to transfer custom fields from SRM to ECC(PR/PO) for service items.I am on SRM 7.01 and ECC 6.0 ehp 5.
    The same custom fields are getting transferred for Material item using the BADI BBP_CREATE_BE_RQ_NEW.
    But the same badi doesnt work for service item transfer.
    I would appreciate it if someone could help me with this.
    Regards,
    Cruiser

    You can use the Function Module SPOOL_RQ_CREATE with the parameters as bellow and debug.
    REQNO = SC number
    REQUIS_NUMBER = as Purchase Req no ( from backend )
    IV_BE_LOGSYS = backend logical system.
    System will go through the same path as SC bridging to PR.
    HTH,
    Chandu
    Edited by: Chandrahasan H on Mar 23, 2011 3:36 PM

  • Purchase Order item customer fields

    I have the following scenario:
    - I need to save some customer fields in Purchase Order item, when it is generated through the Shopping Cart (EBP).
    - When EBP will generate a PO in backend (R/3), it calls B470_PO_CREATE function module and inside it calls BAPI_PO_CREATE1 in R/3. This call does not use extensionin parameter.
    - I have all the values in PO_ITEMS parameters. (an append structure in bapi_mepoitem).
    - Trying to solve this, I think I have to use EXIT_SAPL2012_001 to create the extensionin parameter.
    - Anyone else has this problem?
    - How can I create the extensionin parameter? Is it only necessary to add 'BAPI_TE_MEPOITEM' and 'BAPI_TE_MEPOITEMX'?
    - Do you have an example?
    Thank you!

    Hi
    You have to extend CI_EKPODBX with the same fieldnames with type BAPIUPDATE (in SE11), and then while passing the EXTENSIONIN to the bapi, you have to flag those. Like the following:
    DATA: wa_extensionin TYPE BAPIPAREX,
    wa_BAPIPAREX TYPE BAPIPAREX,
    wa_BAPI_TE_MEPOITEM TYPE BAPI_TE_MEPOITEM,
    wa_BAPI_TE_MEPOITEMX TYPE BAPI_TE_MEPOITEMX.
    wa_BAPI_TE_MEPOITEM-po_item = <PO Line No.>.
    wa_BAPI_TE_MEPOITEM-ZZZ_FIELD1 = <z-field value>.
    wa_BAPIPAREX-STRUCTURE = 'BAPI_TE_MEPOITEM'.
    wa_BAPIPAREX-VALUEPART1 = wa_BAPI_TE_MEPOITEM.
    APPEND wa_BAPIPAREX TO extensionin.
    wa_BAPI_TE_MEPOITEMX-po_item = <PO Line No.>.
    wa_BAPI_TE_MEPOITEMX-ZZZ_FIELD1 = 'X'.
    wa_BAPIPAREX-STRUCTURE = 'BAPI_TE_MEPOITEMX'.
    wa_BAPIPAREX-VALUEPART1 = wa_BAPI_TE_MEPOITEMX.
    APPEND wa_BAPIPAREX TO extensionin.
    This will work. Please let me know if it does not.
    See related links ->
    Re: BAPI_PO_CREATE1 and EXTENSIONIN structure
    Re: Passing custom fields to BAPI
    Problem in populating userfields in PO using BAPI_PO_CREATE1
    Re: BAPI_PO_CHANGE
    Yann i need ur help..
    Re: Custom field values are not being transfered to the backend system
    Problem in populating userfields in PO using BAPI_PO_CREATE1
    Re: Implement ME_PROCESS_PO_CUST-Urgently!
    Re: Purchase Order (BAPI_PO_CREATE! --> EXTENSIONIN)
    Re: How to use BAPI extensions?
    Re: BAPI_PO_CREATE1 user fields not saving on EKPO
    BAPI_PO_CREATE1 - EXIT_SAPL2012_001
    Do let me know.
    Regards
    - Atul

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

  • Screen exit MEREQ001- Copy 1 PR line item custom fields values in all

    Hi,
    I have implemented the Enhancement MEREQ001 to add a new tab for Purchase Requistion screen at line item level .
    Requirement for me is to show the same data in the newly added tab for all line items and also to save the same data in EBAN table.
    I am facing a problem while saving the data. In EBAN table, the data was saved for all line items. But the custom added field values are saved for only the line item displayed.
    I ll explain with an example for better understanding.
    I have created a PR with 3 line items ITEM1, ITEM2 ,and ITEM2
    When i saved the data when ITEM1 is displayed, EBAN have custom added field values for ITEM1 but not for ITEM2 and item3.
    The same way, if I save data when ITEM2 is displayed, EBAN has custom added field values for ITEM2 but not for ITEM3 and ITEM1.
    Now, my requirement is to get the all  line items ITEM1 & ITEM2 and ITEM3 updated with custom added field values in EBAN.
    The logic i added in  ME_PROCESS_REQ_CUST~CHECK are as below.
           i_items             TYPE mmpur_requisition_ite                       ,
            lv_if_item          TYPE REF TO if_purchase_requisition_item,
            lt_itm_data         TYPE mereq_item   .
    DATA :  LV_dept TYPE EBAN-ZZDEPARTMENT ,
            lx_itm_data type mereq_itemx.
        CALL METHOD im_header->get_items
          RECEIVING
            re_items = i_items.
        LOOP AT i_items INTO wa_item.
          lv_if_item = wa_item-item.
          CALL METHOD lv_if_item->get_data
            RECEIVING
              re_data = lt_itm_data.
          CALL METHOD lv_if_item->get_datax
          RECEIVING
          re_datax = lx_itm_data.
         IF lt_itm_data-zzdepartment IS INITIAL.
             lt_itm_data-zzdepartment =  LV_dept .
             lx_itm_data-zzdepartment = 'X' .
          ELSE.
             Lv_dept = lt_itm_data-zzdepartment.
        ENDIF.
    To set the value for all line item.
            CALL METHOD lv_if_item->SET_DATAX
              EXPORTING
              IM_DATAX = lx_itm_data.
        CALL METHOD lv_if_item->Set_data
            EXPORTING
              IM_data = lt_itm_data.
        ENDLOOP.    " LOOP AT i_items INTO wa_item.
      ENDIF.    " IF ( NOT ls_header1-banfn IS INITIAL
    BUT above logic is not working
    Please give your inputs
    Thanks in advance
    Deepanker Dwivedi

    HI,
    You can use GET CURSOR LINE LINE_NO this will give you the sy-index so that you can read the itab like
    read table itab index line_no. This is one option and second is if you have row selector.
    read table itab with key mark = 'X'.
    If you want the Row contents befor the PAI triggers
    [Check this Thread|Table Control dynamic F4;
    Hope this is clear to you.
    Regards
    Ram

  • Custom Field in KOMKCV and KOMPCV are not recongnized while Account Determi

    Hi All,
    I want to do account determination in Billing based on two fields in Sales Order.  One is Order Reason at Item ( Custom Field) and other is Sales Document Type (AUART).
    I have added two custom fields (ZZAUGRU_ITEM and ZZAUART) in Account Determination Communication Structure KOMKCV and KOMPCV. I am also populating these fileds through User Exits USEREXIT_ACCOUNT_PREP_KOMKCV and USEREXIT_ACCOUNT_PREP_KOMPCV in Billing.  But when I see Account Determination Analysis I see Yello Exclaimatory marks for these two custom field. Eventhough these two fields are populated in KOMKCV and KOMPCV structures I get the error "Access KOFI not carried out (initialized field)"  for these two fields.  Account Determination configuration and all require technical coding ( user exit upodate) are in place.  I have also update access with selecting fields from field catalog inside access sequence and saved. But I am not able to determine G/L based on this access.  In debug mode I am able to see my two ZZ fields populated in KOMKCV and KOMPV.   But there is some issue in this area somehow access is not able to recognize fields KOMKCV-ZZAUART and KOMPCV-ZZAUGRU_ITEM.
    Kindly suggest if I have missed anything.

    Hi,
    Please follow the below mentioned step:
    Go to IMG SD --> Basic Functions --> Account Assignment / Costing --> Define Access Sequence and Account Determination --> Maintain access sequence for account determination.
    check on KOFI and select the access sequence and check whether the required table entries are maintained. Select the required one and again double click on fields. Check whether all the fields are flowing or not.
    Hope this will help you to resolve your issue.
    Regards,
    Krishna O

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

  • SC : Extended  Search on Header Customer field

    Hi ,
    I have created customer defined field on Header & Item in SRM 5.0 .
    I am showing both of them on Extended Search in Check Status of Shopping Cart .
    But I can search on the basis of Item Customer field <b>not</b> on the basis of Header Customer Fields .
    There is flaw in BBP_PDH_SEARCH_SC FM on header Cus. field .
    Has anyone encounter these problem .
    Thanks & Regards,
    Sachin

    Hi,
      For SC,you cannot search on custom fields at the header level.
    BR,
    Disha.
    Pls reward points for useful answers.

  • Problem when Copy PO item with customer fields

    Hi all,
    I've added few customer fields to PO item customer screen via enhancement MM06E005.
    All works well besides item copy functionality - the system creates new PO item and copies everything besides my 2 customer fields.
    Any idea why + how 2 solve ? Is it working via BADI ME_GUI_PO_CUST ?
    Thanks in advance,
    Sagit

    Hi,
    1)Check whether you have set the changes flag in function exit EXIT_SAPMM06E_018 with Z include ZXM06U40 as
          E_CI_EKPO-ZZBNO = WA_EKPO_CI-ZZBNO."Say your Z field
          E_CI_EKPO = 'X'.
    2)Check the following note [SAP Note 407975|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=407975]
    Thanks & Regards,
    Faheem
    Edited by: Md Faheem on Oct 27, 2010 11:28 AM

  • Add additional tab on item level in contract for customer fields

    Hi Guys,
    Does anyone know if the following is possible in SRM 7.0, and if so can you please give a very short description how to accomplish this -
    In addition to the standard tabs available in the contract (general data, notes, conditions etc.), is it possible to add a new customer specific tab on item level, in a central contract and add some customer fields to this tab?
    I know it is possible to add customer fields in SRM, but I am curious if I can create a new tab for these fields, so that I can group all customer fields together in one place.
    Thx.
    Kind Regards,
    Skander

    Yes. it is possible but you have to take care of in the back end too and how these fields comes and sit in ECC. so that you may need to map in the IDOC or XI data . so that these information must be pssed to ECC and available  and accordingly you need to change in purchase order too since all these data will be copied into purchase order too.
    for example :- if you add one field in header level /item level of contract
    and it must be coppied into Backend contract as well as your next consecutive docuemnt like Purchase order must be taken care. hope you understand now.
    Muthu

  • Need to copy a custom field from sales order to billing document

    Hi All,
    I have a requirement, I need to add a new field in the sales order header part and even a field in the billing document, once i add this field up in both the documents in the header part i need to create a copy routine using the VOFM tran, can any body help me on what's the procedure to add a field in billing document and does the copy routine transfer the data ( Custom Field ) from Sales Order to the Billing Document, if yes can somebody help me with the procedure on how to and code of it.
    solved it myself ....
    Regards.
    Message was edited by: seshi
            seshi

    Hello,
    Regarding item 1, is it in the region of the global links (ie logout, home, preferences, etc.)? If not, have you tried creating a link via personalizations to the region you wish to have the link displayed (item type = link, destination = fully qualified name of your .xml page/region?
    Regarding item 2, you may have to create the custom subtab programatically using the controller for the region of the current subtab layout.
    Regarding item 3, you can also add a submit button to the page button bar region via personalizations. You can then add any logic you want to the button in the controller for the page.
    Hope this helps.

  • Copying custom fields from SRM PO to ECC PO standard fields

    Hi All,
    There are three custom fields which are added in SRM SC and PO at item level. My requirement is to map these three custom fields to three standard fields in ECC PO. Can any one please explain me, how the replication of SRM PO to ECC PO happens? I could find a function module "B470_PO_CREATE". Can any one tell me through which transaction or program this FM will be triggered.
    Any useful answer will be rewarded
    Thanks,
    Deepthi

    Hi Kumar,
    Sorry for the late reply. I have the solution for this question.
    For copying the custom fields code is to be written in the BADI "BBP_ECS_PO_OUT_BADI", method "BBP_B46B_PO_OUTBOUND". This BADI has both ECC PO fields and all the SRM fields(including the custom fields added in PO and SC) in separate structures.IS_HEADER, IT_ITEM etc has all the SRM PO values. CS_BAPI_POHEADER, CT_BAPI_POITEM etc has ECC PO values.
    There are two function modules, BBP_PD_PO_TRANSFER_EXEC and BBP_PD_PO_TRANSFER_EXEC_V2. Execute these function modules with the GUID for PO after PO change or create in SRM system. Once the FM is executed the BADI will be triggered and the additional functionality carried out and PO replication from SRM to ECC happens.
    Hope this helps you. Please let me know if you need any more information.
    Thanks,
    Deepthi

Maybe you are looking for

  • Unable to Log In Zimbra Interface

    Hello, I am expiriencing the following problem when attempting to log in Oracle Integration for Zimbra: An unknown application error has occurred. Please correct any errors and retry. If the problem persists, please contact your System Administrator.

  • Unable to install essabse11.1.2.1.0 on existing weblogic instance on linux

    I am trying to install essabse11.1.2.1.0 on existing weblogic instance on linux. I installed essabse on the same middleware home whare existing weblogic server configured(for OBIEE) Here I am unable to install and configure the weblogic, any suggitio

  • New version of whatsapp

    Hi, I installed the new version of whatsapp and it does not work because the net_rim_crypto module is missing in my bb. Where do I get this module from? Thanks! Solved! Go to Solution.

  • How do you wait to load certain movie clips or frames?

    I have seen flash sites that wait to load different parts of the flash file until you click on a link, thereby starting a loading graphic that then loads the content you're looking for. I can't find any information on how to do this, and I'm guessing

  • Reducing the amount of code in htm pages :-)

    Hi, I recently had to reduce the amount of abap business logic in a view. The view was in a large multifunctional bsp that someone else had written, and to which I needed to add some code. That view consisted of many htm includes, each include having