Can idoc COND_A04 be used to update/delete existing pricing conditions?

Hi all,
I am designing an interface from an external pricing system to SAP, and am currently looking at the COND_A04 idoc as a mechanism to load the prices into SAP.  In testing I've found that this idoc creates pricing conditions very nicely, but I'm wondering if the idoc can also be used to change existing pricing conditons or mark existing pricing conditions for deletion.  Has anyone ever done this with COND_A04?
I tried deleting an existing condition by populating E1KONH-KNUMH with the condtion record number of the existing condition, and populating E1KONP-LOEVM_KO (deletion indicator) with an 'X'.  Instead of marking the existing condition with the deletion flag, what this did was create a new condition record (same validity period and price) that is marked for deletion.  While functionally this does in fact delete the price (the previous condition is 'overlapped' by the new condition and therefore ignored going forward), it doesn't seem like a clean solution and the resulting change history is very confusing.
Are there are fields on the idoc that can be set to perform a true change or deletion, vs. simply creating a new condition record???  Any ideas will be most appreciated!
Thanks,
Allison

There could be numerous reasons for the IDoc failure because the message that you are getting is too generic. Btw, Is this the only message you get, check if there are more than 1 status 51 in your IDoc to get some more information.
Also see the longtext of the message by double clicking on the status message, probably you will get a more comprehensive reason for the failure.
If nothing of the above helps, try to see the message number and class and see where it is used in the posting program and put a break point at the spot where this message is triggered.
regards,
Advait

Similar Messages

  • Change/Delete Existing Pricing Condition Type

    Hello
    I have a manu Pricing Condition Type and a rate(obtained from custom source) was inserted pro-grammatically into this line item whenever the new line item was added into the basket using CRM_ISA_BASKET_ITEMS badi.
    When the user changes the Qty for the same line item, I want to delete the existing condition rate(manual) and find the new current rate from the custom source and add that to this Line Item.
    Question: How to change/delete existing Condition Rate ?
    Cheers
    RJ
    Reference: E-Commerce Implementation

    Hello,
    You can use java condition value user exit for this.
    Thanks and Regards
    shanto aloor

  • How can I prevent any use to update Purchase order if status was "Approval"

    I have some users can update any purchasing order update after "Approval"
    Please I would any Purchasing oracle module expert to Assist me to get way to solve problem.
    How can I prevent any use to update Purchase order if status was "Approval"?
    Further Information :
    Oracle Allpication Release : 11.5.9
    Oracle Purchasing Module.
    Oracle Data Base: 11i
    Khaled,

    Try writing a personalization on the PO screen that adds the following condition to the where clause
    "and authorization_status !='APPROVED'
    However, I will be careful with a blanket restriction like this. There are situations when you need to modify an existing PO. So you should code some exceptions for this rule.
    Hope this helps,
    Sandeep Gandhi

  • Update value of Pricing condition

    Hi all,
    I am having existing custom program in which sales order get display through ALV. and when user select records through ALV and execute, All pricing conditions of selected sales order gets updated. For this BDC is written( in which Update button is clicked on condition tab at line item in sales order)
    My requirement is to add new field for pricing condition on selection screen.  and if user  puts any pricing condition on the field,  only that pricing condition should get updated with new value for selected  sales order. It should not update all the pricing condition for the sales order.
    Problem: I can not use BDC in this particular case because if i use Update button on condition tab(line item ) in sales order  on BDC, it will update all the pricing condition of sale order.
    Question: How i will trace new value of any pricing condition. Functional are saying that it is maintained in VK13. If this is a case
    then
    1)How I will come to know in which config table, Condition record exist  i.e New value of pricing .
    2)Each pricing Condition will have multiple condition tables ( Lot of combinations) and I will come to know about the tableu2019s    only at runtime. For getting the values from  table I need the value of there respective key fields.
    How I will get the values of all the key fields of  the condition tables ?
    If there is any better way to get the new reprising value of pricing condition please let me know?
    Thanks in advance

    Hi,
    Please check if any other standard pricing types suits your requirement.  Assuming that your current pricing type is 'B'-carry out automatic pricing. So, when you update pricing, you can choose the best that suit your case.
    [http://help.sap.com/saphelp_46c/helpdata/en/dd/560f03545a11d1a7020000e829fd11/content.htm]
    Regards,
    P Gomatheeswaran

  • Can I block SQL PLUS (inserts, updates, deletes, drop, etc)?

    Let's say I make a forms or reports builder module, and I would like to avoid that any user alter a table by using SQL code.
    (regarless I use a different user/pass)
    is it possible?

    Ronald
    If im correct is your requirement like this ?
    You want to avoid a user using SQL and running script to alter the table structure when you
    have your form or report module is already built.
    If my understanding to ur req is correct then you can avoid this by using the
    PRODUCT_USER_PROFILE. there you can restrict the user to use only mentioned modules.
    You can allow the user to use only FORMS, REPORTS and disallow the user to connect the database by any other means.
    Also you can achieve this by creating a trigger at the schema level and check whether the product/application he is using to access the database is other than FORMS,REPORTS and raising an error
    message.
    If your requirement is just only for the data then you can achieve this same also using the similar triggers.
    try that
    all the best
    prakash
    [email protected]

  • Use of conditino category in pricing condition type

    Hi,
             Can anybody please guide about the exact use of condition category in the pricing condition  type. In text it is mentioned that it is used for grouping of similar condition types but what exactly is the requriement for this? Does it have any control function like the feild condition class has( like for example grouping in this is used in redeterminations etc) ?
    Please guide about the use of this feild and if maintained or not maintained then how will it matter?

    Hi,
    It serves some purposes.
    1. It is used for the classification of condition types. During implementations, consultants classify the condition types into condition categories (Prices, Discounts, Taxes) and later use these categories to print the value of condition types in the forms. Coding based on condition categories reduces the effort instead of hardcoding on the condition type.
    2. They also have some inbuilt property for some of the condition types like VPRS, SKTO etc where the categories are important for the behaviour the condition type, the way they are expected to behave.
    3. Some of the condition categories will be applicable only for some specific processes and not for all the processes. for example e during downpayment.
    But the complete function of this field can be only learned over a period of time when we implement new functionalities for the business.

  • Unable to update the header Pricing Condition of Customer Quotation

    Hi Friends,
    I am trying to change the Customer Quotaion using the 'BAPI_CUSTOMERQUOTATION_CHANGE'.
    I am able to update the Header details and item details,but When it comes to pricing Conditions the Following errors I am getting
    000000: Operations with Conditions of type F not allowed(ZZHD).
    as it is a Header pricing Condition, I am passing Item number as 000000,even I tried to Comment and see,but the same issue.
    Following is are the pricing Condition details that I am passing to BAPI.
    CLEAR: wa_quote_condition_in,
             wa_quote_condition_inx.
      wa_quote_condition_in-itm_number        = '000000'.
      wa_quote_condition_inx-itm_number       = '000000'.
      wa_quote_condition_in-COND_COUNT     = '01'.
      wa_quote_condition_inx-COND_COUNT    = '01'.
      wa_quote_condition_in-cond_type            = 'ZZHD'.
      wa_quote_condition_inx-cond_type         = 'ZZHD'.
        wa_quote_condition_inx-updateflag      = 'U'.
      lv_zzhd  = ( ls_nd_payment-transport_charg / 10 ).
      wa_quote_condition_in-cond_value     = lv_zzhd.
      wa_quote_condition_inx-cond_value    = 'X'.
      APPEND: wa_quote_condition_in TO it_quote_condition_in,
              wa_quote_condition_inx TO it_quote_condition_inx.
      CLEAR: wa_quote_condition_in,
             wa_quote_condition_inx.
    Please help in tracing the above issue.
    Regards,
    Xavier.P
    Edited by: Xavier on Sep 7, 2011 10:59 AM
    Edited by: Xavier on Sep 7, 2011 11:00 AM

    Hi prasad,
    Please find the you will find 'condition type paramter in the structers bapicond, bapicondx.
    data :it_quote_condition_in    TYPE TABLE OF bapicond,
             wa_quote_condition_in    TYPE bapicond,
             it_quote_condition_inx   TYPE TABLE OF bapicondx,
             wa_quote_condition_inx   TYPE bapicondx.
    CALL FUNCTION 'BAPI_CUSTOMERQUOTATION_CHANGE'
        EXPORTING
          salesdocument                = ls_nd_payment-vbeln
          quotation_header_in          = wa_header
          quotation_header_inx         = wa_header_inx
         simulation                   = 'X'
      BEHAVE_WHEN_ERROR            =
      INT_NUMBER_ASSIGNMENT        =
       logic_switch                 = wa_logic_switch
      NO_STATUS_BUF_INIT           = ' '
        TABLES
          return                       = it_bapiret2
          quotation_item_in            = it_order_items
          quotation_item_inx           = it_order_items_inx
         partners                     = it_partners
      PARTNERCHANGES               =
      PARTNERADDRESSES             =
          conditions_in                = it_quote_condition_in
          conditions_inx               = it_quote_condition_inx
      QUOTATION_CFGS_REF           =
      QUOTATION_CFGS_INST          =
      QUOTATION_CFGS_PART_OF       =
      QUOTATION_CFGS_VALUE         =
      QUOTATION_CFGS_BLOB          =
      QUOTATION_CFGS_VK            =
      QUOTATION_CFGS_REFINST       =
        schedule_lines               = it_order_schedule
        schedule_linesx              = it_order_schedule_inx
       quotation_text               = it_texts
      QUOTATION_KEYS               =
      EXTENSIONIN                  =
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    Regards,
    Xavier.P

  • When we clicked on Update for new pricing,condition type is repeated twice

    Hi Friends,
    For new pricing,I clicked on the Update pushbuttion in the conditions tab of sales order,Condition type is repeated twice .So value is increased.I checked in the pricing  analysis,it is showing only once.
    I searched all threads and I tried all the possibilities.
    I checked exclusive indicator,it is correctly checked.
    Condition type manual entries selected as B automatic as priority
    Item condition check box is checked only.
    Mandatory check box is selected in the Pricing procedure for that condition type.
    Anything i missed out .
    Please suggest me how to go.
    Thanks in advance.
    Rgds....VM
    Edited by: vm on Nov 2, 2011 5:55 PM
    Edited by: vm on Nov 2, 2011 5:56 PM

    Condition type is repeated twice
    Ensure that the pricing condition is not maintained for multiple combinations in VK11
    G. Lakshmipathi

  • Can xsu not be used to update more than one table at a time.

    I would like to update two or more tables using the same XML package. However when I use XML that contains tags using column names from both tables I get an error that the second table's columns names can not be found in the first table even if I use setUpdateColumnList and build an array that contains only columns from the first table.
    Xsu does not do me a lot of good if only one table at a time can be updated.

    Assuming you are using Oracle 8i you may want to bone up on 'Object Views' and 'instead of' triggers. This is the functionality that is commonly used to perform multiple table updates from a single data source such as XML.
    An object view can be based on a query such as 'select a.col1, a.col2, b.col1, b.col2 from a, b where a.key1 = b.key1'.
    The object view is then used by the XSU to perform the XML query/update rather than using tables a and b.
    You would then write an 'instead of' trigger on the object view. The trigger would update the appropriate table (a or b) based on the columns provided in the update list.
    Steve's book 'Building Oracle XML Applications' in Chapter 12 explains how to do it and has sample code that demonstrates the process.
    The book is available everywhere and you can download the sample code from the book at o'reilly's web site.
    Good luck!

  • Can't download and use latest update for Flash CC

    Hello,
    I am a PC user, Windows 8.1  I can't seem to download the latest update with Flash CC. I open Creative Cloud, and try and update. It goes from 0% to 50% to 53% to failure, consistently. Tried to uninstall and reinstall and the problem persisted.
    Help?
    Ben Chapin

    reset your preferences:
    acrobat:  http://help.adobe.com/en_US/acrobat/X/pro/using/WS58a04a822e3e50102bd615109794195ff-7feb.w .html
    dreamweaver:  http://helpx.adobe.com/dreamweaver/kb/restore-preferences-dreamweaver-cs4-cs5.html
    flash:  http://helpx.adobe.com/flash/kb/re-create-preferences-flash-professional.html
    illustrator:  https://helpx.adobe.com/illustrator/using/setting-preferences.html
    indesign:  https://forums.adobe.com/thread/526990
    lightroom:  http://www.lightroomforums.net/showthread.php?14226-Resetting-%28or-Trashing-%29-the-Light room-Preferences-file
    photoshop:  https://forums.adobe.com/thread/375776
    photoshop elements: https://helpx.adobe.com/photoshop-elements/kb/preference-file-locations-photoshop-elements .html
    if that fails, uninstall, clean (Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6) and then reinstall.

  • Use Profile to Delete Existing Settings

    Is there any way that Profile Manager can be used to delete or remove existing settings on an iOS device?
    For example, we will be migrating to a new mail server soon. I would like to use Profile Manager to send out a profile to all user iOS devices to add the new mail account AND remove the previous mail account.
    I would also like to remove previous Calendar accounts and subscriptions as well as remove a Contacts account.
    I cannot find anywhere in Profile Manager that it seems to allow for the removal, deletion or replacement of any existing settings. Is this just not possible with Profile Manager?
    If this is not possible, what have others done in this situation to get the devices 'cleaned up'?
    I understand that I am coming into a situation where the iOS devices were manually configured initially and now will have a profile installed. If I were to start fresh with iOS devices that were based on an initial profile install, would what I'm looking for be possible then? In other words, if the Mail/Calendard/Contact accounts were initially created/added via a profile, would modifying that initial profile (ie. removing the initial accounts) result in those accounts being removed on the iOS devices?
    Thanks for any help as I get oriented to Profile Manager.
    Specs: Profile Manager 2 from Mac OS X Server 2.11 running on Mountain Lion 10.8.2.

    You can't remove or edit any settings that you haven't pushed a profile out for
    If you've manually configured mail cal  etc PM can't edit or delete it
    It will add another mail account cal account etc alongside the existing manual ones controlled by PM
    If you want rid of the old manual mail, cal settings your going to have to touch each device and delete them
    Your going to have to touch each device anyhow to get the devices  enrolled in PM if you have not already done so
    If the devices were manually configured you won't have any profiles installed on the devices
    Profiles appear in general, profiles xx number of profiles installed
    Deleting these profiles will remove the settings
    Yes with PM you can remove edit or add settings and push these out to devices, lock wipe etc
    You'll need to open the appropriate ports and forwarding if your going to push settings out to devices that maybe outside your LAN
    What I do is use apple Configurator to do a basic configuration with a profile to get the devices on my enrolment wifi
    Install server certs and auto enrol the devices in PM to speed things up
    PM is configured with user and device profiles for mail wifi VPN etc
    Using apple Configurator speeds up the process, less time spent tapping away
    If you use the default "settings for everyone" group in PM it's a user opt in download it's not pushed

  • I can't download new apps or updates for existing apps since I moved to ios7, is this common

    As above, is it possible to roll back to ios6

    What happens when you try to download or update apps?
    No, Apple does not support iOS roll back.

  • Vendor field not updated in CRM pricing condition table

    Hi,
    We have maintained condition table with Material and Vendor fields in ECC and table is active
    After replicating this table from ECC to CRM, vendor field not updated in table and it is inactive.
    There is any mapping settings required to update vendor field in CRM table from ECC.
    Please help me out to solve this issue
    Regards
    kishore kumar

    hi,  the data field of vendor is a standard one or custimizing one?
    I remeber there is a data mapping setting in CRM, for condition field.   If you want to mapping a ERP standard field to a CRM custmizing one, you need to setting your rule in it.  Maybe you can find it in SM30 view.
    I can't login a CRM system now, so sorry for not offer your the view name.

  • Can following query be used to find inserted update records.

    hi,
    i am using query1) to insert data query2) to update the record
    query1)
    INSERT INTO [t1]
               ( id
                ,createddatetime
               ,updateddatetime)
         VALUES
               (1
               ,GETDATE()
               ,GETDATE()) 
    query2)
    update t1 set updatedatetime=getdate() where id=@t1
    please tel me will two date cols get same time , that is, will i be able to 
    write following to find inserted/updated rows
    if exists(select * from t1 where createddt1=updateddt2)
    begin 
    select 'inserted'
    end 
    else
    begin 
    select 'updated'
    end
    yours sincerely

    Depending on how you execute both the queries there's a small chance date value comparison may not wok as expected as datetime also has timepart until milliseconds precision. So if you want to retrieve details on records inserted and updated you may use
    something like below
    query 1
    DECLARE @dt datetime
    SET @dt = GETDATE()
    INSERT INTO [t1]
    ( id
    ,createddatetime
    ,updateddatetime)
    VALUES
    (1
    ,@dt
    ,@dt)
    query2
    DECLARE @dt datetime
    SET @dt = GETDATE()
    update t1 set updatedatetime=@dt where id=@t1
    then you can do below to get inserted updated detailsif exists(select * from t1 where createddt1=updateddt2)begin select 'inserted'end elsebegin select 'updated'end
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • SQL Tool to insert/update/delete non english data

    I have a requirement to insert/update non English data using command line.
    I know that Sql*Plus cannot be used for this. I have tried Sql*Loader and that works fine for inserts.
    Question is can SQL*loader be used for updates and deletes too.
    Also which utility is the best one to be used in this scenario.

    In another forum I found out that SQL*Plus can actually be used for inserting unicode data.
    Re: Sql script not able to insert unicode data in table

Maybe you are looking for

  • AVCHD 1920 x 1080 Help Please

    Can any body please tell me if it is possible to remove the black bars at the top and bottom of my finished DVD, initially I start off importing my AVCHD files from my Sony HXR-MC50 into premiere pro cs5 the files are 1920 x1080. Once I have finished

  • [Oracle VM Manager 3.1.1] Unable to setup TCPS

    Hello, I'm trying the setup the TCPS protocol for Oracle VM Manager (OVMM) 3.1.1. I used secureOvmmTcpGenKeyStore.sh to create a certificate and secureOvmmTcp.sh to setup OVMM. However, when I start OVMM, I'm getting the following error and the TCPS

  • Microsoft releases fix for Windows Update corruption errors

    See ZDnet article Microsoft releases fix for Windows Update corruption errors found @ http://www.zdnet.com/microsoft-releases-fix-for-windows-update-corruption-errors-7000026582/ The Microsoft KB article is found @ http://support.microsoft.com/kb/947

  • /usr/include/libusb-1.0/libusb.h error update with libusb1

    Hi, today I run pacman -Syu but I have problem with core/libusb instead libusb1 update errore: impossibile eseguire l'operazione richiesta (file in conflitto) libusb: /usr/include/libusb-1.0/libusb.h è già presente nel filesystem libusb: /usr/lib/lib

  • Need help with a numbers formula

    Hi I am looking for the formula in numbers to do the following apologies if I havn't explained this properly: if I x is greater than y subtract z eg if A2 is greater than 7 subtract 1..... so if A2 was 9 B2 would be 8 but if A2 was 6 B2 would be 6