Not allow to add condition type, if it already existing

How to setting, if I want to control that not allow to add same condition type, if it already existing in the transaction.
For example,
PR00    100.00 USD/MT
ZDIS       10.00 USD/MT
ZDIS         8.00  USD/MT (Not allow to enter or add condition type)
Thanks!!
Edited by:
Edited by: Kitta on Jan 29, 2008 3:17 PM

Create A routine function for same .
I am given here the code also
Write the following codes given below in include file.
*&  Include           ZXVVAU05
Written for restriction in VA02 for Condition type duplication
DATA:   BEGIN OF tXKOMV OCCURS 50.
        INCLUDE STRUCTURE KOMV.
DATA:   END   OF tXKOMV.
data : tab_name(40) type c ,
       ld_len type i , ld_len1 type i .
field-symbols : <tab> type  any.
tab_name = '(SAPMV45A)XKOMV[]'.
assign (tab_name) to <tab>.
txkomv[] = <tab>.
describe table txkomv lines ld_len .
sort txkomv by kposn KSCHL .
delete adjacent duplicates from txkomv comparing kposn KSCHL .
describe table txkomv lines ld_len1 .
if ld_len1 ne ld_len .
  refresh txkomv .
  message e002(zmm) with ' Please remove duplicate condition in item price' .
endif .
4. Save and activate.
This has to be done thru Abap person ,Hope this will solve the problem of yours as it has mine.
regards
Manu Kapoor

Similar Messages

  • Zero not allowed for price condition type

    Hi experts,
       I have a scenario related to return. Based on the received return goods quality, we give different % of reimbursemnet to our customer.
      Currently, in my pricing procedure, I have
    PRICE COND 1 (which is the original selling price) (not allow manually change)
    HA00 (depends on the % of reimbursement, we apply a %. Let's say we give 70% reimbursement to our customer, then we input -30%)
    PRICE COND 2 (which is the net value of PRICE COND1 and HA00, calculate type is 2 - Net value)
    For PRICE COND 1, and HA00, we haven't assigned any account key to them, since they are for reference only and shouldn't have any account posting.
      The problem now is that, we received return goods with damage, and need to give 0% inbursement. For inventory point of view, we do receive the damaged goods and then directly go to scrap. However, when we try to input -100% in HA00 (so net price for that item is 0), error occurs when we issue credit for return, account cannot determined for PRICE COND 1 and HA00. It is because when PRICE COND 2 is not zero, PRICE COND 1 and HA00 are both become inactive in conditions. But now, since PRICE COND 2 is zero, both PRICE COND 1 and HA00 are become active and due to missing account key, it creates the error during account determination.
       Please kindly help. Thanks.

    hi gundam,
       why do u need to create a credit memo for 100% loss?
    just need the material movement document that will update the stock accounts then add a billing block.
    thank you and best regards.

  • Ever seen this error message? You tried to use HTML or other restricted code. We, currently, do not allow HTML or other types of code in our message board posts or signatures. Try again with simple text only.

    Trying to load this site
    http://southcarolina.247sports.com/
    and it redirects me to this address
    http://media.247sports.com/Oops.html?aspxerrorpath=/
    and gives me the error message. "You tried to use HTML or other restricted code. We, currently, do not allow HTML or other types of code in our message board posts or signatures. Try again with simple text only. "
    Thanks for your help

    Clear the cache and the cookies from sites that cause problems.
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • EDI Error : Condition EDI1 is not allowed as item condition

    Hi EDI Gurus,
    Right now I am getting the error while creating a Sales order through IDoc.
    "Condition EDI1 is not allowed as item condition"
    Clarify a few things to me:
    1. Where to pass the Customer Expected Price on the IDoc.
    2. How to maintain pricing Condition EDI1. (If it is necessary for processing of sales order)
    Please clarify these two things.
    Thanks,
    Matt

    I ran V/O8 transaction. There were a bunch of procedures listed in it.
    I was not sure which procedure I should look for EDI1 pricing condition.
    I checked RVAA01 (Standard) - there are two conditions EDI1 and EDI2.
    I am not sure what I should do. Whether they are already configured or not I am not sure.
    If they are already configured, why is it giving error in EDI process.
    MxG,
    Please enlighten me.
    Thanks,
    Matt

  • Price was not picking from the Condition type for Item Category 'P'  in PO

    Hi Experts,
    I Created one condition type based on Material and WBS which price was fixed based on this
    I used the Purchase Order having Item <b>Category ‘P’ or ‘Q’</b> Price should pick from the condition type where I mapped the WBS Element and Material.
    The Net price was not picking from the Condition type Record.  Why? What should be the Problem?
    Whether my logic is correct or not?
    <u><b>
    The Scenario:</b></u> I want to fix the Material price base on each WBS Element for a Project. For each WBS Element the Price will be various for same material.
    Please help on this.
    Thanks
    Muthukumar

    Hi,
    In standard configuration you cannot set item delivery date as a pricing data.
    Maybe you shoud look at SAP enchancement - in dedicated structures you can pass additional item data (structure KOKMP).
    IMG link:
    Materials Management -> Purchasing -> Conditions -> Define Price Determination Process -> System Enhancements
    hope it helps.
    regards,
    wojciech

  • The operation is not allowed for result set type FORWARD_ONLY

    Hi,
    I am trying to use scroll insensitive resultset in following manner-
    Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY);
    ResultSet rs = stmt.executeQuery("some sql here");
    rs.last();
    but the rs.last() throws this exception-
    com.sap.dbtech.jdbc.exceptions.SQLExceptionSapDB: The operation is not allowed for result set type FORWARD_ONLY.
         at com.sap.dbtech.jdbc.ResultSetSapDB.assertNotForwardOnly(ResultSetSapDB.java:2725)
         at com.sap.dbtech.jdbc.ResultSetSapDB.last(ResultSetSapDB.java:557)
    Database version: Kernel    7.5.0    Build 019-121-082-363
    Driver Version: MaxDB JDBC Driver, MySQL MaxDB, 7.6.0    Build 030-000-005-567
    This used to work with 7.5 version driver. Why this is failing with 7.6 driver, any clues?
    Thanks,
    Vinod

    Hi Vinod,
    due to performance improvement when using forward only cursor we changed the default for the resultset type from TYPE_SCROLL_SENSITIVE to TYPE_FORWARD_ONLY starting with JDBC driver version 7.6. So I guess the exception comes from a statement where you didn't set the resultset type while creating it. Please check if all of the statements that you want to be scrollable have set the correct resultset type.
    Regards,
    Marco

  • Import not allowed on nodes of type element declaration

    I have 2 very simple transformation processes, consisting of:
    1. hit a web service
    2. filter the output
    3. transform into a variable of type defined by a schema document
    4. get the variable as a string
    5. call another web service and pass the string
    The processes are identical except for the variable type. One process works, the other fails when converting to a string. Here is the error message:
    <2005-10-25 11:33:40,627> <ERROR> <default.collaxa.cube.xml> ORABPEL-09500
    XPath expression failed to execute.
    Error while processing xpath expression, the expression is "orcl:get-content-as-string(bpws:getVariableData("OutputDocument"))", the reason is import not allowed on nodes of type element declaration.
    I can successfully use an xsl to convert the variable to a string, but when I utilize the assign activity, it produces the error above. Obviously, the schema files are different for the 2 variables, but I cannot see a problem. The schemas are both valid.
    Has anyone encountered this error?
    Thanks,
    Dave

    The cast does not throw an exception, but the resulting string is empty.
    The problem is that I do not understand the error message. I am not sure what import it is referring to.
    Thanks

  • Rebate-Manual payment is not allowed for this agreement type

    Hi,
    While processing the Rebates, after the Sales cycle till Billing document, when i i try to process the partial settlement it is givin a message as "Manual payment is not allowed for this agreement type"
    could you please suggest.
    Regards
    AS

    Hi AS
    If you want to do manual payment then in VB)2 select the Agreement type and then in that agreement type check wheather Manual rebate order type has been assigned or not and Manual payment has been checked or not . If they are not maintained and Checked  then maintain the rebate document type and check the box Manual accruals and then you can do Manual Payment for that agreement
    Regards
    Srinath

  • Measuring Point during IK01 not allowing characteristics with CHAR type

    Hi Experts,
    Measuring Point during IK01 not allowing characteristics with CHAR type Only allows NUM,
    could you anyone suggest on this.
    Regards
    Nitin

    May i know the reason of such implementation?
    You can use group code and valuation code for assigning predefined values to measuring documents.
    Moreover text field can be used for assigning short text to it.

  • System should not allow to add line items in delivery

    Hi,
    1) system should not allow to add line items in delivery( in reference to sales order or STO)
    2) sales order/STO should not be changed if delivery exists
    how to control the above
    Alec

    Hi Lakxmi,
           I found answer for 1st point from you are old answers.
          can you throw somelight on 2nd point.
    Thanks
    Anil

  • I'm trying to buy CC Photoshop/Lightroom packages. In order to complete payment, I need to change the country from the default options (United States) to Brazil, But I'm not allowed to do it. I've already changed my origin country in my account informatio

    I'm trying to buy CC Photoshop/Lightroom packages. In order to complete payment, I need to change the country from the default options (United States) to Brazil, But I'm not allowed to do it. I've already changed my origin country in my account information.How do I change the country in order to complete payment?

    These are the two links I have
    Change/Verify Account https://forums.adobe.com/thread/1465499 may help
    -http://helpx.adobe.com/x-productkb/policy-pricing/change-country-associated-with-adobe-id. html
    If the above doesn't help, you will have to contact Adobe (this is an open forum, not Adobe support)
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

  • Impdp ORA-31684: Object type USER:"USERNAME" already exists

    Hi,
    I use expdp/impdp to duplicate one schema in a database like this:
    expdp system/manager@DB SCHEMAS=SCHEMANAME
    then I drop destination Schema like this
    drop user SCHEMANAME_NEW cascade;
    create user SCHEMANAME_NEW identified by PW default tablespace TABLESPACENAME;
    and impdp like this
    impdp system/manager@DB FULL=Y REMAP_SCHEMA=SCHEMANAME:SCHEMANAME_NEW
    and I get this error:
    Processing object type SCHEMA_EXPORT/USER
    ORA-31684: Object type USER:"SCHEMANAME_NEW" already exists
    I know that the import was successful, but this error breaks my hudson build.
    I tried to add exclude like this
    impdp system/manager@DB FULL=Y REMAP_SCHEMA=SCHEMANAME:SCHEMANAME_NEW exclude=USER:\"=\'SCHEMANAME_NEW\'\"
    I need to get rid of this error.
    Thx

    You get this error because you precreated the user. All you need to do is add
    exclude=user
    to either your expdp or impdp command. Or let impdp create the user for you. If you need it to have a different tablespace you can just use the
    remap_tablespace=old_tbs:new_tbs
    This should take care of the default tablespace on the create user command.
    Dean

  • Not Possible to determine condition type- supplementry condition STO sch ag

    Dear All ,
    While creating the stock transfer scheduling agreement in the transaction ME37, Stock transfer pricing schema is getting is picked up. where the standard condition type :P101 is being used for picking the Material valuation price of the supplying plant.
    Now for adding the delivery cost or any other conditions , while we are trying to enter  other conditions in the Item Conditions in ME37, system is giving an error message "NOT POSSIBLE TO DETERMINE THE CONDITION TYPE".
    As NO Access sequence is attached to the condition type : P101, and at the same time, Supplementry pricing procedure is assigned to the condition type : P101.
    When we assign the access sequence(e.g 0002) to the conditon type P101 , then system allows us to give the supplementry conditons while creating the scheduling agreement , BUT at the same time material valuation price from supplying plant  is not getting picked up in either scheduling agreement or stock transfer order.
    Requirement is that BOTH material valuation price as well as system allows us to give the supplementry conditions in the scheduling agreeement.
    Thanks & Regards
    Nitin Chhabra

    .

  • Tax rate is not appearing automatically in Condition Type of PO

    Hi,
    input tax is configured and acessed to condition type. In PO if we put the tax % in Tax code . The input tax is generated and adjusted against the vendor. but i want the exact % is to be appeared in the condition type maintained. as because the print preview of PO is not showing any tax amount. If we put the tax rate manually then it is  showing. how can i resolve the above issues.
    rgds
    satyajit

    Satyajit,
    As per you reply message,
    - You have maintained tax code X5 for MWVS.
    - Simultaneously maintained condition record.
    - The intention of above two activities are same. First one is formula based to determines tax in PO>Invoice tab> taxes. Second one also determines tax through condition record.
    However you are asking tax as PO conditon. That means a manual tax condition. Is it right?
    For getting condition rate determination in pricing, you have to maintain condition record for pricing condition type.
    Please revert back with more details to better understand.
    warm regards
    sairam akundi

  • HT204410 Photos not allowing to add or edit location data

    The new Photos app does not allow location data to be edited or added.
    For those users who own a camera without a GPS, there is no way to add the location data to the photos which defeats the purpose of having the map function if some/most/all of your photos can't be included.
    I spent a great deal of time updating my locations, using the Location Manager, in iPhoto only to find that they have been replaced with simplified locations.  For example, Waterworld has been replaced with a Suburb/State location.
    The new app has severe limitations compared to iPhoto.  As bad as iPhoto was, these limitations make it extremely hard to work with.
    Apart from the location issue above, photos can only be sorted by name.  In Event view, any new events are added to the bottom of the list.  Faces are ordered by, what appears to be, the number of photos associated with the face.  So when your adding faces from the suggested faces, one has to look closely at the faces to find the face to associate the photo with.  If the library contains a lot of Faces, then this can be a difficult task.  Also, when selecting faces from the Suggested Faces list, multiple faces cannot be selected and each photo has to be moved, or ignored, individually.
    I had a smart list which showed all of the un-named faces but that has gone and there doesn't seem to be a way to show all of the photos with named faces other than to go through each photo individually.

    Thanks for your reply.
    If I have to use iPhoto, then that begs the question: Why would I want to upgrade to the new app?
    It's not a good situation to have to use the old app (iPhoto) just to geotag my photos.
    When I refer to the sorting issue, I had the sidebar visible.  When not using the sidebar, the organisation is still not very good.  For instance, to find my wedding photos, I must  locate the event by drilling down through the years, collections etc.  Or to view ALL of the photos taken at my house is now impossible as the location is now the same as my child's school!
    As for the date sorting, I can't change it so that the most recent appear at the top.  I must scroll down.
    It's a terrible app given what iPhoto used to provide.  I'm using it on my desktop, not a mobile phone.  What applies to memorial doesn't, nor should, be applied to my desktop as there are quite different constraints.
    By all means, have continuity (or whatever they call it), but don't constrain the desktop app to the capabilities of a mobile.  It's just plain silly!

Maybe you are looking for

  • Folders locked in Time Machine after changing hard drive

    2008 iMac running Lion 10.7.5 I have had a larger hard drive installed on my iMac and all the data migrated to the new drive. Time Machine has done a complete new backup but I can't access any of the older backups on Time Machine from the old hard dr

  • Maximum Conditions in a Filter

    I have a user that is unable to update their security group membership filter because SQL is saying the query is too deep. The filter looks like: Any of the following All of the following   - some condition   - some condition   - some condition All o

  • Using Mountain Lion on my Macbook and somehow the appearance of my mailbox changed. How do I get it back to what it was. Have not downloaded any updates to cause this.

    I am using Mountain Lion OS. Somehow, while trying to sort oout problems with my ISP, my mail changed appearances. I cannot seem to get it back to the original settings. Any help would be appreciated. Thanks!

  • Lost iTunes Music directory

    I recently lost my network drive, once I got the drive restored and all my files restored, iTunes lost track of about half my songs. Now it wants me to locate those songs which are still in the same place, is there anyway to get iTunes to relocate al

  • Sale of  RM

    Dear  Gurus Need your help with this scenario. Imported RM has been sold and excise duties passed on to the client.  The problem is have to keep the material type as RM but the valuation class as trading gds...but this option is not there. Also havin