Add validation in login using :p1-1_user_name

Hi,
Is it possible to add validations in login ?
I can't uses the :p101_user_name value to validate,
the value is still unknown.
Is there a way ?
Regards,
Raanan.

Hi
This is one thing I don't like about Apex... in most places, you can type an nonexistent field name and Apex will simply ignore it (I assume that it will evaluate to NULL and Apex will assume that it hasn't been initialised yet?) instead of raising an error or warning.
I don't know if this is on purpose or not (if it is, does anyone know the advantages of this?), but in a few occasions I have spent a few hours solving problems related to this feature...
Luis

Similar Messages

  • How to add system to login using sid adm user in HANA Studio

    Hi,
    I have added SYSTEM user for my TEST system in HANA Studio. Now, I would like to add TEST system but using <sid>adm user.
    It shows "The system cannot be reached. The logon data could not be used. Do you want to add the system anyway?".
    May I know how to add TEST system using <sid>adm user?
    Thank you.
    regards,
    zl

    You need Database user, not operating system user <sid>adm user.

  • Validating user login using XML

    Hi,
    Given a set of user information in XML, is it possible
    to validate the user login without any front end login modules? Can we introduce a J2EE project with some helpers or listeners in such a way that whenever the URL is hit, the helper/listener takes the XML from request?And after extracting user info from XML, validating the same by interacting with UME?Can I get some suggestions in this ground? Thanks..

    Depends on how you are asking for input. For instance with a jtextfield, you create a plaindocument object and pass that into what component you want to have validation.... That a look at the api for reference...
    http://java.sun.com/j2se/1.3/docs/api/javax/swing/text/PlainDocument.html
    But, if all you want to do is convert a string to an integer try
    Integer.parseInt("12345");
    and check if that throws an exception...

  • Azure powershell gives the error :Your credentials have expired Please use Add-AzureAccount to login again.

    Azure powershell gives the error :Your credentials have expired Please use Add-AzureAccount to login again.
    Keep receiving the same error even after logging in again and again.
    I want to create credentials for my storage account and want to take backup of a database on azure storage account.
    Please help.

    I had the same error and it was caused by the newest versions of Azure PowerShell. I had to install back to version 8.14 (February 2015) in order for it to work.
    http://az412849.vo.msecnd.net/downloads04/azure-powershell.0.8.14.msi

  • Problem in testing UI add-on after login method changes

    Dear All Experts/Gurus,
    I have changed login method to a new one of a UI Add-on (because I just have SDK implementation version license). Using add-on identifier generator, I generate the add-on identifier string and put on the source code :
    Public Sub GetApplication()
        Set oSboGuiApi = New SAPbouiCOM.SboGuiApi
        oSboGuiApi.Connect Command
        oSboGuiApi.AddonIdentifier = "4CC8B8ACE0273A61489738C94047855DE8768CDD37F64D4F11E82759A542BD545D5A6E4D50A39B9E9FB20FA944FF35C5B60FE779"
        Set SboApplication = oSboGuiApi.GetApplication
    End Sub
    After recompile it, I want to prove it by sending it to other friend's (work mate) PC/notebook with different license and hardware key. The error message when installing/starting the add-on is :
    Runtime error '-7200 (ffffe3e0)':
    Connection - Connection string doesn't match UI development work mode.
    If the error happened, I just guessed that the login method change is success. I also read the SAP new license mechanism states that if the add-on is developed using SDK implementation version, it will only be able to install/use in the customer network PC and so on, ....etc.
    The problem is that I am not fully sure if my guess is correct. I want to conduct some testing. I tried to request new temprary license with compatibility license is over within 2 days, but unsuccessful. Would you please to tell me if there is another way to prove/test that  the add-on will be able to start after the compatibility license for add-on expires ?
    I appreciate your answer so much. TIA
    Rgds,

    Hi Steve,
    The AddOnIdentifier you obtain by selecting Development or Implementation options while creating the AddOnIdentifier depends on the license manager.
    If you change the license manager to another machine or someone connected to a different license manager try to run your code you it will not work.
    It is quite clear in the <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/13d67f3c-0e01-0010-eba2-cab13a5979c2">License Guide</a>:
    <b>Development License</b>
    This license is required for partners developing add-ons and the only license allowing distribution. <i><u>In Development license, the license key is shared by all developers connected to the same License Service</u></i>. The License Service allocates licenses on the basis of first-come, first-served.
    <b>Implementation License</b>
    This license is required for customers intending to develop small modifications or add-ons for their own use using only the UI API.
    <i><u>Add-ons developed under the Implementation license cannot run with a different License Service other than the one that was used for their development</u></i>. The Implementation license does not allow
    distribution to third-parties.
    Regards
    Trinidad

  • How to add rows in tableview using javascipt

    Hi
    I had tableview and button in my page.If i click on the button one new row should be appended to the existing tableview.
    so , how to add rows in tableview using javascipt which are editable?
    Regards,
    Pydi.

    Hi,
      Javascript is client scripting language, which is mainly used for validations at the client side.
      To add new row using a HTMLB tag ucannot use javascript. Instead pass "visibleRowCount" variable to a abap variable and add the variable on every button click.. that wil increase the visible row count.
    Also the size of the table view is the size of the itnernal table, so append a blank like to the internal table or insert it at the top.
    If you are not using HTMLB tags and using simple HTML tags u can always add a row using java script.
    Regards
    Imran.

  • Remote Login Using SM51 Fails

    Hi All,
    We had a cluster, 4 physical servers / 14 SAP Instances / HP-UX - Oracle 10G / 46C -> Upgrading to ECC 6 EHP 3.
    Basically we have a general RFC problem in the system. You can reproduce it simply in transaction sm51: In most of the instances whenever you try to change to an instance that has the same instance number than the one you are logged on at this moment, you will come back to this instance, e.g.:
    you are logged on at host1_SID_01, start sm51 and try to change to the instances:
    host2_SID_01,
    host3_SID_01 or
    host4_SID_01
    (or you try to display the system log or other). You will see (System - Status) that you don't change to these instances but will stay on host1_SID_01.
    We found the SAP Note 662895 - Remote login using SM51 Fails.  In this note they refer to the error:  "Transaction termination 14 025".
    We look at the SM21 it reports the following error: *Transaction termination 00 152 ( ) *
    I would appreciate some tips about this problem.
    Best Regards,
    Erick ILarraza

    Hi Martin,
    Thanks a lot for your reply.
    Yes, the parameter is set.
    ParameterName  SAPLOCALHOSTFULL
                                                                                    Short description(Engl)     missing                                                              
    Appl. area                       General system                                                       
    ParameterTyp                  Host name                                                            
    Changes allowed             Change permitted                                                     
    Valid for oper. system      All operating systems                                                
    DynamicallySwitchable   (Not Checked)                                                                        
    Same on all servers        (Not Checked)                                                                               
    Dflt value                        host1                                                             
    ProfileVal                       host1
    Current value                  host1                       
    Where host1 is the host where you did login. It don't care about the SAP instance:
    host1_SID_01,  host1_SID_02, host1_SID_03, host1_SID_04. All this give the value host1.
    Best Regards,
    Erick Ilarraza

  • How to stop Add or Update  action  using  StatusBar  message ?

    Hi all ,
        I want to add validation using StatusbarMessage  and validation will be stop Add/Update Action .I have use
           1) B1Connections.theAppl.SetStatusBarMessage("Please select Product Type ! ", BoMessageTime.bmt_Medium, true);
           2) B1Connections.theAppl.StatusBar.SetText("Please select Product Type ! ", BoMessageTime.bmt_Medium, BoStatusBarMessageType.smt_Error);
           3) B1Connections.theAppl.StatusBar.CreateProgressBar("Please specify the SKU ! ", 0, true);
           all  process are show error message but Add/Update Action successfully . i want to stop add or update  action  .please help any one  how it is possible  using statusbar message?
    thanks & regards
       Surajit

    Hi,
    You Can set BubbleEvent=false
    Try This.....
    If pVal.FormType = "65211" And pVal.ItemUID = "1" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED And pVal.BeforeAction = True Then
                Try
                    Dim oedit As SAPbouiCOM.EditText
                    oform = sbo_application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)
                    oedit = oform.Items.Item("12").Specific
                    If oedit.Value = "" Then
                        sbo_application.MessageBox("Field Should Not Be Blank")
                        BubbleEvent = False
                        Exit Try
                    End If
                Catch ex As Exception
                    sbo_application.MessageBox(ex.Message)
                End Try
            End If
    Thanks
    Shafi

  • Add Validity Start and Validity End On PO Header

    Dear SAP,
    need your help, I am trying to add Validity Start and Validity End Field on Additional Tab in Purchase Order header.
    How do i add this field ?
    i already check on MM define screen layout a document level, but there is not setting for this two field.

    Hi Nizam,
    The validity start date & end date are used only for service orders. In configuration goto IMG>MM>Purchasing>PO>Define screen layout at document level and check into Administrative data, header of ME21N , the field selection key attached to your document type (Say NBF) and for field selection key AKTH.
    The fields Start of validity period & Validity period end of field selection key ME21N, NBF & AKTH should be set as optional then only required fields will be visible on screen.

  • How do I add Another "User" login to my wife's Mac Book Pro?

    How do I add Another "User" login to my wife's Mac Book Pro?

    System Preferences>Accounts. Unclick the lock and add away.

  • How can you add a where clause using "OR" with applied ViewCriteria?

    [JDeveloper 10.1.3 SU4]
    [JHeadstart 10.1.3 build 78]
    I am using JHeadstart, but have a question probably more in the ADF area. On the JHeadstart forum I asked:
    "I am overriding JhsApplicationModule's advancedSearch in order to be able to search in childtables. I created transient attributes, display those in advanced search and in the overridden method I check if any of these are filled by the user and create a where clause like 'EXISTS (SELECT 1 FROM <childtable> WHERE <column in childtable> = <column in EO's table> AND <another column in childtable> LIKE '<value supplied by user>)'. I add this whereclause using ViewObject.setWhereClause.
    So far so good and it works. However, if the user selects 'Result matches any criteria', combining setWhereClause and the normal advancedSearch QueryByExample implementation using ViewCriteriaRow do not provide the desired result, since the ViewCriteria and the setWhereClause are AND-ed together, which is fine if the user selects the (default) "Results match all criteria" (everything is AND-ed) but not the "Result matches any criteria", since then every criterium is OR-ed together, except for the setwhereclause criteria and the set of ViewCriteriaRows, they are AND-ed.
    I looked if I could specify that a WhereClause will be OR-ed to existing applied ViewCriteria, but no luck. Do I have to rewrite also advancedSearch's ViewCriteria implementation and write an entire setWhereClause implementation to be able to "OR" every criterium? Or any other suggestions? Can I look at the entire Where clause and rewrite it (after applyCriteria and setWhereClause are called on the VO)?
    Toine"
    Sandra Muller (JHeadstart Team) told me today: "This sounds like a JDeveloper/ADF issue that is not related to JHeadstart. The question is: how can you add a where clause using "OR" if there are already one or more ViewCriteria applied?
    To simplify the test case, you could create a simple ADF BC test client class in a test Model project without JHeadstart (in the test class, use bc4jclient + Ctrl-Enter), in which you first apply a few ViewCriteriaRows to a View Object and also add a where clause.
    Can you please log a TAR at MetaLink ( http://metalink.oracle.com/ ), or ask this question at the JDeveloper forum at http://otn.oracle.com/discussionforums/jdev.html ? (This what I am doing now ;-))
    Thanks,
    Sandra Muller
    JHeadstart Team
    Oracle Consulting"
    Anyone knowing the answer or am I asking for an enhancement?
    Toine

    Hi,
    Can you SET your whereclause as follows ?
    ('Y' = <isAnd>
    and EXISTS (SELECT 1 FROM <childtable> WHERE <column in childtable> = <column in EO's table> AND <another column in childtable> LIKE '<value supplied by user>))
    OR ('N' = <isAnd>
    AND EXISTS (SELECT 1 FROM <childtable> WHERE <column in childtable> = <column in EO's table> OR <another column in childtable> LIKE '<value supplied by user>))
    )

  • Add jar files and use those classes at the runtime

    Hi All,
    I need to add some jar files at the runtime depends on which the user selects where the jar file is located and i need to import those classes in other class for some functionalities . I could add jar files by using the URLClassLoader and Class.forName("myjar.myclassname") is also succeeded and i have no clue how to use those classes with in the jar file as i couldn't import those classes also in the source because the jar files are being added at the runtime(This leads to class not found exception at the compile time).
    I had found a complicated way of using those classes after being added at the run time as below.
       Class clazz = Class.forName(myClass);
                final Method method = clazz.getDeclaredMethod(requiredMethod, new Class[]{URL.class});
                final Object returned = method.invoke(clazz.newInstance(), new Object[]{request}); but, its really pain to use in this way in all the places.
    Does any of you have simpler suggestions on how to achieve this?
    Thanks,
    Venky.

    Thanks jschell. Yes, you are right. I had found that using reflection API is the only way to load classes at the run time. But according to our application using reflection makes the application little complex, so while start of the application or during other modifications, i am overwriting my jar file to the latest one using FileChannel class as below
          FileChannel ic = new FileInputStream("new.jar").getChannel();
          FileChannel oc = new FileOutputStream("old.jar").getChannel();
          ic.transferTo(0, ic.size(), oc);
          ic.close();
          oc.close();After this code is executed, our application totally uses the new jar file.It is little fast than using reflection. Is this a good idea?

  • I can no longer login to receive my webmail with a second email address; i have already cleared my "saved passwords" and cleared my history, and still i can only login using one email address but not my second one, which i previously was able to do

    details are listed in the question; i login using one email address to this site but not my second, which i have always been able to do
    The error message is:
    Login failed because your username or password was entered incorrectly.
    However, all my login information is correct.

    try the hints found at
    http://support.apple.com/kb/TS1417

  • Not able to login using ORACLE USER in Linux

    I am not able to login using OS user ORACLE in linux,
    I am getting following error when trying to login
    /etc/X!!/gdm/PreSession/Default : Registering your session with wtmp and utmp
    /etc/X!!/gdm/PreSession/Default :running : /usr/bin/X11/sessreg -a -w /var/log/log/wtmp -u /var/run/utmp -x "/var/gdm/:0.Xservers" -h "" -1" : 0" "oracle"
    /etc/profile: line 17 : syntax error near unexpected token 'then'
    /etc/profile: line 17 ' if[ $USER = "oracle" ]; then'
    Failed to execute message bus daemon : No such file or directory
    EOF in dbus-launch reading address from bus daemon
    I tried to edit /etc/profile file but not sucessfull. Please help me out . This installtion is on VM ware
    Edited by: user12356407 on Dec 16, 2009 3:21 AM

    user8896383 wrote:
    I am not successful to login using Oracle User .
    I tried to edit /etc/profile file on Line 17 , but of no use.
    could you please be more precise about what exactly i should look in or edit in that file.
    Thanks for your immediate response.My car doesn't start
    I tried to fix it
    It still doesn't start.
    Can you be more precise in telling how to fix it.

  • Is it possible to create a editable pdf with validation(required field) using Adobe Acrobat pro version?

    Hi,
    the subject says it all. I have downloaded the trail version to see if its possible to create a editable pdf with validation(required field) using Adobe Acrobat pro version?
    Basically, I will have to create a pdf form where users fill it and send it back to me. there will be required fields (the textbox and check box) that user need to fill before saving the editable pdf?
    Is it possible. if so, can someone kind enough to point to me right directions?
    Thanks in advance.

    Thanks for reply. What I am trying to achieve is to give an option for the user to download the pdf form and once the user tries to save the pdf, it validates with the required field. I managed to create the editable pdf with required fields option. I just need that validation to be done when user click on save file. How can I achieve this? thanks so much for your help.

Maybe you are looking for

  • Images not getting displayed!...Urgent

    Hi, While developing code on my local machine, update, delete, etc images are not getting displayed. I am having problem while testing code on my machine. But the same code when i am deploying on the server works fine. How do i resolve this. Thanks i

  • OM - Restricted count of Positions in an Org Unit

    Can we Restrict the count of Relationship B003 records in One particular date for One Org Unit through Customization ... Can Restrict No of Positions related to One Org Unit in oone particular Time period  through Config.. How is it Done ?? Pls. Help

  • MSI GeForce FX 5200 bios config???

    I just bought a msi geforcefx 5200 (TDR-128), and I'd like to know what is the best configuration I can put on my bios (MSI K7N2 DL)? AGP clock? 66-120 AGP Voltage? 1.5-1.7 AGP fastwrite? Enable/disable Video cache? Enable/disable Graphic Aperture Si

  • Why isn't the legend of korra book 3 available on iTunes

    Does anyone know why the legend of korra book 3 is not available in the U.S. iTunes store????

  • Changes to Master Data

    Hi All Which are the things need to be considered while choosing between following two options to transfer the changes to the master data from R/3 to APO. 1.Transfer of Data Changes Using ALE Change Pointers 2. Online Transfer Using Business Transfer