Sales by Contract

Hi,
I need to create a query that shows for each contract, how much has been sold and how much is outstanding. For example:
Contract | Sales Order | Qty Sold | Qty Outstanding
I have looked in VAITM and VDITM but can seem to find the contract information. Can someone point me in the right direction.
Thanks,
Milind

Hi Milind,
Check in 0DOC_CATEG, you will have one master data value for contract.
Now in the DSO LOVAITM try to find all the records for the contract as the document category.
Hope this helps.
Sunmit.

Similar Messages

  • Number of open sales notes/contracts per month

    Kindly inform are there any stanadard reports in SD for following:
    1. Number of open sales notes/contracts per month
    2. Discounts & Credit notes as % of sales
    3. Days sales outstanding report
    4. Number of bounced cheques trends and % of sales
    5. Customer information report
    6. customers segmatation categories report
    will be very thankful to you all.
    thanks
    anya

    for 1& 3 VA05 and XD03--->Sales Summary of Customer
    Regards
    Prabhu

  • HOW TO CALCULATE NET SALES AND CONTRACT PRICE?

    Dear experts,
    I have the requirement of sales price report
    the report layout should be
    Prod descr    material Number   Contract type  contrcat name     rebate  net sales  contract price  units
    we have the master data information is reside already in multiprovider and transaction information how to calculate in frond end ?
    for sales  pricing report how to manipulate teh net sales and contract  price
    value?
    any standard formulaes is there?
    plz suggest  me
    regards

    Hi,
    For quick and best response unless someone answer's in this forum, post your question in SAP Community Network Forums » SAP Solutions » ERP - Sales and Distribution (SD) General   or something related to your question.
    Check this link if it helps -
    http://help.sap.com/saphelp_46c/helpdata/en/93/74353e546011d1a7020000e829fd11/frameset.htm
    Thanks,
    Shambhu.

  • Change Sales Order Contract Data FM

    Hi Friends
    Kindly let me know if there is any function module or BAPI to change Sales order Contract Data of each line item. 'BAPI_SALESORDER_CHANGE' dosent have that.
    Thanks

    Hi Ram,
    Check will this helps you ...
    call function 'BAPI_CUSTOMERCONTRACT_CHANGE'
    exporting
    SALESDOCUMENT = vbeln
    CONTRACT_HEADER_IN = w_header
    CONTRACT_HEADER_INX = w_headerin
    INT_NUMBER_ASSIGNMENT = 'X'
    ORDER_HEADER_INX
    BEHAVE_WHEN_ERROR = 'P'
    LOGIC_SWITCH
    TESTRUN = 'X'
    convert = 'X'
    importing
    salesdocument = v_order
    salesdocument = vbeln
    tables
    return = t_return
    CONTRACT_items_in = t_items
    CONTRACT_ITEMS_INX = r_items
    CONTRACT_partners = t_partners
    CONTRACT_schedules_in = t_sched
    CONTRACT_conditions_in = t_conds
    CONTRACT_text = t_texts .
    Regards,
    Poornima

  • Bill plan of a Sales Order/Contract

    Hi,
    Where do we create/update the bill plan for a sales order/contract.
    I tried VA41 where a bill plan button is provided. But need to understand the bill plan from a functional perspective.
    Any short summary on the same will be helpful.
    Also please provide Transaction/steps to update a bill plan.
    Thanks.
    Shreyas

    Hi
    A billing plan is a schedule of individual billing dates
    for a single item in a sales document.
    You can define a billing plan at header level, which is
    then valid for all items assigned to it.
    During sales order processing, the system determines from
    the item category whether a billing plan is required and,
    if so, which type of plan: The type of billing plan that
    is determined at this point is set up in Customizing and
    cannot be changed in the sales document.
    For each billing plan you create, you can enter a freely-
    definable search term in the details screen of the billing plan in the sales document.
    When you save the document, the system automatically
    assigns a number that later uniquely identifies the
    individual plan.
    You can use the search term later to locate specific billing plans.
    Transaction code for Sales order - VA01, VA02 & VA03
    Kindly check the following link for more information on Billing plan:
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/560674545a11d1a7020000e829fd11/frameset.htm
    kindly reward points for useful answers!
    best regards,
    Thangesh

  • Business Flows for Sales and Contracts process

    Hi,
    I needs Business Flows for sales and contracts process for my project.
    Does anybody knows where i can find these BFA ?
    Thanks
    Regards
    Mehdi

    Hi mehdi;
    Please check below and see its helpful:
    R12 Responsibilities And Roles Based On Business Flows [ID 406401.1]
    Regard
    Helios

  • Sales trading contract process

    I want to test the scenario for Sales trading contract.
    Please let me know the steps. We use tcode WTEW.
    In sales order flow I see delivery,GD goods issue & Invoice.

    I have created outbound delivery via TEW from sales order.
    Then I want to do PGI of the delivery but when I want to do it though vl02n.
    I am getting error that document 123453642321  can be only changed through TEW.
    How I can I do the PGI of this delivery.
    in task under step I choose billing  & I give delivery no. asuming that at this time pgi and billing will be done but after clicking on F8
    I see select source document where it shows lines as blank.

  • Consignment  sale and contract difference

    What is the basic difference between consignment sale and contract ?
    Thank u gurus

    Consignment Sales is a sale, in which initial ownership of the stock is with us, the stock being in the premises of the customer. The ownership is transfered on sale of material.
    Contract may be quantity contract or Value contract, in which the stock remain in our owm premises, but it ia an agreement to delivery some'x' quantity of material or materials to the tune of decided valuue.
    <b>Consignment Stock Processing:</b>
    Consignment Stock Processing
    Purpose
    Consignment goods are goods which are stored at the customer location but which are owned by the company. The customer is not obliged to pay for these goods until they remove them from consignment stock. Otherwise, the customer can usually return consignment goods that are not required.
    Consignment Fill-Up:  Consignment fill-up replenishes the stock at the customer site. Since the goods remain the property of the company, this process is not relevant for pricing and consequently not for invoicing either.
    Create a sales order using order type KB.
    Enter the required data on the customer, the consignment goods and the delivering plant.
    Enter all other relevant data and save the order.
    Create a delivery as the subsequent document for this sales order and, after picking has been completed successfully, post goods issue.
    The underlying goods movement type is a stock transfer. This ensures that when goods issue is posted, consignment special stock is created for the customer concerned. If special stock of this kind already exists in the delivering plant for this customer, the goods are posted to this special stock.
    Order type: KB (document category C: sales order)
    Std. Delivery type: LF
    Item category: KBN (not relevant for pricing and billing)
    Schedule line category: E1 (relevant for deliveries, uses availability check, 631 (GI consignment: lending) to post the stock into a special consignment category in the delivering plants stock for that particular customer and material)
    Copy control rules for the sales doc, item category, and schedule line category.
    Use trans MB58 or MMBE to check the stock.
    Consignment Issue: The Consignment issue enables the customer to withdraw consignment goods from the special stock that are to be used or sold.
    Create a sales order using order type KE.
    Enter the required data for the customer, the consignment goods and the plant to which the goods are to be returned.
    Enter all other relevant data and save the order.
    Create a delivery as the subsequent document for this sales order and, after picking has been completed successfully, post goods issue.
    The goods are then reduced by the relevant quantity in the special stock assigned to the customer. This goods issue also reduces your total stock.
    Invoice the delivery which issues the consignment goods.
    Order type: KE (document category C: sales order)
    Std. Delivery type: LF
    Invoice: F2
    Item category: KEN (relevant for pricing and deliver related billing, special stock indicator W, should determine cost too)
    Schedule line category: C1 (relevant for deliveries, uses availability check, 633 (GI issue: customer consignment)
    Consignment returns: proceed as follows: Consignment returns enable your customer to return goods to the consignment stock that has already been issued from it.
    Create a sales order using sales order type CR.
    Enter the required data on the customer and the consignment goods.
    Enter all other relevant data and save the order.
    Create a returns delivery for the sales order (the system automatically chooses delivery type LR). The goods issue posting cancels the goods issue posting which was carried out when the consignment goods were issued. This posting records the return of the goods to the plant where goods receipt was carried out.
    Create a credit memo for the consignment return you created in Step 1.
    Order type: KR (document category H: returns)
    Delivery type: LR
    Credit for Returns Order type: RE (delivery or order related billing)
    Item category: KRN (relevant for pricing and deliver related billing, special stock indicator W
    Schedule line category: D0 (relevant for deliveries, no availability check, 634
    Consignment Pick-Up:  The company uses consignment pick-up to take back consignment goods that are faulty or excess materials that the customer does not need. This process is not relevant for billing since the goods remain the property of the company.
    It may be beneficial to have a mandatory reference such as the consignment fill-up. In addition to it copy control rules can be used to further control it. In the copy control rules indicate the document flow. As the stock is coming back into the warehouse or plant, you can specify a returns shipping point to be automatically determined. No invoice is necessary, as the goods are not changing ownership.
    Create a sales order using order type KA.
    Enter the required data for the customer, the consignment goods and the plant to which the goods are to be returned.
    Enter all other relevant data and save the order.
    Create a returns delivery for the sales order (the system automatically chooses delivery type LR). The transaction is completed by the goods issue posting which initiates a transfer posting from the customer's special stock to your plant stock.
    Order type: KA (document category C: sales order)
    Delivery type: LR
    No invoice
    Item category: KAN
    Schedule line category: F1 (relevant for deliveries, availability check against the stock on the customer’s consignment, 632 (Consignment pickup)
    <b>Contracts</b>
    Contracts represent special business relationships with customers based upon material, price, and qty. They guarantee a special price agreement with the customer and are usually called outline agreements in std SAP terminology.
    There are four different types of contracts provided by SAP. They are:
    1)     Quantity contracts
    2)     Value contracts
    3)     Service and maintenance contracts
    4)     Master contracts
    Regards,
    Rajesh Banka

  • Add new payment term base on sales order contract date and shipment date

    Dear Sir/Madam,
    My company need to create new payment term base on sales order's contract date and shipment date.
    the first time is 30% made in T/T within 30days from contract signed date.
    the second time is 70% made in T/T before shipment.
    I don't know how to configuration this payment term base on that both date, who can tell me ,thanks very much!
    Best Regards
    Danny Zhang

    Hi,
    You have to define the PAYMENT TERMS as per days and Percentage.
    Define the Payment terms in the transaction OBB8 and assign this payment terms in the CUSTOMER MASTER and will be copied to the SALES ORDER from the customer master
    In the MATERIAL MASTER in the SALES ORG 1 view you have to check the field CAHS DISCOUNT In the Pricing procedure you can defin the CASH DISCOUNT condition type ( in standard there are two SKTV & SKTO)
    Now process the sales order and check
    regards,

  • Sales Order contract reference for IDOC

    Dear Guru's,
    Good Day,
    We are implementing a Sales order IDOC process for our client with Message type ORDERS (Inbound). Normally in a standard sales order process when u enter a Sold to party, Ship to party and material number system will automatically refere a OPEN CONTRACT available for the sold to party, Ship to party and material.
    In my case client has used a customized DATA-T type for Contract to sales order copy control, because of which system is not refering open contract when i run the IDOC.
    We can change the COPY CONTROL but client is using this process for more then 2 yrs. we dont know what will be the implecations or effect it will show on my client other SAP process.
    Can any one suggest me who i can refere a contract thru IDOC. May by thru BAPI or BADI.
    Your suggestions will be more appreciated.
    With best regards,
    M. Rajendran.

    Hi Dude,
    I tried checking it with E1EDK41 segment and i gave the open contract number in the field XBELNR. Still Sales order is not refering the contract.
    Any other option available.
    With Best Regards,
    M. Rajendran.

  • Sales Based Contract : Error : Selec a valid settlement

    Hi,
    Iam new to the RE Module.
    Whil doing the TCODE : RESRSE, iam getting the message as 'Select a valid settlement'.
    Contract details are as follows:
    Condition type is selected only one that is the Sales based and it is statistical.
    Sales quantities has been updated.
    Sales amount given in the "Sales Rule" - Calculation.
    I've given the validity dates, posting date, settlement date correctly.
    My question is : Here, is actual condition type (like any rent) are necessary to get calculate and settle the sales ?
    If the actual condition type is not necessary then what would be necessary things to be updated ?
    Please reply with your inputs.
    VVR

    Hello
    Pls check the below:
    1. Before RESRSE, the respective sales figures should be available in the Contract or if no sales available Tick Zero Sales upto the period for which the sales settlement you would like to do.
    2. In RESRSE, in addition to default fields like Co Code, Contract No, etc select Settlement Method Simulate, Settlement Type as Standard, Settlement schema as Using Actual AP, Settlement step as 05 Simulation of Posting Costs.
    3. In Selection of Sales Rule tab, give Settle Upto Date.
    4. In Parameters tab, give Text, Posting & Doc Date, Posting Period, Baseline Date as per the requirement.
    Now execute and see. If successful remove simulate and select execute in Settlement Type.
    Regards
    Amarnath.R

  • Copy Control within Sales Order (Contract)

    Hi Guys,
    I have a requirement to stop the copy of the Exchange rate from the Header Level of the Contract to the Line Level of the Contract. Its under under billing on both Header and Line level. Contract is created via VA41.
    I have tried VTAA, however I cannot find exactly where I can make this change, is this the right area, if so would you be kind enough to pin point the area?
    Thanks for your help!
    Cheers.
    Emal

    Hi,
    Please use following use exit to do so
    As I believe you are not using with reference of other contract to create contracts, the copy control is used when you create the new docuement with refernce with other docuement.
    V45W0001 Function module exit for copying sales header data into items for contracts.
    This enhancement contains the user exit: EXIT_SAPLV45W_001
    Activities:----
    1. Create your enhancement, using a project (CMOD). You can either use an existing one or create a new one.
    2. Activate the project.
    The ABAP coding will only run once the project has been activated. Until then the enhancements will not take effect.
    regards
    Vivek.

  • Cancel Sales order Contract

    Iam using bapi_busprocessnd_changemulti followed by bapi_busprocessnd_save for cancellation of contract.
    But, my contract is not cancelled as I was passing cancproc, canc_reason, cancparty, cancrequst and cancrequst_tz to the bapi. And iam appending the input fields as well.
    Pls. help me regd this.
    Thanks,
    Vinod

    Hi,
    Iam not passing the status.
    My code is like this.
    Declared w_cancel and w_cancel_ir.
    *contract cancellation
    w_cancel-ref_guid = header_guid.
    *w_cancel-guid     = zguid_32.
    w_cancel-cancproc = 'Zxxx'.
    w_cancel-canc_reason = 'Zxxx'.
    w_cancel-cancparty   = 'Zxxx'.
    w_cancel-CANCREQUEST = '20060606114300'.
    w_cancel-CANCREQUEST_TZ = 'GMTUK'.
    append w_cancel to it_cancel.
    w_cancel_ir-ref_guid = header_guid.
    w_cancel_ir-canc_guid = zguid_32. "->created using guid_create FM.
    append w_cancel_ir to it_cancel_ir.
    And Iam passing to input fields as below:
    *input fields for cancellation of contract
    w_inpfields-ref_guid = header_guid.
    w_inpfields-ref_kind = 'A'."for header
    w_inpfields-objectname = 'CANCEL'.
    w_inpfields-fieldname = 'REF_GUID'.
    append w_inpfields to it_inpfields.
    *w_inpfields-ref_guid = header_guid.
    *w_inpfields-ref_kind = 'A'."for header
    *w_inpfields-objectname = 'CANCEL'.
    *w_inpfields-fieldname = 'GUID'.
    *append w_inpfields to it_inpfields.
    w_inpfields-ref_guid = header_guid.
    w_inpfields-ref_kind = 'A'."for header
    w_inpfields-objectname = 'CANCEL'.
    w_inpfields-fieldname = 'CANCPROC'.
    append w_inpfields to it_inpfields.
    w_inpfields-ref_guid = header_guid.
    w_inpfields-ref_kind = 'A'."for header
    w_inpfields-objectname = 'CANCEL'.
    w_inpfields-fieldname = 'CANC_REASON'.
    append w_inpfields to it_inpfields.
    w_inpfields-ref_guid = header_guid.
    w_inpfields-ref_kind = 'A'."for header
    w_inpfields-objectname = 'CANCEL'.
    w_inpfields-fieldname = 'CANC_PARTY'.
    append w_inpfields to it_inpfields.
    w_inpfields-ref_guid = header_guid.
    w_inpfields-ref_kind = 'A'."for header
    w_inpfields-objectname = 'CANCEL'.
    w_inpfields-fieldname = 'CANCREQUEST'.
    append w_inpfields to it_inpfields.
    w_inpfields-ref_guid = header_guid.
    w_inpfields-ref_kind = 'A'."for header
    w_inpfields-objectname = 'CANCEL'.
    w_inpfields-fieldname = 'CANCREQUEST_TZ'.
    append w_inpfields to it_inpfields.
    *input fields for cancel_ir
    w_inpfields-ref_guid = header_guid.
    w_inpfields-ref_kind = 'A'."for header
    w_inpfields-objectname = 'CANCEL'.
    w_inpfields-fieldname = 'CANC_GUID'.
    append w_inpfields to it_inpfields.
    Please check this asap.

  • Copy controls between sales order/contract and consignment fill up

    Hi all
    My client has received service contract from single party for 100 different locations..For this he needs to install equipment at each location and  installed equipment will be taken back once the service contract is over.
    For installation equipment  transfer he is following consignment agent system
    (kb-ka).
    But he want to track his order in SAP for how many locations he has processed KB order.whether total order has been completed or not.
    For this purpose he want to maintain quantity contract and subsequently he want  to release KB with reference to contract.
    How I have to maintain copycontrols between CQ and KB in system (Thereis no copycontrols availble for consignment agency in sap standerd)
    Please suggest the way . Most urgent
    Thanks  & regards,
    Ratna

    Dear Ratna
    Since you said that your client is using KB order type, instead of going for quantity contract, why dont you assign the different locations as ship to party in KB order itself so that whenever quantity is delivered, you can keep track of the same through movement type.
    Thanks
    G. Lakshmipathi

  • Want to pass STRS2 field into sales order and contract.

    Hi Friends.
    I am creating Sales order using function module IDOC_INPUT_ORDERS and Contract using SD_SALESDOCUMENT_CREATE.
    Now I want to pass STRS2(House number field into Sales Order/Contract). In IDOC I tried to pass E1EDKA1-STRS2, but its not coming into Sales order output.But SD_SALESDOCUMENT_CREATE dont have an option to pass the field value.
    So in that case how can I achieve the desired functionality, Is there any user exit or let me know the suitable method to achieve the functionality.
    Thanks
    Gowrishankar

    Yes I tried that also.I passed the value from program to user exit MV45AFZZ and updated the structure XVBADR in USEREXIT_SAVE_DOCUMENT_PREPARE, but its not getting reflected in Sales Order/Contract.
    Anyone have suggestion..plz let me know.
    Thanks
    Gowrishankar

Maybe you are looking for