GOA Distribution to backend - Multiple Contracts

Hi,
  We are trying to create multiple local contracts (one for different company code) in ECC for a given GOA. I reviewed note 646903 and the sample code given for item 2 there. It appears the code there only creates one local contract for a given GOA. How can I create multiple local contracts.
Thanks,
SG

Resolved. Had to put in mapping code in BBP_CTR from location to company.

Similar Messages

  • GOA distribution to backend- Multiple companies

    Hello,
    I am distributing a GOA from SRM to ECC. There is one purchasing organization and several company codes in the backend. There is no assignment of company code to Purchasing Organization. In ECC when the IDOC is processed, the pop up to enter the company code appears and the IDOC processing fails. I can clearly see on the IDOC log that the failure is due to the pop up as the error in WE02 refers to the screen number of the pop-up. So I assigned a purchasing organization to a company code in ECC and the problem is resolved temporarily. My question is what is the best way to resolve this issue permanently?
    Ideally we would not like to create multiple contracts in ECC and create a global contract in ECC. If this is not possible in ECC, what is the best way to split the GOA into one contact each for each company code ( I am aware of the BAdI for this)? What about issues like the material not extended to the plant etc in the backend?
    Any insights will be very helpful.
    Regards,
    Bejoy Narayana

    Hi Bejoy,
    I had the same issue and it can be solved like this:
    The Company Code is not part of the Interface for the Contract Idoc in R/3.
    Use R/3 Badi BBP_CTR to derive the company code from the plant used on item
    level and fill the segment for the company code on header level of the Idoc.
    As there also can be the case, that there are several company codes
    possible, you need to define a logic, which company code should be entered
    into the Idoc Segment.
    Thanks,
    Claudia

  • GOA distribution to backend problems

    Hi everyone, we are replicating GOA's in SRM 5.5 to contracts in ECC backend.  This is working well, we are even able to distribute to multiple contracts in the backend, depending on what we enter in the distribution screen of the GOA.  The problem we are encountering is random.  Sometimes the contract number in the backend will come back to the GOA properly as the BE-Object id and sometimes it won't.  If 1 GOA seems to work, and I copy it and release the copied GOA to the backend, that one will not bring back the follow-on document number as view in bbp_pd.  The status indicates distribution incorrect, but that is the only message we can find anywhere in the systems.  This is very frustrating considering 1 GOA will work but an exact copy of the one that works, doesn't work.
    Helpful answers will be rewarded with points.
    Thanks,
    Marty

    Hi Bejoy,
    I had the same issue and it can be solved like this:
    The Company Code is not part of the Interface for the Contract Idoc in R/3.
    Use R/3 Badi BBP_CTR to derive the company code from the plant used on item
    level and fill the segment for the company code on header level of the Idoc.
    As there also can be the case, that there are several company codes
    possible, you need to define a logic, which company code should be entered
    into the Idoc Segment.
    Thanks,
    Claudia

  • GOA distribution to several contracts in r/3 not working

    Hi,
    I have a problem with GOA distribution to backend. I would like to obtain the situation when I have 2 items in GOA, in Distribution I have also two inputs (both for the same purchasing organization, but locations are different) and the GOA is distributed to R/3 to 2 different contracts - one for the first location and first item and the second contract for second item and location. I'm not able to get that working right.
    Typically, does the SRM generate 2 different numbers for to r/3 contracts that were distributed from GOA?
    I have GOA number 5600000150 and no matter how many items and locations (in Distribution) I indicate, there is always only one contract in r/3 is being created. When I indicate for instance 2 purchasing organizations in Distribution, there's only one contract in r/3 created for that first one.
    Please help if you know what can be wrong.

    Hi
    Definitely, seems to be a bug in the system.
    <b>Please go through the SAP OSS notes below, depending on your System release and support pack details -></b>
    Note 648393 SRM: Distribution of global outline agreement conditions
    1063593 Invalid price during contract generation in Backend
    859049 SRM 5.0: Restrictions for uploading and downloading
    1043517 Contract Upload: Purchasing Org. is getting lost
    956190 GOA created in SRM3.0 cannot be released in higher relaeses
    1042111 GOA status set to Distribution Incorrect wrongly
    743221 Deleted price during contract generation in Backend system
    656181 Release synchronization of releases on services
    896187 Line Item Internal Note not transferred to R/3 contracts
    942008 SRM Distribution of GOA to R/3 System: Scales missing
    852469 Error in contract distribution with service items
    954183 Contract price cut when GOA is distributed to backend system
    979111 Erratic distribution on adding new item or distribution
    781344 Deleted conditions on GOA in EBP do not update backend
    1030307 Portal Information not maintained in customizing
    1033458 Item level Tolerance values in GOA not transferred to R/3
    1037623 Incorrect Error message for maintaining distribution entries
    1028659 Missing contract number during the synchronization of releas
    1025863 Wrong Currency code during GOA replication to R/3
    897759 Allow transfer of global outline agreement
    909516 SRM40/CTR:New line itm distribution flag cannot be unchecked
    Note 847398 Incorrect determination of the EKGRP back end
    P.S.: In SRM 6.0, hierarchies on GOA is not present. Better to get more details from SAP by creating a Customer OSS message as well.
    Hope this will help.
    Regards
    - Atul

  • Creation of multiple contracts in ERP backend from 1 GOA in SRM

    Hello fellow SRM'ers, we are on SRM 5.5 and we have a scenario where we create a GOA in SRM and it get's created as a contract in the ERP backend system.  This is working fine.  Now our client would like to have multiple contracts created in the backend, one for each company when the GOA is saved.  I found OSS note 646903, statement #2 that explains how to code the badi bbp_ctr, but is this all that is required to do this?  It seems to me that the code in BBP_CTR will only create 1 contract/idoc.  Can anyone tell me how we generate an idoc/contract that we want to create in ERP backend?  Or is this how it's done?
    Points will be rewarded for usefull answers.  I have read most of the posts on this forum and have not found any answers yet.
    Thanks,
    Marty

    Hi,
    Please go through the below explanation from SAP documentation which says the no of contracts that would be created in the backend depends on
    --If you activate grouping logic for locations in GOA from SPRO under cross aplication settings, items belonging to the same release-authorized purchasing organization, but different locations, can be grouped together into one backend contract. This requires a 1:1:1 relationship between an item, the release-authorized purchasing organization, and the location. This means that for each item, you can only assign one release-authorized purchasing organization, and one location, in order to release the GOA.
    If you do not select this indicator to activate the grouping logic for location, a separate backend contract is created for each item belonging to the same release-authorized purchasing organization, but with different locations. Only items referring to the same release-authorized purchasing organization and location can be combined into one backend contract.---
    So the bottomline is by default, when we distribute one separate contract is created for each location.
    Hope this clarifies.
    Regards,
    RRK

  • SRM 7.0 Central Contract- Distribution to backend failure

    Hello experts,
    We are implementing SRM 7.0 Central contracts scenario with PI.
    The Contracts get created and Released but the problem is that the Distribution to backend fails. The Status in BBP_PD shows 'Distribution Incorrect' and the RZ20 gives an error 'Backend data cannot be read'.
    We checked all the configuration settings (including the PI settings) and everything seems to be in order.
    Would appreciate if someone could throw some light on the potential cause of the problem.
    Thanks
    Raman.

    Message must have created . check all SRM outbound transactions .but PI could not catch them.
    Note 1284369 - User attributes check in Contract distribution via services - what is your SP level in SRM 700.
    The sap stratergy in earlier version
    table in ECC BBPD_CTR_IDOCREF with message 019-This will result in setting the GOA status to 'Distribution Incorrect'.
    so SAP might have tried the same way in CCTR as well, Once message are created and this message number like IDOC number updated in ECC table for the further refrence .so like wise SRM trying to communicate the same to ECC but it would have failed.
    do you remeber when GOA idoc fails this table we will have reference number and reprocessing idoc.
    like any reference of your input must register in one ECC table but there may have this table or some other reference table.
    /SAPSRM/CL_CH_SOA_MAP_CTR_OUT  CLASS DO SOME trick and see what is happening here
    Muthu

  • Incorrect distribution -Error while distributing GOA to R3 Backend system

    Hi,
    We have installed SRM server 5.5 and implementing contract Management
    scenario with backend system R/3 4.6B.
    In this scenario we are creating a Global Outline Agreement in SRM
    system and distributing it to the back-end ERP system.
    In SRM5.0 GOA (Trans.type GCTR) that are distributed at Header level
    are failing to distribute to R/3 system v4.6b
    We are getting this error message in SRM transaction SLG1: -
    The error ocurred by processing event RELEASED_NEWLY with GUID
    DCA7101B320134F1949F000347DE470F and object_id= 5600000054 " RECEPIENT
    NOT FOUND"
    The purchasing org , the plant has been mapped .Also vendor & material is maintained for the company & Plant .
    The condition types are mapped in SRM
    Pls suggest.
    Regards,
    Avinash

    Hi Avinash,
    In reference to your query about GOA, the distribution error might be beacause of the issues in BADI implementation.
    By using the BADI you can define which document to be created in the backend.
    BBP_CTR_BE_CREATE BADI can be used in SRM and BBP_CTR BADI can be used in back end R/3 for this purpose.
    Check for the transaction types (GCTR) and the number ranges for the transaction types.
    The GOA will either create a contract or a Scheduling agreement in R/3 back end after distribution.
    Also refer the below SDN thread in this regard :
    Re: Scheduling Agreement from GOA
    Any further clarifications are welcome.
    Award points for suitable answers.
    Rgds,
    Teja

  • Multiple contract creation in ECC from a single GOA

    Hi Experts,
    I am working on a solution regarding to GOA in SRM - Contract in ECC creation and i am wondering about the following scenario:
    Create 1 GOA in SRM 5.0 for a central/global purchasing organization and when the appropriate BADI going to transfer it into ECC, it creates contracts for all company codes.
    At my current client they use GOA but until now they created 1 GOA for a specific p.org and the BADI transferred (and created) contract in ECC for the specific company code (they donu2019t have kind of central/global purch organization unit in ppoma). In the future they would like to create GOAs which are usable for all companies, but instead of creating (and changing) them manually (N GOA in SRM for N contract in ECC) they want to have an automatism.
    Does any of you have any experience on this? That would be really good if you can share with me some high level overview about concept.
    Thanks in advance for your help!
    Best Regards,
    Attila

    Hi,
    Let me correct if i am right:
    - Central Contract -> new concept of SRM 7.0. 1 contract which is visible and usable from ECC and SRM as well. (not available in SRM 5.0 - agree)
    - GOA -> it exist in SRM 5.0 for sure! (we are currenlty using it for ECC procurement).
    The solution what you are mentioned is good...but as you said only for SRM 70...we are in SRM 5.0 and we need solution for here. Do you have any idea?
    Currently i am thinking about a new solution based on "standard" functionalities: if a GOA need to be created for mulitple company, it has to be populated in Header distribution (all company will have the same contract header). It item detail all the required information need to be poupulate in SRM (i.e.: item 1 for p.org1/comp.cod1; item 2 for p.org2/comp.cod2).
    When this is done, the BADI need to check the informatoin in SRM GOA and create contract according to that -> in this case 1GOA is created, but the 2 items for totally different p.org/comp.code, the BADI needs to create 2 different contract in ECC (i would like to avoid using reference purchasing organization in ECC!
    Thanks in advance!
    Best Regards,
    Attila

  • GOA distribution to R3 - Tax Code for ERS vendors

    Hi all,
    Having an issue with GOA distribution to R3 for evaluated receipt settlement vendors. For ERS vendors, tax code is a required field. There is not a tax code field in the GOA and this is not being passed in any iDoc segment I can find. My current tax configuration is calculate tax in backend, i have maintained tax codes I0.U1, I1 with U1 set as default. As shopping carts are transferred from R3 they are assigned U1 as expected and PO's generated in the BE from these external requirements are getting the U1 as expected. The problem is with contracts and scheduling agreements. Everything is fine unless the vendor has the ERS indicator set. Tax code becomes a required field.
    Has anyone else experienced this? I've' researched SDN and everything talks about shopping carts and PO's, which is working for us.  I cant find any info on the contract distribution. I've investigated the BADI's associated with tax calculation in SRM but I'm not sure these meet the requirement for ERS vendors.
    Am I missing configuration? Is one of the tax badi's the way to go? Any information is appreciated.
    SRM SERVER 550
    R3 46c
    Classic - Plan-Driven Procurement
    Thanks,
    Justin

    Hi
    <b><u>Please refer to few OSS notes.</u></b>
    <u>Note 1033458 - Item level Tolerance values in GOA not transferred to R/3</u>
    <u>1012486 Important Information on upgrading ERP-Systems in HA-Setups
    1014820 Indicators reset in Active versions when line item added
    1029026 Prob in conf. create-Diff in ERS flag for SRM and R/3 vendor
    849567 Output Control for ERS Invoice in Program BBPERS
    703876 Release note SRM Server 5.0 SP00
    762984 SRM40-SUS: Implementation of customer enhancement fields
    1010791 Flag Confirmation based Invoice Verification set erroneous
    1018855 Vendor flag POR expected is not replicated from backend
    Note 967107 - New logic for grouping backend contracts out of a GOA
    909516 SRM40/CTR:New line itm distribution flag cannot be unchecked
    1025863 Wrong Currency code during GOA replication to R/3
    1009872 Contracts : GOA Distribution value divided by 100 
    908058 CheckMan errors - Attachment Original transfer for Contracts
    940632 Distribution incorrect-When invalid Purchasing Org entered
    942008 SRM Distribution of GOA to R/3 System: Scales missing
    945029 Distribution of Target Quantity to QW8 failed
    880097 Attachment Original transfer for Contracts
    989367 Performance improvement for new GOA distribution logic
    916562 CM/CND: Dump in distribution of GOA with deleted line items
    922172 Contract attachment distribution enhancements
    925014 More than one attachment not getting distributed to backend
    923627 Attachement transfer to backend with possible file formats
    923227 Attachments transfer not working in Background 
    937221 CTR: Impossible to modify distribution in Initial Upload GOA
    967107 New logic for grouping backend contracts out of a GOA
    </u>
    <i>Incase this OSS notes, don't work, then</i>
    <u>Please try do this as well. Uncheck the ERS indicator, but then also pass tax codes from from GOA.
    Then try out again.</u>
    <u>For BADIs and other useful information, refer to these forum links</u><b>GOA Distribution SRM 5.0-ECC 6.0 - Account Category & Multiple Distribution
    Distribution of GOA in R/3
    Source determination in backend (R/3) for distributed contract i.e. GOA
    FM or BADI s' used to create a GOA
    Transaction For Creating GOA
    <b>Incase nothing helps, Please raise a OSS message with SAP as well.</b>
    Hope this will help.
    Please reward suitable points, incase it suits your requirements.
    Regards
    - Atul

  • Error in GOA distribution

    Hi experts I have the follow error in GOA distribution when I try to create Scheduling agreement in R/3:
    'No batch input data for screen SAPMM06E 0514'
    I could see that the problem is caused because there is no Company code information coming from SRM and it necessary in R/3 contract creation.
    I could see too that some friends solved the problem inserting the company code in badi BBP_CTR, I would like to know what is the metod user for it?
    How can see if the problem is really copany code missing?
    Thanks
    Nilson

    I think this is probably due to the material not maintained in that Plant/Porg. But it shows a different error message.
    Regards, IA

  • GOA distributed to backend as Scheduling Agreement

    Hi,
    SRM 5.0 - ECS
    We have a requirement to transfer the GOA created in SRM to backend as scheduling agreement.
    GOA replication to backend as a contract is working fine, but i could not crack on the SA.
    Any tips would be useful.
    Regards
    Sudhakar

    Hi Sudhakar,
    like said, you need to program within BADI to differentiate which document is created. By standard the system takes the first doc type and distributes it to the backend depending on the doc type. To make it more clear: the functionality to either create a Contract or a Scheduling Agreement does not work without programming. By customizing, only one document can be created.
    Typcially there are specific doc types in Backend for Contracts and Scheduling Agreements by standard. So it makes sense to follow the standard and create different doc types for Contracts and Scheduling Agreements and use these doc types within the BADI to tell which document is supposed to be created.
    Cheers,
    Claudia

  • Multiple Contracts VBAK-VBPA-VBPA2

    Firslty, ,I am new to this site so please tell me (politely) if I have posted in the wrong place !
    My operation is to extract Quanity Contract data, to use outside of SAP.
    For any given Ship-to/Material, report the Quanity Contract data.
    I have identified my Quantity Contracts from VBAK, VBAP, VEDA.
    I have joined my ContractPartners VBPA, VBPA2.
    Taken into account those partners at header level, and those at line.
    From this, I now have a report listing Ship-to, Material against  related contract lines.
    Problem is, I have multiple contract lines for some Ship-to/Materials.
    I have checked ItemCategory, Rejected Contract Lines, Start/end dates.
    Using Transaction VA43, I can see that it is not my SQL, but SAP itself recognises multiple contract lines.
    However, looking into Document Flow, I can see that only 1 contract is being used for billing.
    The missing link for me is this, given 'duplicate' contract lines, how does SAP determine which COntract/Line to use for billling ?
    Hope someone can throw some light, or point me in the right direction ?
    Many Thanks
    Simon

    Hi,
    Try debugging the code and after the select query and sort just check the gt_sel table if it contains any duplicate entries, if it is so, then there is some problem in inner join and left outer join and left outer join takes all the entries from left hand tables and only selected entries from right hand table so if the right hand table contains 3 to 4 entries then the same records from the left hand table is repeated for 3 to 4 times due to which you feel that the records are repeated.
    just check with the query and instead of using joins which is very costly statement try separating the query for each table and then using different internal tables you can collaborate the data into one single and avoid repetation.
    Regards,
    Ravi

  • One order with reference to multiple contracts

    Hi,
    As we create one invoice(consolidated invoice) for multiple orders where condition is header data should be same for all the orders.In the same way can we create one order with reference to multiple contracts?
    Please suggest.
    Regards,
    SATYA

    Hi,
    Thanks alot for the information.
    Is this the only way to create one order for multiple contract? Why i am asking because in SAP we are creating contracts but the release order we are getting it uploaded from other software.I am in a service industry project where we do DP91(resource related billing) for all the contract.But in dp91 we can give only one contract at a time.
    But we want to create order where multiple contract can be used .
    And where in order we can see the contract number?
    In the table it is visible as ref doc but not in the order.
    Regards,
    SATYA

  • Copying multiple contract's data to sales orders via BAPI.

    Hello Experts,
    We have a requirement to copy contract data into the sales order, reference multiple contracts and copy all data from referenced contract to the SO.The scenario is that a seperate contract is being refrenced at the header level and different contract is referenced to the line items.All the data needs to be copied to the header or item from the doucment being referenced.
    The standard BAPI available for creating the SO (CREATEDAT2) references the contract doucment, but doesnt copy all the data from the referencing doucment to the SO, as the copy control are not called.We also tried using the BAPI 'BAPI_SALESDOCUMENT_COPY', which copies all the data but only does this for a single contract reference at a time.The BAPi doesnt allow the specific items to be copied or doesnt allow the reference of multiple contracts at the line item level.
    Any BAPI which can be used or pointers to resolve this issue, will be very helpful.
    Thank you.
    Best Regards,
    Gaurav Bhardwaj.

    Better try to follow this
    [Read This Before Closing your Threads |Read This Before Closing your Threads;
    thanks
    G. Lakshmipathi

  • How to create multiple Contracts using BAPI_BUSPROCESSND_CREATEMULTI?

    Hi Experts,
    I m trying to create multiple service contracts using BAPI_BUSPROCESSND_CREATEMULTI. I can create single transaction in one go but program is failing to create multiple service contracts in one go. It does create the multiple contracts but messes up with products and product related information. As when there is same product in two different contracts, the record in item internal table has same values for both contracts as we are not passing header guid to the intem related internal table 'ITEM', 'SCHEDULELINE' etc.
    How to use this BAPI to create mulitple service contracts in one go?
    Thanks and Regards.

    Any guideline?
    Thanks and Regards,

Maybe you are looking for

  • JAXB and JDK 1.3.1.x

    Where can I get a download of the JAXB stuff to work with JDK 1.3.1.x? I downloaded the latest WSDP 1.2 and it works great, but it requires JDK 1.4.x. Unfortunately, our Production envrionment is moving to Weblogic Server 7.x which doesn't support JD

  • Feature request -- change tooltip font size

    The tooltip font size is rather small for those of us needing reading glasses or with limited vision.  At the very least the tooltip font size should be changeable under the "Accessability" options.  Anyone know a way to work around this?  External s

  • Change the attribute kind programatically

    Hi All, I am using ADF BC, Jdeveloper Studio Edition Version 11.1.1.6.0, Oracle 10g database. I have 2 databases, and the same application should support both of them. in the first database, one table has an extra column, whereas the second one does

  • Help Installing an older version of iTunes

    I recently installed iOS 7 on my iPhone 4s and -- because I was running iTunes 10.6 -- was required to install iTunes 11.1 With iTunes 11.1, I can't access the iTunes Store.  Whenever I try, the progress bar gets almost to the end and then iTunes cra

  • Cant set up network printers

    We have a mac pro running Leopard server 10.5.4. Four leopard client computers (10.5.4 also) bound to the server. DNS is working, and users can log in fine to the server. Im trying to set up network printers and I'm totally failing. The first printer