Sales order header pricing

Hi
I need the sales Order PRicing FM which will give
All the values Exactly like in the sales order with all the step numbers.
Please suggest.
Moderator message: please search for information and try yourself before asking.
Edited by: Thomas Zloch on Nov 29, 2011 5:27 PM

Hello,
Try these FM's.
SD_SALES_HEADER_READ
SD_SALES_ITEM_TABLES_READ
SD_SALES_PRICING_INFORMATION
MRM_DBTAB_KONV_READ
RV_KONV_SELECT
Please check out the Function module RV_INVOICE_DOCUMENT_READ.
Here you need to pass on the invoice no. In the output it shall give you details in invoice header and item levels, price, document status. You will get the net amount as well as the tax. Then you need to add the net amount and the tax to get the total amount
Regards,
Vasanth

Similar Messages

  • Sales Order Header Pricing Conditions

    Hi All,
    I am using BAPISDORDER_GETDETAILEDLIST function module to get the pricing conditions. I am able to see Item Pricing Conditions in the ORDER_CONDITIONS_OUT  table but not able to find the Header Pricing Conditions.
    Please let me know how to fetch header pricing conditions. Is there any other FM which can do it?
    Thanks
    Jit

    Hello,
    Try these FM's.
    SD_SALES_HEADER_READ
    SD_SALES_ITEM_TABLES_READ
    SD_SALES_PRICING_INFORMATION
    MRM_DBTAB_KONV_READ
    RV_KONV_SELECT
    Please check out the Function module RV_INVOICE_DOCUMENT_READ.
    Here you need to pass on the invoice no. In the output it shall give you details in invoice header and item levels, price, document status. You will get the net amount as well as the tax. Then you need to add the net amount and the tax to get the total amount
    Regards,
    Vasanth

  • Block Sales order if pricing condition changed manually (no delivery)

    Hi,
    Requirement is to block sales orders for review by a manager if pricing condition amount is changed manually. Only a manager  should be able to review and release the sales order for billing. There is no delivery, item is service.
    Thanks

    Hi,
    This can be achieved as follows:
    1) SAP Standard updates the field KOMV->KSTEU for respective price condition type as soon as its changed Manually.
    2) Through enhancement automatically delivery block should be set at Sales Order Header, for which User (Sales End User) should not have rights to change.
    3) Respective Sales Manager should receive a mail regarding the same.
    Point '3' can be done manually i.e user will request respective Manager to do the needful.
    RB.

  • BADI for sales order header level data

    Is there any BADI which will give me the sales order header level data? I need net price of the sales order in header level. KOMK structure does not contains the net price value.

    My requirement is:
    I am writing a pricing routine for calculating ZSMR condition value in sales order header level. The formula for calculating is (NET PRICE / NET SALES COST) / NET PRICE.
    I can't use VBAK  because I have not saved the sales order yet. I need to use some structure.
    Which structure contains the net price of the sales order in header level. KOMK structure does not contains the net price value.
    Edited by: dossgs on May 21, 2010 4:08 PM

  • Sales Order VA01 pricing/condition scales

    Hello,
    we have set up scales (in transaction VK11) for some conditions on header level
    (this means e.g. for the sales order type, not on material level).
    But it seems that the standard considers the pricing/condion scales only on item level.
    example:
    VK11
    set up scale for freight cost
    if net-price is higher or equal to 50.- Euro than reduce the freight cost to zero.
    sales order
    item 1            net-price  20.- Euro
    item 2            net-price  30.- Euro
    -> The freight cost is not reduced because the net-price per item is not equal to 50.-
    But we want that the freight cost is reduced to 0 because the total amount of the net value of the sales order is equal to 50.-
    Is there a standard setting to have this system behaviour in the sales order entry?
    Which user exit can we use instead?
    Thank you very much for help.

    Hi,
    This can be achieved as follows:
    1) SAP Standard updates the field KOMV->KSTEU for respective price condition type as soon as its changed Manually.
    2) Through enhancement automatically delivery block should be set at Sales Order Header, for which User (Sales End User) should not have rights to change.
    3) Respective Sales Manager should receive a mail regarding the same.
    Point '3' can be done manually i.e user will request respective Manager to do the needful.
    RB.

  • VA01 Sales order - Header-- Accounting tab need to add a field

    Dear All,
    The requirement is,
    1. I need to add a field in Sales order.
    Path for the same is as follows:
    VA01> Goto> Header--> Accounting tab
    2. The field will be a date field that needs to calculate date on.
    a)create a new field. ex - zchdt (chq due date)
    b)when customers enters value in Assignment,
    i.e vbak-zuonr
    after that trigger logic is
    3.vabk-kunnr = knvv-kunnr
    a)sy-date + knvv-kvgr2 (exclude sundays)
    example - 14 sept + 30 days = 14th october
    should populate value - 14th october i.e. field (zchdt)
    4. This activity needs to be triggered before the sales order is saved.
    kindly know whether this is possible or not.
    if possible how & which exit & also with example code.
    if you could give me your contact(cell no).
    Regards,
    Nagendra D.S.
    Mobile - +91 9819899082

    Hi All,
    VA01 Sales order - Header--> Accounting tab need to add a field. field name - zchdt(cheque due date)
    when customer enters value in Assignment i.e zuonr & after that trigger logic is
       1.     vbak-kunnr = knvv-kunnr
       2.     sysdat + knvv-kvgr2 (exclude sundays)
    example - 16 sept + 30days = 16 oct
    in field zchdt value 16 oct as to populate
    Pls help me in the code.
    Regards
    Nagendra

  • How to update the sales order header & item data in TM system

    Hi Experts,
    Greetings!
    I need your help,I have a one requirement sales order data came from ECC these sales order data need to update in TM Sales order header table as well as item table also these fields are additional fields.
    Can anyone please guide me I am very new in TLM .
    Thanks in advance.
    Thanks&Regards,
    Siva.

    Hi Siva
      "/SCMTMS/TRQ~ROOT" is for sales order header and "/SCMTMS/TRQ~ITEM" is for details.
      I assume you need to
    enhance the structures for these nodes to hold your add. fields;
    and do the same for the input parameter of service TransportationRequestRequest_In (which is used to create OTR) from PI side;
    Pass the add. fields during service call (impelment in ERP system);
    Map the fields from service paremeter to node attribute (implement in TM system, BAdI   /SCMTMS/TRQ_SE_TPNRQ_REQ~CHANGE_MODIFICATION create modification table for the input parameter).
    I cannot find source code for all of that; hope it helps.
    Sensen

  • How to update TEXT in Sales order header

    Hello ,
    I have requirement in which I am creating SO via IDOC calling BAPI_SALESORDER_CREATEFROMDAT2.
    Question: Can any one help me in finding a solution to update the TEXT in sales order header which is confogured IN TEXT CONTROL in SD.
    I have tried various option using CREATE_TEXT but it is only updating STXH table , the text is not coming in the sales order.
    If someone knows about this , <removed by moderator>.
    Edited by: Thomas Zloch on Nov 15, 2010 4:20 PM - please do assign priorities > normal

    Sounds like a text determination config issue - have you assigned the text in VOTXN?  Have you run the text determination analysis from VA02 in the document?

  • Update Sale Order Header Text through Enhancement

    Hi Experts,
             I Have a requirement to update the sale order Header Text , when the sale order is opened in VA02 and saved.
    Here in I tried using edit_text, it updates sale order header text  directly in DB during run time even before the save action is completed.
    But I need to just fill the header text and that has to be saved during the save action only.
    I tried coding the same in the user exit (userexit_save_document) but this user exit gets triggered only when there is some changes made to the document when opened in VA02 & Saved.
    Is there any  user exist to pass sale Order Header text and save when save button is clicked irrespective of the document been changed or not.
    Thanks in advance
    Sathish

    Hi Brad Bohn,
        My actual requirement is to trigger an Idoc when the user goes to VA02 transaction and clicks save.
    IDoc gets triggered only when there is some changes to that document, that is through NAST table entry based on the output configurations in NACE transaction.
    Now that the user wants to trigger an IDoc even if there is no change (ie. to reprocess the IDoc) when he just opens a sale order in VA02 and click save.
    It is not possible to trigger an IDoc through configurations when there is no actual change in VA02 and saved.
    So it has to be forcefully sent by making some additions to the Order through coding, so I choose that Text box to fill some additional data and save .
    Kindly Let me Know any thing could be done for this scenario.
    Thanks in advance
    Sathish

  • User exit to update the incompletion log in sales order for pricing error

    Hi experts,
    I have to check the some mandotory pricing conditions in sales order, if that conditions are not exist in sales order then i need to show the information message as well as i need to update it in incompletion log of sales order. (incopletion log we can see on menu bar 'EDIT' or ctrl+F8 on main screen of VA01). So that user can save the sales order but it will be in incomplete status.
    I have completed it upto showing the information message using user exit 'MV45AFZZ', but after this i don't know how to update it in incompletion log of sales order for pricing. I tried to update in tables VBUK-UVPRS, but i am not getting the desired result.
    Please anyone can tell me how to update it. In which user exit i can update the incompletion log.
    Thanks and Regards,
    Vicky.

    Hi Vinod,
    I am sending you my code please check it,
       if TKOMK-SPART = 10.
        if XKOMV is not INITIAL.
          clear v_JEXP.
        READ TABLE XKOMV with key kschl = 'JEXP'.
        if sy-subrc = 0.
          check XKOMV-kwert = 0.
          message i003(ZT) with 'Value should not be 0 for conditioin type JEXP'.
          v_JEXP = 'X'.
        else.
          message i003(ZT) with 'Maintain the mandatory Conditioin type JEXP'.
          v_JEXP = 'X'.
        endif.
        if v_JEXP = 'X'.
      XVBUV-MANDT = sy-mandt.
      XVBUV-POSNR = '000010'.
      XVBUV-TBNAM = 'VBAP'.
      XVBUV-FDNAM = 'PRSOK'.
      XVBUV-FEHGR = 20.
      XVBUV-STATG = '06'.
      XVBUV-FCODE = 'PKON'.
      XVBUV-SORTF = 9999.
      XVBUV-LFDNR = 0000.
      XVBUV-UPDKZ = 'I'.
      append XVBUV.
        endif.
    endif.
    endif.
    Please suggest something to solve this.
    Thanks and Regards,
    Vicky.

  • Changing screen sequence in sales order header

    Hi Folks
    we have a requirement to change the sequence of the screens which appear in sales order header and we need to add an additional custom screen.
    Request you all to suggest how we can achieve this functionality.

    Hi,
    REquest you to take the help of ABAPer and do the modification in standard Program
    But instead of creating a new custom tab you can use additional data B tab to cater  your requirement. Its given blank in standard so that we can modify as per our requirement .So the same will be reflected in all screen no. 4013
    REgards,
    Krishna O

  • How to add a field in sales order header

    Hi all,
    I need to add a custom field say a check box in sales order header in additional data B tab.
    let me know step by step.
    Points will be rewarded.
    Thanks.
    Ramya

    additional data B in sales order
    sales order - Additional data B
    Add new fields to Additional Data B tab in sales order
    Reward Points..

  • Activate field at sales order header level

    Hi,
    I can see field AUFNR (Order) in sales order header table VBAK. But not able to found same filed in sales order through using t c.code VA01. Where I can see this at header level? How to activate this field if I want to see in sales order?
    Thanks,
    Mohan

    Hi Mohan
    First of all Welcome to SDN forum
    Go to transaction variants using t.code SHD0 and give t.code VA01 and then give the business object as BUS2032 then you will get the programs . select the program and in that and check the AUFNR order feild
    that is as you said that it can be seen in the VBAK table check in this VBAK table ( AUFNR - VBAK) . If that feild is suppressed then make it optional and then save it and then create the sales order and then check the AUFNR feild in VBAK table. It should come in optional mode
    Regards
    Srinath

  • Partner at sales order header

    I have a requirement where a partner function is needed at sales order header level where sales order handler can assign any value. the partner function should allow any free value to be entered without any need to actually define a master record for the value to be entered in the partner function at sales order header level.
    Please guide how can a new partner function be defined with this facility.  Thanks !

    Hi
    Goto SPRO>SD>Basic functions>Partner determination>sales docuemnt header.
    Define a new partner function.
    Assign it to your partner determination procedure.
    Don't make it as mandatory.
    Assign that partner procedure to your sales order type.
    now test it.
    try and revert

  • Third Party : Sales order Header text should copy to PO Header text

    Hi,
    I need to copy sales order header text to PO Header text
    in the third Party sales order scenario.
    Can anybody suggest how to do it.
    Thanx in advance.
    Regards,
    RRS.

    I doupt that this is possible without using a user exit.
    The 3rd sales order will create a PR, the PR has no header text (just a header note = internal use), the PO is created in reference to the PR. And it is not possible to copy PR header text to PO header text.

Maybe you are looking for

  • Error in CMOD code

    Hi Friends, I am enhancing the extractor 0FC_PAY, I have added about 10 fields to the extract structure and activated it succesfully. Now when i write the code i am getting the following  error. The specified type has no structure and therefore has n

  • I NEED HELP BAD

    ok..i had a account on my laptop..but it got takein off..so i never pluged my ipod back in my laptop..well than i did..and i read the ipod name and stuff..but not the songs..i can only update it with new songs..,but how do i take whats on my ipod and

  • Black screen, red light flashing

    I was downloading an app when a screen message told me to restart to continue installation. I pressed the Off button but now, despite pressing the start button, the phone will not come alive, although it was recently charged. There is just a black sc

  • From iMovie 6 to iDVD?

    Hello I wondered what the best option would be to save project out of iMovie the drag/drop into iDVD? i was advised by "very helpful" Beverly Maneatis not to choose the share option "iM to iDvd" due to double rendering. So after editing my footage wi

  • LV7.1 compiled program runs slow with disc. type defs checked

    I am working on a VI (with about a hundred sub-VIs) written by someone else (who is no longer available to answer questions about it).  I've done only a few minor updates, but when I re-compiled it, the resulting EXE ran several times slower than the