Assign contract to sales order item

Hello *,
I want to assign a contract to a sales order item in a ABAP report. The function module "BAPI_SALESORDER_CHANGE" seems not be suitable for this action. The document link is not correct.
Do you have any idea how to solve the problem?
Regards,
Ole.

Hi,
I'm using now a batch input with VA02 to assign the contract! It works.
Regards,
Ole.

Similar Messages

  • Contract and sales order  item deletion

    Dear Experts
    I am facing a problem in a praticular scenario.In our process we are making quotation(thru VA21)>Sales order>delivery>PGI>Billing
    Now if we have a material code Z with qty as 10 in quotation the same gets copied to the sales order.But if i wish to delete the same line item in sales order , system prompts that this item refers to the quotation so it cannot be deleted.
    Now if i go to quotation and try to delete the same line item , then also the system prompts that the sales order XXXX refers to this line item , you cannot delete it.
    I wish to delete the same from sales order as well as the Quotation also.Kindly advise
    Regards
    Naveen
    Edited by: Naveen Sharma on Apr 16, 2010 11:11 AM

    Hi Raga
    But my problem is for ex. i have prepared quotation for Material codes
    X-->5 QTY
    Y-->6QTY
    Z-->7 QTY
    Now the sales order is also having the same 3 material codes.After this we had done the delivery for lets say only X & Y.We dont wish to do the delivery for Z material so even i am going back to VA02 and trying to delete it the system prompts the earlier messages which i had explained
    My requirement is to delete only Z from SO & Quotation

  • Adding Assignment Block to Sales Order Screen

    Hi
    We enhanced the SAP GUI CRMD_ORDER screen to have a new tab and added custom fields to it. This was done using easy enhancement workbench.
    Now we want to do the same thing to the Sales Order Screen in Webclient UI.
    I have  seen a lot of discussions in the forums, but for a beginner like me it is confusing.
    Can someone please guide me on how to do it?
    I have set up webclient UI and everything is working fine but I am not aware on how to create new assignment blockand add fields to it since the building block does not have it listed.
    Any help would be appreciated.
    Regards
    Jimmy

    Hi Stephen
    What we did in EEWB was we created a new tab on Sales Order Item Details called 'Customer Fields' and added some new custom fields there.
    We want to change our Webclient UI Sales Order Item Details screen (BT131I_SLS) to add a new assignment block (Customer Fields) and insert the custom fields in it.
    I am trying to figure out how to do it. I saw the link to the blog that you had sent but before I can add new fields I have to figure out how to add a new assignment block on Sales Order Item details.
    Like when we click on item on sales order screen we get assignment blocks shipping,shipping transactions,Billing.......I want to create a new one called 'Customer Fields' and some custom fields there.
    Your help is appreciated.
    Regards

  • ASSIGN SALES CONTRACT TO SALES ORDER

    Hi,
    I have created a sales contract. now i want to assign that sales contract to sales order with same material and sold to party.
    But the price is not getting captured in material conditions after assigning it to sales contract.
    Assigning the contract through EDIT - ASSIGN CONTRACT - HEADER is done properly.
    But while assignining it through EDIT - ASSIGN CONTRACT - ITEM it gives error msg saying
    'Subsequent assignment for preceding doc. with schedule lines not possible'
    I am not able to rectify this error. Could you please help me in this case?
    Regards,
    Krutika

    Dear Krutika
    Go to VTAA, select your contract type and sale order type and execute.  Again select your item category and double click on schedule line.  Ensure that the schedule line what should flow in sale order is maintained there.  Block that schedule line and click on blue lens on top left and maintain the routines as follows:-
    Copying requirements:::501
    DataT::::::::::::::::::::::::::201
    thanks
    G. Lakshmipathi

  • Sales Order/Item as Account Assignment in Accounting Doc.

    I have a scenario where we are selling some services. Process is to create sales order --> Create billing document in reference to sales order & then release it to accounting. I am using materials of type DIEN( service) for the purpose and have customized the sales order / item category. Process is working fine till creation of accounting document but the accounting document is missing sales order/item in it [as account assignment]. I am not sure what config I am missing.
    Attached file shows where I am expecting the sales order / item to be seen.
    Please provide hints on this.
    Thanks in advance.
    Sonal

    Hi Sonal
    If you want the billing doc to post in the sales order as cost object, then your GL has to be cost element and the account assignment category in Sales order must be E
    Check the Requiremebt Type in the Procurement tab of sales order.
    This RT is assigned to a Requirement Class and the RC is mapped to Acct Assgn Catg.
    Spro - Cost object controlling - prod cost by sales order - control of sales order related.....
    In this node you can see which RC is assigned to RT
    Br. Ajay M

  • FM for Updating Installation date in Contracts + sales orders Item level

    Hi
    Plesae give any FM for Updating Installation date in Contracts + sales orders Item level for contracts tab.
    Thanks and Regards,
    Vishnuvardhan....

    Have used the billing transaction to set a Default Billing date at time of blling.

  • Item number to be regenerated when copying from contract to sales order

    Hi,
    I am copying items from contract to sales order, say there are 10 items in contract. I copy all items leaving 5th & 7th item in contract. The numbers in sales order has to be in sequence (regenerated leaving the 5th & 7th line item) rather than it is copying the line item number as in the contract. Can any one kindly suggest me how to handle this in sales order.
    Thanks
    Ghanesh

    Hi,
    In VTAA
    QT to OR at header level
    REMOVE TICKMARK OF COPY ITEM NUMBER
    Then system will genrate new item numbers in targer document.
    Kapil

  • Free goods from Quotation to Contract to Sales Order

    Hi SAP Gurus,
    I have questions regarding Free Goods. This is the scenario.
    Doc flow as:
    Quotation 123
         Contract 456
               Sales Order (zmor) 789
               Sales order (zkal) 101
    In the quotation 123 & contract 456, the quantity of the item is 50pcs. However, when creating sales order (zmor), if we input 50 pcs as the quantity, the free goods were not determined. What we did was, we lessen the quantity to 30pcs. From there, Free goods were now shown. And then we created another sales order (zkal) for the remaining 20 pcs.
    Questions:
    1.- why is it on the 1st sales order w/ same quantity(50pcs), free goods were not determined?
    2.- i believe that in standard SAP, free goods were not determined in quotation or in contract. Is there a way to determine the free goods on those doc types?
    3.- how about free goods determination in:
    A. Stock transfer order
    B. Product diversion
    C. Consignments
    D. Virtual return
    I am really hoping for feedback on this. Thanks in advance!
    Erza

    Hi,
    Free goods can only be supported on a 1:1 ratio. This means that an order item can lead to a free goods item. Agreements in the following form are not supported: u2018With material 1, material 2 and material 3 are free of chargeu2018 or u2018If material 1 and material 2 are ordered at the same time, then material 3 is free of chargeu2018.
    - Free goods are not supported in combinations with material structures (for example, product selection, BOM, variants with BOM explosion).
    - Free goods are only supported for sales orders with document category C (for example, not quotations).
    - Free goods are not supported for deliveries without reference to a sales order.
    - Free goods cannot be used in make-to-order production, third-party order processing and scheduling agreements.
    Regards,
    Saju.S

  • Sales order item report based on results analysis key and status

    Hi,
    I am trying to find a a report to generate list of sales order items with following selection
            -invoicing status -invoiced/not invoices (other status)
            -result analysis key assigned to this item (VBAP-ABGRS)
            -system status /released/teco
    Basically i am CO consultant and not so familiar with the SD statuses. I tried VA05 and V.26 but all required selections are not available in these reports.
    If no standard report is available in ERP, i would like to have it in BI. Can some help me with table fields for statuses.
    Thanks in advance.
    Regards
    Raghu

    Hi Raghu
    Go to SE16 and give VBUK table and execute it there you can select the following feilds and then check wheather they are meeting your requirements or not.If they are meeting your requirements then create a new Z report by copying standard VA05 key feilds. and include the other feilds which you need.So you take your ABAP team help
    Billing status     FKSTK
    Posting Status  BUCHK
    Overall status  GBSTK
    Document category VBTYP
    Regards
    Srinath

  • Missing CO Sales Order Item in 643 Cross Company Movement

    Hi all,
    we are working in a make-to-order scenario in which the company A/plant A sells a finished product produced by company B/plant B.
    The sales order item is a cost object (account assignment category E – “Ind. cust. w. KD-CO” is set in the requirement class in use) and is derived into the Transfer Order (Account Assignment tab) from production company B/plant B to selling company A/plant A.
    When we try to transfer the finished product from plant B to plant A by means of 643 movement the system provides error message  KI 235 – Account xxx requires an assignment to a CO object where xxx is the Cost Of Goods Sold for company B. This is due to the fact that FI is not able to derive the sales order item as a posting cost object.
    We have activated cross company  CO objects by deactivating the Company Code Validation indicator (field TKA00-RKBUK) for controlling area settings.
    Any suggestions?
    Thanks in advance.
    PierGiorgio

    Hi Abhi,
    yes it is: "E" is the entry value in the field consumption of the requirement class involved.
    Thanks, PierGiorgio

  • Rejected sales order item after partial invoice

    Dear All,
    We have a partially invoiced (and paid) sales order. Now the customer (and we) wants to cancel a sales order item. So we set reason for rejection at item level. In VA05 it still displays the SOI as open and status is being processed. How to proceed, it should not be displayed as open when it is rejected in VA05.
    Can I change the billing plan so that the invoice does not mind the items I want to reject should I ste a billing block? Delivery Block?
    Best regards,
    Michaël
    Edited by: spimic on Oct 5, 2010 6:21 PM

    Hi,
    Take the help of ABAP'er, and explain him that as soon as sales order is invoiced(partially), set the rejection reason to sales order.
    And also define the rejection reason and assign these rejection reasons to billing types.
    Regards
    Ashutosh

  • EK01 and EK02 not copied to sales order item

    Dear colleagues,
    Is it possible to have EK01/EK02 transferred to the sales order item for assembly type = "0 no assembly order processing"
    (specified in requirement class definition)? I would like to have planned production costs in EK02/EK01.
    I don't specify costing method, variant and sheet in requirement class definition (transaction ovzg)
    The steps are following:
    1. create sales order
    2. set manually proper item category (which refers to assembly type = "0 no assembly order processing")
    3. MD04 - convert generated planned order (lower-level for HALB) into production order
    4. MD04 - release HALB production order
    5. MD04 - convert generated planned order (higher-level for FERT) into production order
    6. MD04 - release FERT production order
    7. ????? we could expect EK02/EK01 in sales order item coming from production orders ?????
    I have found SAP note 857299 nevertheless it is not stated precisely there.
    Please let me know your observations in this area.
    Regards,
    Wojtek

    Hi..
    Hi
    Small change in the program will copy the PO number from Contract to sales order.In case need take help of ABAPer
    Data which is not copied
    LOCAL: VBKD-FKDAT.
    LOCAL: VBKD-FPLNR.
    LOCAL: VBKD-WKWAE.
    LOCAL: VBKD-WKKUR.
    LOCAL: VBKD-DELCO.
    LOCAL: VBKD-BSTKD.
    LOCAL: VBKD-ABSSC.
    LOCAL: VBKD-BSTDK.
    In your data declaration, you have
    LOCAL: VBKD-BSTDK
    Regds
    MM

  • Sales Order: Item Field Layout

    I would like to change the order in which fields of Sales Order Item display in. Basically move some fields forward so client does not need to scroll so far to right to maintain for example Order number. Is there a place in config where you can control the sequencing of fields for the Order line items?

    You can create the screen variant as mentioned , using SHD0. Activate the variant.
    If you do not want to display the changes for all transactions , then without activating the variant, assign it to the order type which you want these changes to be displayed. For example for OR order type. Assign the variant in Order type configuration (VOV8 T Code) > Transaction flow > Variant .
    Regards
    Sai

  • Sales order item text to delivery item text

    Hi All,
    Please find my query below :
    sales order is maintining  item level text . is there any posibility to update same text at the item level in delivery ?  Means after creating delivery the sales order item text tranfered to delivery item  text.
    How can i update the sales order item level text to delivery item level text.
    is there any user-exit or any configuration process or any other process. please let me know
    Thanks in advance
    Regards
    Sudhakar

    Check this [link|http://saptechsolutions.com/pdf/VOFMCopyRequirementRoutines.pdf]
    Refer to page 19. you will have to assign the requirement to the access sequence of the header/item text determination, this, you can ask your functional consultant to do it,. If you want to code your own requirement, then refer to the link that I provided you above.
    KR,
    Advait

  • Mandatory partner function at sales order item level

    Hi all,
    I'm customizing partner schema at item level for sales order. I have created a custom partner function, I put it in a new sales order item partner procedure and i set this partner function as mandatory (I want that system show me a message if this function is missing at item level in sales order). This partner function is defined only at sales order item level (not at header level or customer master).
    If i create and save a sales order with an item type that use the item partner procedure I have created, system don't show me any message for the item custom partner function missing, else if it is set as mandatory in sales order item partner procedure.
    I have read some posts in these forums about this functionality, but it seems a different situation.
    Someone had a similar type of problem?
    Thank you in advance for any possible suggestion.
    Regards
    Gianpaolo

    Hi,
    First you have to create a new partner function.
    Then assign that partner function to the account group.
    Then assign that partner function to partner determination procedure for the item category.
    Over here click on the mandatory button also.
    Then assign that partner determination procedure to item category.
    Then to XD02 and give your customer number and in the partner tab maintain the data for that partner function.
    Now go to VA01 and create your sales order you will see you partner function.
    If you wont have maintained it in the customer master then it will prompt an error.
    Regards
    Raj.

Maybe you are looking for

  • Project Server 2013 - Remove user from resource pool via sync

    Hello everyone, has anyone managed to configure their Project Server 2013 box with a resource pool sync that will actually remove user from the resource pool (disable "User can be assigned as resource" or deactivate users) when the user is removed fr

  • Currency Conversion at Query Level

    Guys, Can some one tell me step by step procedure to do Currency conversion from USD to Mexican PESO at query level in BI 7.0. I have read lot of threads but not clear in maintaining the Exchange rates and also in creating the variables.  Thank you,

  • Arrays that work with Java Class

    Good Day all. Currently, I am working on a program that is giving me a bit of trouble starting...can anyone give me assistance and try to tell me what I am doing incorrectly? Here is the tasking: Main Method 1. Output statement to screen saying this

  • Appleworks Updater 6.2

    Hi Folks, I found that there was an updater for Appleworks, that is updater 6.2, but after downloading it, when I try to install it, I get a window saying that Appleworks 6 can't be found. Perhaps I was missing a step in between, so I tried downloadi

  • Keeping iTunes library on a time capsule

    I want to be able to keep my music library on my time capsule instead of my iMac, both for purposes of not using up all my hard drive space and also to allow other computers to access it thru the network. However, itunes Does Not Want to do this. I'v