Create pricing condition with BAPI_PRICES_CONDITIONS

Hello,
I am trying to create a new pricing condition for a material using BAPI_PRICES_CONDITIONS, but unsucsessfuly.
Has anyone tried to do that?
Looks like BAPI is not generating a condition number.
Regards,
Eglese

Hi Eglese
Check these threads,
BAPI_PRICES_CONDITIONS
Problem with BAPI_PRICES_CONDITIONS
cheers
Sameer

Similar Messages

  • Create pricing condition with default value in processing process field

    hi all,
    when i maintain the pricing conditions with vk11 or vk31, i want the price maintained is set default as blocked (the processing status field-KBSTAT). can it be done? i am using 4.6c.

    You should try to use transaction variant
    <i>Transaction variants simplify transaction flow by:
    Inserting default values in fields
    Changing the ready for input status of fields
    Hiding various screen elements and menu functions, or even entire screens
    Adjusting table control settings
    When you create a transaction variant, you run through the transaction in a special mode. In this mode, you decide which elements you no longer need in your transaction and which values should be inserted where. If you choose to hide an entire screen, the system will no longer display that screen in the transaction and will proceed on to the next screen in the series. You can also adjust table control settings and determine the width of columns and the order in which you want them displayed. In tab strips, you can suppress tabs that you no longer need by setting them to invisible.
    You may also create as many variants for a transaction as you desire. One of these variants can be defined as a standard variant. This variant is then valid across all clients. You may also assign different variants to specific users.
    This is done using Variant Transactions. Variant transactions are then places in those users’ user menus instead of the standard transaction. </i>
    To use this : Tools -> Accelerated SAP -> Personalization (transaction SHD0)
    Regards

  • T code/ report to list all material sales pricing condition with deletion i

    I create sales org/ material level pricing conditions in VK11. Some unwanted material pricing conditions are with Deletion indicator active. Iu2019m looking for a report to list all material sales pricing condition with deletion indicator active.
    Please advice me on this.

    Hi Goto v/ld and select 16 which stands for individual prices, and then populate sales organization, distribution channel, customer ,material numbers,etc...and tick "Cond.marked for deletion" check box in "list screen" tab which is the most important, execute you will be able to see all material pricing condition even though it had been deleted.

  • Create pricing condition using BAPI_CUSTOMERQUOTATION_CHANGE

    Hi ,
    I have a requirement to update  quotation pricing data is condition exists i.e if pricing is already exists , if pricing is not exists it has to create a new pricing condition with the given information .
    I am able to update the information using  BAPI_CUSTOMERQUOTATION_CHANGE if pricing condition exists ,if pricing condition  not existing its not working as expected.
    Please guide me..
    code i have written
    *Conditions
          lt_conditions_in-itm_number = it_quot-posnr.
          lt_conditions_in-cond_type = c_zill.
          lt_conditions_in-cond_value = it_quot-kbetr.
          lt_conditions_inx-cond_count = 1.
          APPEND lt_conditions_in.
          lt_conditions_inx-itm_number = it_quot-posnr.
          lt_conditions_inx-cond_type = c_zill.
          lt_conditions_inx-updateflag = c_u.
          lt_conditions_inx-cond_value = c_x.
          APPEND lt_conditions_inx.
    Thanks in advance,
    Srinivas.

    Hello Srinivas,
    Use BAPI_QUOTATION_CREATEFROMDATA in the create scenario. Before calling the BAPI check if the quotation exists. If yes, use BAPI_CUSTOMERQUOTATION_CHANGE.
    Regards,
    Ajith

  • Maintaining pricing condition with field group

    Hi
    I want to check the linkage between condition maintenance table for pricing with the Contract.
    Can any body tell me how to maintain the pricing condition with the field group of Contract.(provide me the detail path)
    I am getting one error"Internal error in condition maintenance" when i click on product tab for any of contracts.
    So I guess it may be due to any linkage failure between condition table and field group or tabstrip. please tell me how could I proceed forward to check this error.
    Thanks

    Hi, I hope that this linck to serve.
    [condition fields table|condition fields table]
    Cordial greetings.

  • Exit for changing Pricing Conditions with change in Ship to party

    Hi All,
    In transaction VA01/ VA02 the pricing conditions are getting calculated with respect to the Sold-to-party no.. Instead I wanted it to get calculated with respect to the Ship-to-party. Please guide me with an Exit that i can use, or any other way of solving this.
    Thanks in Advance.

    Hi Roberto,
    I am creating a sales order with transaction VA01 using a  Sold-to-party say 1 and a Ship-to-party 2. While saving the order the tax calculations (if it is interstate - cst and intrastate - vat) are happening with respect to the Sold-to-party.
    But I want it to happen with respect to the Ship-to-party. Is there anyway of changing this tax calculations in the pricing condition to take place with respect to my Ship-to-party.

  • User exit to copy Manual pricing conditions with in sales documents

    Hi all,
    I have a situation where i have to copy the manual pricing conditions from inquiry to quotation.
    Problem: From VA21 when I try to do the same using the tab "create with reference" the document is being copied but the manually set pricing condition in the inquiry is not being copied into quotation. This is because in the copy controls the pricing type is set to 'B' which means "carry out new pricing". I can change it to 'C' or 'D' so that it copies manual pricing but i am not allowed to do so because other sales orgs in the company has a problem if i do so. Only our perticular sales org needs this config. I cannot even create another item catogory specific to this plant because it is against the rules of the company. So I am looking for a user exit in which i can change this pricing type during runtime so that i can plug in some code specific to this sales org to copy manual pricing. I have found one from the SAP note 24832 (MV61AFZA). It doesn't work as i think its obsolte. Can anyone suggest me a better way of solving this issue. Any quick response is appreciated.
    Thanks,
    Giridhar.

    Hi
    The following EXITS may help you
    Exit Name              Description                                                                               
    SDTRM001            Reschedule schedule lines without a new ATP check                 
    V45A0002            Predefine sold-to party in sales document                         
    V45A0003            Collector for customer function modulpool MV45A                   
    V45A0004            Copy packing proposal                                             
    V45E0001            Update the purchase order from the sales order                    
    V45E0002            Data transfer in procurement elements (PRreq., assembly)          
    V45L0001            SD component supplier processing (customer enhancements)          
    V45P0001            SD customer function for cross-company code sales                 
    V45S0001            Update sales document from configuration                          
    V45S0003            MRP-relevance for incomplete configuration                        
    V45S0004            Effectivity type in sales order                                   
    V45W0001            SD Service Management: Forward Contract Data to Item              
    V46H0001            SD Customer functions for resource-related billing                
    V60F0001            SD Billing plan (customer enhancement) diff. to billing plan      
    V45A0001            Determine alternative materials for product selection
    Regards
    PRabhu

  • Problem in data upload using pricing conditions with sales deal

    hi...
    i have to upload following fields -
    Condition Type
    Condition Table
    Valid from
    Valid to
    Sales deal
    Amount/Rate
    Currency / %
    Pricing Unit
    Pricing UoM
    Sales organization
    Distribution channel
    Sold to Party
    Material Number
    Material Pricing Grp
    Batch number
    Buying Group of Sold-to
    Customer
    Customer Group
    CustomerHierarchy 01
    CustomerHierarchy 02
    CustomerHierarchy 03
    CustomerHierarchy 04
    CustomerHierarchy 05
    Division
    Sales Order Type
    Sales Document Type
    End user
    Material Group
    Tax Classification Material
    Payer
    Plant
    Price Group
    Price list type
    Pricing reference material
    Prod. Hier -1
    Prod. Hier -2
    Prod. Hier -3
    Prod. Hier -4
    Prod. Hier -5
    Product hierarchy
    Region of Dly Plant
    Sales district
    Sales group
    Sales office
    Sales unit
    Ship-To
    Shipping point
    Buying Group of end user
    Tax classification for customer
    Type of Transaction
    Scale Basis1
    Scale Rate1
    Scale Basis2
    Scale Rate2
    Scale Basis3
    Scale Rate3
    Scale Basis4
    Scale Rate4
    using  XK15  t-code and SALES DEAL is the major concern.
    1)  First i used   RV14 BTCI , that is a standard report for uploading the pricing conditions. But by using this all fields are updating except SALES DEAL becoz this is not present in the structures (like- BKOND-1, BKOND-2, BKOND-3 etc) that is used in RV14BTCI program. I searched other structures also but SALES DEAL is not present there.
    2) Second i tried to find out some Function module that is containg SALES DEAL and i found two FMs - IDOC_INPUT_COND_A and BAPI_PRICES_CONDITIONS.....but
    a) the FM - IDOC_INPUT_COND_A is used with ALE and where third party is involved, so we require control data and status data for  this I dont have this. so we cant use it.
    b) and the FM BAPI_PRICES_CONDITIONS is also not working for SALES DEAL....by using this it is also not uploaded becoz some mandatory information related to sales deal like- sales organisation, distribution channel are not present in this FM.
    3) to upload this we can use the BDC recording method.....but the problem is - there are almost 15 condition types and based on these conditions almost 20 - 25 condition tables are there for every condition and based on the every table different screen sequence are there.....so if we go for BDC recording...than we have to make 325 recordings.....also not feasible solution.
    so plz give the suggestions for this problem and check my efforts also may be i missed something that can be a solution.
    Thanx in advance for all.......plz help.....

    Hi Jitendra,
    Goto RSA3 trans in the source system. Check if are able to extract the data.
    If so then replicate the DS once in BW system. Activate all the DS, transfer rules etc & try to load it again.
    Hope this will solve your problem!
    Regards,
    Pavan

  • CREATE PRICING CONDITIONS

    Can anybody please let me know the file format for Pricing Conditions in LSMW for direct input program.

    Sorry for the confusion,
    Here is the business process:
    Sales Order>Delivery>Billing Document>(Customer complains that they have been over charged)>Custom RK Document Created in VA01 with reference to Billing Document>......
    I am trying to automate to creation of the custom RK document.
    I have been able to do so successfully using the code I posted above, however, I came across an issue. If the original sales order had discounts applied, when I was creating my Custom RK Document, it wasn't picking up the discounts and therefore we would be giving the customer back more than they were owed.
    However, after a number of days of working on this issue I figured out the problem. The discounts that were being applied on the original sales order were as a result of a TPM Trade Promotion, the only way those discounts would be applied to my new document is if I passed in the trade promotion GUID into the ls_sales_items_in-campaign field. I found this value using this code
        SELECT SINGLE campaign
          FROM cmpb_asgn
          INTO ls_sales_items_in-campaign
          WHERE vbeln = lt_icr-vbeln_o
          AND posnr = lt_icr-posnr_o.
    Thank you for your interest and advice. I hope this proves useful to someone in the future.

  • How to create pricing procedure with these items

    hello sd gurus,
    i am to configure pricing procedure with this items
    condition type : Price --> statics
                           cost
                                FOC with tax base
                                FOC with tax
                                profit margin
                            discount
    this is for free of charge item...'
    is this possible?
    thank you very much!

    hello sd gurus,
    i am to configure pricing procedure with this items
    condition type : Price --> statics
                           cost
                                FOC with tax base
                                FOC with tax
                                profit margin
                            discount
    this is for free of charge item...'
    is this possible?
    thank you very much!

  • Problem in Creating Pricing Condition Table...

    Friends,
    I am creating a condition table.
    i selected perticular fields (S.org, D.ch, Div, So-to-Party,Mat)
    When i click on Generate Icon
    I Got error message:
    Customer Object VKOS A505 cannot be assigned to package

    Hello,
    Which is the number you have given for your table?
    The best way is to search for the table which is having most of these fields and copy that table to a new table. When you create table give a table number after 900 and copy from another table. After this you can add/delete the fields and generate the table.
    Prase

  • How to create a condition with out join

    Hi all,
    I m using Oracle Discovere Desktop. I want to know that how can i use outer join in conditions.
    e.u.
    category(+) = 'E'
    Regards

    Hi,
    Actually i want to use both equi join and outer join in my one worksheet I have discussed with Micheal and he told me that this is not possible. Because whenever you create more then one condition between two same folders then you have to choose only one condition prompted by Desktop during creation of worksheet.
    Anyway thanks for reply.
    Best Regards,
    Hassan

  • TD Shipm Cost Pricing - Conditions with Calc Type Q ( IS OIL formulas)

    Hello,
    Does anyone knows if this is supported. Seems like it can be included into Shipment Cost Pricing procedure but doesn't get saved in shipment cost document even though it does get correctly determined after repricing in VI02
    Thanks in advance, zorik

    Your template contains an IE Conditional Comment that is adding 30px of top padding to  #sidebar1.  This padding may required in older versions of IE but not IE9.
    &lt;!--[if IE]>
    &lt;style type="text/css">
    /* place css fixes for all versions of IE in this conditional comment */
    .twoColFixRtHdr #sidebar1 { padding-top: 30px; }
    .twoColFixRtHdr #mainContent { zoom: 1; }
    /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
    </style>
    &lt;![endif]-->
    To fix it, change [if IE]  to [if lt IE 9]
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • 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.

  • Module function to create and read pricing condition

    Hello,
    I am looking for an easy function module that enable us to get the pricing condition record ?
    (As transaction for example VK13)
    And I am looking for a function module to create pricing condition ?
    (As transaction XK15 or at least VK11)
    Thanks in advance,
    Maxime

    for creating try BAPI_FTR_CONDITION_CREATE (no experience with this one..)
    for reading use Function SD_COND_ACCESS
    consider more than one Condition Table may be involved via AccSeq for your KSCHL.
    Fill KOMK and KOMP accordingly for all Tables of AccSeq for the KSCHL
    Cheers
    carsten
    example:
    *& Report  ZCAWA_CONDR
    TESTREPORT
    Konditionen lesen via Zugriffsfolge des eingegebenen KSCHL
    C.Wagener, 11.02.2009
    REPORT  zcawa_condr.
    PARAMETERS:
      p_kappl TYPE kappl DEFAULT 'V',
      p_kschl TYPE kschl DEFAULT 'ZGRA',
      p_vkorg type vkorg default '0100',
      p_vtweg type vtweg default  '00',
      p_datum TYPE sydatum default sy-datum,
      p_mlfb  type YYBCEZNDR default '6MD90001AA'.
    DATA: ls_komk TYPE komk.
    DATA: ls_komp TYPE komp.
    DATA: ls_konp TYPE konp.
    DATA: lt_t682i TYPE TABLE OF t682i  WITH HEADER LINE .
    DATA: ls_koprt TYPE koprt.
    DATA: lt_conditions TYPE TABLE OF a000  WITH HEADER LINE.
    DATA: ls_sdprothead TYPE sdprothead.
    ls_komk-prsdt       = p_datum.
    ls_komk-vkorg       = p_vkorg.
    ls_komk-vtweg       = p_vtweg.
    ls_komp-zzyybcezndr = p_mlfb.
    Tabellen der Zugriffsolge zur Konditionsart ermitteln
    SELECT * FROM t682i AS a
    JOIN t685 AS b ON
      akvewe EQ bkvewe AND
      akappl EQ bkappl AND
      akozgf EQ bkozgf
    INTO CORRESPONDING FIELDS OF TABLE lt_t682i
    WHERE b~kvewe EQ 'A'
      AND b~kappl EQ p_kappl
      AND b~kschl EQ p_kschl.
    pro ZugFolgen-Tab-Eintrag FuBa aufrufen
    LOOP AT lt_t682i.
      CALL FUNCTION 'SD_COND_ACCESS'
        EXPORTING
          application          = p_kappl
          condition_type       = p_kschl
          date                 = p_datum
          header_comm_area     = ls_komk
          position_comm_area   = ls_komp
          t682i_i              = lt_t682i
          koprt_i              = ls_koprt
        TABLES
          condition_records    = lt_conditions
        EXCEPTIONS
          field_is_initial     = 1
          not_read_unqualified = 2
          read_but_not_found   = 3
          read_but_blocked     = 4
          t682z_missing        = 5
          t681v_missing        = 6
          t681z_missing        = 7
          mva_error            = 8
          OTHERS               = 9.
    und raus, wenn Treffer
      READ TABLE lt_conditions INDEX 1.
      IF sy-subrc EQ 0.
        SELECT SINGLE * FROM konp INTO ls_konp
        WHERE knumh EQ lt_conditions-knumh.
        IF sy-subrc EQ 0.
          IF ls_konp-konwa EQ '%'.
            ls_konp-kbetr = ls_konp-kbetr / 10.
          ENDIF.
          WRITE ls_konp-kbetr.
          EXIT.
        ENDIF.
      ENDIF.
    ENDLOOP.

Maybe you are looking for

  • Error while installing Oracle 11g R2 RAC

    Hi, I am getting following error while trying to provide Oracle software locatio. [INS-20702] Unexpected Internal driver error Cause - A call to cluster verification utility failed. Following are the steps i have followed: 1. Using NFS mount created

  • Process exited with exit code -1073741819+jdeveloper 9.0.5.1

    Hi, I am using JDeveloper 9.0.5.1 version.When i am compiling the java file it is compiling fine. But when I am running it it is throwing the error Process exited with exit code -1073741819. What is that error code means........?

  • How do I rotate pages in a pdf

    How do I rotate pages in a pdf with adobe reader?

  • Help- COPA Report KE30 Unusual value problem

    Hi, My COPA report from ke30 showing the bellow value which is unusal to my real value. though we are now entering backlog data but the COGS value which is showing is more less than the actual value. please suggest what to do to correct the report. S

  • Use of IF inside a Fix block

    Hi, I am having issues with use of IF inside a FIX ... END FIX block. I am trying to check for the value of a substitution variable inside a calculation script. Based on the value of the Subst Variable, statements inside the IF block should get execu