Disable more than one entry for a particular condition type in VF02 / VF01

HI,
I am using vf02 transaction.In the header under pricing I am using a Z condition type to enter conditions ZTO1.
The problem is  manual entry is allowed in header so the user is able to create more than one row for condition type ZTO1 which is wrong.
I need to restrict this.Only one row should be allowed for condition type ZTO1.
Please let me know if there is any configuration for this or then Ill need to use a screen exit or any other exit for VF02 / VF01.
Awaiting reply....
Thanks & Regards,
Sheetal.

Hi,
You can make use of pricing Requirement routine for checking the manual entry and display error if wrong.
These requirement routines can be maintained\created in VOFM->Requirements->Pricing.. For refrence check the coding in some of the already maintined routines..
I hope this will be helpful.. Reward points..

Similar Messages

  • SapScript - Print table out_par - more than one entry for object

    Hi Gurus,
    following problem.
    I have a SapScript form and call an external program from within the form.
    In this programm I get more than one entry for the same out_par-value - this is correct.
    My problem now is that on the form there is only printed one of the entrys.
    Here my coding in SapScript.
    /:           DEFINE &ZZ_OBJECT& = '        '
    /:           PERFORM LESEN_OBJEKTLIST IN PROGRAM ZIHFORM
    /:           USING &CAUFVD-AUFNR&
    /:           CHANGING &ZZ_OBJECT&
    /:           ENDPERFORM
    *           All involved object:
    *           &ZZ_OBJECT&
    Many thanks in advance for your help.
    Regards

    In Sapscript PERFORM-ENDPERFORM statements, the parameters can contain only one value as they are variables of type character & length 80.
    If you want multiple values in your CHANGING parameters, fetch all of them in different variables. Also, in your program store them in the same order, in the output internal table of structure ITCSY.
    Check this thread
    http://wiki.sdn.sap.com/wiki/display/profile/ExternalSubroutinesinSAPScript

  • More than one index for a column.

    Hi,
    I am trying to create more than one index for a particular column of the table.But oracle does not allow more than one index for a column.
    I just want to make sure whether we can add more than one index for a column
    and if yes what are the scenarios.
    Because as far as i know some database allows more than one index for a single column.

    You cannot create more than one index for the same column(s).This is not so true Nicolas. Look at following example:
    SQL> create index idx_mytest_id on mytest(id);
    Index created.
    SQL> create index idx_mytest_id_desc on mytest(id desc);
    Index created.
    SQL> create index idx_fbi_mytest_id_upper on mytest(upper(id));
    Index created.
    SQL> create index idx_fbi_mytest_id_upper_desc on mytest(upper(id) desc);
    Index created.
    SQL> create index idx_fbi_mytest_id_lower_id on mytest(lower(id));
    Index created.
    SQL> create index idx_fbi_mytest_id_lower_id_dsc on mytest(lower(id) desc);
    Index created.
    SQL> create index idx_fbi_mytest_id_tr_up on mytest(trunc(upper(id)));
    Index created.
    -- I can still continue but for this example this will be enough
    SQL> select index_name from dba_indexes where table_name = 'MYTEST';
    INDEX_NAME                                                                                                    
    IDX_MYTEST_ID                                                                                                 
    IDX_FBI_MYTEST_ID_UPPER                                                                                       
    IDX_MYTEST_ID_DESC                                                                                            
    IDX_FBI_MYTEST_ID_UPPER_DESC                                                                                  
    IDX_FBI_MYTEST_ID_LOWER_ID                                                                                    
    IDX_FBI_MYTEST_ID_LOWER_ID_DSC                                                                                
    IDX_FBI_MYTEST_ID_TR_UP                                                                                       
    7 rows selected.You can see 7 indexes for one column (ID) and I could still continue...
    So according this test we can say you can't create more than one index for one column (or the same group of columns in case of composite index) with same condition(s).
    Message was edited by:
    Ivan Kartik
    Or simplified: you can't create the same index for same column(s) twice :-)

  • More than one entry in /etc/defaultrouter

    To my surprise, it's possible to put more than one entry in /etc/defaultrouter. It's even documented in the man page and if you do it you end up with what looks like more than one default route. But what's does it mean to have more than one default route? Does the kernel apply some kind of heuristic to decide which one to use? Does the default route with no device get ignored?
    $ cat /etc/defaultrouter
    10.8.60.1
    10.8.127.1
    $ netstat -nrv
    IRE Table: IPv4
    Destination Mask Gateway Device Mxfrg Rtt Ref Flg Out In/Fwd
    default 0.0.0.0 10.8.60.1 1500* 0 1 UG 761582 0
    default 0.0.0.0 10.144.128.1 e1000g3 1500* 0 1 UG 3546367 0
    10.8.60.0 255.255.252.0 10.8.61.22 e1000g0 1500* 0 1 U 2703697 0
    10.144.128.0 255.255.252.0 10.144.131.243 e1000g3 1500* 0 1 U 119119 0
    224.0.0.0 240.0.0.0 10.8.61.22 e1000g0 1500* 0 1 U 0 0
    127.0.0.1 255.255.255.255 127.0.0.1 lo0 8232* 0 52 UH 22475898 0
    $

    john_lilburne wrote:
    To my surprise, it's possible to put more than one entry in /etc/defaultrouter. It's even documented in the man page and if you do it you end up with what looks like more than one default route. But what's does it mean to have more than one default route?Probably not what you want.
    Does the kernel apply some kind of heuristic to decide which one to use? Does the default route with no device get ignored?Round robin.
    What do you mean by "no device"? You have to have an IP destination or the route couldn't be configured. But that IP destination doesn't have to be currently available. Unplugging a cable doesn't take an IP interface "DOWN", nor does it modify the routing table.
    If you need dynamic, failure-resilient routing, then you'd have to run a routing update protocol. The contents of /etc/defaultrouter are for static routes.
    Darren

  • Light Switch 2011 "C#" How to allow filter which take more than one entry to take * and show all other entries?

    Dear All,
    I have created the following code which extended my filter functionality and allowed a to take more than one entry (Comma have to be inserted after
    each entry). 
    For example:
    "Country Filter" can take ----> Germany,Egypt,Holand<o:p></o:p>
    "City Filter " can take ---------> Berlin,Münster
    if (Country_PAR != null)
    String[] Country_Array = Country_PAR.Split(new Char[] { ','});
    query = from p in query where Country_Array.Contains(p.Hotel_Country) select p;
    if (City_PAR != null)
    String[] City_Array = City_PAR.Split(new Char[] {','});
    query = from p in query where City_Array.Contains(p.Hotel_City) select p;
    Now want to extend it more and say something like:
    If  * is included ---- > Give me all entries        
         ex. Ge*     This will give me everything which starts with Ge
    If <> is entred -----> Give me entries which are not equal to a certain entry
         ex. Country Filter = <> Germany          give me all other entries except Germany
    Thanks alot,
    Zayed

    Thanks your reply. I mean no one know my feeling. except if the new car is your. If Geek Squad can't install it. Just let me know and go. right? I ask many time? Are you ok to finish? He said yes. First time fail after 5 hours long wait and tow my car to Toyota repair. Second time said only take 20 to 30 minutes to program the key. but fail again after about 4 hours 30 minutes long wait and head light is not automatic turn on at night. I have to take a day off drive to Toyota repair. My time is money. wait there more than 10 hours and done nothing. 5 days no car and take the subway Bus and long walk. How do I feel? I m the customer. if without the customer. How you get pay? Geek Squad use my remote start and alarm and I can't return it. I loss time and money. My new car has a repair record. That is what Bestbuy want to do for the customer. Geek Squad work for Bestbuy. right? You are not just loss one customer. You will loss more and more than the remote start alarm cost. Bestbuy will not know? How come just 200$ remote start alarm and the 50$ module. Bestbuy don't want to reimburse. I m not tell you to pay me 5 days for rental car. why don't just want a happy ending? Bestbuy is big company. I m very small. 250$ it cost Bestbuy nothing. You can't let the customer loss money because you. right?

  • Can I have more than one ID for my iPad

    Can I use more than one ID for my iPad, iPhone and iPod.? I am using the same for all 3 now.
    My wife have one iPod and can I share my apps with her.? And if...How?
    We are using the same computor for all devices.
    Thanks in advance....
    Best regards.....Reidar45

    The spell check goes with the keyboard layout being used.  Just activate both English and French in Settings > General > Keyboard and then use the Globe key to switch between them.
    (I think there is bug in Pages, however, so that this doesn't work for that -- you have to change the OS language).

  • Can i create more than one instance for single database?

    HI
    anybody can tell me how to create more than one instance for single database(without using RAC)?
    thanks
    Kalanidhi

    Anandji,
    I sometimes think differently. I also think like what this person is asking..(although I have installed and administering 5 different RAC databases)
    The main doubt of mine is that we create multiple instances accessing the same storage area.
    Anyway the controlfiles of all instances will have the same information except the instance_names and instance id's.
    Hence I always think , why can't it be possible to to create another instance in the same system and point it to a controlfile which is copied from the other instance.
    Why can't the same files be shared between the two instances in a same system ?
    I know I am thinking a little bit confusing...
    Anyway I need to test that also...
    Mahesh.

  • Creating more than one account for a single user

    I was wondering, if I creat more than one account for me (the only person that uses my powerbook) is that going overboard? I mean, lets say I am logged into the standard account and I want to learn more about the bash shell and using terminal which I am new to, if I **** something up will the whole system be toast or will only things in that account be messed up? Like could I then just log into my admin account and delete the other messed up one? Or no? My theory was that this was a way of keeping my comp safe from myself, being that I am new to macs and moreso that I am new to the unix side of things and want to start learning the command line without worrying about screwing up my whole system. I would just use the standard account for everyday use (like what I do now) or experiment with terminal, and when I need to download something or change some settings that requires me to be logged in as admin then I would log in and download what I need then log out and use it in the standard account...am I just wasting my time? Is what I am doing any "safer" than just having one admin account and thats it?
    Thanks for all the help! It feels good to be a part of the goodguys team =)
    Thanks again!

    Ghost,
    First, I don't subscribe to the "one should not use an admin account" philosophy. For someone who is the owner and main user of any given machine, I see the use of anything but an admin account a bit anal, totally unecessary, and needlessly complicating.
    On the other hand, I don't see the need for more than one admin account on any given machine. Yes, I see exceptions to this, and many people favor having a second admin account as a "backup," but I have never had more than one admin account on any of my machines, and have never encountered a situation where one would have helped.
    In short, I like the idea of having a "main" admin account that is used most of the time, and then having "secondary" accounts (all non-admin) for any additional users that might log in.
    Now, any limitations that apply to you as a GUI user of an account, admin or not, will apply to you at the command line as well. In other words, you can't get yourself into any more trouble at the command line than you can within the GUI. In fact, you might even be better protected at the command line than you are in the GUI. I say this because any action that would ordinarily "elevate" you above the standard capabilities of a non-admin user require the use of "sudo." Avoid the use of sudo, and you can avoid any problems.
    That doesn't mean that you wouldn't be able to do something stupid that might wreck an account that contains "all of your stuff," and on which you depend. It is not likely that you would damage your System, but it is entirely conceivable that you might, for example, accidently delete or overwrite your entire HOME folder. Oops!
    If you simply don't trust yourself with the command line, a second account might be a good place to experiment. Maybe create it as a non-admin account at first, with the option to change it to an admin account at a later time, when you want to learn how to use "sudo" to do more powerful things. By then, you will understand what not to do. Eventually, you will have the confidence to use the command line in your own account, which will have been an admin account all this while.
    Scott

  • How to pass more than one value for one column in procedure

    hi
    select id, name from col_tab where dept_name in ('ECE','CIVIL');
    when i was running this it is working well.
    CREATE OR REPLACE PACKAGE pack_str
    AS
    TYPE type_refcur IS REF CURSOR;
    PROCEDURE str(char_in VARCHAR2,ans OUT type_refcur);
    END pack_str;
    CREATE OR REPLACE PACKAGE BODY pack_str
    AS
    PROCEDURE str(char_in VARCHAR2,ans OUT type_refcur)
    IS
    BEGIN
    OPEN ans FOR
    select id,name from col_tab where dept_name in char_in ;
    END str;
    END pack_str;
    the package was created.
    my doubt is
    1.how to pass more than one value for char_in (e.g ('ECE','CIVIL'))
    2. when i was storing the value in string like val = 'ECE,CIVIL' ,
    how to get the id,name for ECE and CIVIL.
    plz help me

    Hi Rebekh ,
    I am recreating your packages for the desired output.
    CREATE OR REPLACE PACKAGE pack_str
    AS
         TYPE type_refcur IS REF CURSOR;
         PROCEDURE str(char_in VARCHAR2,ans OUT type_refcur);
    END pack_str;
    CREATE OR REPLACE PACKAGE BODY pack_str
    AS
         PROCEDURE str(char_in VARCHAR2,ans OUT type_refcur)
         IS
              lv_t varchar2(200);
         BEGIN
              lv_t := REPLACE(char_in,',',''',''');
              lv_t := 'select id,name from col_tab where dept_name in (''' || lv_t || ''')' ;
              OPEN ans FOR lv_t;
         END str;
    END pack_str;
    Note:-
    Input Parameter char_in is a comma seperated value for dept_name
    -Debamalya

  • More than one role for a clip.Is it possible?

    Is it possible assign more than one role for a clip?
    thx

    Only one video role, only one audio roll, per clip.  Only one as these are "Media Stems", and when you work with Stems, only one roll per asset video, one per asset audio.

  • More than one style for a single link state?

    RH 8 outputting CHM
    Hello,
    Is it possible to define more than one style for a single link state?
    For example, I would like a link in the footer of my master page to be smaller than the links that appear in the body of my topics. I want to retain behavior, and simply change the point size.
    I can't simply hand format in Design mode, because my link is within a script. Or, am I missing something easy here?
    Thanks much.

    I'm pleased to say I figured out how to change the formatting of a hyperlink embedded within a script.
    Within the script, I used a var string to reproduce the text in my link. Then I used another var to change the string size.
    So, here's the part of my script that produces what I'm after:
    var mailDisplay = 'Was this information helpful? ';
    var str = 'Was this information helpful?';
    var mailDisplay = str.fontsize("1");
    Upon generation of the CHM, the script trumps the CSS. It's a beautiful thing.

  • Pass more than one argument for action in the URL

    Hi,
    i've created a DesktopURL object with which i refere back to the Front Page. With the same URL i want to minimize two channels at the same time. I know that i can minimize one channel with the "action=minimize&provider=myProvider" attribute.
    Is there a way to pass more than one provider for an action ?
    Or exists another way to do that ?
    thx

    In fact, my code was completely right. I tried with commas and it hasn't work. When I tried again without commas it worked perfectly...
    Nevertheless, thanks for the advice!
    Gilmar

  • Can we give more than one value for an Authorization field in Auth-Check.

    Hi all,
    Can we give more than one value for an Authorization field in Auth-Check.
    Ex: AUTHORITY-CHECK OBJECT 'S_TRVL_BKS'
    ID 'ACTVT' FIELD '02'
    ID 'CUSTTYPE' FIELD <Value 1> <Value 2> <Value 3>.
    IF SY-SUBRC 0.
    MESSAGE E...
    ENDIF.
    If yes, please help me with exact syntax.
    Think it will be like
    ID 'CUSTTYPE' FIELD: <Value 1>, <Value 2>, <Value 3>.

    Hi,
    yes we can give more than one field.
    program an AUTHORITY-CHECK.
    AUTHORITY-CHECK OBJECT <authorization object> 
       ID <authority field 1> FIELD <field value 1>. 
       ID <authority field 2> FIELD <field value 2>. 
       ID <authority-field n> FIELD <field value n>. 
    The OBJECT parameter specifies the authorization object.
    The ID parameter specifies an authorization field (in the authorization object).
    The FIELD parameter specifies a value for the authorization field.
    The authorization object and its fields have to be suitable for the transaction. In most cases you will be able to use the existing authorization objects to protect your data. But new developments may require that you define new authorization objects and fields.
    please reward points, if it is useful.
    satish.

  • Can we have more than one contructor for one class?

    I need to provide more than one constructor for one class because I need to have one parameter passed to one constructor and many to another. Is that possible and how it will affects in the instantiation of the object?
    Thanks again
    Jorg3

    One more note about constructors...
    if you define a constructor to take argument(s)
    and don't define the default constructor it is not available.
    Example
    public class myClass
       public static void main(String args[])
          // Ok
          myClass c = new myClass("Hello World");
         // Not Ok
         myClass c2 = new myClass();
       } // main
       public myClass(String name)
          named = name;
       } // myClass
      String named = null;
    } // myClassIf you want to be able to construct the object with the default and parameter constructors, you must declare them all...
    public class myClass
       public static void main(String args[])
          // Ok
          myClass c = new myClass("Hello World");
         // Ok
         myClass c2 = new myClass();
       } // main
       public myClass()
          named = "No Name";
       } // myClass
       public myClass(String name)
          named = name;
       } // myClass
      String named = null;
    } // myClass

  • Can we have more than One DC for the sales organization and Plant combo?

    Can we have more than One DC for the sales organization and Plant combination?
    If yes can you please site a practical example to clear the picture

    Hi
    First of all in SAP sales orgs are assigned to distribution channels and the combination of sales org and distribution channel which is called distribution chain is assigned to plant
    There is  no direct link  between sales org  and plant or distribution channel and plant
    So  sales org  and plant combination doesnot exists and
    it is only sales org and dist channel combination which is  called as distribution chain only exists
    Nowhere in SAP we are assigning sales org to plant
    It is because sales org alone doesnot make sense and its combination with dist channel only makes sense
    because sales org is a selling org and the distribution channel is the route to sell and this combination has only to pick the material from plant to process sales to customers
    The relation between sales org and distribution channels is many to many and also vice versa
    Multiple sales orgs can be assigned to one distribution channel and
    Multiple distribution channels  can be assigned to one sales org
    Similarly the relation ship between Distribution chain (sales org+dist channel) to plant is also many to many and vice versa
    Similarly plants from other company codes can also be assigned to Distribution chain to facilitate intercompany processes
    In whatever way look at it the multiple distribution channels can be fit anywhere
    Regards
    Raja

Maybe you are looking for

  • 17" Studio Display with 1st gen 12"pb

    I have a 17" studio display that I would like to hook up to my 12" PB from time to time and I'm not sure what I need to do this. I thought I had some of the connectors for this to work but I guess not. 1st generation powerbook.

  • TV Show Sync Issue

    Hello, I have an new iPad 2 and can't sync TV shows anymore. I already deleted the SC Infor folder and tried everything else. While iTunes seem to sync the movie and iPad shows from a space perspective that the TV Show is on it, it still doesn't show

  • Project Settlement for Post Capitalisation Assets (CJ88) or CJ8G

    Hi All, I would like to settle projects to an asset that should have been capitalised in a previous fiscal year. i.e. post capitalisation.  When I post to an asset created with "post capitalisation" indicator, the FI journal does not show the correct

  • Auto Increment column query

    I have a very simple table used for debugging: CREATE TABLE APPS.XX_DEBUG_TMP   TEMP_VALUE  VARCHAR2(255 BYTE),   TEMP_DATE   DATE )Then I can use it to store values as my pl/sql is processed - e.g.: INSERT INTO XX_DEBUG_TMP (TEMP_VALUE,TEMP_DATE) VA

  • Consuming 3rd Party Web Service - Proxy Generation Error

    Hi All, I am trying to consume a third party Web Service in SE80 and get the below error while completing the steps to configure proxy class. "Exception Occurred in Configuration Handler" Uninstantiated object "new child subject" in method IF_SRT_WSP