Sy-ucomm value for enter

Hi,
Can anyone plz help me with the sy-ucomm value for enter key.
Thanks..

Hi Renu,
The OKCODE  or SY_UCOMM value is not same for 'ENTER' in all the cases. So its better to go for debugging .
Whenever you want to know the ok code or sy-ucomm value  of a key , type '/h' in the command box and press enter. It shows a message on the status bar 'Debugging Switched On'. Now if you press any key , it switches to debugging mode  and type sy-ucomm in the fields list then you will get the SY-UCOMM or OK CODE.
Incase of ALVs also you can get the SY-UCOMM. But in some cases the SY-UCOMM value may be NULL.
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Mar 25, 2008 4:50 PM

Similar Messages

  • Regarding Sy-ucomm value for Enter.

    Hi All, In PAI of screen i have the following code, BUt when i press enter , the conttrol did not go in the following case .
    case sy-ucomm
    WHEN  'ENTR' OR ''.
          IF b_unit IS NOT INITIAL.
            CLEAR  wa_tbgl.
            SELECT SINGLE * FROM zf112409gl_map INTO wa_tbgl
              WHERE b_unit = b_unit.
            glaccount = wa_tbgl-l_gl_acc .
            gldesc = wa_tbgl-desc_lgl .
            b_unit = wa_tbgl-b_unit .
            sapglaccount =  wa_tbgl-saknr .
            SELECT SINGLE txt50 FROM skat INTO txt50
              WHERE saknr = sapglaccount
              AND spras = 'EN'.
         sapgldesc = txt50.
            else .
              MESSAGE 'Please enter the required field' type 'I'.
          endif.
    Please give me the  step to follow.
    rgds,
    Premraj

    Try as;
    When 'ENTER' OR SPACE.
    Regards
    Karthik D

  • Sy-ucomm value for print preview

    Hi friends,
    Can any one tell me the sy-ucomm value for the print preview..?

    Hi,
    If you are asking the function code of Pop-up you get while printing ..then answer is no..even if you get the fcode you cannot handle it in your program.
    What exactly you are looking for ?

  • Entering mulitple values for a single user parameter

    Hello,
    Can anyone explain to me how to allow multiple values for a single parameter?
    For example, say I want to allow the report to display a list of employees based on their employee id. I want to allow the user to enter mulitple
    employee id's into a single field to get their report. SO the user would enter "241, 459, 832" to return the list of those 3 employees. I have the SQL set up below, but obviously I need to set up something different to break it out into 3 separate values. Any help would be greatly appreciated!
    SELECT * FROM EMPLOYEE
    WHERE EMPLOYEE_ID IN (:P_EMP_ID)

    Hi,
    Another way to do this is to use the lexical parameter, but then you have to create the parameter form in Forms. Your SQL would look like this for example:
    select * from emp where empno is not null &empno
    where &empno is a lexical parameter.
    Then on your parameter form you would have a text field F_empid, say 200 character long, allowing the user to enter multiple values separated by a ",".
    Then in the trigger that calls the report you would create a parameter list, and a variable that holds the values read from the form, this variable is where you define the value to be passed to the report's lexical parameter. For example:
    declare
    v_empid varchar2(200); (consistent with the length of the lexical parameter in the report).
    begin
    v_empid:='and empno in ('||F_empid||')';
    then you pass v_empid to &empno in the call to the report.
    This method works well. Good luck.

  • Unable to enter Input value for an ICD

    Hi All,
    I have created an element XXX which has two input values "Pay Value" and "Class". The class has the values 'A','B','C','D'. I have created a plan and set up the rate In the calculation method I have chosen "No Standard values used".
    Now when I try to assign this ICD plan to the user in the Miscellaneous plan I am not able to enter the car class. Can someone help me with this.
    Thanks
    Shekar.

    Hi Shekar
    I find the ICD setup very 'picky'! If you get one thing wrong, it doesn't work. I have detailed below the steps I usually advise people to tek. Check your setup and see if this helps.
    1. Define Plan Type, Compensation Category = Others.
    2. Define Plan. Link to Plan Type. Plan Usage = May not be in program. On Not in program Tab - define sequence, currency, enrollment rate (per pay period?), activity reference period (Monthly). Your settings may need to be different. On Plan details tab, enter plan years.
    3. Plan enrollment requirements. On the general tab, plan sub tab, make sure the method = EXPLICIT. this allows the user to enter an input value for the ICD. THIS MAY WELL BE THE SOURCE OF YOUR PROBLEM!
    Make sure the CERTIFICATION region is UNTICKED. This can also cause ICDs not to work.
    ALLOWS UNRESTRICTED ENROLLMENT must be TICKED. Otherwise there is no eligibility to the ICD.
    On the rates subregion, make sure the run strt date is set to ENTERABLE.
    4. standard Rates form. Make sure the ACTIVITY TYPE and TAX TYPE are entered. Select the ELEMENT and the INPUT VALUE and TICK the ELEMENT AND INPUT VALUE REQUIRED field.
    On the processing Information tab - TICK ASSIGN ON ENROLMENT, DISPLAY ON ENROLLMENT and PROCESS EACH PAY PERIOD. Enter PER PAY PERIOD AMOUNT in VALUE PASSED TO PAYROLL and OTHER in COMPENSATION CATEGORY.
    Let me know if this works!
    Regards
    Tim

  • Encountering Error in webadi : "&Value is invalid. Enter a valid value for the Mapping column &Column"

    We are having a custom WebADI, containing a field (Employee Name) which is a LOV.
    The LOV has ID : Person ID, Meaning : Employee name, Description : Position Name.
    There are multiple records with same Employee name but different Person ID.
    If I select an Employee in the LOV which has multiple records (through different IDs), I am getting an error in WebADI:
    "Enter a valid EMPLOYEE_NAME.
    XX is invalid. Enter a valid value for the Mapping column EMPLOYEE_NAME"
    The Query for the LOV is correct and is returning correct records.
    Any pointers on this issue highly appreciated.

    Hi,
    The problem could be with HR security profile attached to the responsibility from where you are launching the spreadsheet. Check it once.
    Thanks.

  • How can I switch to Longtext in a variable selection box for entered value

    I execute a Web Template and enter a value for example a company variable. After this I press the "Check"-Button and get the short text of the company but I want to see the long text.
    The InfoObject settings under Business Explorer is:
    Display:                                          Text
    Text Type:                                       Default
    BEx Description:                              Long description
    Selection:                                        No Selection Restriction
    Query Def. Filter Value Selection:      Values in Master Data Table
    Query Execution Filter Val. Selectn:  Values in Master Data Table
    Filter Value Rep. At Query Exec.:      Selector Box Without Values
    The InfoObject is a reference characteristic and the query was created on BEx 3.5.

    I changed the text type to long text, but the result is the same.
    The only way to get the desired result is to delete the short text and the middle text in the InfoObjects Text Table Properties. But this is not right way.

  • Error  Enter a value for field BP_GUID

    I am using MDG  7.0
    When I create a  Request for "Create ERP Customer",
    I then enter data including the sales Area Data and Company Code data
    Then Submit
    at the following approval step , Sales Area data and CC data is missing.
    I get ERROR message  "Enter a value for Field BP_GUID"
    Please advise what Table or T-code am I missing values for .
    Thanks for your assistance,

    hi,
    See the attached screen shot.
    Regards,
    Tushar

  • In ID object Communication Channel - Enter a value for Service Number?

    Hi,
    I have completed all the steps of this link upto 4.5 > 11,
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40574601-ec97-2910-3cba-a0fdc10f4dce
    but when i activate my messge interfarence from senario tab list or change object tab list, <b>it is showing error that :
    Check Result for Object Communication Channel(GeneratedReceiverChannel_XI )  Enter a value for Service Number</b>
    address type: URL Adress
    target host: my bi server aibid
    Service Number: ?????????
    Path: /sap/xi/engine?type=entry
    What is the Service NO.
    Best Regards,
    Dushyant.

    Hi,
    >>>>The serice number is ur port number. In your XI system URL http://host:port/rep/start/index.jsp
    this is the j2ee port and he should put http port
    as his path is: /sap/xi/engine?type=entry
    on WAS ABAP I guess..
    Regards,
    michal

  • Getting an error while activating a planning area "Enter values for planning horizon From and planning horizon To for the storage time profile level"

    Dear S&OP community,
    I am getting following error while creating a planning ares in a newly installed sandbox. "Enter values for planning horizon From and planning horizon To for the storage time profile level".
    This what I did...
    1) Created new attributes and master data objects and activated them successfully.
    2) Time profile created and activated successfully
    3) Trying to create planing area by assigning  time profile in step 2 and assigned master data from step1..Unable to save the data and system returns 
    this error - "Enter values for planning horizon From and planning horizon To for the storage time profile level"
    My understanding is time profile needs to be active  but doesn't have to have values...
    Any help is appreciated.
    Thanks,
    Krishna

    YS,
    Here are my time profile settings
    Level       Name          Display Horizon - Past  Display Horizon - Future
    1             Monthly     -6                                       11         
    2             Quarterly     -2                                       3
    3             Yearly        -1                                       2
    Time profile is active and but time profile data is not loaded
    Thanks,
    Krishna

  • Validate Text Box value for ending spaces entered in a Custom 2010 InfoPath SharePoint 2010 form

    I have Custom InfoPath form for added and editing items into a SharePoint 2010 list.  For one of the fields I want to perform some data validation to make sure they did not add any spaces at the beginning or ending of the value they entered. 
    I have tried entering the pattern of "^\S(.*\S)?$" and it did not seem to work.  Does anyone have any pattern that I would be able to use to check and see if the value entered in the text box contains any leading or trailing spaces
    or a better solution for determining if there are leading or trailing spaces?

    You can just use the normalize-space() function.
    So for example for the Title field on a list go into InfoPath and change the Default Value of that text box to, "normalize-space(Title)" without the quotes

  • Force a user to enter a value for a parameter.

    Hi,
    I have a report with a bunch of parameters and I want to force the user to enter values for two parameters amongst all of them. Like for example when the user doesn't select values for those 2 parameters he should get a dialog box saying "please enter value for xyz parameter" or something like that, which will force the user to enter a value for the parameters before he can see the report.
    Please let me know if BI Publisher can do this.
    Thanks,
    DY

    Thanks for your replies BIPUser. I have recently started working on BI Publisher without a lot of help around.
    The information in the link is what I was thinking of, if there is no such feature I'll have a default value for those 2 parameters.
    Thanks,
    DY

  • Add user-entered "Fill-In" values for "Choice" column to the list of available choices?

    I have a "Choice" column in SharePoint where users need to select a name for a specific engagement when uploading a document.  Since new engagements come up all the time, they need to be able to enter a new value and have that value available
    to select as a Choice from the list the next time they upload a document.  Is this possible in SharePoint?
    Our organization does not allow custom code using Visual Studio, but I do have access to SharePoint Designer. 

    Hello!
    All available choices are specified in the list's schema. I.e. the "Choice" column is designed to operate with predefined values that are set in the schema. Of course, you can every time add a new choice to the list's schema programmatically, but that's a worst
    practice.
    In your case I suggest to add a list (kind of dictionary) containing all values available to pick out. Then, instead of "Choice" column, use "Lookup" column which points to the dicitionary-list. Once a new value is entered, add a new list item to the dictionary.
    Next time this value will be available to pick out.
    .Net Follower (http://dotnetfollower.com)

  • Values for Characteristics entered on Orders with Configurable Products

    Hello all,
    I have a system that has Configurable Products to be used in Sales Orders.  I have a requirement to provide the values stored against some characteriestics for an online report.  Can anyone point me in the direction of tables that hold the values entered for characteristics at the order level?
    Many thanks,
    Jon

    Hello,
    thanks for your answer.
    But I cannot restrict the values for each characteristic, I need to restrict it per material for each characteristic? So where can I do that?
    Thanks
    Anne

  • Error in MDDataSetBW.GetCellData.Please enter a valid value for character

    Hi All,
    We have a mandotory prompt on 0FISCPER for Web I Report . The promt is present in the universe.
    The query works fine in Dev , but in Quality it shows the following error
    A database error occured. The database error text is: Error in MDDataSetBW.GetCellData.  Please enter a valid value for characteristic 0FISCPER.. (WIS 10901)
    The universe is on BW Query and the BW Query works fine.
    Can someone please help on this

    Thanks Sathish for your input.
    We have created report level prompts and facing this issue because  we were selecting multiple values for prompts.
    Its working fine for single selection. Is there any way to  enable multi selection for the particular object at the BW end ?
    Or else we have to create the prompts (Single selection) at the universe level.
    Regards,
    Pranay

Maybe you are looking for

  • Opening balance and closing stock balance

    Hi, What is the way to calculate opening balance and closing stock balance. Thanks krishna

  • Can't get my ipod to restore....help please

    I think I have tried everything in the support section. I just connected for the first time and the file with the exclamation has come up and when I try to restore I get the error message Firmware update failure diskwrite error. I have tried to forma

  • Windows 8 and LR tethering issue with D7000

    I just purchased a new Lenovo W20 laptop with Windows 8 pro, installed LR and PS6. All of this is up to date on patches. I tried to tether my Nikon D7000 to a USB 2.0 and USB 3 port and have the same issue... LR sees the D7000 and lists it in the tet

  • Oracle Logo on Web Apps

    Does anyone know how to remove the Oracle logo that now appears when using the Oracle look-and-feel parameter in the startup html file? I would like to use the new reports, but that would mean that I would have to redesign all my screens due to the 1

  • Special gl  activity and groups not assigned  urgent

    hai  all plese any one can help me out i am getting error in special purpous ledger This document will not be posted in a FI-SL ledger, because no ledger is assigned to the combination activity/company code or activity/global company. System response