Creating Price adjustments for a sales order through backend

We need to calculate and update unit selling price for accessory lines based on the price of mainframe/ base unit line. We are using oe_order_pub.process_order API for this purpose. It is working fine except for calcuating the adjustments on the accessory lines. As per the seeded functionality, there will be a record created for each different modifier selected in oe_price_adjustments. When we are passing the values calculated to the API, it is updating all the lines present for that line_id irrespective of the list_header_id and list_line_id and also the adjustments are not getting calculated accurately. Please let me know if there is any way to capture the modifier selected in front end passed to the package in backend for calculation or any work around to achieve the accurate adjustments calculation and updation in oe_price_adjustments.

Welcome to the forum.
This isnthe forms-standalone forum. Your question is about ebusiness-suite-related stuff, so you better ask your question in an ebusiness-related forum, maybe here OA Framework

Similar Messages

  • How  to create one delivery for two sales orders?

    Hi Experts,
    I need to create one delivery for two sales orders. But it fails.
    The route, shipping point, ship to party are same for both orders but INCOTERMS are different.
    Delivery date, Good issue date, loading date,material availability date, transportation planning date for 1st order is 12/07/11 and for second order is 14/07/11.
    I have created delivery on 14/07/2011 but the delivery is created for 1st order only, the second order is missing in the delivery.
    It not happened because of incorterms.? different dates
    Kindly help regarding this.
    Thanks
    Raghu

    Hi
    To understand splitting behavior, see SAP Note 546668 - FAQ: Delivery split when creating deliveries. And yes, incoterms happens.
    I think that with the help of question 6 you can try to force the merging of SO. Then, see SAP Note 166397 - Delivery split according to customer field ZUKRL, and handling the field ZUKRL in a VOFM in the copy rule I think that you can try to do it.
    Finally See  Note 4505 - Duprec when adding delivery (VL04, VL01, VL10*) to avoid problems while you are merging.
    Regards
    Eduardo

  • How to create one delivery for multiple sales order

    Hi!! Friends,
    Can some one explain the steps to be followed in creating one delivery for multiple sales order in SAP SD.
    Regards
    AKASH
    Message was edited by:
            AKASH TAMBI

    Hi.,
                  You can combine different orders in to one delivery ,But for the customer Order combination should be checked in  the sales area data of the shipping tab,we can combine orders but the ship to party,Route,Inco terms,Shipping date,shipping point should be same,you can do in T.code VL04 & VL10
    REWARD if helpfull
    Thanks & Regards
    Narayana

  • How to create an Invoice for the sales order using the T-Code VF01

    Hello Experts,
    How to create an Invoice for a sales order using the T-Code VF01?
    Thanks in advace,
    Suma

    hi,
    Make the following settings-
    1. Create sales document and billing type
    2. assign billing type in sales document type config VOV8
    3. Activate itemcategory as sales order related billing
    4. Maintain copy control header and item level between sales order and billing
    5. Maintain pricing procedure for sales order and billing
    6. Define Output procedure in case to print invoice
    Regards
    Goutham

  • Net price calculation for a sales order item

    I am sending the input to BAPI_SALESORDER_CREATEFROMDAT2 for a sales order item with a customer expected price and the material number (pricing group is not being filled in). When the sales order is generated, I see that net price is different from the expected price and the price is being obtained based on the material number that is being given as input. I want to know at what point of code the net price is calculated?  I tried to debug and see but with the numerous userexits and BADIs in the calls I am not successful yet. Any input is appreciated.

    It goes through different pricing routines but the start will be in function module 'PRICING'. Put a break point and run your BAPI or go to tcode VOK0 - find the condition and routines.
    Pricing will be calculated based on customer and material.
    Previous answer is pretty good, you need to fill item conditions in table in bapi also header conditions if you are using header pricing.
    Anyways, first of all create your order from VA01 and see the netprice in conditions. again, the pricing will also depends upon region of customer and material.

  • Create ecatt script for one sales order creation with multiple line items

    Hi ,
    I want to create a ecatt script for one sales order creation with multiple line items. Preferably SAP GUI.
    This selection of data will be from an external file/ variants which will have only one row of data in it.
    Firstly: I have to sort the external file having same PO Numbers in an order.Group them together.
    Second: I have to create sales order for those many line items having same PO Number.
    Best Regard
    Taranum

    Hi Micky
    Firstl you should upload the Line items for a particular sales Order in an Internal table
    and then pass that internal table to your BAPI during your coding corresponding to a particu;lar sales order
    In case of any issues pls revert back
    Reward points if helpful
    Regards
    Hitesh

  • Want to change output type for 10000 sales orders through MASS

    Hi Friends,
    I would like to change the Output type in the sales order for 10000 sales orders.
    Can I do with MASS transaction. If so, Plz let me know how ?
    Is there any other process to change the output type for 10000 sales orders, as its difficult to manually in each and every sales order.
    Its very urgent issue, Plz let me know at the earliest.
    Thanks & Regards,
    Praveen Kumar. A

    This may be little tough for 10000 sales orders.
    1. You have to remove the output record for the irrelevant output record using tcode VV12 for the relevant document type. So now for the document type, the old output wont be triggered.
    2. Now, create output records for hte correct output type in VV11 tcode(for the output type BA03) for the document type. Now this output will be triggered for all the document types you are creating from now onwards.
    3. To trigger the output type BA03, in all the old orders, you just have to open these sales orders in change mode (VA02), and just save it. When u open it the output type BA03 will be automatically triggered as the master data is maintained in VV11. But because just opening all the 10000 sales orders in VA02 one by one be a mechanical task, you have to think of some tool for this.
    May be a CATT procedure can do the trick. Else, you can just create a small program, where you can upload these sales orders and the program will just open these orders in change mode and just saves it (without making any changes). Then the output will be retriggered.
    Here again, if you are printing the output directly, it is advisable to trigger the output in batch mode(Date/Time field is 1 in VV11), and then you can again trigger the printing again using the program RSNAST00 after office hours for these 10k orders.
    I hope I answered ur query.
    Pls lemme know if you need some more info. (You can reward me too...)

  • Creating line item for a sales order in user exit

    Hi
    I have to create a line item through user exit "userexit_save_document_prepare" when saving the sales order.I am doing this by appending a row to the internal table XVBAP in the user exit.
    The row is getting appended to the internal table but the line item is not getting created in the sales order .I dont getting any error also.
    Can anyone tell me what could be the reason for this and is there any other means by which i can create a line item through the user exit.

    You have to set the creation flag UPDKZ to 'I'.
    to correctly use the user exit refer to OSS note 0381348 Using user exit, customer exit, VOFM in SD.
    pls reward if helpful
    Roberto

  • Two Purchase Requisitions created on MRP for one Sales Order

    Hi,
    A Sales Order has been created with one schedule line and one delivery date. When MRP is run it creates 2 Purchase Requisitions. The material in the Sales Order is a Prepack Material and has a component attached in the BOM. Please advice as to why the order is splitting when MRP is run and also why 2 PR's are created.
    Thank you for your help.

    Please check in OVZG................assembly type........if u maintained .3 or 4. It may be the reason
    Dynamic assembly order ---SAP HELP DOCUMENT
    If you create a sales order for a material with the 'assembly processing' technique, the system carries out an availability check for the components needed for the assembly. Depending on the results of the availability check, either one or several procurement elements are created. The quantity for a one-time delivery and/or the next possible deadline for a full delivery and/or a delivery proposal with then ext possible deadline are displayed on the availabililty control screen.

  • We create proforma invoice for a sales order.If the object status for the sales order is changed we have to add an output type that is record should be added to NAST table.User exit/Function Module/program .

    Please provide me with a solution

    Q1.  will it charge material price to work order automatically ?
    No you have to go with user exit for this
    Q2.  Unless the business is so specific such that they would like to treat this activity via sales, there is no significance in capturing the activity via SD.  Perhaps, I would say, MM route is more appropriate.
    Q3.  The above holds good.  That you go with MM route.
    G. Lakshmipathi

  • Creating Returns Delivery for RMA (Sales order)

    Hi Experts,
    I have a buisness requirement to create a returns delivery for RMA entered.
    I tried out the function modules RV_DELIVERY_CREATE,
                                                 GN_DELIVERY_CREATE
                                                 SHP_VL10_DELIVERY_CREATE
    But i am not sure what are the exact parameters to be passed to this function modules
    Please provide any sample code if available used for the same.

    Hi,
    In GN_DELIVERY_CREATE, the messages are collected in tables XVBFS. The details have to be passed to XKOMLGN and VBSK_I.
    To get the delivery number, you have to use function module NUMBER_GET_NEXT. Number range object is 'RV_SAMMG'.
    Hope it helps.
    Sujay

  • How to create a single delivery for two sales orders?

    Hi Experts,
    I need to create one delivery for two sales orders. But it fails.
    The route, shipping point, ship to party are same for both orders but INCOTERMS are different.
    Delivery date, Good issue date, loading date,material availability date, transportation planning date for 1st order is 12/07/11 and for second order is 14/07/11.
    I have created delivery on 14/07/2011 but the delivery is created for 1st order only, the second order is missing in the delivery.
    It not happened because of incoterms.? different dates
    Kindly help regarding this.
    Thanks
    Raghu

    Prerequisite for Grouped delivery
    1. Header data should be same like Inco terms,Payment terms
    Go to VL10A
    Enter the sales order Numbers and execute
    Select the sales order Nos  for the group delivery and select "Background"  Tab in Tool Menu Bar
    If delivery is created coloured line items will get generated
    Check the log for delivery docuements
    Check and confirm
    Senthils

  • Auto-create delivery for multiple sales orders

    I would like to ask how to create auto-create 'single' delivery
    for multiple sales order during release sales order in R11i.
    It is found in my example during release sales order, multiple
    sales orders fulfill release sales order criteria, a single pick
    slip is generated but it is found that each sales order have
    individual delivery with it. It will casue multiple pack slips
    for a singles pick slip. Is it normal feature for auto-create
    delivery, or any setup to solve it?
    Thanks in advance.

    Am not able to do Single Delivery for Muktiple sales orders
    Have you searched the forum for this question as to why you were not able to generate ??  It could be due to multiple reasons.  Please search the forum and update here what steps you have taken after taking the inputs from here, if the problem is still not resolved.
    thanks
    G. Lakshmipathi

  • Two invoices for one sales order

    I want to create two invoices for one sales order
    Scenario is like to create sales order for value of 100 $, and I want to send order reference billing after saving the sales order for 10% of order amount
    I would say 10% of 100 $
    And after delivery I want to issue a invoice for 90 %( rest of the amount) which is delivery relevant invoice.
    Both invoices will be relevant of accounting.
    Would any body suggest this, how it would be mapped it in to SAP.

    Hi Suresh,
    It is possible in Partial billing. Maintain the Billing plan and create a plan with the inputs as u specified.
    Go to IMG-SD-Billing-Billing plan.   Do ur own configuration for Billing plan.
    Now in Sales document creation mode....header details-Billing plan, U block the billing schedules and as per ur requirement , remove the billing block and create billing document.
    If u configured Account detrmination procedure, U wld get the accounting document wrt billing document.
    Hope this wld help U.
    Regards,
    Praveen

  • Problem In Creating Sales Order Through DI API

    Hi
    I am Creating The Sales Order Through DI API.
    the Error Is Coming - " [OACT] , 'No matching records found (ODBC -2028)'"
    anyone  can help me solving it.

    Hi vivek,
    Have you tried adding the same document with the client ?
    OACT is the accounts table and this error message typically indicates that there is an account parameter missing somewhere in the system.
    Possible causes include:
    - you are using a tax group or warehouse which does not have all the required accounts set
    - There is a price rounding and the rounding price account has not been set in the account settings
    - etc.
    The first things I would check include the tax group settings and the G/L Account determination settings.
    Henry

Maybe you are looking for

  • Hard Disk Replacement for Toshiba Portege R500-S5006X

    I have a Toshiba Portege R500-S5006X which is out of warranty. I would like to replace the hard disk. What hard disk should I purchase? What is the maximum capacity (size in GB), maximum RPM speed and size in inches I can use in this laptop? Will a S

  • IE8 doesn't display when opened on Server 2003 SP2

    Internet Explorer starts the iexplore.exe process and begins to use CPU and memory but never displays. Security patches refuse to apply to IE 8 on this server. Tried reinstalling/repairing IE8 but received the message "Operating System not supported.

  • After re-installing Adobe C3 Illustrator does not open

    I was installing C3 to a new Intel Mac. The new Mac formally had some parts of C3 installed, but not all of them. I tried to re-install all of the components and was mainly successful. All of the applications worked except Illustrator. When clicked t

  • CallManager 4;X : PBX Interoperability Tenovis (Bosh) with E1 QSIG

    Hi, Is it possible to connect a Tenovis (Bosh)PBX via a QSIG PRI or IP H323 to a 2800 series router.An experience about that? Thanks a lot Cedric

  • Cannot re-install Premiere Pro 5.5

    I could not send my Premiere Pro project file directly to Encore. I re-install Premiere Pro but have this error message ' Exit Code 6'. Anyone can help? I can't re-install Encore Thanks. Victor