Get Pricing Condition Result: BAPI_QUOTATION_CREATEFROMDATA2

Hi Experts,
I need to get the pricing condition data in BAPI_QUOTATION_CREATEFROMDATA2, under the table QUOTATION_CONDITIONS_IN when in TESTRUN mode, is it possible?
I have tried in several time but it cannot work. It prompt me info message 'For the currency code MYR ALE communication is not allowed'. The reason I use test-run is because I don't want the quotation being created.
Or any other way for me to get all pricing condition based on material and ship-to party ??? Thanks.
Cheers,
Isaac

Hi Isaac,
Please create Bapi using your repective Progamme and try to give the Resepective conditions related to pricing from XML file.as you are saying you are doing this for testing.hope aware that while creation of BAPI if the certain condition are not matching or if the data is incomlepte you will get this kind of errors.
Please Reward If Really Helpful,
Thanks and Regards,
Sateesh.Kandula

Similar Messages

  • FM to get Pricing Conditions

    Hi Friends,
    I have a requirement to <b>compare the Quotations</b> in which I have to check the prices against the pricing conditions.
    Is there any FM from which we can get the <b>pricing conditions</b> with the <b>condition types</b>.
    Regards,
    Vaithy.

    Hi Vaitheeswaran,
    see the below code snippet.
    Note that you should call RV_PRICE_PRINT_REFRESH a l w a y s before 'RV_PRICE_PRINT_ITEM'. The comm_head_i parameter needs an order number and a condition record number (KNUMV).
    In result table tkomv are all conditions, tkomvd only conditions relevant for printing.
    call function 'RV_PRICE_PRINT_REFRESH'                    "RESET
         tables tkomv                         = pt_komv.
      move-corresponding:
        ps_nast    to ls_komk,
        ps_jhak to ls_komk.
      call function 'RV_PRICE_PRINT_ITEM'
        exporting
          comm_head_i                         = ls_komk
          comm_item_i                         = ls_komp
    *   LANGUAGE                              = ' '
    *  IMPORTING
    *    COMM_HEAD_E                          = COMM_HEAD_E
    *    COMM_ITEM_E                          = COMM_ITEM_E
        tables
          tkomv                               = pt_komv
          tkomvd                              = pt_komvd.
    Regards,
    Clemens

  • Error while debugging a FM to get pricing condition details

    Hi,
    when debugging the FM PRC_PD_HEAD_SHOW ( SPC_GET_PRICING_CONDITIONS ) to get the pricing condition details i am getting an error java debugging back end on sapdevsystem is waiting for port 8003.
    Is this bcoz java not properly installed in my system. Can anybody pls tell me how to solve this issue.
    Thanks,
    Leena

    Did not get any answer.. so found all the dates by particular tables a*** from pricing.

  • How to get pricing conditions while creating Sales Order

    Hi Guys,
                When we create sales order using VA01, price is automatically determined using pricing condition configured.
    My requirement is, I need to know what would be the price of a particular item.Say i put one item A with quantity x,can I get which price conditions will be applied and what value will come for them.I need this because I need to validate this price with some other price put in a file .

    I would suggest to use the Exit because that will be less efforts and you can implment and debug it easily. Moreover, you can restrict it by any condition e.g. order type, order reason because all the internal tables are available at that point.
    Whereas, accessing the access sequence is cumbersome process. You need to go to all the combinations (tables) in the access sequcen and try to find out the suitable match .
    Regards,
    Naimesh Patel

  • Function module to get Pricing conditions of billing document

    Hi All,
    Please help me getting the pricing condition values for a billing document.  I got values from KONV table against perticular Condition type. but i need to get the values against step number maintained in Conditions for my billing item. is there any function module to get all condition data maintained in document with totals and discounts aswell.
    Please help me.  if required i will give tou full details what i required.
    Kumar.

    Hi Kumar,
    Please check below mentioned Function Module for details:
    RV_PRICE_PRINT_GET_BUFFER
    RV_PRICE_PRINT_GET_MODE
    RV_PRICE_PRINT_HEAD    (Header)
    RV_PRICE_PRINT_HEAD_BUFFER
    RV_PRICE_PRINT_ITEM       (Item)
    RV_PRICE_PRINT_ITEM_BUFFER
    RV_PRICE_PRINT_REFRESH
    Regards,
    Tutun

  • Get pricing conditions on transaction basis

    Hello All
    I want to design a soluttion in XI where , a quotation is created in SAP using the BAPI_QUOTAITON_CREATEFROM_DATA2 , it gives back VBELN as a response . Now i want to get the pricing conditions used for that quotation.Is there a way to achieve this ?
    Is there any BAPI which can retrieve this info based on VBELN ? Any other solutions using XI ?
    Thanks in advance.

    HI,
    To get the pricing conditions either you need to look for relevant BAPI or have to develop own RFC which will return the pricing condtions based on VBELN.
    But anyhow you need two seperate Sender channels one for sending the data to BAPI to create quataion and get back the VBELN, after getting the vbeln you have to make another call to call the BAPI or Coustomized RFC that will return Pricing Information.
    Probably you could look for BAPI_SALES_ORDER_SIMULATE & then analize the output table ORDER_CONDITION_EX for pricing information.
    Thanks
    Swarup
    Edited by: Swarup Sawant on Feb 18, 2008 6:51 PM

  • Get pricing condition from item quotation before create PO

    HI
    i m seeking for a way to group  items for my sale document ( quotation )  IF  its have  the same pricing condition  , before creating my purchase order .
    do you know any MF or BAPi  or  query code  that help me to give me the pricing condition for the item of my document  ?
    trhanks

    Pricing as captured in a sales document (say a quotation) is stored in table KONV.
    So you can read pricing from KONV for a specific quotation item like
    KONV-KNUMV = VBAK-KNUMV (of quotation)
    KONV-KPOSN = VBAP-POSNR (of quote item)
    KONV-KSCHL = conditiontypes you wish to check

  • BAPI for Pricing & Conditions

    1. what is the use of Function     Module "BAPI_PRICES_CONDITIONS"? what value we have to pass to BAPI BAPI_PRICES_CONDITIONS"?
    2. Which function Module will use to Extract the Pricing & conditions Details (from SD) ?
    3. Can anyone help me how to extract the Pricing & conditions Details (from SD) ?
    Thanks

    you can use KONV table to get pricing condition(KSCHL) and pricing value(KBETR), for this we require sales order no(VBELN) and item no(POSNR).

  • Pricing Conditions In Order confirmation-Scripts

    Hi,
    My client has two scenarios  1. CMS-complete manufacturer & supply (i.e,with taxes)
                                               2. jobwork ( i.e., without taxes).
    I have copied standard print program and script into our zprograms.
    I have to create Sales order confirmation for CMS and JOBwork.(cms is working)
    Am getting pricing conditions for CMS process but not getting in Jobwork.
    Pricing conditions means tooling cost, packing cost etc.
    I have searched for so many conditions. but failed.
    Plz let me know the proper condition or modification to retrieve the pricing conditions.
    Thanks in Advance.
    Regards,
    Murthy.
    Edited by: kan murthy on Nov 26, 2008 4:20 PM

    Hi Prasanthi,
    Thanks for ur valuable reply.
    I came very near to solution.
    I have given query like following.
    SELECT SINGLE KBETR INTO KK3  FROM KONV WHERE KNUMV = VBDKA-KNUMV AND KPOSN = VBDPA-POSNR AND KSCHL = 'ZDEV'.
           IF SY-SUBRC = 0.
               FLG3 = 1.
           ENDIF.
    And Am checking condition in script like this
    IF &FLG3& NE 0
    DEVELOPMENT COST : &KK3&
    ENDIF
    I have nearly 10 condtion types.
    Data is coming into field properly.
    Now problem is, the fields has its value equal to 0 are also displaying(even though i gave SY-SUBRC)
    If value = 0. i dont want to be displayed those condition values in output.
    Thanks & Regards,
    Murthy
    Edited by: kan murthy on Dec 1, 2008 12:59 PM

  • How can I get SD pricing conditions list as in VA01 without creating SO?

    Hi Guys,
    I have searched a lot of posts for this answer but only found that it's not possible to do through function 'PRICING' without creating SO document.
    My initial input is: sales organization, distribution channel, customer, material number, pricing date. Can I find relevant pricing conditions based on this info? I need to make a report, which would display all pricing conditions with values based on the selection parameters mentioned earlier. Thanks for any help.

    Use function module 'PRICING'
    This is a pretty big task interms of collecting all the required data.
    Check where used list for pricing. This is used in 2 places. Put a break point on them and run your sales order transaction. See what are the fields passing through.
    You can also determine from KOMK and KOMP . One for customer and the other for material. Make sure you pass all the data that is required.
    You will get results of conditions in importing table. (may be konv)
    Using simulate will actually creates a document number (i believe). Even though this will not be available in VBAK, VBAP... the number will be taken off from the sales order number range.
    I have used PRICING function module in of my work.

  • Pricing : Condition type value need tog get from the lowest of 4 other cond

    Hi,
    I have one requirement in one pricing procedure.
    I need to calculate condition value of one condition type from the lowest value of other 4 condition tyeps. These condition types values are not defined as a subtotal.
    So if I decide to write a formula on condition values, is there
    any way to select these values and choose the lowest of them?
    Please also advice if there is any other way such as condition exclusion
    or so?
    Thanks and regards,
    Anand

    Anand,
    As you have mentioned you can use condition exclusion for such a requirement.
    here is a detailed description of how you can achieve this: use the menu path IMG> Sales & Distribution> Basic Functions> Pricing> Condition Exclusion> Condition exclusion for group of conditions.
    When you execute this IMG acitivity you get a window with three options
    1.Define Condition Exclusion Groups
    2.Assign condition types to the exclusion groups
    3.Maintain condition exclusion for pricing procedures
    We will use these three options one by one, we start with the first
    1. Define an exclusion group, lets say EX01 and give a description
    2 Assign the four condition types that you want to compare to this exclusion group under this option
       lets say EX01 ZK01
                   EX01 ZK02
                   EX01 ZK03
                   EX01 Zk04
    3. under this third step, select the pricing procedure that you are working on and from the left margin click on 'Exclusion'. click on 'New Entries' and make the following entries (example)
             Sno.   Cpr         ExGr1
              10      A            EX01                leave ExGr2 blank, Save your entries
    Check if your purpose has been met or not. Do give your feedback
    Regards,
    PATHIK

  • Custom pricing condition not getting triggered automatically in CRM 4.0

    Hi
    The custom discount pricing condition created in R/3 is active in R/3 and is getting triggered for Sales Orders created in R/3.
    I have downloaded the same pricing conditon from R/3 to CRM 4.0 i am able to trigger it manually in CRM service transaction. But i need the condition to be triggered automatically for the pricing group.
    Your inputs are highly solicited
    Thanks
    Padma

    Hi Padma,
    did you enable the condition download from ERP to CRM already? Did you run the initial condition customizing download and the initial condition master data download successfully (check also the application log in SLG1)?
    In addition, you should be aware, that for any condition customizing change in ERP you need to rerun the initial customizing download (there is no delta download) and that you need to refresh the IPC customizing buffer, which is automatically done once a day by default.
    Best Regards,
    Michael

  • Intercompany Billling - pricing conditions are getting redetermined

    Dear friends,
    I have one issue of Pricing conditions being redetermined in the Intercompany Billig Document.
    Whatever values I maintain in the sales order should follow to Intercompany Invoice. For eg PI01 value maintained in the slaes order is 782.15 INR. It will be same in the Invoice (F2). But when i create the Intercompany Invoice the value is something else i mean it is getting determined from the condition record of PI01. Same is the case with other Intercomopany Discount cond types.
    Addtional Info:- I have checked the copy control settings between LF and IV. For the item cat TAN Pricing type is G.
    Please suggest what can be done to resolve this.
    Best Regards,
    Vishi

    Dear Vishi,
    D: Copy pricing elements unchanged. The system
    1. Copies the pricing elements unchanged with automatically determined or manually entered surcharges and discounts from the reference document (scales are not read again). This means that the value remains unchanged even if the billing quantity is different to the order quantity
    2. Does not redetermine the taxes
    *G: Copy pricing elements unchanged and redetermine taxes. The system
    redetermines the following condition types:
    1. Taxes (condition class D)
    2. Rebate (condition class C)
    3. Intercompany billing conditions (condition category I)
    4. Invoice list conditions (condition category R)
    5. Condition types with condition category L
    6. Cost conditions (condition category G)
    7. Cash discount conditions (condition category E)
    8. All other condition types are treated as for pricing type D.
    Why you want to redetermine taxes.
    Regards
    Amit

  • Pricing conditions for the articles are getting triggered one day before the actual activation date to 3rd party systems through job WPMU.

    Hi SAP Guru´s,
    Currently we are sending the pricing, promotions & article master data delta load to 3rd party system from SAP ECC via SAP XI through IDOCS using daily scheduled batch jobs WPMU. IDOC segment - WP_PLU.
    Here the issue is the promotion & pricing data are sent to 3rd party system one day before the actual start date.
    Eg: Promotion 123456 which has start date as 15/05/2014 & ending on 30/05/2014 & was created & activated on 13/05/2014.
    This promotion 123456 is getting triggered from SAP ECC through batch job on 14/05/2014 morning & 3rd party system receives the data on 14/05/2014 & the promotion are getting activated at 3rd party system end on 14/05/2014 itself which actually gets active from 15/05/2014.
    Same in the case for Standard Pricing data which needs to be active from 31/05/2014 once the promotion 123456 ends on 30/05/2014.
    The standard pricing data gets triggered from SAP ECC on 30/05/2014 through batch job & reaching 3rd party system on 30/05/2014 & getting activate on 30/05/2014 itself.
    This creates more issues at the store end as well as affecting business.
    We checked at 3rd party system end & they replied that their system considers the updated time stamp & date to activate the prices & it does not considers the actual active from & active to date. They need the data to be sent from SAP ECC on the effective date of the pricing & promotions.
    Can any one help me how to change the pricing conditions beign triggered through batch job in SAP ECC based on the actual promotion & pricing conditons start date or is there any other process to trigger the data through the batch job on the actual promotion & pricing data activation date.
    Thanks in Advance.
    Thanks & Regards,
    P.P.Shankar

    Hello Shankar,
    Change the lead time in the POS Outbound Profile. You can't put less than 2 days there so data for today and tomorrow will be transferred which also means you need to adjust your batch timing accordingly.
    Sales and Distribution -> POS Interface -> Outbound -> Maintain Profile for POS Outbound.
    See if it helps. The best option would still be that the 3rd part system considers the activtion date.
    Kind Regards
    Kaizad

  • Pricing condition record not getting executed  in Sale order!

    hello all
    I was trying to process a sale order, when i enter the material, system giving me a message "ZINV" condition type missing. i have checked v/08 there is "check - tick mark" for 'zinv' condition type and I have maintained the condition record.
    It is still giving me the same error.
    any one can help me?
    thanks

    Same as above.
    If you are getting the error "Mandatory Pricing condition XXX is missing". All you have to do it select the item and then hit pricing icon on the lower section of your screen and then enter the missing condition in the table displayed in front of you and then enter a price etc.
    This message can be removed by customizing the pricing procedure and removing the 'Mdt' flag.
    Also make sure the condition type has been marked for manual update in the condition detail section.

Maybe you are looking for