BBP_ECS_PO_OUT_BADI

Hi all,
Does anyone know what this badi is used for?
Regards
Tony

Hi
<b>Please go through the related links / pointers below -></b>
How PO data will  be replicated to the backend system
Re: SRM PO replication to backend ECC (Extended Classic Scenario)
Re: Copy Local PO to backend
<b>For Debugging from ECC into SRM</b>
Re: Replication of PO to R/3
Re: Debugging from ECC into SRM
<b>Other useful links -></b>
is there any BADI triggered when PO is replicated to backend??
New Plant - Replicate PO to backend
Re: BAPI to update PO's and Corresponding line items numbers **URGENT**
<u>Hope this will help. Do let me know.</u>
Regards
- Atul

Similar Messages

  • Implementation of BADI BBP_ECS_PO_OUT_BADI in SRM. and BBP_PO_INBOUND_BADI

    Hi All,
    Facing a problem in BADI can u please help me out...
    I am implementing sourcing dashboard.
    I am facing problem while implementing the badi BBP_ECS_PO_OUT_BADI in SRM. and BBP_PO_INBOUND_BADI in R3.
    i have written following code in BBP_ECS_PO_OUT_BADI in SRM
    method IF_EX_BBP_ECS_PO_OUT_BADI~BBP_B46B_PO_OUTBOUND.
    data : ls_item type BBP_PDS_PO_ITEM_D.
    data : w_customer_fields type BBPS_IF_CUSTOMER_FIELDS_PI.
    move 'POITEM' to w_customer_fields-refobject.
    move 'CATALOGID' to w_customer_fields-fieldname.
    move ls_item-catalogid to w_customer_fields-container.
    append w_customer_fields to ct_bapi_customer_fields.
    endmethod.
    i have created field zsrmcatalogid field in R3 in EKPO table.and i am now implementing the Badi in R3 for BBP_PO_INBOUND_BADI .....in extended classic scenario.
    i have written following code in R3 BADI
    method IF_EX_BBP_PO_INBOUND_BADI~BBP_MAP_BEFORE_BAPI.
    data : wa_customer_fields type bbps_if_customer_fields,
    wa_bapi_te_mepoitem type bapi_te_mepoitem,
    wa_bapi_te_mepoitemx type bapi_te_mepoitemx,
    wa_extensionin type bapiparex.
    data : txt_960(960) type c.
    read table bbp_customer_fields into wa_customer_fields with key
    refobject = 'POITEM' fieldname = 'CATALOGID'.
    if sy-subrc eq 0.
    move wa_customer_fields-container TO
    wa_bapi_te_mepoitem-zsrmcatalogid.
    wa_bapi_te_mepoitemx-zsrmcatalogid = 'X'.
    endif.
    clear txt_960.
    clear wa_extensionin.
    write wa_bapi_te_mepoitem to txt_960 left-justified.
    wa_extensionin-structure = 'BAPI_TE_MEPOITEM'.
    wa_extensionin-valuepart1 = txt_960(240).
    wa_extensionin-valuepart2 = txt_960+240(240).
    wa_extensionin-valuepart3 = txt_960+480(240).
    wa_extensionin-valuepart4 = txt_960+720(240).
    append wa_extensionin to bapi_extensionin.
    clear txt_960.
    clear wa_extensionin.
    write wa_bapi_te_mepoitemx to txt_960 left-justified.
    wa_extensionin-structure = 'BAPI_TE_MEPOITEMX'.
    wa_extensionin-valuepart1 = txt_960(240).
    wa_extensionin-valuepart2 = txt_960+240(240).
    wa_extensionin-valuepart3 = txt_960+480(240).
    wa_extensionin-valuepart4 = txt_960+720(240).
    append wa_extensionin to bapi_extensionin.
    endmethod.
    But its not working...
    The PO details are not passed from SRM to R3.......
    Can anybody help me regarding how to debug the BADI in R3.
    Thanks in Advance...

    Hi Ravi,
    I never tried those BADIs to pass CUF fields.
    But here an attempt to understand it.
    First, have you maintained the mandatory R/3 CUF mapping table BBP_CUFMAP ?
    Your SRM BADI is not correct, because you don't populate enough data.
    There is a particular logic for ct_bapi_customer_fields (look at R/3 mapping in LBBP_BAPI_POF04, called before the R/3 BADI).
    Following fields must be populated:
    - REFOBJECT: ok with POITEM
    - FIELDNAME: dummy name (CATALOGID) or real R/3 field (zsrmcatalogid)? --> used in mapping table BBP_CUFMAP to get the R/3 field
    - REFFIELD1: missing: put PO_ITEM ?
    - REFVAL1  : missing: put the PO item number (numc 5)
    - CONTAINER: ok with final value we want to pass
    I think that if SRM BADI and the R/3 mapping table are populated correctly, the fields are transfered to R/3 PO item without additionnal coding on R/3 BADI side.
    The R/3 BADI goal is not to create BAPI_EXTENSIONIN. This is done by the Form MAPPING_CUSTOMER_FIELDS of include LBBP_BAPI_POF04.
    Later on, the custom fields of BAPI_EXTENSIONIN are transfered automatically to EKPO fields via a move-corresponding.
    In the way you coded R/3 BADI, you by-pass the Form MAPPING_CUSTOMER_FIELDS, to populate the BAPI_EXTENSIONIN by yourself.
    This could work like this, but you missed one info: the PO item number (missing in SRM BADI) !!!
    For debugging, what additional details do yo need ?
    Rgds
    Christophe

  • Problems for create PO from SRM to ECC BADI BBP_ECS_PO_OUT_BADI

    Hello Experts
    I require your help in the following topic:
    I have created an extension to BBP_ECS_PO_OUT_BADI BADI, you can make an extension to data conditions of my code-PO annexe, however I get the following situation:
    When I have the active code, ie the lines are commented and gender programming the PO from the PO SRM creates no problems, but when I remove the comments, the PO is not created.
    I did a "debug" from SRM to see what was going on with my extension, so use the FM "BBP_PD_PO_TRANSFER_EXEC" and place corresponding to the creation of the PO in ECC breakpoint, verify that the data I am sending ECC arrived properly and when the BAPI "BAPI_PO_CREATE1" run will carry the data from SRM am expanding what I'm sending values ​​are within the BAPI tables:
               "lt_pocondheader"
               "lt_pocond"
    The BAPI_RETURN table returns the following messages:
    "1 E BAPI 1 No instance of object type PurchaseOrder has-been created External reference:. 0 PurchaseOrder POHEADER 1"
    My questions are:
    Why when I have commented lines of code if I create the PO from SRM?
    Why if I take the notes to the lines sends me the error message?
    As I researched the "http://scn.sap.com/thread/449080" mentioned that should not be used to create the PO. But to change it later.
    Indeed, when there is PO if I allowed to create the conditions, hence is derived my new question
    What is the BADI that I must use so that when the PO is generated, take I require the data to be saved to the same PO?
    On the other hand, in the same extension of BADI mentioned, I'm doing the addition of a "Partner", but when it comes to ECC not placed in the tab "Partners" and when I check the messages you send me the BAPI as All that tells me is:
    You could not make changes to the "Partners".
    The lines of code that joined the expansion are:
    CALL FUNCTION 'BBP_PD_PO_GETDETAIL'
             EXPORTING
               i_guid is_header-guid =
             IMPORTING
               e_header = lw_header_po
             TABLES
               e_item = lt_item_po
               e_partner = lt_partner
               e_pridoc = lt_cond.
    IF lw_header_po-process_type EQ ZIPO 'OR lw_header_po-process_type EQ ZICP'.
    DATA: vl_type (2) TYPE c VALUE 'ZI'
    vl_num (2) TYPE c,
    vl_reg (2) TYPE n,
    vl_typef (4) TYPE c.
    DO 25 TIMES.
    vl_reg vl_reg = + 1.
    vl_num = vl_reg.
    Vl_type vl_num vl_typef CONCATENATE INTO.
               lw_cond_b-cond_st_no = '33'.
               lw_cond_b-cond_count = vl_num. "
               lw_cond_b-cond_type = vl_typef.
               lw_cond_b-cond_value = "0".
               lw_cond_b-is_header-currency = currency.
               lw_cond_b-applicatio = 'M'.
               lw_cond_b-STAT_CON = 'X'.
               lw_cond_b-change_id = 'I'.
               APPEND TO lw_cond_b ct_bapi_pocond.
               MOVE-CORRESPONDING TO lw_cond_b lw_condh.
               APPEND TO lw_condh ct_bapi_pocondheader.
             ENDDO.
             lw_poeikp-transport_mode = is_header-zexpvz.
             MOVE TO lw_poeikp cs_poexpimpheader.
           Lt_partner LOOP AT INTO WHERE lw_partner partner_fct EQ '00000711'.
             lw_p711-buspartno = lw_partner-partner_id.
             lw_p711-langu = 'E'.
             lw_p711-partnerdesc = 'TZ'.
             APPEND TO lw_p711 ct_bapi_popartner.
    endloop.
    endif. "
    I hope your answer, thanks.

    Do the config in SRM under Text Mapping > Text Mapping for Inbound and Outbound Texts.
    Hope this helps.
    -Bakulesh

  • Not able to debug the BADI implemntation-for badi   "BBP_ECS_PO_OUT_BADI"

    Hi ,
         Currently i need to debug the implemenation YBBP_ECS_PO_OUT_BADI"  of the badi  "BBP_ECS_PO_OUT_BADI"  this is used for tolerance check .but in the portal when i am click on the confirm button this  implementation need to be called for checking the tolerance but in my case the badi is not at triggering.  can any one give the solution for the above problem.
    how can i find the program calling the BADI implemenation YBBP_ECS_PO_OUT_BADI .can i know this from the portal.help me

    Hi,
    Please go through the following links:
    Re: Debug PO transfer
    How do debug BBP_ECS_PO_OUT_BADI?
    Thanks,
    Pradeep

  • Populating data in R/3 PO from SRM PO

    Hi-
    We are running SRM 4.0 in an extended classic scenario.  We are currently capturing the UNSPSC code in the MFR_NO_EXT field in the line item of the cart.  This data is flowing through to the same field on the line item of the PO in SRM.  However, when the PO is copied to ECC, I'm expecting this value to flow into EKPO-EMNFR field and it is not.  In fact, I don't see the data showing up anywhere on the ECC side.  We have never used this field in ECC, is there something I need to configure on the ECC side to make this happen?
    I've also tried utilizing the BBP_CREATE_PO_BACK BADI and still do not get them results I'm looking for.  Can anyone help me understand what I'm doing wrong.
    Best Regards,
    Shawn

    Hi,
    Try implementing the badi BBP_ECS_PO_OUT_BADI in SRM or badi BBP_PO_INBOUND_BADI in ECC.
    Also have a look at these notes:
    Note 1083794 - Fields missing in backend transfer of shopping cart.
    Note 406886 - Changing structure 'BAPIEKPOC' of Release 4.6C
    BR,
    Disha.

  • SRM 7.0 data flow frm SC to PO

    Hi,
    As I am new to SRM, I wish to know how the data flow from SC to PO.
    Here is my scenarion, we are in extended classic scenarion, we have 10 custom fields in SC and the same 10 fields in PO. The moment a SC is ordered, approved and created our PO will be created . I want to know how the data for the custom fields and the standard fields flow from SC to PO.
    I found some BADi's, and I learnt that all those badis are related to BAckend PO,
    BBP_CREATE_BE_PO_NEW - For classic scenario in newer versions of SRM
    BBP_ECS_PO_OUT_BADI     - For extended classic scenario
    BBP_EXTLOCALPO_BADI     - For controlling the Extended classic scenario on Local PO
    Please correct me if I am wrong. Let me the exact data flow.
    Information on this highly appreciated and will be higly rewared. Thanks in advance.
    Krishna Chaitanya

    Solved

  • Error in PO creation in backend (SRM to R/3)

    Hello,
      We need to add contract no and contract item no to EKPO table in backend.
    For this reason we implemented BADI : BBP_ECS_PO_OUT_BADI in SRM system.
    Also updated bbp_cufmap table with necessary information.
    <b>Code in the BADI :</b>
    Loop at IT_ITEM into lv_item.
    lv_cust-refobject = 'POITEM'.
    lv_cust-fieldname = 'ZZ_SRM_CTRNO'.
    lv_cust-REFFIELD1 = 'PO_ITEM'.
    lv_item1 = LV_ITEM-NUMBER_INT.
    lv_cust-REFVAL1   = LV_ITEM1.
    lv_cust-container = 'ABCD'.
    lv_cust-type = 'C'.
    append lv_cust to ct_bapi_customer_fields.
    EndLoop.
    Still we get following error message :
    PO XXXXXXXX : Data objects in a Unicode program are not converti ble.  
    Any pointers...what could be reasons...
    Warm Regards,
    Girish Dhondge

    Hi
    Which SRM version are you using ? What's the detailed requirement ?
    <b>Please ensure that you have declared the internal tables and other data declarations compatible as per the BADI Structures.
    Also you need to follow the sequence of the fields in which order they are appearing.</b>
    <u>CT_BAPI_CUSTOMER_FIELDS table should have same structure definition as lt_cust (table of lv_cust), in your case.</u>
    Loop at IT_ITEM into lv_item.
    lv_cust-FIELDNAME = 'ZZ_SRM_CTRNO'.
    lv_cust-REFOBJECT = 'POITEM'.
    lv_cust-REFFIELD1 = 'PO_ITEM'.
    lv_cust-REFVAL1   = LV_ITEM1.
    * REFFIELD2
    * REFVAL2
    TYPE           = 'C'.
    lv_cust-CONTAINER = 'ABCD'.
    append lv_cust to ct_bapi_customer_fields.
    clear lv_cust.
    EndLoop.
    Please paste the complete Short dump details using ST22 transaction for better analysis.
    Also refer to these links ->
    Creating of PO in backend
    MAP USer SRM defined fields in backend for PO
    Hope it will help.
    Regards
    - Atul

  • IR_IND indicator in purchase order - Extended Classic

    Hi All,
    We have a scenario where we purchase free item from vendors. We reset IR_IND in SRM PO then replicate into backend where IR receipt is reset and Free item is set. We have implemented badi BBP_DOC_CHANGE_BADI and BBP_ESC_PO_OUT to do so but POs always in held status and fail to replicate into backend. Our abaper found the changes in BADI has been overwritten by standard code - system will overwrite it with vendor data. Also we found relevant note 1260486 that stated this is truth - our badi changes will not be kept.
    For this case, can anyone help/advice how can we purchase free item in extended classic scenario? thank you.
    regards,
    glen

    Hello,
       Not sure if I follow exactly the comments about being overwritten from the partner data, but we do this successfully in an implementation of BADI BBP_ECS_PO_OUT_BADI.  In particular in our case we set the GR/IR flags based on a couple of criteria like the document type and amount; I don't recall all the technical details of the structure elements in the subsequent BAPI calls to create or change the PO (BAPI_PO_CREATE1 and BAPI_PO_CHANGE) regarding the free goods flag (UMSON) in the ECC PO, but FYI it is mutually exclusive to try and set the IR flag on a free goods item, the BAPI ignores it if IR is set as I remember.
    Hope this helps a little
    Cheers
    MC

  • Conditions for PO approvals in R/3 system

    Hi
    We are on SRM 4.0 classic scenario and backend as ECC5.0
    We have a requirement where PO approval is to be done in backend R/3 system, only for POs which are created from SRM sourcing cockpit and R/3 manual POs. POs that are created from catalog based shopping carts need not undergo PO approval in backend system.
    Note : All shopping carts will be approved in SRM workflow approval process before creating follow-on doc in backend system.
    My questions
    1. How the workflow will recognise the PO from sourcing (SRM) and manual PO created in backend R/3(not through SRM). Because we want PO workflow to be triggered only in R/3 system for these POs.
    2.Is the workflow development same for SRM and R/3 system or any difference is there. I mean in R/3 also do we have n step approval BADI?
    Please give me your suggestions on how to proceed on the above.
    Thanks
    Jagdish

    Hi Jagdish
    I took the hypothesis that you use extended classic scenario :
    Implement BBP_ECS_PO_OUT_BADI. This BADI is active when the Extended Classic Scenario is switched on, while PO data is transferred from EBP to R3.
    Since the R3 PO does not have field for catalog id, the EKKO- BEDNR (Tracking Number) field (that's an example) can be used to store this information. In this BADI all items are identified and their tracking number field is populated with your catalogue ID.
    You can take this a starting point.
    Hope this helps,
    Kind regards,
    Yann
    PS : Please do not forget to reward )

  • BAPI which creates a PO from Shopping cart

    Hello All,
    Irrespective of any scenario, How is that the PO is getting created out of an ordered shopping cart? Is it a BAPI, if so, where can we see this ? I mean which trans code should we use  in the GUI?
    Thanks in advance,
    Nagarajan

    Hi
    <b>Please go through the related pointers -></b>
    Re: How the Order is created in R3?
    Re: Regarding direct material procurement in Classic scenario.
    DATA VALIDATION INSIDE  BAPI_PO_CREATE / BAPI_PO_CREATE1
    Re: How do debug BBP_ECS_PO_OUT_BADI?
    Re: BAPI_PO_CREATE1
    Re: bbp_pd_po_transfer_exec
    <u>Do let me know.</u>
    Regards
    - Atul

  • 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

  • Ct_bapi_customer_fields question (PO transfer to R/3, extended classic)

    Hi all gurus,
    I know I can work on the BBP_ECS_PO_OUT_BADI to enrich/modify the ct_bapi_customer_fields table.... But I'd like to ask you where is that populated in order to see the logic.
    That's the situation: in BBP_ECS_PO_OUT I see that entries in ct_bapi_customer_fields are not properly filled, for instance, there's no entry related to POSERVICE even though I'm trying to transfer a PO with service items (of course, there are custom fields for services in our implementation).
    My guess is there's something missing @ customizing level, but since I'm having difficulties in debug mode, I kindly ask you to suggest me documentation or hints on how to check the INITIAL fill of ct_bapi_customer_fields.
    Thanks to you all,
    Best regards.
    EDIT: additional informations; we're working on a  brand new SRM 7 system, we have some R/3 system which are properly connected to an SRM 3 system. We have to manage custom fields in order to properly distribute POs from the new SRM to the backends.
    Edited by: Matteo Montalto on Nov 22, 2010 4:40 PM

    Hi Natchiappan.M,
    Have you found any solution of how to read condition types and fill.
    Actually i have the same requirement so please let me know if you found some solution for the same.
    Thanks in advance.
    Regards,
    Hemant

  • Freight is not updated in R/3 in the Extended Classic scenario

    Friends,
    Freight is not updated in R/3 in the Extended Classic scenario.
    Once a PO is ordered, if a freight condition in SRM is applied, it does not get updated in R/3.
    We have created a condition for Freight (Value and Percentage)in Create
    Payment Conditions using the following menu path:
    spro
    --> Supplier Relationship Management
    --> SRM Server
    --> Cross-Application Basic Settings
    --> Pricing
    --> Process Payment Conditions
    When creating a Purchase Order in SRM in the "Item Data" tab, there is
    a"Pricing" option. Choose "Pricing" and select "Add Further Conditions"
    from the drop down menu. Here Freight is available. Add Freight and
    the PO record in SRM is updated with the Freight Condition. However,
    upon ordering, the Freight condition does not transfer to the PO
    recordin R/3.
    We've heard this can be achieved by enhancement: only ie by implementing
    set of BADIs..  But does anyone know WHICH BADIs we need?  Or how we could find out?  Thanks.

    Hi
    <b> You can either of these BADIs to handlwe the scenario.</b>
    BBP_CREATE_BE_PO_NEW Exit while creating a purchase order in the backend system
    BBP_CREATE_PO_BACK   OLD Exit while creating a PO in the backend system     
    BBP_ECS_PO_OUT_BADI  ECS: PO Transfer to Logistics Backend                  
    BBP_EXTLOCALPO_BADI  Control Extended Classic Scenario  
    Hope this will help.
    Please reward suitable points.
    Regards
    - Atul

  • PO in R/3 to take SC currency?

    Hi,
    We are on SRM3.0 (SP11) , CLASSIC SCENARIO.
    Currently, when I create a PO for SC line item having currency GBP --> the PO is created with line item currency EUR. This is because the vendor currency in R/3 is maintained in EUR.
    Is there a BADI/User Exit in SRM/R/3 through which I can ensure that the PO gets created in the SC currency.
    Is it possible to put any checks etc. like for specific Purchase organizations the PO should be created in SC currency and for others it should get created in Vendor currency.
    Thanks,
    Srivatsan

    Hi
    We have handled this several times.
    <u>Use any of the BADIs using SE18 Transaction.</u>
    <b>BBP_CREATE_BE_PO_NEW</b>
    Exit while creating a purchase order in the backend system
    <b>BBP_CREATE_PO_BACK</b>  
    OLD Exit while creating a PO in the backend system      
    <b>BBP_ECS_PO_OUT_BADI</b> 
    ECS: PO Transfer to Logistics Backend                   
    Hope this will help.
    Please reward suitable points, incase it suits your requirements.
    Regards
    - Atul

  • Extended Classic Scenario, BADI for PO creation in R/3

    Hi,
    We are using the extended classic scenario. When the PO gets replicated from SRM to R/3, right now the field CATALOGID is not being transmitted to the backend R/3 system.
    1) What BADI should I implement (and the method) to transmit the CATALOGID to R/3?
    2) After implementing the BADI, do I also have to change the BAPI?
    3) Is the BAPI used to transfer data from SRM to R/3, BAPI_PO_CREATE?
    Thanks and Regards,
    Peter

    Hi Peter,
    1-You can use BBP_ECS_PO_OUT_BADI for ECS scenario.
    Since the R3 PO does not have field for catalog id, the EKKO- BEDNR (Tracking Number) field can been used for example to store this information. In this BADI all the items are identified and their tracking number field is populated with a catalogue id value.
    2-If you use the tracking number field, no use of R/3 BADI is required.
    3-BAPI_PO_CREATE1
    Please check my answers in this post :
    catalogid field not going in R3 backend
    Kind regards
    Yann
    Message was edited by: Yann Bouillut
    Message was edited by: Yann Bouillut

Maybe you are looking for