BAPI or FM to Simulate Pricing  for Sales order

Hi,
      We are replicating sales order processing using Webdynpro(Portal).In that we are done with sales order Create,Change,Display except pricing for new custom condition types.
The rquirement is whenever the user added new custom Condition Type along with the Condition amount for the line item the net value for the line item should be recalculated and should be dispalyed in the screen.
I have searched for any BAPI or Function Module to calculate the pricing in Simulation mode and return the Netvalue for the Sales order line item.But no luck.I need to know is there any BAPI or FM avaliable for the same?
Regards,
Vigneswaran S

Hi Namesh,
         Thanks for the reply.I think you are not getting my point.We dont have any issues in SAP GUI.We are developing Sale order screen in Webdynpro and in that we have to handle the pricing part.Means that whatever operation user can do in pricing (like changing the condition amount and immediately net value will get upadted) in SAP GUI,has to be done using Webdynpro(portal) as well.To do changes in Pricing condition type and amount at webdynpro side,we have to simulate the pricing using  BAPI inorder to recalculate the net value and display it on the webdynpro screen.Please tell me is ther any FM or BAPI to calculate the pricing.
Regards,
Vigneswaran S
Edited by: Vigneswaran S on May 14, 2008 11:44 PM

Similar Messages

  • Back Calculation in Pricing for Sales Order.

    Hello friends,
    Please help me out with this below mentioned problem in the Pricing for Sales order.
    I am creating a Contract with Customer and Plant from the same Region (State), while creating the subsequent Sale order I want to use the plant of some other Region which is different from the contract. In this case the pricing will change as there will be different Taxes (%) that would be applicable for different Region.
    Now the requirement is that we want to use the Final Selling price which is calculated in the contract, therefore by keeping the Selling Price Fixed we have to backtrack and calculate new pricing accordingly.
    An example for the same is explained below:
    When Both Customer and Plant are from same Region:
         Particulars                        %           Value
    A     Basic Value                                       100000
    B     ED                     10.30%           10300
         Sum total (A+B)                                 110300
    C     VAT                        5%            5515
         Sale Price (ABC)                                 115815
    When Customer and Plant are from different Regions:
         Particulars          %           Value
    D     Basic Value (A-B-C)                  92105
    C     ED                        10.30%            9487
         Sumtotal (A-B)                  101592
    B     VAT                          14%            14223
    A     Sale Price                                       115815
    Please reply with possible solutions.
    Thanks and Regards,
    Edited by: Lakshmipathi on Oct 4, 2011 5:41 PM
    Thread Locked - Reason Cross Posted

    Hi Nitin,
    Go through the bellow links you can resolve your problem.
    Re: Reverse Calculation in Pricing Procedure
    Reverse Pricing???

  • Activating Pricing for Sales Order in Retail

    Hi All/Vijay/KK,
    Please tell me how activate the pricing for sales order, actually in SD we do Pricing Determination, what has to be done for Retail pricing

    Hi,
    To do sales order pricing
    Goto IMG>Sales & Distribution>Basic Functions>Pricing>Pricing Control
    Either Follow Standard, condition type PR00
    or in case of Custom
    1. Use condition table 406 Site/article
    2. Define Access Sequences ZPR0
    Enter accesses:10 406 Site/article Exclusive x
    3. Define Condition Types (ZPR0 assign newly defined access sequence)
    4. Define And Assign Pricing Procedures (assign condition types ZPR0..etc. to it)
    Then maintain condition record , go to VK11 --> Enter your Z condition type (eg. ZPR0)., enter the amounts.
    Add the pricing procedure , to sales document type.
    For Retail Sales Pricing
    For Retail Sales Pricing based on Purchase pricing you can follow the following method:
    The retail price is always based on the purchase net/net price. This purchase net price is built up from the purchasing pricing elements or condition types defined to be included in the purchase net price. A planned mark-up is applied to the purchase net/net to calculate the proposed retail price. The planned mark-up can be set by merchandise category and for exceptions, more specifically by article.
    You can perform Two-step calculation for retail pricing, for example, for stores that are supplied by a distribution center (internal vendor). Calculating sales prices for the stores is based on the transfer price for distribution centers (preceding organizational unit).
    1. Set up Master Data (WB02) - Relevant Fields should be maintained
    2. Set up Article Master Data - Logistics DC and Store View (MM42)
    Relevant Fields should be maintained
    3. Maintain Mark up for DC(VK11) -Markup % at Distribution channel distribution chain level
    Mark ups maintained at two levels:
    For DC: At distribution chain level
    Condition type used: AUFS
    For Stores: At article level
    New condition type ZUFS created.
    4. Maintain Mark up for Stores (VK11) Markup % at Store distribution chain level
    5 Create Pricing Procedures (IMG) -Pricing Procedures created
    6. Carry out Price calculation for DC(VKP5) - Pricing Document created - DC Transfer price calculated
    7. Carry out Price calculation for Stores (VKP5) - Pricing Document created - Final Retail Price Calculated
    The final retail price that is calculated is stored in the condition type VKP0.
    Hope it helps,
    Regards,
    Anirban Roy

  • BAPI For Create Goods Issue for Sales order with picked quantity

    Hi friends,
            Is there any BAPI available to create Goods issue For sales order with picked quantity...............?
    we hv used BAPI_OUTB_DELIVERY_CREATE_SLS
    with sales order .......its creating delivery order but not doing goods issue with piked quantity........

    pls,reply its argent

  • Update Pricing elements for sales order item

    Hello All,
    I want to add few manual pricing elements to a sales order item through code (the pricing elements to be added will be determined dynamically). Is there any BAPI  or user exit to update the same?
    Regards,

    Hi
    You can use the BAPI_SALESORDER_CREATEFROMDAT2 for creating  the sales order.Using this you can populate the pricing conditions for sales order. To pass the Pricing conditions use the str ORDER_CONDITIONS_IN & ORDER_CONDITIONS_INX in BAPI.
    Regards,
    Raghu.

  • Different  Pricing Procedure for Sale order and Billing Document

    Hello Experts
    As per scenario,we create Excise Invoice (T-Code J1IIN) on Basis of Proforma Invoice.Proforma Invoice and Excise Invoice follow Pricing from Sale Order.AS per pricing Some excise condition types are get update in Proforma and excise Invoice.
    AS Per Customer Payment Confirmation we Create Export Billing Invoice (T-code VF01) on basis of Outbound delivery.
    Issue -: AS per export Billing Rule we don't want to update Excise Condition type in Export Billing Document,and at same time it should not create any accounting entries for same condition type. we Dont want excise Duity in Export Billing Document as Export Billing Doccumnet aslo Follow Pricing procedure of Sale order
    Should i create new Pricing procedure or what other things to solve above issue.
    Please help me out
    Thanks and Regards
    Pash@SD

    Hello,
    The key to your requirement can be maintenance of Excise condition type with proper access sequence and accordingly maintain condition record for them.
    You create an access sequence with following access:
    - Country / Plant / PlntRegion / Region / Price grp / Mat.pr.grp / Materia
    - Country / Plant / PlntRegion / Region / Price grp / Mat.pr.grp
    - Country / Plant / PlntRegion / Region / TaxCl1Cust / Mat.pr.grp
    - Country / Plant / PlntRegion / TaxCl1Cust / Mat.pr.grp
    For export maintain condition record based on any key combination, say for
    Country / Plant / PlntRegion / TaxCl1Cust / Mat.pr.grp - Tax % - Tax Code
    FR / 1000 / KR / 03 (EXPORT) / 04 / 0% / V1
    I hope this can assist you.
    Thanks & Regards
    JP

  • BAPI for sales order creation with Reference

    Hello Experts,
    I have a order, with its reference I have to create a new sales order.
    Am looking for BAPi, with which I can create a sales order with a Reference order (which is in my hand), so I checked SE37 with wild cards, but I did not find any!!
    1) Pls. let me know a BAPI
    2) And just like that I do not want to create a new order with the reference(existing) order, I have to change the PO number & order Reason(2 fileds) in newley creationg order, pls. let me know How to do it
    Thank you

    Hi,
    First try to pass these two parameters to BAPI_SALESORDER_CREATEFROMDAT2
    ORDER_HEADER_IN-REFDOCTYPE = Your Sch. Agreement No. (Please Check) and
    ORDER_HEADER_IN-SD_DOC_CAT = 'E'.
    If the above doesnt work ,than try using BAPI "BAPI_SALESDOCUMENT_COPY"
    I hope you are working in SAP R/3 4.6C and above version because i am not sure whether this BAPI is available in lower version.
    Let us know if this helps you..
    Rgds,
    Mayank

  • Need code for sales order create report using bapi's

    need code for sales order create report using bapi's

    Hi,
    Go through below link
    http://www.saptechies.com/bapi_salesorder_createfromdat2/
    <b>Reward points if it helps,</b>
    Satish

  • Upload the data for sales order using BAPI

    hi experts,
    how to upload the data for sales order using BAPI.
    what is the FM?
    it would be much helpful if i have the sample code as i am very new to BAPI.
    thanks and Regards
    Shyam

    Hi  Shyam
    Its very useful for u
    BAPISDORDER_GETDETAILEDLIST
    BAPI_ACC_SALES_ORDER_CHECK
    BAPI_ACC_SALES_ORDER_POST
    BAPI_ACC_SALES_QUOTA_CHECK
    BAPI_ACC_SALES_QUOTA_POST
    Reward all the helpful answers..
    With Regards
    Navin Khedikar

  • Dectivate pricing condition for sales order not service order.

    Hi,
    We are on ECC6.0 and CRM5.0
    I need to add new condition type to the existing pricing procedure.It should be activtaed only for service orders and not for sales order.I can achive this by adding new requirement in pricing procedure to limit this condition type based on order type.
    Example:  if KOMK-AUART eq ORDER_TYPE.
                    sy-subrc = 0.
    But I don't want to do this,because I would need to change this requirement everytime I add new service order type.
    Is there any field in Pricing structure KOMK bu using which we can achieve this. ?
    Please suggest any other idea by which I can achieve this
    Thanks
    Dona

    Currently ,we have one pricing procedures for both the scenarios...
    We control if the perticular condition type to be active or not by writing a requirement which checks the order types.
    This has been done this way because we  built the pricing procedure in ECC and tranfer it to CRM.Also we donot have service orders in ECC.
    any further alternatives guys..

  • BAPI or FM for Invoice made for sales order...

    Hi Experts,
    Is there any BAPI / FM for Invoices made for sales order for the month or date wise, party wise, etc.
    I want to make a report invoices made during the given period for sales order.
    Yusuf.

    check this BAPI to get invoice details
    BAPI_BILLINGDOC_GETDETAIL.
    see the documentation to know how to use.
    Regards
    Peram

  • BAPI for Sales Orders items

    I'm looking for BAPI, which returns all items for sales order.
    Returned items must have included all information, which we can see in transaction va02 on card Item Overview
    I'll reward with points for good BAPI.
    BR Tomek

    In the i_bapi_view structure, populate which tables you would like to have returned by using a value of X.
    Use the sales documents table to pass which documents you want information on.
    So if you wanted item details:
    i_bapi_view-item       = 'X'.
    sales_documents-vbeln = '0000012345'.
    append sales_documents.
          call function 'BAPISDORDER_GETDETAILEDLIST'
               exporting
                    i_bapi_view         = i_bapi_view
               tables
                    sales_documents     = sales_documents
                    order_items_out     = order_items_out.

  • Function Module or BAPI to update Short text  for sales order item(vl02n)

    Hi All,
    I need to update the Short text for sales order item in vl02n transaction from an internal table with Delivery number and other relevant details .
    Does any body know any Function Module or BAPI which can accomplish this purpose .
    Or else writing BDC is the only option I have got ? .
    Please clarify .
    Thanking you in advance .
    With Regards,
    Suriya .

    Hi
    You can try using BAPI_SALESORDER_CHANGE if you want to change sales order
    Regards
    MD

  • Pricing for sales district of customer

    Dear all,
    Am beginner for SAP SD, I have tons and tons of doubt.  Most might me silly.
    I need pricing for sales district of customer to be consider into SO. Can any 1 explain me clearly
    In XD01 CMR > Sales area data> sales tab v can c 2 fields
    Sales district
    Customer group
    Both are use for prizing.(See F1)
    For ex:
    I maintain condition record for Sales district in VK11, by considering   Sales district filed in V/03.
    in pricing procedure determination OVKK – Assignment is “Sales are +Cus Pr procedure + Doc pricing procedure.
    System check only  Sales are +Cus Pr procedure + Doc pricing procedure, I don’t think system considers  “Sales district” maintained in CMR. How Sales district is getting linked in, for pricing when We have not assigned any were in pricing procedure determination?
    Whether my question is wrong
    Whether my understanding is wrong
    Or i dint understand u question?

    Hi TVS,
    Welcome to SAP.
    Whether my question is wrong
    Yes. It is. Because criteria you have mentioned is for Pricing Procedure determination but the Value you have maintained is the Condition Record with price.
    Answer for your other 2 question is also same.
    Simple suggestion: Read a book Sales & Distribution written by Glynn C Williams.
    That will give you good insight about almost all the topics related to SD.
    Regards,
    MJ.

  • How to get the pricing hierarchy based on the delivery date for sales order

    Hi,
    How to get the pricing hierarchy based on the delivery date for sales order other than system date.
    My requirement is to get the Pricing hierarchy based on the delivery date other than system date.
    Waiting for kind response.
    Best Regards,
    BDP

    HI Sai,
    please refer teh document already how to write FM based extration on generic extractors.
    and here  the logic to find the latest records values:-
    -> get the data in an internal table
    ->Sort the internal table data based from date descending
    -> Using READ statement , we can read the first record of the table which is nothign but your latest record.
    Regards.
    Sakthi

Maybe you are looking for

  • I tried to create new library, now iPhoto can't find them

    i had so many photos in my iphoto library and it was taking forever to load up, so i wanted to create multiple libraries. i first tried the following protocol from the help but couldn't find the 'Create Library' command in the toolbar. 1.Quit iPhoto.

  • How do I find out in iTunes if there is enough space on my iPod?

    Hello, My iTunes folder has become bigger than the space available on my iPod. When I try to sync, iTunes tells me there is not enough space on my iPod. Isn't there an easier way to find out how much data is in iTunes, like a button that says "calcul

  • Template Changes Do Not Apply Globally

    I am having issues with Templates. I have setup editable regions and saved my pages as templates, etc but nothing seems to work. How do I make changes to editable regions and have those changes apply globally throughout my pages which all have the sa

  • PI Mapping requirement

    Hi Experts, My requirement is as follows: I have a segment at output side.............. which 0 to unbounded...... It gets mapped from a field in input side which is also 0 to unbounded. The requirement is such that...... I need to concatenate all th

  • Error 2 Photoshop is undefined   Line: 1 -   photoshop.invokeBridge(false,false, ");

    Error 2 Photoshop is undefined Line: 1 ->  photoshop.invokeBridge (false, false, ''); I always get this error whenever I would try to open my bridge. And for some reason I can't even find bridge icon, I probably accedentally deleted it. But is there