To allow me put a value into field without coming out the tcode.

Hi Friends,
My requirement is when a value is entered into a field leaving the other field empty should display a error  message
I'm making use of the below statement to display the error message
message S000(01) display like 'E' raising error_with_message.
But the thing is ,when trying to save it after entering value into a field leaving the other empty, its displaying the error message which i have maintianed.till here its well and good.But from here I can only come out of the tcode without allowing me to enter the value into the other field.
want a message to be displayed on the status bar and allow me to put the value into the remaining field
without coming out from the screen..
Please help..

Hi laxman,
Are you saying like this..
message S000(01) dispaly like 's' raising error_with_message.
      set screen 100.
      leave screen.
The Req is "If I enter a value in field leaving the other field empty in tcode XXXX..its should display a message that this particular field is mandatory and allow me to put the value into the other field "
I'm able to display a message when the second field is left empty..
In the message dialog (where the message gets displayed), exit option is there.so i'm coming out of the tcode.But it should give me message and allow me to put the value in the screen without coming out of it.

Similar Messages

  • Close command field ( one to execute the tcode ) in transactional iview

    Hi All,
    I need to close the command field ( one to execute the tcode at the top left corner ) in transactional iview.
    I know it has to do something with some services to be closed in sicf.
    Can anyone sugggest on this?
    Thanks and Regards,
    Nuzhat

    Hi Nuzhat,
    Please follow the steps below given
    In transaction SICF go to /sap/bc/gui/sap/its/webgui there you can modify some parameters by clicking on "GUI Configuration"
    and enter the following value:
    Parameter Name= ~WEBGUI_SIMPLE_TOOLBAR
    Value = one of the next values or the sum of the values of what you want.
    0 : Hiding the page header completely (not recommended)
    1 : Standard setting : This is the recommended standard setting in which the title and the menu bar below it with the Exit and Help button and the application buttons are displayed.
    2 : Displaying the title line
    4 : Displaying the buttons Exit and Help
    8 : Displaying the active system buttons on the screen (for example, Back and Cancel)*
    16 : Displaying the system menu
    32 : Displaying the application buttons
    128 : Deactivating the information block in the status bar (new)
    Thanks
    Murthy

  • How to put Variable value into Labeltext of a subcomponent WIB

    Hello
    In our Web Based Planning tool we uses Tabstrib_control component and the Label-Text is filled like 'Plan 2008'. (Our BPS = 3.5 and Web interface builder)
    I am looking for a way,how to put a variable into the Label field of the component.  I am not sure if there is a possibility to enhance the labelfield with variable values.
    Thanks a lof for any good idea.
    Best regards
    Christian
    Our BPS = 3.5 and Web interface builder

    Hello Christian,
    Maybe I have a solution for your problem.
    1. Create subcomponent "Selector variable" with your variable.
    2. Hide this new subcomponent
    3. Write in the Label-Text: <%=descr("Name of new subcomponent"/value)%>
    If the variable will be selected by the user in the web interface, put the name of this selector in the field "Update upon Change of" in the properties of the new created subcomponent.
    Hope this helps.
    Friedrich

  • Putting calculated value into another application

    Hi,
    I have an HCM application with the following simple HRAccount dimension.
    ALL_HR_ACC
         |___SALARY
         |___BONUS
         |___OT
    I want to put the value of ALL_HR_ACC into TstAccount.HRExp, which is in another application called TstFinance. This can be perfectly done by the following code.
    *DESTINATION_APP=TstFinance
    *SKIPDIM=Employee
    *RENAME_DIM HRAccount=TstAccount
    *WHEN HRAccount
       *IS SALARY,BONUS,OT
           *REC(FACTOR=1,HRAccount="HRExp")
    *ENDWHEN
    However, if I change the IS statement to the following, nothing will happen.
       *IS ALL_HR_ACC
    In this simple example, I don't mind putting all 3 HR accounts SALARY,BONUS,OT. However, in many situations, SALARY and other HR accounts are derived from other accounts as well. It could be very cumbersome to put the whole bunch of calculation into the script for just transferring the single value of ALL_HR_ACC into another application.
    Anyone could give me any advice on this? Somebody told me using EVGTS could easily do the trick. However, such functions or formulas will disappear when I expand the worksheet.
    Thank you!
    Sunny

    Sunny,
    The script behavior is correct.  Script logic basically only works with the base memebrs, unless you utilize the statement called Calc Dummy Org.  This statement acts like a variable and aggregates the values into a "parent" type value to be passed on or used in a REC statement.  But, the process you used for the purpose you have is the best, fastest method, even if it is a scope of 50 base accounts from a select statement.
    As for using an input template or excel; if you have an evdre expansion input template, and wish to send the values to a different cube, just add another EVDRE, but remove all the expansions.  Make the page key range fixed or based on the other EVDRE statement.  Use excel to relate to the account to be sent  to the parent account. It should be quite simple to send the total values to a summary cube from the same template that is used for the input process.  However, the logic you wrote accomplished the same effect.
    Hope this helps.

  • How can I programatically use the forced values to put a value into numeric data member?

    I am extremely new at using Lookout and need a way to programmatically force a value into a numeric data member so that I can later use that value as a flag when creating a report.

    Hi,
    You can do this with an Expression similar to the following:
    Object.datamember = if(Pb1, Pot1, Object.datamember)
    Where Object.datamember is the datamember of the Object you want to write to.
    Pb1, is a PushButton -- it can be any logical condition.
    Pot1, is a Pot -- it can be any other source for your numeric data.
    The IF statement basically says, "if Pushbutton Pb1 is pressed, write the current value of Pot1 to the Object's datamember. And if it's not pressed, leave its value as-is."
    Hope this helps.
    Regards,
    Khalid

  • Re: Default value in field Plant during PR creation (tcode: ME51N)

    Hi,
    It seems parameter id is not available for defaulting a value in field PLANT during PR creation?
    Is there any option i can use on this instead? thanks in advance.
    Rgds,
    She

    Hi She,
    Go to ME51N Trxn code and Click on Personal Setting Tab and Here You can set you Palnt as Default in Default Values Tab.
    If It is not there in Default Values then Click on More Fields tab and Select Plant then copy and save.
    Reg,
    Ashok

  • How do i put Video clips into Imovie, Without Iphoto?

    Im using Imovie for a school project, and i need to put video clips into it. But for some reason my mac doesnt have Iphoto, and i've read online that the only way to do this, is through Iphoto??? Does anybody know otherwise?? please help!!

    If you have a supported camcorder or camera you should be able to import your video directly to imovie from the camera. If the video is already on you computer, select the imovie File menu, then select import to library and navigate to the movie files you want to import. The article below should help you
    http://support.apple.com/kb/PH2114

  • Can we put iphone 3gs into  DFU mode with out power button

    My Iphone 3gs power button not working, so is there any way I can put my iphone into DFU mode..

    No - you can't put the phone in recovery mode or DFU mode without a functioning sleep/wake (power) button.
    Note that DFU mode is only useful when hacking the phone.  Recovery mode is what you want for troubleshooting.
    http://www.ihackintosh.com/2009/06/recovery-mode-and-dfu-mode/

  • How to update a field without saving in the db

    Hello,
    I have a page in htmldb with 2 fields (new value, existing value).
    This page is used by the user to validate if they want to use the new value or to keep the old one.
    I have created a button and a process. When the button is pressed, I would like the field "new value" is updated with the "old value" but only in htmldb. The user should still click on save to change the value in the db.
    Can someone tell me what is the attribute and the parameter of the process to do this ?
    Thanks in advance
    Michael

    Hello,
    >> I would like the field "new value" is updated with the "old value"
    You can do that by attaching a simple JavaScript code to your button (http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10499/bldapp.htm#CIHFEEGH ).
    Assuming you have a Pxx_NEW and Pxx_EXIST items, the code should be similar to the following:
    <script type="text/javascript">
    function copyValue() {
       $x(‘Pxx_NEW’).value = $x(‘Pxx_EXIST’).value;
    <script>Of course, for more generic use, you can add parameters to the function.
    Hope this helps,
    Arie.

  • JSP and JavaScript! How to put session values into html form?

    I have a master form which goes to detail form to input data and back to master to Confirm submit operation. I want to put all the form data into request or session variable so it can be retrieved in both the forms. In master form i want to use it in the following way:
    MasterForm-onLoad(){
    check for form data Object in the session/request
    if the data exists
    populate the form fields (by getter methods of form data object)
    Show the input from detail form
    otherwise
    show empty form
    Now the problem is that it throws null pointer exception if the form data does not exist and i try to access it within an IF statement.
    I beleive this is coz the JSP code will be executed on the server before the html page is loaded. Can any one please tell me how to solve this problem.
    Thanks and Best Regards
    Gul

    thats exactly what i m doing but the session variable is not a simple variable or objct, its a serializable object with getters and setters which i will call to retrieve its values. its like this
    FormBean formData=(FormBean) session.getAttribute("formData");
    now in javaScript i will have to check if the formData is null and than perform the getters or setters.
    <script>
    function getValues(){
    if("<%formData%>"!="null"){
    form1.SID.value="<%=formData.getIDVal()%>"
    </script>
    thats what i was trying to do but the problem is all jsp code will be executed before the page is loaded so it will try to execute inside of the if statement even when the object is null so NullPointerException.
    The only way i have got it working so far is to retrieve all the values in the JSP scriptlet, and than use the individual variables as u also mentioned.... SO Far i havnt been successful in calling getter methods in JavaScript. you think it can be done?
    Thanks for the reply
    GUL

  • MDM JAVA API to enter value into field of type date

    Hi All,
    I am having an input field in a typical Dynpro application where a date would be entered.I want to enter  the date in my MDM table in a field of type "Date".Do you have any idea about MDM JAVA API's I need to do this.Also how can I do this ?
    Thanks
    Vinay

    Hi,
    Web Dynpro shall return you a type Date field. For Value, you shall have to pass SystemTime Object.
    Just get the substring of Date.toString() and convert them to Integer ..
    So a typical date would look like yyyy-mm-dd (eg: 2006-10-19) and not yyyymmdd.
    SystemTime st = new SystemTime();
    st.setYear( Integer.parseInt(Date.toString().substring(0,4));
    st.setMonth ( Integer.parseInt(Date.toString().substring(5,7));
    st.setDate ( Integer.parseInt(Date.toString().substring(8,10));
    A2iField date = new A2iField("fieldname", new Value(st));
    Hope that helps..
    Regards,
    Tanveer.
    <b>Please mark helpful answers</b>
    Note: The above mentioned code is not pasted from any editor..So might contain syntax error..

  • How to put a value into the Gauge object

    Hi Experts
    I would like to use the DS_1.getData() command to retrieve data from a query
    and place it into a gauge (standard object in DS). What I understand is that
    the getData command retrieves a float value and the gauge object expects an integer
    value. I didn’t find a float to integer conversion so I tried a work around. It
    looked something like this but it did not work:
    GAUGE_1.setValue(Convert.stringToInt(Convert.floatToString(DS_1.getData("CKXYNLFBDHH0X2U91711DX83S",
    {"ZQMSITEPD":'S999'}).value)));
    The value from the float to string conversion holds the decimals like 49,937 and this creates an error in the conversion from
    string to int.
    Does anyone have an example on how to get data from a DS into a gauge?
    Kind regards
    Erik

    HI Erik, have you tried to use the Convert object?
    float can be converted to string with argument "###", this will round all numbers after colon.
    eg.
    var fullNumber = Convert.floatToString(55.83, "###");
    var numberInt = Convert.stringToInt(fullNumber);
    APPLICATION.createInfoMessage("Value " + numberInt);
    fullNumber = Convert.floatToString(55.23, "###");
    numberInt = Convert.stringToInt(fullNumber);
    APPLICATION.createInfoMessage("Value " + numberInt);
    see for many examples
    Design Studio 1.3 Scripting Example to Convert String Number to Date
    Regards, Karol

  • DPM 2012 still requires put end users into local admin groups for the purpose of end user data recovery?

    On client computers that are protected by DPM 2010 and prior versions, you had to put the end users account in the local administrators group. If you did not add the end user account to the local administrators group you would get this error after opening
    the recovery tab in the DPM client: “DPM found no recovery points which you are authorized to restore on the specified DPM server. You can restore only those recovery points for which you were an administrator at the time the
    backup was taken. To restore other recovery points, contact your DPM administrator, or attempt to restore from another DPM.”  This is not ideal on many networks because the end users are not allowed to have local administrator access.
    Ths fix to this was included in hotfix 2465832 found here: http://support.microsoft.com/kb/2465832.
    This hotfix (a hotfix rollup package for DPM 2010) resolves other issues with DPM 2010 as well. You can find the full list of what this hotfix corrects on that link.
    One would think this issue should have been resolved in DPM 2012, however I am encountering the same exact issue, had to include end-users into the workstation local admin group before they can search for recovery points on the DPM server. This is not acceptable
    practice.
    Is there a new hotfix for the same issue on DPM 2012? I am hesitated to apply KB2465832 since it also includes many other fixes for DPM 2010, which may not appicable for version 2012.
    Please help.
    Thanks,

    This is a hands off solution to allow all users that use a machine to be able to restore their own files.
    1) Make these two cmd files and save them in c:\temp
    2) Using windows scheduler – schedule addperms.cmd to run daily – any new users that log onto the machine will automatically be able to restore their own files.
    <addperms.cmd>
    Cmd.exe /v /c c:\temp\addreg.cmd
    <addreg.cmd>
    set users=
    echo Windows Registry Editor Version 5.00>c:\temp\perms.reg
    echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Data Protection Manager\Agent\ClientProtection]>>c:\temp\perms.reg
    FOR /F "Tokens=*" %%n IN ('dir c:\users\*. /b') do set users=!users!%Userdomain%\\%%n,
    echo "ClientOwners"=^"%users%%Userdomain%\\bogususer^">>c:\temp\perms.reg
    REG IMPORT c:\temp\perms.reg
    Del c:\temp\perms.reg
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT] This
    posting is provided "AS IS" with no warranties, and confers no rights.
    That's a good one! Thanks for that.
    I've been scripting on KIX for some time, so here is mine, hope it helps to someone... (it's probably not the best, but it works)
    ========================================================================
    $RC=setoption("WOW64AlternateRegView","on") 
    $DPMkey = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Data Protection Manager\Agent\ClientProtection"
    $uservariable = "%userdomain%\%username%"
    If KeyExist ($DPMkey)
    $Userstring=ReadValue($DPMkey, "ClientOwners")
    If $Userstring == ""
    WriteValue($DPMkey,"ClientOwners", $uservariable, "REG_MULTI_SZ")
    ? "Key created"
    else
    If not instr($Userstring,$uservariable)
    $Userstring = "$Userstring,$uservariable"
    WriteValue($DPMkey,"ClientOwners", $Userstring, "REG_MULTI_SZ")
    EndIf
    Endif
    EndIf
    ==========================================================================
    The problem actually is that you still need to use an admin account to write on the registry, so ensure you configure it properly on the schedule task.
    In case you use a service account on the schedule task... the "$uservariable" will get populated with that account. As a work around to this... I changed it for the following line:
    =========================================================
    $uservariable = ReadValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI", "LastLoggedOnSAMUser")
    =========================================================
    The only problem with that, is that key gets created/updated only if user gets logged phisically on that PC, but will not work for anyone connecting through RDP.

  • Multi-Message Mapping based on value of field - (Without BPM)

    Hi.
    I am having a bit of difficulty with multi-message mapping without BPM. I want to map to message1 & message2 based on a field in the rows of the source structure.
    e.g.
    row1-Source-Field1=> (if equal 0)   => <b>Message1</b>-field1.
    row2-Source-Field1=> (if equal 10) => <b>Message2</b>-field1.
    To attempt to do this, I use the conditions in the graphical mapper:
    if row-Source-Field1 = 0   => Map "Row to MessageType1".
    if row-Source-Field1 = 10 => Map "Row to MessageType2".
    However when I test this the mapping only seems to consider the first row value in row-Source-Field1 and ignores the fact that row two has a value of 10. I think this has something to do with contexts etc..
    I would appreciate any help please.
    Regards.
    Mick.

    in that case try this out
    row1-source-field1 (remove context) -- UDF -splitbyvalue-target
    UDF1(for message 1)
    for(int i=0;i<field1.length;i++)
    if(field1<i>.equals("0"))
    result.addValue(<field to be mapped><i>);
    UDF2(for message 2)
    for(int i=0;i<field1.length;i++)
    if(field1<i>.equals("10"))
    result.addValue(<field to be mapped><i>);

  • To display value for field without its compounded infoobject value

    Hi Gurus,
    I've added a new Navigational attribute(say A) to my report which is compounded to another object(say B).
    When i execute my report I am able to see the values of my new field as B/A.
    My requirement is to just show A in the report.
    How can I achieve this?
    Thanks in advance.
    Regards,
    Akhil Singh

    Hi Shrikanth,
    What Rajendra means is that, in the WAD template properties, you will find the property 'Standard Actions of the Web Template(WEB_TEMPLATE_ACTIONS)' .
    Check this: http://help.sap.com/saphelp_nw70/helpdata/EN/14/31fa826d0bd540899b02888bf55df4/content.htm
    In this, you'll find 'Action Before Rendering'. Here, there is an option to set the command. Here, you need to assign the command 'SET_PRESENTATION'. In that, under 'List of Member Presentations (MEMBER_PRESENTATION_LIST)', select the characteristic for which compounding value is not to be displayed and then in 'List of Member Presentations (MEMBER_PRESENTATION_LIST)', select 'DISPLAY_KEY_NOT_COMPOUND'.
    Hope this helps you..!
    -Pradnya

Maybe you are looking for

  • I can not reverse "transfer of reserves" transaction in t-code : AB08

    I'm testing the function of "transfer of reserves" in Asset module First, I did transfer of reserves in t-code ABMR Then, I wanted to reverse that in t-code AB08 But error occured (See the attached file) This is message ==============================

  • Can't re-install Panther 10.3

    Hi, My blue G4 has been acting up latel so I want to completely re-install 10.3. I am running 10.3.9 right now and when I try to install my 10.3 disks, I get the message I ccannot install Mac OS 10.3 on this volume. A newer OS is installed. I have ev

  • Windows 7 Calendar not recognized by Ovi suite

    I have installed Ovi Suite 2.2.1.23 (is the latest) and installed Windows Calendar. However when going to Ovi -> Extra -> Opties -> Agenda en taken (I am using the Dutch version), it indicates that I have to install Windows Agenda or Microsoft Outloo

  • Hi all, where can i find this include CI_mmh1 in which table

    where can i find this include CI_mmh1 in which table

  • Can I move the fcpx libraries to different drive?

    Hi, I notice in my FCPX Trial that the Libraries default to my Movies folder. I only have 2 small projects I'm working on and they're already about 6Gbs. I'd like all that to be on a separate drive to keep fre  space on the macbook pro. Just runs bet