Sending Custom fields from SRM to ECC through BAPI

Dear All ,
I am looking for a step by step instructions on how to send my data i.e Start date and end date at ITEM :LEVEL for limit items from SRM to ECC
It is currently only sent a Header level . I have almost read all the posts and yet not able to figure out . Please can you some one help me to understand .
Checked the below
http://scn.sap.com/thread/476423
http://scn.sap.com/thread/170189
http://scn.sap.com/thread/26494
http://scn.sap.com/thread/1399901
http://scn.sap.com/thread/1991218
and also  checked the SAP official page :
http://wiki.scn.sap.com/wiki/display/ABAP/BAPI?original_fqdn=wiki.sdn.sap.com#BAPI-Passingcustomfield
http://wiki.scn.sap.com/wiki/display/SRM/Transfer+process+of+the+Shopping+Cart
http://scn.sap.com/docs/DOC-2726
However no luck . I also opened a similar thread previously but still unable to get an end to end understanding .Please could some one guide me for this one ?  Currently what I found out there is a class CL_BBP_BS_ADAPTER_PO_CRT_ERP10 where CREATE_DOCUMENT decides what fields would be passed .. In that there is a FM which is being called from ECC .. and in that there is header and header X field ..
which has the fields which I need VPER start and end date ..
CALL FUNCTION 'BAPI_PO_CREATE1'
       DESTINATION av_rfc_dest
       EXPORTING
         poheader               = as_po_out-is_poheader      "#EC ENHOK
         poheaderx              = as_po_out-is_poheaderx
h
Now I wnat the same fields to be passed at item level of the SC .. Please could you confirm on what exactly I should do ?
I saw the below tables not sure what I should do with them to include the 2 fields I want which should be passed to ECC .
TABLES
          poitem                 = as_po_out-it_poitem        "#EC ENHOK
         poitemx                = as_po_out-it_poitemx       "#EC ENHOK
             extensionin            = as_po_out-it_extensionin   "#EC ENHOK
  *      extensionout      = as_po_out-it_extensionout "not used by SRM
          poexpimpitem      = as_po_out-it_poexpimpitem      "#EC ENHOK
          poexpimpitemx     = as_po_out-it_poexpimpitemx     "#EC ENHOK
         potextheader      = as_po_out-it_potextheader "not used by SRM
*      popartner         = as_po_out-it_popartner    "not used by SRM
Please can some one let me know for the below queries :
1, How to identify If I am checking on the right method .
2. How I can create these 2 fields voer start date and end date and pass them to EKPO table of PO in ECC ?
3. How to create these 2 fields in BAP and pass it further from SRM to ecc
4. How would they be visisble in SC portal screen ..
Please guide me on this would be really grateful . Thanks in advance for the help
Regards
Vinita

Hi Madhu,
Please check out this note 1027081 which is for the PO Held in classic scenario.
Praveen.

Similar Messages

  • How to transfer user defined accounting fields from SRM to ECC ?

    Hi!
    We are running SRM 5.0 and ECC 6.0 with classic scenario.
    We have defined Business entity filed account assignment tab in SRM SHC.
    New fields are also defined in tables BBP_C_ACC_F and in BBP_C_ACCFD and added in the structure also INCL_EEW_PD_ACC_CSF. New fields are also defined in srpo accounting.
    In R/3 the same field is already defined as it is standard one.
    When I create PR or PO i entered the Business entity for the account assignment R i.e real estate.
    However, when I order my shopping cart with values in new fields, the values are not transferred into backend.
    Standard fields transfer nicely, but the user defined fields dont transfer.
    Can any please let me know what we have to do for these user defined values to transfer to back end. We need to implement any BADI ?
    Please let me know
    Thanks

    Hi,
    Use  BADI  BBP_CREATE_PO_BACK ( t.code SE18) can transfer custom fields
    some useful links to transfer custom fields from SRM to ECC..
    Re: Purchase Order item customer fields
    implementation of BADI BBP_ECS_PO_OUT_BADI in SRM. and BBP_PO_INBOUND_BADI
    Re: Custom field values are not being transfered to the backend system
    Re: How to replicate SRM PO customer fields to ERP PO in ECS
    Update Custom Fields in PO - BBP_ECS_PO_OUT_BADI
    BBP_ECS_PO_OUT_BADI
    implementation of BADI BBP_ECS_PO_OUT_BADI in SRM. and BBP_PO_INBOUND_BADI
    Update Header Text in R/3 using BBP_ECS_PO_OUT_BADI
    Hope these are helpful..
    Thanks
    prasad .s

  • How to replicate data from custom field in SRM to ECC

    Hi,
    I am using SRM 5.0, as per my requirement i need to get data from SRM (Web GUI) through custom fields in "Confirm Goods",
    and need to pass this data to ECC,
    I found that Message type MBGMCR; IDOC Type u2013 MBGMCR01 can be used for passing the data from SRM to ECC,
    How can i pass the new data to this IDOC in SRM
    and how can i get the data from this IDOC in ECC
    Please help.
    Thanks in advance,
    Jerin.
    Edited by: Jerin Joseph on Jul 23, 2009 5:06 PM

    Hello,
    This will help you.
    Re: Replicating GR custom fields from EBP to SAP R/3
    Thanks
    Ashutosh

  • 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

  • Custom fields from SRM PO to R/3 - missing values

    Hi,
    As part of the extended classic scenario  when the PO is being transferred to backend we are sending couple of custom fields ( added to append structure  CI_EKPODB in EKPO table )  in the item table .
    We are doing this for ECC 6.0 and 4.7 backend versions.
    ECC 6.0 works fine i.e, the custom fields gets properly replicated ( updated in EKPO table )
    4.7 --> It doesn't work.
    In R/3 we have maintained the correct mapping in BBP_CUFMAP table.
    Any ideas what is the issue with 4.7 version.
    Note : SRM uses BAPI " BBP_PO_INBOUND"  FM in R/3 to replicate
    Thanks,
    Krishna.

    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

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

  • What are the steps to send sales order custom field from CRM to ECC

    Hi Xperts,
      We have created a custom field in sales order [ VBAK] and successfully replicate its value from ECC to CRM. But while doing the enhancement to replicate the field value from CRM to ECC [ When the SO is created in CRM ] we are not able to do so.
    We used a FM in CRM0_300, but while replicating the SO from CRM to R/3 it is not getting called.
    Please help us by providing the steps to do the full enhancement to replicate the custom field of SO from CRM to ECC.
    Thanks in Advance.

    Hi Anjaneyulu,
    We are faced with a similar situation as you.
    Here is our scenario with the steps that we performed so far:
    1.  We have added a few custom fields in CRM 7.0 (Ehp1) using AET.
         The BDoc BUS_TRANS_MSG has been automatically extended with these custom fields.
    2.  On ECC side also, same custom fields have been added to VBAK and VBAP, using APPEND STRUCTURE. Fields were added to ADDITIONAL DATA TAB B in VA01 / VA02 transactions.
    3. Extended BAPI structures BAPISDITM and BAPISDITMX in both CRM and R/3 Side.
    4. As mentioned in the note 1053817, we have implemented BADI CRM_DATAEXCHG_BADI -> Method CRM_DATAEXCH_AFTER_BAPI_FILL in CRM (mapped fields from BDOC to BAPI structures)
    5. In the above note, for R/3 BAPI to R/3 API they have given to implement user exit USEREXIT_MOVE_FIELD_TO_VBAP which we found in MV45AFZZ. But in this we are unable to find BAPI Structure to map.
    Our issue is, when a sales order is created in CRM, it is getting replicated on ECC. But, only standard fields are getting replicated. The custom fields that we have added are remaining empty on ECC side.
    In CRM --> txn SMW01, we can see that the BDOC is populated with custom fields also.
    Could you let us know if your issue is solved completely. Are you able to see the value of custom field, in ECC? Did you use AET to add fields in CRM.
    Could you please give us the steps that you have done.

  • Custom Fields from SRM 7.0 to R/3 4.7

    Hi,
    I have some custom field which need to be passed from the SRM confimation to R/3 - GR, I learnt that Idoc MBGMCR01 is triggered to create the GR in R/3.
    1. Wether I have to create a new IDOC type and assign in the message type? Please let me know in which BADI i can populate the value for the custom Fields
    Edited by: prabhu jayaraman on Oct 5, 2009 3:38 AM

    Hello Prabhu,
    You need not create a new idoc. You can extend the existing Idoc using extensions.
    However in the related FM BBP_ALE_GOODSMVT_CREATE which triggers the Idoc , i do not see any BADI being called.
    Best Regards,
    Pavan
    Edited by: pavancv on Nov 18, 2009 4:13 PM

  • Passing CUF fields from SRM to ECC 6.0 and PO in Held status

    Hi All,
    We are upgarding from SRM 5.0 to SRM 5.5 ( New system ) and 4.6C to ECC 6.0.
    We have implemented classic scenario. All the codes (BADIs) have been copied to the new systems. We are facing two issues here
    1. CUF fields are not being passed to ECC 6.0
    2. PO in ECC 6.0 is in held status.
    Regarding issue No.1, the CUF coding is in BADI BBP_CREATE_PO_BACK and I hope I dont have to do anything at R/3 end as it will be taken care of.
    Adding header details
    wa_ct_po_extension-structure = 'BAPI_TE_PO_HEADER'.
    WRITE po_number TO wa_ct_po_extension-valuepart1.
    WRITE x_sc_item-zz_moc_rating TO wa_ct_po_extension-valuepart1+10(1).
    WRITE x_sc_item-zz_insurance TO wa_ct_po_extension-valuepart1+11(2).
    WRITE x_sc_item-zz_sr_offshore TO wa_ct_po_extension-valuepart1+13(2).
    WRITE x_sc_item-zz_sr_onshore TO wa_ct_po_extension-valuepart1+15(2).
    WRITE x_sc_item-zz_os_indem TO wa_ct_po_extension-valuepart1+17(2).
    WRITE x_sc_item-zzreqno TO wa_ct_po_extension-valuepart1+48(10).
    WRITE l_newvalue TO wa_ct_po_extension-valuepart1+75(17).
    APPEND wa_ct_po_extension TO ct_po_extension.
    clear wa_ct_po_extension.
    Item Fields to EKPO
    loop at po_items into x_po_items.
    wa_ct_po_extension-structure = 'BAPI_TE_PO_ITEMS'.
    write x_po_items-po_item to wa_ct_po_extension-valuepart1.
    write x_sc_item-zzreqno to wa_ct_po_extension-valuepart1+5(10).
    append wa_ct_po_extension to ct_po_extension.
    endloop.
    Do let me know, if anything further has to be done.
    Point 2. PO is in held status, any thoughts on this.
    Thanks and Regards,
    Madhu C

    Hi Madhu,
    Please check out this note 1027081 which is for the PO Held in classic scenario.
    Praveen.

  • User defined accounting fields from SRM to ECC

    Hi!
    We are running SRM 5.0 and ECC 6.0 with classic scenario
    We have defined some accounting fields in SRM into structure BBP_PDS_ACC in an
    include INCL_EEW_PD_ACC_CSF. New fields are also defined in tables BBP_C_ACC_F
    and in BBP_C_ACCFD. New fields are also defined in srpo accounting.
    In ECC same fields are defind in include CI_COBL.
    When I create manual reservation in ECC using transaction MB21, I can use new fields properly
    and they are restored in table RKPF - reservation header level just like cost center.
    However, when I order my shopping cart with values in new fields, the values are not transferred into backend. Standard fields like cost center transfer nicely, but non of the user defined fields do that.
    We have BADi BBP_CREATE_BE_RS_NEW active with manual ACCT_MAN indicator on and
    movement allowed indicator on.  In BADi wehave managed to to pass value from structure
    IS_SC_DOCUMENT-account to structure cs_rs1_document-is_rs_header, but still not getting values to the backend. Is there some mapping done after BADi or how its done?
    thanks,

    Hi,
    Please check the note 458951. Hope this information would be of some help.
    Regards,
    Kalyan

  • Custom field handling in CATSDB table through BAPI

    Hi,
    I have enhanced CATSDB table using CI_CATSDB. I have added one field QTY of type DEC(4,2).
    to enter timesheet I have written one function as per following code. But system is giving error in statement shown in bold fonts. How to overcome from this problem?
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(EMPLOYEENUMBER) TYPE  HR_PERNR
    *"     VALUE(WORKDATE) TYPE  CATSDATE
    *"     VALUE(CATSHOURS) TYPE  CATSHOURS
    *"     VALUE(WBS_ELEMENT) TYPE  PS_POSID OPTIONAL
    *"     VALUE(ACTTYP) TYPE  LSTAR OPTIONAL
    *"     VALUE(QTY) TYPE  ZLHR_TIME_QTY OPTIONAL
    *"  EXPORTING
    *"     VALUE(CATSRECORDS_OUT) TYPE  TCATSDB_EXT
    *"  CHANGING
    *"     VALUE(RETURN) TYPE  BAPIRET2_T
      DATA:
        wa_catsrecords_in TYPE bapicats1,
        int_catsrecords_in TYPE TABLE OF bapicats1,
        wa_extensionin TYPE bapicats7,
        int_extensionin TYPE TABLE OF bapicats7,
        wa_bapi_te_catsdb TYPE bapi_te_catsdb,
        wa_catsrecords_out TYPE bapicats2.
      wa_catsrecords_in-employeenumber = employeenumber.
      wa_catsrecords_in-workdate = workdate.
      wa_catsrecords_in-acttype = acttyp.
      wa_catsrecords_in-wbs_element = wbs_element.
      wa_catsrecords_in-catshours = catshours.
      APPEND wa_catsrecords_in TO int_catsrecords_in.
      CLEAR wa_catsrecords_in.
      wa_bapi_te_catsdb-row = 1. 
      wa_bapi_te_catsdb-qty = qty.
      wa_extensionin-structure = 'BAPI_TE_CATSDB'.
      wa_extensionin-valuepart1 = wa_bapi_te_catsdb+0(240).
      APPEND wa_extensionin TO int_extensionin.
      CLEAR wa_extensionin.
      CALL FUNCTION 'BAPI_CATIMESHEETMGR_INSERT'
        EXPORTING
          profile         = 'Z_DEMO'
          testrun         = ' '
          release_data    = ' '
        TABLES
          catsrecords_in  = int_catsrecords_in
          extensionin     = int_extensionin
          catsrecords_out = catsrecords_out
          return          = return.

    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.

  • 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

  • Replication of custom z fields from CRM to ECC

    Hello,
    I have created custom fields in CRM - Order using EEWB.  Similarly I have created custom fields in ECC - VBAK.  I want to replicate these custom fields from CRM to ECC.  Somebody had suggested to use CRM_DATAEXCHG_BADI and method -  CRM_DATAEXCHG_AFTER_BAPI_FILL.  Can anybody give me a sample code of how to populate table - CT_BAPIPAREX within this method? 
    Process followed was -
    1. ECC - Extend VBAK with zfld1
    2. ECC - Extend BAPE_VBAK, BAPE_VBAKX with zfld1
    3. CRM - Add zdoc1 using EEWB
    4. CRM -  Extend BAPE_VBAK, BAPE_VBAKX with zfld1 (same as ECC?)
    5. CRM -  CRM_DATAEXCHG_BADI and method -  CRM_DATAEXCHG_AFTER_BAPI_FILL. - This is where I need to map zdoc1 of CRM to zfld1 of ECC.  And then populate CT_BAPIIPAREX.  This is where I am stuck. 
    Thanks!

    HI,
    If you have added field in EEWB chosen R/3 Adapter, then it will also enhance the Exchange structures and thus i guess CRM_DATAXCHange_badi shud contain in one of its changing parameters
    The following blogs gives a good idea in the similar lines.
    /people/vikash.krishna/blog/2009/07/21/exchange-ecc-customer-master-standard-field-with-the-crm-z-fields-ecc--crm
    /people/vikash.krishna/blog/2009/07/14/crm-70-how-to--4-adding-custom-fields-with-the-new-application-enhancement-tool-aet
    Revert if you need further help.
    -Satish

  • Sending shopping cart no from SRM to ECC while creating  PO in ECC from SRM

    Hi all,
    I have a requirement where in i need to enhance the custom screen of PO. In this custom screen there is a field called shopping cart number.
    So when a PO is created in SRM the shopping cart has to be copied into this custom field of ECC.
    i got to know that BBP_CREATE_BE_PO_NEW is to be used.
    So please enlighten me on how to implement this badi?
    Thanks and Regards
    Veda

    Hi Veda,
    Please go through the following Wiki link to know more about BBP_CREATE_BE_PO_NEW usage to send customer fields:
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/srm/bbp_create_be_po_new-CreatePOin+backend
    Thanks,
    Pradeep

Maybe you are looking for

  • Middle select button not working correctly?

    I have a nano second generation and the select button in the middle is not working correctly. I have to keep pushing it and pushing it to get it to work and now it's not working at all. Any ideas?

  • Handling boot-critical Win 7 drivers in ZCM imaging

    Does anyone know how to handle boot-critical drivers with ZCM imaging? These are typically disk controller and/or NIC drivers. MS WIM seems to require that you mount the image and "reflect" the driver into the image. (Gotta love MS's way with words.)

  • Photoshop CC quits after starting, when used as a trial - works fine

    Hello, I've purchased Photoshop and Lightroom bundle (combined deal for 12.99 Eur/Month), the problem is, whenever I try to run photoshop - it immediately quits after starting. Tried logging in and out of Creative Cloud with no luck. Reinstalling pho

  • Re: ale

    Hi,    I having very less knowledge on alv. Anybody can give the documents available for alv. I have one document how to configure alv and how to send alv. I want full documetation like how toenhance idoc,segement,messagetype creation etc. I apprecia

  • HP PSC 1350 ERROR IN BEING ADDED?

    i'm using a hp psc 1350. it works fine with the usb connection, and when plugged into my apexpress unit it shows up in the add printer box with bonjour. the driver is coming up the same as when connected with usb. BUT when i click add printer it come