Global Outline Agreement (Contract Create in Backend System)

Hi All
We are trying to create contract in backend system automatically. We have implemented the following two BADI.
BBP_DETERMINE_LOGSYS (SRM 5.0)
BBP_CTR_BE_CREATE (SRM 5.0)
But they are not getting triggered, when the contract is created. Just for the sake of confirming this, We put some logic for inserting an entry in the custom table if at the BADI is trigerred. But after the creation of contract there is no entry found in the custome table, hence I believe that the BADI is not getting trigerred.
My requirement are
1)  I want this BBP_CTR_BE_CREATE to be triggerred when I click the "Release" button in "Global Outline Agreement".
2) Pointers how this can be debugged when releasing the outline agreement
Any help to solve this/ some useful pointer would be highly appreciated.
Note: I have checked these but did not help much,
https://forums.sdn.sap.com/click.jspa?searchID=1066187&messageID=1694393
https://forums.sdn.sap.com/click.jspa?searchID=1066187&messageID=1162212
Regards
Kathirvel

Hi Bala,
Please see the note
Note 646903 - Global outline agreement: Tips and tricks.
This contains details of debugging the GOA transfer BADI.
Actually you need to make a variable X while starting debugging and then only BADI get trigerred.
This will solve your issue as debugging seems to be only way for your issue.
regards,nishant
please award points if it helps

Similar Messages

  • Global outline agreements and contracts

    Hi,
    Can anybody give me a step by step explanation of how to configure and distribute contracts and global outline agreements to the backend system. Also the T-codes used to access the contracts in the backend once the contracts have been distributed.
    Happy New Year 2006 to the community !!!
    Regards
    Sunny

    Hi Sunil,
    I am not sure how are you creating your GOA in SRM. SRM Sourcing Business Config guide has lot of info on this. Here is some in brief.
    GOA can be created manually or from Sourcing itself or from Sourcing involves Bidding or Auction.
    I assume You are creating manually GOA in SRM.
    1. You have to decide what type of Ctr you want to distribute. You can distribute as Qty Ctr or Value Ctr or Scheduling Agreement.
    2. Define Doc type for each of these in Define Transaction type in SRM and assign Int number range.
    3. Define same in R/3 and create same number range as Ext and assign type.
    4. You have to code R/3 BADI BBP_CTR to determine next number for CTR distributed from SRM using new number range object.
    5. You need to partner profile in R/3 to receive IDoc from SRM.
    6. Distribute GOA from SRM using Distribute function.
    7. You can see the CTRs in ME33K amd ME33L in R/3.
    Ctrs are distributed thru IDoc using qRFC. You can use IDoc standard tools to troublshoot any issues during IDoc posting.
    There are tools to monitor qRFC issues. Use SMQ1 in SRM to analyse the probelm.
    Thanks,
    Jay

  • How to create Contract in SAP backend systems( R/3)

    Hello All,
    We have SRM4.0 with classic scenario. We don't have sourcing cockpit , bidding engine and all activated.
    Please suggest me, how can I create contract in backend system?
    We don't want to create GOA in SRM system and distribute it to backend system.
    Regards
    Neelesh

    Hi Neeleesh,
    Go through the GOA setup in the <a href="https://websmp205.sap-ag.de/~sapidb/011000358700002897362004E/CG_Sourcing5.pdf">Strategic Sourcing Configuration Guide</a>
    In the web GUI you can use the transaction BBP_CTR_MAINCC to create the Global Outline Agreement
    Note 646903 is also useful.
    Hope this helps.
    /Kristoffer

  • Distribute Global outline agreement to non SAP system

    Hello,
    We have a system called Upside for legal Contract managment where complex workflow and legal team works.
    Our requirement is to to send SRM Global outline agreements to that system as metadata and once all the approval in Upside completes they will send the data back which we need to update in Global outline agreement in SRM system.
    Does anyone have done such kind of integration i.e. SRM Global outline agreement from SRM system to non SAP system and then get the details back.
    Please advise.
    Thanks
    Ritesh

    1) Please try this.
    Distribute from SRM to R/3. From R/3 you can use the transaction ME308 to push the contracts to your non SAP system.
    After making changes you can use the upload functionality in SRM for the changes.

  • Global outline agreement and Delivery schedule

    Hi experts.
    I am in SRM 5.5, ECC 5.0 as backend in ECS.
    I would like to have some information about relation between Global outline agreement and Delivery schedule of ECC.
    Can I create GOAs and replicate to ECC as Delivery schedule for automatic generation of schedule lines?
    The schedule lines generated afted MRP run goes to SRM or only goes to SUS if required?
    Thanks
    Nilson

    Hi Nilson,
    The data contained within the global outline agreement is distributed as purchasing contracts or scheduling agreements to the backend systems of the release-authorized purchasing organizations of the relevant corporate group. These purchasing organizations can then use the purchasing contracts or scheduling agreements according to the terms agreed centrally within the global outline agreement.
    For more details.
    http://help.sap.com/saphelp_srm50/helpdata/en/42/f93dfd975f3ee6e10000000a1553f7/frameset.htm
    Nishant

  • Error in Distribution of the Global Outline Agreement

    Hello,
    Hope your day is going well.
    After creating the Global Outline agreement (GOA) in SRM 5.0, system is
    failing to distribute it correctly to the back-end system. The error I
    received in Application Monitor as "Differing time interval"
    and "Application error in backend system SR0CLNT100 (SRM outline
    agreement 5600000039)".
    Surprisingly, no IDoc has been generated with message type 'BLAREL' in
    SRM and message type 'BLAORD' in the back-end ECC system.
    I did not activate any BAdi as ECC is the solo back-end system.
    Second, the Product ID (which already is replicated from the back-end
    ECC to SRM) is getting stored strangely with a big list of preceding
    zeros. (Table CRMD_ORDERADM_I and field ORDERED_PROD) value stored for
    the same contract -000000000000000000000000000000000000011.
    Kindly advice.
    Thank you for your assistance !

    Hello Sandeep,
    I'm having the same problem that you had.  Can you explain me what to do to solve it?
    I'll appreciate any help on this.
    Thanks in advance and best regards,
    Nelson

  • Problems in Global Outline Agreement

    Hi friends,
                          We are using SRM 5.0 and R/3 4.7.I want to replicate contract to SRM 5.0 to R/3. For that I have to configure Global Outline Agreement. After creating and distributing GOA i am facing 2 errors. I got those errors from Transaction RZ20 -> SAP Enterprise Buyer Monitors - > Contract Management.
    Errors are
    Node name - SRD\Business to Business Procurement (500)\...\Contract Management\Contract Distribution     
    Date - 21.06.2008     Time - 14:37:45     
    System - SRD     
    Context - Business to Business Procurement (500)     
    Object Name - Contract Management     
    Short Name - Contract Distribution     
    Status - ACTIVE     
    Value - 3     
    Severity - 50          
    Status Set by - BBP     
    Status Set on - 21.06.2008     
    Status Set at - 09:07:45     
    Msg Class - SAP-T100     
    Msg Id - 000     
    Alert Text - Different processing times defined for BLAORD and CONDA          
    Var1 - 5600000014     
    Var2 - K77CLNT801       (backend Logical System)
    Var3 - 0000000000000000     
    Var4 - 5600000014K77CLNT8010000000003          01
    Node name - SRD\Business to Business Procurement (500)\...\Contract Management\Contract Distribution     
    Date 21.06.2008     
    14:37:45     
    System - SRD     
    Context - Business to Business Procurement (500)     
    Object Name - Contract Management     
    Short Name - Contract Distribution     
    Status - ACTIVE     
    Value - 3     
    Severity - 50          
    Status Set by - BBP     
    Status Set on - 21.06.2008     
    Status Set at - 09:07:45     
    Msg Class - SAP-T100     
    Msg Id - BBP_ADMIN 028     
    Alert Text - Application error in backend system K77CLNT801 (SRM outline agreement 5600000014)     
    Var1 - K77CLNT801      (backend Logical System)
    Var2 - 5600000014     
    Var3 - 0000000000000000     
    Var4 - 5600000014K77CLNT8010000000003          01
    I have done replication process of Purchase order from SRM to R/3.It is working fine.
    I have done this configuration for GOA.
    1.     Define GCTR transaction type in SRM.
    2.     Define internal number range in SRM for the GOA that is the same as the external number range in the back end system for GCTR.
    3.     Implement the badi BBP_CTR_BE_CREATE.
    4.     Store, Plant, Material, Material group has been replicated from R/3.
    I am getting those mentioned system message from Header Data -> Status 
    System Status
    Complete
    Created
    Released
    Distribution Incorrect
    Document Completed
    I am not using any conditions in item level.
    How can I configure IDocs BLAREL for SRM and MM? I donu2019t have any idea?
    Please help me to correct error .
    Thanks in advance.

    Hello,
    check out notes 1053985 and 646903, that should solve your problem (especially the sections Mapping master data and Customizing data of note 646903).
    Regards,
    Andreas

  • Global Outline Agreement Distribution

    Hello,
    i try to distribute global outline agreement ( transaction type GCTR ) from SRM 4.0 to ERP 2004.
    But I can´t find in my browser ( its service = bbp_ctr_main ) the header data "Distribution".
    I see in my header data only following taps:
    Basic Data / Documtents / Conditions / Output Logs / Status / Approval Preview
    I set up following things till now:
    - IDoc type = BLAREL02 as Inbound Processing in SRM System
    - IDoc type = BLAREL02 as Outbound Processing in Backend System
    - transaction type = GCTR with internale number range in SRM System
    - transaction type = GCTR with external number range in Backend System
    - BADI:  BBP_CTR_BE_CREATE in Method: CONTRACT_PROCESS_TYPE_FILL
       EV_PROCESS_TYPE = 'GCTR'.
    - BADI: BBP_DETERMINE_LOGSYS in Method: CONTRACT_LOGSYS_DETERMINE
       CV_LOGSYS = 'our Backend System'.
    - PPOMA_BBP  - Attributes; Tab: Function -under Local I mapped the Purchasing Organisation and the
       Purchasing Group with Backend System
    *Which customizing is still missed to see this tab "Distribution" in the header data?!
    Would be glad if someone could help.
    Best Regards
    J.F.

    If you really want to do GOA, you've got the wrong service (CTR_MAINCC is the one you are looking for). The role stratpurchaser* has both transactions: contract and global outline.
    BBP_DETERMINE_LOGSYS does not need to be implemented, BBP_CTR_CREATE_BE neither (maybe for condition mapping!).
    You are missing blaord for replication to ECC from SRM, you are missing BBP_SRV if you want to make GOA for services.
    Along the way you will probably find that some other things need to be customised in ECC (setting up of global company, some other minor stuff like company code that's missing in ECC).
    So basically you don't miss any customising for seeing the tab, but for replicating GOA you DO miss something.
    In the Wiki section for SRM on this site you can find the configuration guide for setting up of contracts and GOAs, if you follow that you will have done around 90-95% of all necessary steps.
    Regards,
    Robin

  • Output of Global Outline Agreements

    Dear all,
    We are implementing SRM 4.0 and using the Contract Management Scenario. For Global Outline Agreements there is also a Push Button for "Output" available. By clicking currently the message "Output could not be created - Inform System Admin".
    Does anyone know what settings are needed to be able to Output Global Outline Agreements from SRM?
    Looking forward to your insights!
    Thanks,
    Claudia

    Hi Kristoffer,
    thanks for reply!
    I am not able to select a medium. Via the "Output Preview" a PDF File is shown. By clicking on the OutPut Button I would expect to get an entry into transaction "Output Contract" from where the contract could be printed. But I am not getting that far. What do I miss?
    Many thanks for further input!
    Kind regards,
    Claudia

  • To Reopen the Completed Status Global outline agreements

    Hi,
    We have got some Global Outline Agreemtns with 'completed' status by the user. We want to reopen it for additional processing,but the change icon in the global outline agreement is greyed out. Could anybody tell me how to reopen the 'completed' status global outline agreement again?
    Regards,
    Manojkumar.

    Hi
    i believe system behaves correctly.
    to prove you..
    note 712367- Deleted and completed contracts can be changed
    Symptom
    You delete or complete a contract. If you are on the items list of the contract at this time, the change button is still active so that you can change the contract items.
    regards
    muthu

  • SPRO config field for Material Master & Outline agreement Contracts

    Dear Gurus,
    I want the Field AUTO PO should be mandatory field - for creating New materials - Can you please suggest me in SPRO configuration?
    For outline Agreement ( contracts) - i want to make the Plant field as mandatiry - Can you please suggest me in SPRO configuration?
    Please advice
    Regards
    RS

    Hi,
    Transaction MEKB is for maintaining Condition records, in you PRD server ask concerned to maintain condition record using MEKB for contract and its line item.
    Procedure is
    1. Input in the intial screen is Purchase org, Contract number and relevant line item number and execute
    2. In the following screen highlight the line item and click on create (F6) button in the tool bar (First one from left)
    3. In the following screen inside grid maintain price in amount column agains the condition type
    If you have done the above steps then AUTO should work
    Check on it as eill:-
    Re: pr mandatory for po
    Re: Auto PO in ME59N
    pherasath

  • No PO Created in backend system after Bid is accepted

    We are on SRM 4.0. using Classic Scenario
    We can create a bid invitation in SRM and we have used the BADI - BBP_DETERMINE_LOGSYS to indicate to the system to create a purchase order in the backend system after the bid is accepted. We keep getting the following error in SM21: Purchase orders cannot be created without IPC pricing
    Did you have to turn on the IPC in order to create the purchase order in R/3? Also, if you have used the BBP_DETEMINE_LOGSYS Badi and have example code that might be helpful as well.
    If anyone has some useful BID INVITATION configuration document or tips that will be appreciated. email id is [email protected]
    Thanks,
    Ashwani

    Hi,
    The BADI  is used in case of Backend contract creation.Please read the documentaion of the BADI carefully.
    You can use the Business Add-In BBP_DETERMINE_LOGSYS to define your own
    criteria for determining the backend system / company code. You use thi
    BAdI to determine the source system for
    o   Shopping cart items
        In the standard system, the backend system is determined using the
        product category Define Backend Systems. The backend System is
        placed in the field ITEM_DATA-LOGICAL_SYSTEM. Then the system calls
        the Business Add-In BBP_DETERMINE_LOGSYS.
        The company code is put in the field ITEM_DATA-BC_CO_CODE. Then the
        system calls the Business Add-In BBP_DETERMINE_LOGSYS.
    o   Contracts
        In the standard system, the system creates contracts locally from
        Sourcing and SAP Bidding Engine You can use this BAdI to determine
        backend system.
    Example
    Shopping Cart:
    Backend system A is determined for product category OFFICEMATERIAL. You
    also want to consider the vendor and purchasing organization fields
    during determination of the backend system. The purchase order is to be
    created in backend system B for the vendor OFFICE1 and purchasing
    organization 0001. You overwrite the field ITEM_DATA-LOGICAL_SYSTEM wit
    B.
    Contract:
    The local system used by the standard system to create contracts is
    XYZ4711. In the field CV_LOGSYS, you enter the logical system ABC0815
    that links to a backend system. In this way, contracts are created in
    the backend system.
    Sample codes for the BADI:
    method IF_EX_BBP_DETERMINE_LOGSYS~DETERMINE_LOGSYS.
    data: w_acct_data type enriched_acct_data.
    data: w_acct_icom type BBP_PDS_ACC_ICOM.
    data: w_et_messages type BBP_TMESSAGES_BADI.
    data: re_obj(40).
    data: imkey(8).
    field-symbols: <waItem> type bbp_oci_enritem.
    field-symbols: <waAcct> type bbp_oci_enracct.
    field-symbols: <f1> type any.
    if not acct_data[] is initial.
    loop at item_data assigning <waItem>.
    loop at acct_data assigning <waAcct> where line = <waitem>-line.
    check <waAcct>-acc_cat = 'RE'.
    if not <waAcct>-acc_str is initial.
    CALL FUNCTION 'Z_RE_ACCT_ASSGN'
    EXPORTING
    ACC_STR = <waAcct>-ACC_STR
    BUKRS = <waItem>-BE_CO_CODE
    IMPORTING
    RE_OBJ = RE_OBJ
    IMKEY = IMKEY
    TABLES
    BBP_RETURN = w_et_messages.
    endif.
    if not imkey is initial and w_et_messages[] is initial.
    move imkey to <waAcct>-rl_esk_key.
    move re_obj to <waAcct>-acc_str.
    modify acct_data from <waAcct>.
    endif.
    endloop.
    endloop.
    endif.
    endmethod.
    OR
    method IF_EX_BBP_DETERMINE_LOGSYS~DETERMINE_LOGSYS.
    data: ztprod  type zprod1.
    data result(4).
    data tline TYPE LINE OF bbpt_detlogsys_item.
    loop at item_data into tline.
       case sy-uname.
          when 'BUYER3'.
             if tline-product eq '69E2D3C8AF4B5C4CBDCC73A50C58EFA2' or
               tline-product eq '6BB856ADA25D584FA0B5A2FDCDA27766' or
               tline-product eq 'F31AD68E8EDCE646A9C7ECC4F24CE464' or
               tline-product eq 'ABC0320E1A37E743B75406DF0B7C53BF' or
               tline-product eq '3C0665006B2D2A43B3A1CC74B560E8A9' or
               tline-product eq '8F97635441496647A69CD021A5FFF4D2'.
               tline-be_co_code = '1000'.
               tline-logical_system = 'F47CLNT800'.
               tline-BE_PUR_ORG = 'O 50000660'.
               tline-BE_PUR_GROUP = 'O 50000662'.
               modify item_data from tline.
             endif.
          when others.
               select single * from zprod1 into ztprod where product eq tline-product.
               if sy-subrc eq 0.
                 tline-be_co_code = '3000'.
                 tline-logical_system = 'F47CLNT800'.
                 modify item_data from tline.
               elseif tline-product is initial.
                 tline-be_co_code = '3000'.
                 tline-logical_system = 'F47CLNT800'.
                 tline-BE_PUR_ORG = 'O 50000612'.
                 tline-BE_PUR_GROUP = 'O 50000614'.
                 modify item_data from tline.
               endif.
       endcase.
    endloop.
    endmethod.
    Also if you have activated  "EXTENDED CLASSIC SCENARIO"( SPRO>Supplier Relationship Management>SRM Server>Cross-Application Basic Settings>Activate Extended Classic Scenario),then IPC is mandatory for ECS .
    BR,
    Disha.
    Do reward points for useful answers.

  • Outline Agreement (Contract) data does not match with EKPO table.

    Hi,
    I have created a outline agreement(Contract) with net price as 100 / 1 Kg. But when I go to EKPO table in front of Net Price it is reflecting net price as 1 / 1 Kg. So it shows that it is dividing the net price by 100 in Table EKPO. This is happening with the currencies which are maintained in T Code OY04 (Currencies like JPY, CLP, ESP, ITL) with decimals as 0.
    Rest all curriencies which have not maintained in OY04, there is no problem in EKPO as the data matches with Outline Agreement Net Price.
    Request you to please provide the input to resolve the same.
    Thanks & Regards,
    Neeraj Singh

    Hi Neeraj Singh,
    The value of data stored in EKPO depends on the decimal places defined
    for the currency. In standard the decimal places is taken as 2 . Therefore the value will be
    the same as order price if the currency is defined for two decimal
    places ( default is 2 ).
    However, if the decimal places for JPY is defined as zero the table
    will show a value of price /100. If you choose a currency with
    3 decimal places the value in the table will be price * 10 and so on.
    Example:
    Currency                          Decimal places      Order price      Value in EKPO
    SGD                                               2               2000               2000
    NLG                                               2               2000               2000
    JPY                                               0               2000               20
    KWD (Kuwati Dinar)                     3               2000               20000
    ITL                                                 0               2000               20
    All currencies that do not have any decimal places at all
    (TCURX-CURRDEC = 0) must have EKPO-NETPR multiplied by 100.
    Please check SAP notes which may be of help to understand this issue 53206 and 137626
    The issue you reported in not an error but standard.  I hope this information is of help.
    Regards,
    Lorraine
    Edited by: Lorraine Donnelly on Jul 12, 2010 6:57 PM

  • Against Global Outline agreement GR and Invoice  to be posted in SRM

    Hello,
    Created the global outlineagreemnt in SRM then created the release order in R/3 against the GOA now is it possible to post the GR and invoice in SRM ? if not why?
    Thanks in advance
    regards
    sapmm

    hi
    You can create a GOA in SRM and push into purchasing contract in ECC and PO can be created via PR or SC and these PO rrelease will be communicated to SRM system too.
    you can informally put GR and Invoice in SRM system but really posted in the backend. just passing the web portal input by the good recipient / accountant and these data comes via idoc and posted in ECC side and these status updated in SRM shopping cart via batch jobs.
    You can create a bid invitation in SRM and you can create a follow on docuemnts in backend system
    In CLassic
    since Bid Inviatation and BID are SRM Businsse objects -
    PO and Contracts are ECC Businsss Objects
    good luck
    muthu

  • How to find out Shopping Cart created in backend system or ECC system

    Hi All,
    I am new  to SAP SRM7.0.  The Client has implemented "Extended Classic Scenario".  i.e. SC>Approval>PO>Confirmation>Invoice process in ECC.
    We created few SC with "Free text" i.e. Describe what you need option in SC.
    The SC is created with 4 digit number 2690.  Also, the Status " Approved". since its low value.say 5 GBP.
    I have like 25 to 30 SC created like this:  I need to know the following:-
    1. When i open SC and look for Related document, i see only SC number , but no Follow on document.  not sure why ?
    2. How can i know the list of SC in backend system. i.e like ECC of the SRM backend system.  Please let me know the table name it get stored.. I searched EBAN and found only those which has PO is stored.
    also can you please advise if by creating the SC in SRM.. will get replicated in ECC system ?. or only if Follow on doc gets created it will get replicated in ECC system?.
    Thx
    MJ

    Hi,
    SC is never replicated to backend.
    Extended scenario document flow is SC -> SRM PO(Main) -> ERP PO(Copy).
    Please go to BBP_PD transaction and navigate to SC item detail. You see what is the follow-on document.
    Regards,
    Masa

Maybe you are looking for