GTM Contract with Reference

Hi All
We're trying to automate the GTM process using BAPI's to create the Trade Contracts, and the follow on documents.
Manually, everything works fine. We can create the Trade Contract using the BAPI as well.
The issue we've got is when we try to create a GTM Trade Contract referencing a Pre Contract. The BAPI doesn't appear to cover this requirement.
This may be the wrong forum for this post, but I'm trying my luck. Any help would be greatly appreciated.
Cheers
Kynan

Hi
With reference to PR, if u creating contract, if the PR quantity completly converted to contract then it will throw the error message " Materials of requisition XXXXXXX item 00010 alr. ordered in full"
Message no 06076.
Check this out.
Regards,
Raman

Similar Messages

  • How to create a Contract with reference to a Sales-Order(VA01) with a BAPI

    Hi,
    my name is Wadim and i need help.
    My problem:
    I am creating a sales-order(VA01) with the BAPI 'BAPI_SALESORDER_CREATEFROMDAT2'.
    After that i have to create a contract(VA41) with reference to this order. I found the BAPI "BAPI_CONTRACT_CREATEFROMDATA" and it has the same interfaceparameters like the salesorder-bapi. but there are no parameters to get a connection to the sales-order.
    Is it even possible to get a connection to a sales-order with a bapi???
    thanks for help
    regards mark
    Edited by: Krapp Wadim on May 20, 2010 9:19 PM

    Hi Wadim,
    I have a similar requirement to create order lines in an existing contract with reference using  BAPI_CUSTOMERCONTRACT_CHANGE.  The order lines get created in the contract. However, the condition types from the order line which i'm referencing are not getting referenced and are not getting added in the Contract's line after referencing.
    Did you come across any such issue ? If yes , could you suggest the solution ?
    Regards,
    Venkat.

  • Contract with Reference Purchase requisition

    Hi experts,
    i created one pr from project system , pr quntity  1000 ea , i created quantity contract with reference to pr, quntity contract quantity is equal to pr quantity,now i am creating another contract with reference to same pr but i am not getting
    any warning and error message like already contract exits for this pr, is any option  to get error message when i am creating second contract.
    regards
    G.vijay kumar

    Hi
    Kindly check following any one of the message would works.
    Materials Management > Purchasing > Environment Data > Define Attributes of System Messages
    06     042     Target value of contract & exceeded by & &
    06     060     Document type/item category &/& (PReq) <-> &/& (contract)
    06     106     No requisition items selectable for contract type &1 item category &2
    You need to set error or warning message:
    Regards
    Shrinivas

  • Contract with reference to purchase requisition

    Hi!
    I have this situation: I want to creat a contract with reference to a purchase requisition and I'd want to divide the quantity of the purchase requisition. For exemple: I created a purchase requisition with 100 quantity. Now I'd like to creat a contract with 50 e another contract with 50. After that the system should block the creation of the contract with this requisition, becouse the full quantity is complitly requirid. I activated message 06053 but in this case I can use the purchase requisition only one time (whithout divide the quantity of the purchase requisition). I already put the message 06 076, but it works only for PO, a need it for contracts. As Vijay told me I put messages 06078 and 06099, but it didn´t work out.
    Regards,

    Hi
    With reference to PR, if u creating contract, if the PR quantity completly converted to contract then it will throw the error message " Materials of requisition XXXXXXX item 00010 alr. ordered in full"
    Message no 06076.
    Check this out.
    Regards,
    Raman

  • BAPI's for creation of sub Contract with reference to main contract

    Hi,
    Can any body tell me the available bapi for the creation zlsl contract with reference to main contract zgsl
    Regards
    Rajkumar

    1.Logistics--Materials Management--Purchasing ---Purchase Requisition --Follow-on functions --- Assign and Process
    2.ME57
    3.Select the Assigned Purchase Requisitions checkbox if you also want to see requisitions already assigned, and choose Execute.
    4.On the Assign and Process Purchase Requisitions screen, select the requisition lines for your material.
    5.Choose Assign Manually if the info record already exists.
    6.On the pop-up Assign Source of Supply Manually dialog box, make the following entries:
    Agreement     46XXXXX            Agmt item     10          
    7.Choose Assign Source of Supply.
    For assign the source of supply, you can also choose Assign Automatically (only if not already assigned by MRP due to existing source list). If more than one source exists, select the contract in the Source Overview for Purchase Requisition 100XXXXX window and confirm with Enter.
    When assigning a source, make sure to select the contract.
    8.Choose Save.
    9.Select the line item, and then choose Assignments Overview (SHIFT+F5).
    10.On the Assign and Process Requisitions: Overview of Assignments screen, select the line below Vendor (you can only select one at a time), then choose Process Assignment.
    11.On the Process Assignment: Create PO window, check and make sure the Order Type (NB), Purchasing Group and Purch. Organization fields then choose Continue (Enter) to confirm.
    12.On the Create Purchase Order screen, select the requisition in the Document Overview section and choose Adopt in the left part of the Document Overview screen.
    13.Choose Save.

  • Create Contract with Reference

    Hi Experts,
    We have created some customer contracts with reference to already existing contracts few days back.
    Now, we need to know the reference contracts that we have used to create those contracts.
    Is there any way wherein we can find out the reference contracts??
    Thanks and Regards,
    Harsh Gupta.

    Hi
    IN VBAK table there is field called as REFERENCE DOCUMENT there you can get detials like with reference to which document the contract is created
    This will work only when you do setting in COPY control
    VTAA
    Select target document and source document
    ITEMS
    Select your Item category
    Details
    Update document flow should be X
    hope this will work for you
    this is working fine with me

  • Create Contract with reference to SC in SRM 7.0

    Hi Experts,
    We use SRM 7.0, ECS scenario.
    Is that possible to add a new item with reference to SC in contract maintanence screen? Just like adding a new item 'from an old sc' in PO maintanenc screen.
    Is there any configuration related about it? Or is it related with patch levels?
    Many thanks.

    Hi Masa,
    The problem is caused by patch level. After applied note1334803 we fixed the problem.
    Thanks all the same and I'll forward the point to you:)

  • Create contract with Purchase Requisition reference using BAPI

    Hi friends! I need some help here to create a contract with reference to some purshase requisition. I found BAPI_CONTRACT_CREATE to do this, but I have no idea how to do to create with reference to pruchase requisition.
    Anyone can give me a sample code or an idea how I can do this?
    Thanks in advance for any help.

    Thanks friend. I filled Header, Headerx, item e itemx but I'm getting this error:
    No instance of object type PurchasingContract has been created. External reference: # 1
    Item category 9 not supported
    I need fill something else?

  • How to create a contract with one supplier and two dealers?

    Hi Gurus,
    I have a contract with a supplier (eg. Apple), but the products and services are supplied by two dealers.
    The supplier is the manufacturer and with whom the negotiation of prices is made.
    The dealers are those who make the delivery of the products and services and who the payment is done.
    How can I create a contract with these characteristics in SRM 7.0?
    I don't want to create two contracts with same products and services for two suppliers (Dealer_1 and Dealer_2).
    How can this be handled through business partner type "Vendor"?
    In "Partner" section in "Header" --> "Basic data", I can only add 1 vendor.
    The system is:
    Component software: SRM_SERVER
    Release: 700
    Level: 0008
    Support package: SAPKIBKV08
    Thanks in advance and best regards,
    Alonso Valenzuela

    Hi Wadim,
    I have a similar requirement to create order lines in an existing contract with reference using  BAPI_CUSTOMERCONTRACT_CHANGE.  The order lines get created in the contract. However, the condition types from the order line which i'm referencing are not getting referenced and are not getting added in the Contract's line after referencing.
    Did you come across any such issue ? If yes , could you suggest the solution ?
    Regards,
    Venkat.

  • Error while posting a sales order created with reference from contract for

    Hi,
    I am posting a sales document( Type: WA)  created with reference from contract document(  type wk2) for delivery.  The item category in the sales order of the Item is WAN. On posting this document for delivery I am getting the error as "Item category WAN is not defined".  Please help me out how to resolve this issue.
    Thanks
    Jayant

    Hi Jayant,
    I think its value contract releated error,
    You suppose to check material item category group through T.code-MM02 into sales2 tab and maintain VCIT,
    and do item category assignment through T.code- VOV4.
    plz.maintain like that,
    WK2 -          -VCIT-         -           - WAN(contract item category),
    wk2  -          -        -VCTR-          - WAN((contract item category),
    you should also maintain same against your standard Sales Document type and for Standard Item category into VOV4,
    WA(standard docu.type) -VCIT-                             -                -TAN(your standard docu.type item category),
    WA(standard docu.type) -         -VCTR(item usage)-              -TAN(your standard docu.type item category),

  • With reference to contract Purchase Order Analysis report.

    Hi,
    I need SAP Standard " With reference to contract Purchase Order Analysis report"
    Regards,
    Priya.

    Hi,
    there is no standard report to get the PO list wrf to contracts,
    but you can get through SE16 from the table EKPO, where you have to pass the contract numbers ( get through ME3L,ME3M or ME3C ) in the field KONNR,
    lakshmi reddy

  • Sales order create/change line item with reference to contract - Open quantity not getting deducted for copied line item from the contract

    Hi friends,
    Please provide some valuable inputs for the following scenario:
    When a sales order line item is created(VA01) or changed(VA02) with reference to a Contract the open quantity is deducted in the contract which is a standard functionality. If the referenced line item is copied (custom enhancement to copy line item), then for the copied line item the open quantity is not getting deducted instead ATP quantity i.e. Available-to-promise is deducted.
    Any inputs on how we can fix this functionality i.e. deduct the open quantity from the contract for the copied line item?
    P.S. : Custom enhancement to copy line item is working fine, but open quantity is not getting deducted if the copied line item was referenced to a contract.
    Thanks,
    Sandeep
    Message was edited by: sandeep

    Sandeep,
    Yes, that was my original interpretation.  I was having a hard time believing that someone would ask such a question. 
    I guess, then, that you already know that you will have to add this logic to your enhancement. You should create your specifications and hand them off to a developer; ideally the one who created this enhanced solution in the first place.
    I do not provide advice in these forums about details of enhanced solutions.  Perhaps one of the other members will be more willing to do your work for you.
    Best Regards,
    DB49

  • Create a Sales Order with Reference to Contract using IDoc / LSMW  ( AFS )

    Hi Gurus,
    I need to crate a Sales Order with reference to a Contract. I need to upload Sales Orders with reference to contract via LSMW.
    So far, I've been able to create the Sales Order with ref to contract. But, the Sales Order Quantity is not getting deducted from the Original Qty in Referred Contract ( When try to create another Sales Order referring to the same Contract.) When a Sales Order is created manually, this is working fine.
    Please tell me if I've missed some parameter which stopping it create the link to exact schedule line ( Sizes level )
    The Details of the IDoc which is been created via LSMW are as follows;
    Message Type: ORDERS
    Basic Type     : /AFS/ORDERS05
    Process Code : ORDE / DELO
    ( Tried with both process codes.  But the Identification is the same for both: IDOC_INPUT_ORDERS )
    *_In Header;_
    Segment : E1EDK02  - IDoc: Document header reference data *
    Qualifier : '043' - Vendor Contract Number ( Tried with ' 005' - Customer Contract, but it's not working )
    Contract Order is mapped for field BELNR
    *_In Item;_
    Segment : E1EDP02  - IDoc: Document Item Reference Data *
    Qualifier : '043' - Vendor Contract Number ( Tried with ' 005' - Customer Contract, but it's not working )
    Contract Order is mapped to field BELNR
    Line Item of the Contract is mapped to field ZEILE
    I also tried passing the Schedule line of Contract in Segment :  E1J3P01 AFS IDoc: Doc.item general data
    to following fields;
    J_3AETENV
    J_3AVGETE
    /AFS/UETENR
    Still its not getting updated in the VBEP also..
    Please help me with regard to this. Points will be awarded for your valuable contribution.
    Thanks.

    Hi,
    This issue is been resolved.
    One of my friend helped me with resolving this issue..
    Once the below mentioned configurations were done on SPRO, the Sales Order was created with reference to Contract and the Qty was reflected when tried to create a new Order referring the same contract.;
    u2022     SPRO --> SD  -->Sales  --> Sales Documents  --> Sales Document Header  --> Define Sales Document Types  --> Field : Outline agreement message; from blank to u201CBu201D.
    u2022     SPRO  -->SD  -->Sales  --> Sales Documents  --> Sales Document Header  --> Maintain Sales Document Types for AFS  --> Field : Outline agreement message; from blank to u201CAu201D

  • ERP invoice with reference to SRM Basic Contract?

    Hi
    In SAP SRM you can create a shopping cart or a PO with reference to a SRM Basic Contract by setting the item number to 0 like: 4700000107/0
    But with the new Ehp1 SAP states that ERP invoices can be created with reference to a SRM central contract (via SRM_SERVICE_PROC_1). But can you create the invoice with reference to contract item 0?
    The idea is to have the non PO related invoices registrered on the basic contract in SRM along with the PO's. A basic contract can't be copied to ERP, as there is no lines on it, but is the ERP contract copy needed for this scenario?
    So two questions:
    - is the ERP contract copy from SRM needed to use the Ehp1 functionality of creating invoices with reference to a SRM contract?
    - can the ERP invoice be created with reference to a basic SRM contract by giving the contract item as 0 or in another way?
    BR
    Jacob

    Hello,
    With SRM 70 EHP1 you can create ERP invoice against your SRM Central Contract distributed to ERP.
    To enable this you need to do few settings in ERP, for the same you can refer to the config guides available at Service market place for SRM701 releases.
    Configuring Contract Handling for Invoices : You use this procedure to configure contract handling for invoices in the SAP ERP system. You have activated the Procurement - SRM Integration 2 (LOG_MM_P2PSE_2) business function in the SAP ERP system.
    Steps :
    1. In Customizing for SAP ERP, perform the activity under :  Materials Management -- Logistics Invoice Verification -- Incoming Invoice -- Activate Direct Posting to Contracts , to allow direct references to contracts when creating invoices and parking documents.
    2. In Customizing for SAP ERP, perform the activity under : Materials Management -- Logistics Invoice Verification -- Invoice Block -- Set Tolerance Limits , to set the tolerance key for contracts (PC: Price variance for contract).
    The feature is termed as Invoice Reconciliation here.
    Best Regards,
    Rahul

  • How can I create multiple sales orders with reference to one contract?

    Hello Gurus,
    Can you please how can I create multiple sales orders with reference to one contract?
    thanks!
    Rakesh

    hi
    Lets consider example
    In your contract for line item 1 you have entered qty 100
    You careated sales order with 70 quantity, and now you want to creat another sales order for 30
    For this first you need to check what is your item category in contract (VA42)
    Goto VOV7
    SPRO - IMG  - Sales and distribution - Sales - Sales document item - Define item categories - Go to change mode
    Make the completion rule = B Item is completed after full quantity has been referenced

Maybe you are looking for

  • ReferenceError: Error #1065: Variable onMediaComplete is not defined.

    Does anyone know what the following means and how I can stop it constantly cropping up - ReferenceError: Error #1065: Variable onMediaComplete is not defined.           at GoogleAnalytics/registerEvents()           at GoogleAnalytics/initialize()    

  • SelectBooleanCheckbox in RIch:datatable

    Hello All, I have data table with some actions(column 1, column 2, column 3 , delete, update).. And selectBooleanCheckbox for checking before start delete, its must mandatory before any actions. I added validator vor selectBooleanCheckbox to make it

  • Flash Player not loading in IE

    I have reinstalled IE and also Flash Player, still the flash does not work, I can only see a blank space where the flash has to load, anyone had this issues?

  • Sony Vaio

    I have a Sony Vaio and my Wireless Drive has been removed from my laptop? I have no idea how it happened but I also can't connect to the internet using the ethernet cords.  Ive gone into Device Manager and it has disappeared.  Help please

  • Running a sequence programatically

    Hi, I am trying to run a sequence programatically (C#). Following is my psuedo code:             Execution exec = TSEngine.NewExecution(SeqFile, "MainSequence", null, false, 0, null, null, null);             exec.WaitForEndEx(-1, false, null, null);