Map a custom SRM field to a standard field in R/3

Hello All,
We have created a custom field in SRM and it needs to be transferred to one of R/3's
standard field. it has to be done in both the classic and extended classic scenario.
For the extended classic scenario I tried using the BADI BBP_ECS_PO_OUT_BADI
but this is not getting called in the creation of local purchase order neither
does it transfer the changes made to r/3
As for classic scenario I tried using the BADI BBP_CREATE_BE_PO_NEW ~ FILL_PO_INTERFACE1
but the structure cs_po1_document-IT_POITEM does not get filled up with the item_guid
which needs to act as a reference field to read the table.
At the backend i tried using the bbp_po_inbound_badi and tried to change the value in the
debuggung mode. But it didn't carry the value to the field either.
Thanks in advance,
Prasanna

1. The BADI BBP_CREATE_BE_PO_NEW will only be called in the classic
scenario wherein the purchase order is directly created in the backend
R/3 system.
For extended classic scenario, kindly use the BADI BBP_ECS_PO_OUT_BADI
instead.
Please be sure that you have filled  BBP_CREATE_BE_PO_NEW  with these lines:
CS_CTRL_ATT-BE_DOC_TYPE = 'SRM'.
CS_CTRL_ATT-BE_STORAGE_CAT = 'DMS_C1_ST'
Please also check the settings in the customing of the backend (DC10, DC20, DC30).
2.  Please create test data in BAPI_PO_CREATE1 in backend system according to note 539978 As in the note described, please 
  - set the Parameter FBGENDAT 'X' in the backend system for the
    RFC user of the SRM system
  - execute the report FBGENDAT in the mode 'A'.
    after activating this report, test data will be created by every
    BAPI_PO_CREATE(1) call.
  - once you have a new entry in the SM13 of the backend system,
    please deactivate the generation of test data in report FBGENDAT.
Please check the Data transfered from SRM.
3, There are some field with will be cleared during MM processing when
you run the BAPI_PO_CREATE1 with the data transfered from SRM.
Examples : 
Classic scenario.
In this case you create service purchase order.
For service purchase orders fields WEMPF and ABLAD(GR_RCPT and UNLOAD_PT in BAPI) are not filled when creating the document. It is absolutely not possible to have this unloading point/ Recepient on item level service documents. The account assignment is entered on service level and it is then used to determine the account assignment on item level.  So even if you were able to pass from SRM the unloading point/Recepient on item level in service documents it would be overwritten from the account assignment of services. This functionality won't be available in standard R/3.
Please see note 118008 for more information.
Extended classic scenario.
As soon as you pass delivery address The system clears field EMLIF (supp_vendor in the BAPI interface). Do not pass delivery address and you will be able to have Vendor in the purchase order. Due to the fact that delivery address exist, a lot of fields in lt_item are cleared, including supp_vendor.
Call stack:
8 SAPL2012 FORM PROCESS_ADDR_TABLE
7 SAPL2012 FORM CREATE_ITEM_ADDR
6 SAPL2012 FORM PROCESS_NON_INTEGRATED_COMP
5 SAPL2012 FUNCTION BAPI_PO_CREATE1
Please see code in subroutine PROCESS_ADDR_TABLE:
                CLEAR imt_item-kunnr.
                imt_itemx-kunnr = bapi_yes.
                CLEAR imt_item-emlif.            !!!!!!!!!!!!!!!!!!!!
                imt_itemx-emlif = bapi_yes.
                CLEAR imt_item-lblkz.
If you have the fields cleared in MM process , it is not a SRM-EBP-POR issue , but a MM-PUR-PO-BAPI  The BADI BBP_CREATE_BE_PO_NEW will only be called in the classic scenario wherein the purchase order is directly created in the backend R/3 system. For extended classic scenario, kindly use the BADI BBP_ECS_PO_OUT_BADI instead.
I hope this information will help you .
Summer Wang
Edited by: Summer Wang on Nov 24, 2009 2:50 AM

Similar Messages

  • Mapping of CRM BP standard field to ECC Standard field

    Hi Experts ,
    We have a requirement in which we need to copy "Identification Type" field (table field BUT01D-TYPE) in "Identification Tab" of Business Partner from CRM into ECC Standard Field 'Corporate Group' in Control Data in XD01 (Table Field KNA1-KONZS).
    Please let me know where I can do the mapping of the CRM field to ECC field for this requirement .
    thanks in advance.
    Anil

    Go to se19 and choose name for the implementaion and click create. Definition is 'CRM_DATAEXCHG_BADI'. Choose description for the implementation and Save your implementation. Next you have to implement method CRM_DATAEXCH_R3D_MBDOC_FILL by doubleclicking on it. Data coming from r3 are witen in table TI_BAPIMTCS. And to write data to crm you can use direct logic or fill structure of CT_BUS_TRANS_MSG.
    For more information about the badi goto SE18 and open badi CRM_DATAEXCHG_BADI and hit Documentation button.

  • ABAP question: define a custom foreign key for a standard field??

    Hi,
    I want to use the field ADDR1_DATA-STR_SUPPL3 for customer use. I must to define a foreign key against a Ztable (as verification table) for this standard field. Also I must to define a custom search help.
    To defining a foreign key for this field, I must be in change mode, so the system ask to me for registering the object. That means this action is a modification. My question is the following: is there any way to do so without SAP standar modification??
    For instance, using BDT events...but how?
    Thanks in advance.
    Regards,
    Rosa

    Hi Rosa,
    Changing SAP Standard dictionary elements is not possible with out changing the same. To change these elements, we dont have any other method apart from SAP standard modification.
    Cheers
    Pavan

  • Display value in custom field selection of standard field

    Hi,
    I want to display the country value based on the Account selection, that is the country associated with the selected Account.
    I created Contact extension BO and added country field with data type CountryCode. Account is a standard field.
    I am able to fetch country value but assigning the value to Country field can be done in only BeforeSave.absl
    I have also provided validation for this country field.
    Issue here is:
    First Validation-OnSave.absl gets called and then BeforeSave.absl.
    I want the country value to be displayed once the user selects Account.
    Regards,
    Vijaya Chavan

    Hi Vinod,
    I got the issue.
    AfterModify.absl gets called when the Contact Quick Create screen gets loaded and not after selecting the Account field value.
    So I tried geting the value directly from the following path without firing a query in BeforeSave.absl.
    this.CurrentDefaultIsContactPersonFor.BusinessPartnerRelationship.FirstBusinessPartner.AddressInformation.GetFirst().AddressSnapshot.PostalAddress.GetFirst().CountryCode;
    But BeforeSave.absl gets called when I click on "Save". I wanted the value to be displayed soon after the Account Value is selected.
    Regards,
    Vijaya Chavan

  • 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

  • Bapi bbp_create_be_rs_new mapping a customer field to standard field

    hey guys , I am trying to create a reservation in ECC and i am trying to map a custom field to a standard field in ecc.  In the structure of the reservation in the bapi there field does not exist but it exists in ecc.  How do i map one of the values from the item table to a field to ECC when the field does not even exists in the bapi?
    The field that i want to map is PRIO_URG in ecc and it does not exists in the bapi bbp_create_be_rs_new.  I saw that there is an IT_RS_EXtensionin strucutre but I dont know how to pass a custom field to a standard?
    I also want to pas a text id field to ECC too?  How should i do that?  thank you.

    help!  I don't understand how to pass my value that i got from a table in SRM to the bapi structure bapiparex?

  • IExpenses-12.1.3 Facing Issue with 2 custom text fields on the standard OAF

    Dear All,
    We are facing problem where custom text fields on standard OAF page does not retain their values when we traverse back-forth on the OAF page.
    Here is the exact issue details
    1) We added 2 text fields(Attribute5 and Attribute6) through personalization on Mileage Line Details Screen(standard OAF page) of iExpenses 12.1.3.
    2) And business requirement is whenever user enters values into these fields, difference of these values is populated in third field which is standard field on that page.
    Issue
    When user enters values into above 2 fields, difference is calculated correctly however once he clicks on return page and comes back again on the detail page
    then all the standard fields retain their values but 2 custom fields have blank value.
    Is there any issue with personalization? or any other issue? Please suggest.
    Thanks,
    Mahesh

    Thanks Pratap for checking
    There is button named as "Calculate Amount" on the line details page so it is happening in below 2 scenario
    1) When User enters values in 2 fields and clicks on Calculate Amount Button then values get disappeared from custom fields
    2) When user clicks on return button, go to main page and clicks on detail button ( to come back on same line) then all the standard fields have valuece and custom one's disappeared.
    Thanks,
    Mahesh

  • How to add standard field in the CRM Pricing field catalog?

    Hello All
    I am working on CRM 7.0 , I have a problem with the CRM pricing field catalog that when I am trying to add new field in the catalog the system gives me an error message that the entries should be in the allowed namespace (Y Or Z) but the field I am trying to add in the field catalog is standard field.  What should I do to add this field in the field catalog?
    The field is : BATCH_ID with data element CRMT_BATCH_ID
    Thanks in advance
    Jacopo Francoise

    Follow note : 441083

  • How to map customer field to standard field using BAPI_PO_CREATE1 ?

    Hi,
    i am trying to transfer a customer field from SRM to ECC60 through BAPI_PO_CREATE1;
    In SRM the EAN field does not exist; Thus we have created it.
    While transfering the PO to ECC, we try tu use BBP_PO_INBOUND_BADI to map the SRM field to the EAN11 field in EKPO.
    However, we do not find the EAN11 field in the BAPIPOITEM structure.
    Steps already done :
    BBP_CUFMAP
    How do we map a customer field coming from an external system to an ECC standard field ?
    Kind regards,
    Yann

    interface name is: SalesOrderCreateRequestConfirmation_In
    have a look at this link to get some more details:
    http://help.sap.com/esoa_erp2005/helpdata/en/44/62e384e370311de10000000a155369/frameset.htm
    is that what you need?

  • How to populate custom fields in SAP standard Basic type DELFOR01(E1EDK09)

    I've a requirement to include and populate 2 custom fields in SAP standard basic type DELFOR01 and Segment E1EDK09 (it is at hierarchy level 1 ) .
    The requirement looks very simple but for this, as per my knowledge, I have to create a new  Basic type with the copy of segment E1EDK09 and attach it to outbound process code and write my own function module to populate the segments.
    It seems ok but the there are some existing codes in the user-exits for the SAP standard function module.These codes will not get triggered.(Or I've copy the user-exits code in my FM)
    Can we do it any other way to handle this kind of situation?
    Thanks in advance for your suggestions and help.

    Hi Phani,
    You have done it correctly. ECC additional data to be moved to EWM, 1. you need to enhance the CIF for master data/ bapi  to populate the data in the custom field in EWM. 2. Make your your are not enhancing only one structure. You need to do it in the CI includes so that the field is available in all the related tables/structures.
    3. The BAPI/FM which updated these tables will take care automatically to update the custom field data if the field is correctly added in all the tables.
    4. If the custom fields are added correctly and still the data is not getting saved , then need to check the mapping of the custom field and bepi extension.
    Let me know if this helps.

  • Custom seach help for standard field in Web dynpro application

    Hi All,
    I have a requirement in SRM portal where in I have a to add a custom search help to the 'WBS_ELEMENT' field in the the 'ACCOUNT ASSIGNMENT' tab of the Shopping cart creation screen with some input parameters on the search help.
    As the SRM Shopping cartcreation screen is a standard web dynpro application.
    Can anyone help me in this regard for addition of search help for a field with some custom fields in the Search help screen.
    Any inputs will be very helpful.
    Thanks in advance.
    Regards,
    Ahmed.

    Hi Ahmed,
    If it is an standard application then you will have to do ENHANCEMENT in the component. And for using customised value help you will have to declare attribute in CONTEXT and dynamically change the binding of the Value property of UI element inside post-method of WDDOMODIFY. You can create your own customised value help for newly added attribute.
    Thanks,
    Vishesh

  • Adding a field in the standard transaction bbpsc01 of SRM

    Hi All,
    The requirement is that a new field (tracking no) needs to be added in the screen of bbpsc01 transaction in SRM using a BADI. The field 'tracking no' is available in the standard table BBP_PDBEI.
    The BADI definition BBP_UI_CONTROL_BADI looks like the relevant one. But how do I add this standard field in this transaction?
    Will Reward points if helpful.

    check
    Transaction Code - F-53                     Post Outgoing Payments
    Exit Name           Description
    RFAVIS01            Customer Exit for Changing Payment Advice Segment Text
    RFEPOS00            Line item display: Checking of selection conditions
    RFKORIEX            Automatic correspondence
    SAPLF051            Workflow for FI (pre-capture, release for payment)
    F050S001            FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    F050S002            FIDCC1: Change IDoc/do not send
    F050S003            FIDCC2: Change IDoc/do not send
    F050S004            FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    F050S005            FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006            FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007            FIDCCH Outbound: Influence on IDoc for Document Change
    F180A001            Balance Sheet Adjustment
    FARC0002            Additional Checks for Archiving MM Vendor Master Data
    FEDI0001            Function Exits for EDI in FI
    No of Exits:         14
    Rewards if useful................
    Minal

  • Custom fields and Standard Fields

    Hi
    I'am working on upgrade project from SRM 4.0 to SRM 7.O. we have a client requirement that
    1. some custom fields  to hide at SC Header default settings like Company Code, Location, Strorage location. i was able to hide at item level via Field control at item level .But not able to achieve at SC Header Default setting
    2.At SC item overview i need to change the naming of "PRICE/ LIMIT" to "PRICE"
    3 in item basic data i was able to hide some fields, but not in other tabs like Account assignmnet, Ship to address etc...
    Can give me some inputs how to achieve this
    Appreciate your help
    Regards
    Sandeep D

    Hi Sandeep,
    1,  SC Header custom fields
      a. Add required custom fields to the Standard Header structures u2018INCL_EEW_PD_HEADER_CSFu2019 and u2018INCL_EEW_PD_HEADER_CSF_SC
         b.Create new entries in the view /SAPSRM/V_MDF_HC, for the Custom fields added to the standard structure.
         c.  Enhance the Context node in the WD application- u2018/SAPSRM/WDC_SC_WZ_GAF_3STu2019.
         d. Create new fields and labels in the Layout as a part of the Enhancement and bind it with the Context fields (Custom fields).
    2,_For renaming_
      Rename the "save" button on SC screens to "Hold Cart "
    3, Hide some fields in Account assignmnet
    Goto to sm30 maintain /SAPSRM/V_MDFSBC
    set type : 31
    Change the fields according to requirment.
    Regards,
    Neelima
    Edited by: S Neelima on Mar 10, 2010 6:18 AM

  • Sending custom field added in Standard infotype through idoc

    Hello All,
    We have a requirement where custom field of a standard infotype 0002 needs to be sent through idoc only to a desired destination system.
    My Approach:
    I have created a custom segment having custom field from IT 0002 & mapped this segment in T777D table.
    But the problem with above, is all the system who are receiving IT0002 will be receiving this custom segment also including desired system.
    How can it be filtered?

    Hi,
    Create the new segment and message types of the idoc with cutom field.
    Then map the new mesage type and corresponding receiver( SM59).

  • Sending custom field added in Standard table through idoc

    Hello Folks,
    We have a requirement where custom field of a standard table PA0002 needs to be sent through idoc only to a desired destination system.
    My Approach:
    I have created a custom segment having custom field from PA0002 & mapped this segment in T777D table.
    But the problem with above, is all the system who are receiving PA0002 will be receiving this custom segment also including desired system.
    How can it be filtered?

    Hi,
       In BD64 you can do the segment level filtering. Go to BD64, search for your distribution model there drill down to "filter settings" the make the required segment filtering.
    Thanks,
    Asit Purbey.

Maybe you are looking for

  • OPENING BALANCE IN ANNEXURE10

    Hi Experts, In my RG23A AND RG23C ANNEXURE10 report opening balance is not coming. Herewith i am sending the code of the report. Kindly do the needful. Regards, Shankar CODING: REPORT YMS_ANNEXURE10NEW NO STANDARD PAGE HEADING LINE-SIZE 255          

  • Adobe Captivate 5.5 project - slides not playing through automatically

    Hello, This is my TOC on an Adobe Captivate 5.5 project I am working on. Slide 1 transitions to 2 no problem. However during Slide 2 I notice the time counter stops and then you have to click on to Slide 3 manually to play it ( it does not just play

  • My ipod (32 gbs,5th generation) says 1.1 gbs are being used, that aren't.

    My Ipod "about" is saying that there is 7.38 gbs used by music, but my ipod says that it's actually taking up 8.2 gbs. I have my ipod on the "convert higher bit-rate songs to 128 kbps" setting. how do i fix this?

  • Problème de connexion Ipad ---- Itunes

    Bonjour, Ca fait qque jours que j'essaie de synchroniser ma musique et film de mon ordinateur, sur mon Ipad, rien n'y fait. Rien n'apparati sur mon app. Ipad, j'ai pourtant ICloud mais non .... Je suis bloquée... qqun pourrait m'aider svp?

  • Download stops after run window asks for password or to run as current user.

    when I try ro download Firefox the download stops after it asks to continue as the administater or current user. I do not remember my password so I try to continue as the current user and the program just disappears.