Clear the contents of a field on open

Hello,
I would like to clear the contents of a field upon opening a form record. This field will then be populated with the logged on user name, V('APP_USER'). This is to display the user who last edited the record.
Does anyone know how to do this? The field will only update if it is empty to start with so I need to delete the field contents only if the 'Save' button is pressed and then replace it with the current logged in user.
Thankyou in advance,
Kind Regards,
Steve Welch

Hello Scott,
Sorry it was very simple in the end. Thanks for pointing me in the right direction. PL/SQL Expression, V('APP_USER')
Kind Regards,
Steve Welch

Similar Messages

  • Clear the content of a text field

    hello guys,
    i have text fields in a screen which are been populated in the PBO. Now i want to clear the content of the  text field such that the user can input new values in those text field.
    so, anyone knows how i can achieve this.
    tried,
    text field name = ' ', space.
    clear text field name.
    but none worked.
    thanks you for ur help.

    Hi,
    I think you have doen some thing like this in PBO.
    screen_field_name = 'some value'.
    So now in PAI you can do the following.
    CASE sy-ucomm.
         WHEN 'F_CLEAR'.    " Fcode for the clear button in the screen.
          CLEAR : field_name.
      ENDCASE.
    If the field is a mandatory field then you need to create a AT EXIT module and write the same code in that.
    Hope it helps you.
    Thanks,
    Sri.

  • How to clear the contents of a table

    I was using a 'build table' to collect some datas and pass it to an 'Express  table'.
    what are the possible options to clear the contents of that table?
    How can i clear the contents using a 'button'?

    Build table function has an additional input called 'Reset'
    Attach a boolean to it.
    On front panel, set the boolean's mechanical action as 'latch when released'
    Look at attached vi
    Regards,
    Dev
    Message Edited by devchander on 08-06-2007 08:02 AM
    Attachments:
    reset table.vi ‏57 KB

  • How to clear the contents of table control

    Hi All,
              How to clear the contents that are present in a Table control. If there is any code Please Let me know.
    I will assign full marks to the correct code.
    Pradeep Kumar Kota.

    Hi
    U need to clear the contenents of internal table used to store the record displayed by table control.
    Every time the PBO is triggered the table control is automatically cleared, so you need only not to transfer any data from internal table to table control.
    So you should show how your PBO if you want a right answer.
    Max

  • Change the content of a field for a record in table

    Dear guru ,
    i know that there is chance to change the content of a field for a record in table using SE16 for the table involved and debugging.
    Can you explain me the flow to run this ?
    Thanks.

    >
    CONS  SAP wrote:
    > Dear guru ,
    > i know that there is chance to change the content of a field for a record in table using SE16 for the table involved and debugging.
    > Can you explain me the flow to run this ?
    > Thanks.
    Hi CONS SAP,
    You can use se16n transaction. This is very user friendly trnasaction. You may use it like this:
    1) Start transaction SE16n.
    2) Type the table name and press ENTER.
    3) Type the string "&sap_edit" into the command line and press Enter.
    4) Enter your selection criteria and press F8.
    Now you can easily change/delete/add the lines you want and then save.
    All Changes are recorded in the tables SE16N_CD_DATA and SE16N_CD_KEY.
    But I would request you to keep in mind the suggestions from Vijay Babu Dudla
    >
    Vijay Babu Dudla wrote:
    > if you are trying on some test table then it is ok. but don't update any transactional data like that. it is not good practice.
    >
    Many regards,
    Ravi.

  • Select & hover on a CLOB-tablefield shows all the contents of that field.

    I opened a table and selected a CLOB-field with a large text in it.
    My screen was filled with a preview of the contents and the RAM was filled to the max by the sqldeveloper process to the point of unusability of my pc (Win7_x64 with 4GB RAM).
    In a tweet-exchange with Jeff Smith he determined that the problem is a preview not limited to a substring but instead showing everything.
    At his request I am posting this in the forum (hopefully in the correct way ;-) ) as a note.
    In Windows the java-version is:
    SetJavaHome C:\Program Files\Java\jdk1.6.0_37
    C:\>java -version
    java version "1.6.0_37"
    Java(TM) SE Runtime Environment (build 1.6.0_37-b06)
    Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01, mixed mode)
    Edited by: Menno Harzing on 3-apr-2013 11:51
    [added Javaversion]

    I've tried the same 'hover-over-CLOB' in a CentOS 6(-x86_64)-environment with the latest SQL Developer connected to the same environment.
    When I leave the field the hover-field the behaviour is as expected: the hover-field disappears and there are no residual problems.
    $ java -version
    java version "1.6.0_24"
    OpenJDK Runtime Environment (IcedTea6 1.11.9) (rhel-1.57.1.11.9.el6_4-x86_64)
    OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

  • How to Convert the content in BLOB field into a PDF file...

    Hi,
    I am having PDF files stored in BLOB column of a table in Oracle Database (11G R2).
    I want to retrieve the files back and store them in hard disk. I am successful in storing the content as a file with '.doc' but if I store the file as '.pdf', adobe fails to open the file with error
    Adobe Reader could not open file 'xxx.pdf' because it is either not a supported file type or because the file has been damaged (for example it was sent as an email attachment and wasn't correctly decoded)
    I am using following example code to achieve my goal...
    Declare
    b blob;
    c clob;
    buffer VARCHAR2(32767);
    buffer_size CONSTANT BINARY_INTEGER := 32767;
    amount BINARY_INTEGER;
    offset NUMBER(38);
    file_handle UTL_FILE.FILE_TYPE;
    begin
    select blob_data into b from blobdata where id=1;
    c := blob2clob(b);
    file_handle := UTL_FILE.FOPEN('BLOB2FILE','my_file.pdf','w',buffer_size);
         amount := buffer_size;
         offset := 1;
         WHILE amount >= buffer_size
         LOOP
              DBMS_LOB.READ(c,amount,offset,buffer);
              -- buffer:=replace(buffer,chr(13),'');
              offset := offset + amount;
              UTL_FILE.PUT(file_handle,buffer);
              UTL_FILE.FFLUSH(file_handle);
         END LOOP;
         UTL_FILE.FCLOSE(file_handle);
    end;
    create or replace FUNCTION BLOB2CLOB ( p_blob IN BLOB ) RETURN CLOB
    -- typecasts BLOB to CLOB (binary conversion)
    IS
    || Purpose : To Convert a BLOB File to CLOB File
    || INPUT : BLOB File
    || OUTPUT : CLOB File
    || History: MB V5.0 24.09.2007 RCMS00318572 Initial version
    ln_file_check NUMBER;
    ln_file_size NUMBER;
    v_text_file CLOB;
    v_binary_file BLOB;
    v_dest_offset INTEGER := 1;
    v_src_offset INTEGER := 1;
    v_warning INTEGER;
    lv_data CLOB;
    ln_length NUMBER;
    csid VARCHAR2(100) := DBMS_LOB.DEFAULT_CSID;
    V_LANG_CONTEXT NUMBER := DBMS_LOB.DEFAULT_LANG_CTX;
    BEGIN
    DBMS_LOB.createtemporary (v_text_file, TRUE);
    SELECT dbms_lob.getlength(p_blob) INTO ln_file_size FROM DUAL;
    DBMS_LOB.converttoclob (v_text_file, p_blob, ln_file_size, v_dest_offset, v_src_offset, 0, v_lang_context, v_warning);
    SELECT dbms_lob.getlength(v_text_file) INTO ln_length FROM DUAL;
    RETURN v_text_file;
    END;

    user755667 wrote:
    Hi,
    I am having PDF files stored in BLOB column of a table in Oracle Database (11G R2).
    I want to retrieve the files back and store them in hard disk. I am successful in storing the content as a file with '.doc' but if I store the file as '.pdf', adobe fails to open the file with error
    Adobe Reader could not open file 'xxx.pdf' because it is either not a supported file type or because the file has been damaged (for example it was sent as an email attachment and wasn't correctly decoded)
    I am using following example code to achieve my goal...
    Declare
    b blob;
    c clob;
    buffer VARCHAR2(32767);
    buffer_size CONSTANT BINARY_INTEGER := 32767;
    amount BINARY_INTEGER;
    offset NUMBER(38);
    file_handle UTL_FILE.FILE_TYPE;
    begin
    select blob_data into b from blobdata where id=1;
    c := blob2clob(b);
    file_handle := UTL_FILE.FOPEN('BLOB2FILE','my_file.pdf','w',buffer_size);
         amount := buffer_size;
         offset := 1;
         WHILE amount >= buffer_size
         LOOP
              DBMS_LOB.READ(c,amount,offset,buffer);
              -- buffer:=replace(buffer,chr(13),'');
              offset := offset + amount;
              UTL_FILE.PUT(file_handle,buffer);
              UTL_FILE.FFLUSH(file_handle);
         END LOOP;
         UTL_FILE.FCLOSE(file_handle);
    end;
    create or replace FUNCTION BLOB2CLOB ( p_blob IN BLOB ) RETURN CLOB
    -- typecasts BLOB to CLOB (binary conversion)
    IS
    || Purpose : To Convert a BLOB File to CLOB File
    || INPUT : BLOB File
    || OUTPUT : CLOB File
    || History: MB V5.0 24.09.2007 RCMS00318572 Initial version
    ln_file_check NUMBER;
    ln_file_size NUMBER;
    v_text_file CLOB;
    v_binary_file BLOB;
    v_dest_offset INTEGER := 1;
    v_src_offset INTEGER := 1;
    v_warning INTEGER;
    lv_data CLOB;
    ln_length NUMBER;
    csid VARCHAR2(100) := DBMS_LOB.DEFAULT_CSID;
    V_LANG_CONTEXT NUMBER := DBMS_LOB.DEFAULT_LANG_CTX;
    BEGIN
    DBMS_LOB.createtemporary (v_text_file, TRUE);
    SELECT dbms_lob.getlength(p_blob) INTO ln_file_size FROM DUAL;
    DBMS_LOB.converttoclob (v_text_file, p_blob, ln_file_size, v_dest_offset, v_src_offset, 0, v_lang_context, v_warning);
    SELECT dbms_lob.getlength(v_text_file) INTO ln_length FROM DUAL;
    RETURN v_text_file;
    END;I skimmed this and stopped reading when i saw the BLOB to CLOB function.
    You can't convert binary data into character based data.
    So very likely this is your problem.

  • How to read the contents of Input Field created via Screen Painter?

    Hi All,
    I have a module program / dialog program, on my second screen, I created an input/outbox field via screen painter of course,
    now in my PAI, how can I read the contents of the input/outbox field?
    Let's say the name of my input/outbox field is: P_WEKRS.  Note: Get Parameter and Set Parameter is ticked.
    PROCESS AFTER INPUT.
      LOOP WITH CONTROL TC_DATA.
        MODULE MODIFY_DATA.
      ENDLOOP.
    I want to get the value of the input/outbox field before my loop in table control?  I thought that it will work like normal parameter in non-dialog programs.
    Any helpful inputs will be appreciated/rewarded.
    Thanks.
    Jaime

    Hi, Jaime
    Do the following Change in you Follow Logic
    PROCESS AFTER INPUT.
    MODULE read_or_change_value. " Add this
    LOOP WITH CONTROL TC_DATA.
      MODULE MODIFY_DATA.
    ENDLOOP.
    Add the Bellow Module code in you Driver Program.
    MODULE read_or_change_value.
    DATA: P_WEKRS like " the Field on Screen. Must be the same name as on SCREEN. and Type must be same too.
    " Here you will find the Value in that Variable or if you will change the Value here you will find it change on Screen
    END MODULE.
    Please Reply if any Issue..
    Best Regards,
    Faisal

  • Any transaction to see the content of IDOC field ??

    HI Gurus,
    We have 1000's of Idocs of a particular type processed correctly in our system.
    However one of them had BAD data, which also got processed  in SAP.
    So I am trying to find out which IDOC it was.
    Going through WE02, its proving very difficult to go one-by-one into each and check the contents.
    I need to look for  IDOC where the value in field KUNNR = 'DUMMY'.
    So is theer a transaction/program which can let me know which IDOC number has the value 'DUMMY' in field KUNNR.
    Regards
    Shirin

    we09
    Regards,
    sukarna.ch

  • How do I get the TOC to appear in the Contents tab when Help is opened in Chrome?

    Hi,
    I am using RoboHelp HTML 8.  I typically open the Help output in Internet Explorer.  The Help opens, and the Contents tab is there with a TOC of the Help contents.  However, when I open the Help in Chrome, the Contents tab is empty.  How can I fix this?
    Thank you,
    Erin

    You're running into the Chrome "security" fix that kills all local html content - there's 3 ways to fix this: 1. upgrade to RH10 - there's a fix in there for it; 2. start Chrome with a command line trigger that enables local content; 3. fake it out by creating a fake webserver - files on a webserver aren't blocked by Chrome. You can read up on all this on Peter Grainge's website - grainge.org - search for "Chrome"

  • How do I highlight the contents of a field

    HI,
    When I click on a field I would like the contents were revealed . can someone help me?
    thanks
    Silvia

    Check out the Cursor Position JPC demo in the Oracle Forms 10g Sample Code. This isn't exactly what you are looking to do but it is pretty close! :D
    Hope this helps,
    Craig
    If a response is helpful or correct, please mark it accordingly.

  • How do I clear the message usage under settings to open ip more space on my phone?  Clearing the actual messages will not work.

    How do I clear the messages in order to free up storage space?  Just clearing the actual messages will not work!!!

    It doesn't sound like the Exchange environment is configured in a manner to support these types of clients very well.  Have your Exchange team look at the following
    http://blogs.technet.com/b/exchange/archive/2012/11/26/supporting-windows-8-mail-in-your-organization.aspx
    http://blogs.technet.com/b/exchange/archive/2013/10/18/supporting-windows-mail-8-1-in-your-organization.aspx
    From the latter article: "Communications applications can connect to a corporate Exchange service
    configured to require certificate-based authentication. User authentication certificates can be provisioned to Windows 8.1 devices by administrators or end-users can browse to certificate and install to user certificate storage."
    You might want to:
    Ask your Exchange team the public URLs (ExternalURL) for Exchange OWA & ActiveSync
    Open the OWA URL in your Internet Explorer from your Surface
    If you get a Certificate warning, open the certificate and select Install (NOTE: You may have to install the entire certificate chain).  Your desktop support team should be able to support this because it is the SAME process for standard Windows 8x
    desktops.
    Confirm that you can open OWA on your surface with no more certificate or security warnings.  NOTE: The Exchange team will have to configured OWA properly.
    Once confirmed, repeat the same steps for the activesync URL that they provided.
    When done, try using the OWA OR ActiveSync URL value in your settings of your Mail client.
    Good Luck

  • Clear the content of Checkbox without looping for every record

    Hi all,
    I am Karthik. I am working in Oracle EBS. I am developing one form in which it contain 2 checkbox. if checkbox1 is selected in 1st record it need to check checkbox2 all the record till the end of the block. when i uncheck it need to do reverse. what i facing during unchecking it need to loop through all the record and it assign the value. I use clear_item(even i know it use only for clearing the text_item) it is not working.
    Is there any other way than this to uncheck?
    Please specify apps property for set_block_property, set_window_property,set_item_instances_property,get_item_property,get_item_instance_property
    the procedure is
    /* This Procedure take care of post processing when button copy is pressed in form
              It take care of
              1.If the number of record in the block exceeds 1000 then it display a message, to confirm the copy to proceed
              2.If it less than 1000 then it directly proceed to copy by enabling copy_from and copy_to checkbox.
              3.Once copy button is pressed the label of copy button changed to cancel copy
              4.Cancel copy button is pressed , copy_from and copy_to checkbox is disabled in form
         Variable Declaration Purpose
         no_alert_button This variable used to track which button is pressed by user when alert message is shown
    PROCEDURE PROC_COPY_BTN_FCN IS
         no_alert_button NUMBER;
    BEGIN
              IF      Get_Item_Property('BLK_PROD_PROFILE.BTN_COPY',LABEL)='Copy'
              THEN
                   IF PACK_FORM_VAR.no_record_count >1000
                   THEN
                                  Fnd_Message.Set_String('Current Block Contain '|| PACK_FORM_VAR.no_record_count ||' Records. Copy may Take Time');
                                  Fnd_message.Show;
                                  no_alert_button :=Show_Alert('ALERT_RECORD_COUNT');
                                  IF no_alert_button =ALERT_BUTTON1
                                  THEN
                                            --IF      Get_Item_Property('BLK_PROD_PROFILE.BTN_COPY',label)='Copy'
                                            --     THEN
                                            --     :parameter.G_query_find := 'FALSE';
                                                 Set_Block_Property('BLK_PROD_PROFILE',Query_allowed,property_false);
                                                 App_Special.Enable('FILE.SMARTBAR_FIND',PROPERTY_OFF);
                                            --     set_menu_item_property('VIEW.FIND',ICON_IN_MENU,property_off);
                                                 App_Special.Enable('VIEW.FIND',property_off);
                                            Set_Window_Property('WIN_PROD_PROFILE',WIDTH,10.3);
                                            Set_Block_Property('BLK_PROD_PROFILE',BLOCKSCROLLBAR_POSITION,9.691,.906);
                                                 App_Item_Property.Set_Property('BLK_PROD_PROFILE.BTN_CONTINUE',VISIBLE,property_true);
                                                 App_Item_Property.Set_Property('BLK_PROD_PROFILE.CKBX_COPY_TO',VISIBLE,property_true);
                                                 App_Item_Property.Set_Property('BLK_PROD_PROFILE.CKBX_COPY_FROM',VISIBLE,property_true);
                                                 App_Item_Property.Set_Property('BLK_PROD_PROFILE.CKBX_COPY_FROM',ENABLED,property_true);
                                                 App_Item_Property.Set_Property('BLK_PROD_PROFILE.CKBX_COPY_FROM',UPDATE_ALLOWED,property_true);
                                            --App_Item_Property.Set_Property('BLK_PROD_PROFILE.BTN_DESELECT',VISIBLE,property_true);
                                            Go_Item('BLK_PROD_PROFILE.TEXT_PROD_BRAND');
                                            --App_Item_Property.Set_Property('BLK_PROD_PROFILE.BTN_COPY',VISIBLE,property_false);
                                                 App_Item_Property.Set_Property('BLK_PROD_PROFILE.BTN_COPY',label,'Cancel Copy');
                                  END IF;
              ELSE
                                  Set_Block_Property('BLK_PROD_PROFILE',Query_allowed,property_false);
                             App_Special.Enable('FILE.SMARTBAR_FIND',PROPERTY_OFF);
                   --     set_menu_item_property('VIEW.FIND',ICON_IN_MENU,property_off);
                        App_Special.Enable('VIEW.FIND',property_off);
                   Set_Window_Property('WIN_PROD_PROFILE',WIDTH,10.3);
                   Set_Block_Property('BLK_PROD_PROFILE',BLOCKSCROLLBAR_POSITION,9.691,.906);
                        App_Item_Property.Set_Property('BLK_PROD_PROFILE.BTN_CONTINUE',VISIBLE,property_true);
                        App_Item_Property.Set_Property('BLK_PROD_PROFILE.CKBX_COPY_TO',VISIBLE,property_true);
                   App_Item_Property.Set_Property('BLK_PROD_PROFILE.CKBX_COPY_FROM',VISIBLE,property_true);
                             App_Item_Property.Set_Property('BLK_PROD_PROFILE.CKBX_COPY_FROM',ENABLED,property_true);
                        App_Item_Property.Set_Property('BLK_PROD_PROFILE.CKBX_COPY_FROM',UPDATE_ALLOWED,property_true);
                   --App_Item_Property.Set_Property('BLK_PROD_PROFILE.BTN_DESELECT',VISIBLE,property_true);
                   Go_Item('BLK_PROD_PROFILE.TEXT_PROD_BRAND');
                   --App_Item_Property.Set_Property('BLK_PROD_PROFILE.BTN_COPY',VISIBLE,property_false);
                        App_Item_Property.Set_Property('BLK_PROD_PROFILE.BTN_COPY',label,'Cancel Copy');
              END IF;
              ELSIF Get_Item_Property('BLK_PROD_PROFILE.BTN_COPY',label)='Cancel Copy'
              THEN
                        Set_Block_Property('BLK_PROD_PROFILE',Query_allowed,property_true);
                        First_Record;
                        LOOP
                             IF :System.Cursor_Record = PACK_FORM_VAR.no_currec
                             THEN
                                            :BLK_PROD_PROFILE.CKBX_COPY_FROM := 'N';
                                            Set_Item_Instance_Property('BLK_PROD_PROFILE.CKBX_COPY_TO',current_record,UPDATE_ALLOWED,property_true);
                             ELSIF :System.Cursor_Record <> PACK_FORM_VAR.no_currec
                             THEN
                                            :BLK_PROD_PROFILE.CKBX_COPY_TO := 'N';
                                       Set_Item_Instance_Property('BLK_PROD_PROFILE.CKBX_COPY_FROM',current_record,UPDATE_ALLOWED,property_true);
                                            Set_Item_Instance_Property('BLK_PROD_PROFILE.CKBX_COPY_FROM',current_record,INSERT_ALLOWED,property_true);
                                  END IF;
                        EXIT WHEN:System.Last_Record ='TRUE';
                        Next_Record;
                        END LOOP;
                        /*     go_item('BLK_PROD_PROFILE.CKBX_COPY_TO');
                             Clear_item;
                                  go_item('BLK_PROD_PROFILE.CKBX_COPY_FROM');
                             Clear_item; */
                             :BLK_PROD_PROFILE.CKBX_SELECT_ALL :='N';
                             --App_Item_Property.Set_property('BLK_PROD_PROFILE.BTN_DESELECT',visible,property_false);
                        --     App_Item_Property.Set_property('BLK_PROD_PROFILE.BTN_DESELECT',enabled,property_false);
                             App_Item_Property.Set_property('BLK_PROD_PROFILE.CKBX_SELECT_ALL',visible,property_false);
                             App_Item_Property.Set_property('BLK_PROD_PROFILE.BTN_COPY',VISIBLE,property_true);
                             App_Item_Property.Set_property('BLK_PROD_PROFILE.BTN_COPY',ENABLED,property_true);
                             App_Item_Property.Set_property('BLK_PROD_PROFILE.BTN_CONTINUE',VISIBLE,property_false);
                             App_Item_Property.Set_property('BLK_PROD_PROFILE.CKBX_COPY_FROM',VISIBLE,property_false);
                             App_Item_Property.Set_property('BLK_PROD_PROFILE.CKBX_COPY_TO',VISIBLE,property_false);
                             --App_Item_Property.Set_property('BLK_PROD_PROFILE.BTN_DESELECT',label,'Deselect');
                             SET_BLOCK_PROPERTY ('BLK_PROD_PROFILE',BLOCKSCROLLBAR_POSITION,8.5,0.906);
                             set_window_property('WIN_PROD_PROFILE',width,8.9);
                             App_Item_Property.Set_Property('BLK_PROD_PROFILE.BTN_COPY',label,'Copy');
                             App_Special.Enable('VIEW.FIND',property_on);
                             App_Special.Enable('FILE.SMARTBAR_FIND',PROPERTY_ON);
              END IF;
    END;
    Please help me to solve this issue.
    thanks and regards
    Karthik M

    You are creating your vaiables in the declerative block as
    <%!
    String [] equipment=new String[60];
    String [] type=new String[60];
    int i=0;
    int j=0;
    %>
    Place these declerations outside the declerative block i.e. in simple scriplets....
    Now on each page access you will get fresh variables
    Hope this helps...

  • Is there an easy way to clear the contents of Download Folder?

    Is there an easier way to clear out files (send to trash) from the downloads folder, other than dragging one by one? The downloads folder closes immediately upon dragging one file out.

    You do not need to invoke Finder to do this. Create a new empty Automator workflow and use the "Run Shell Script" option. Paste in the following....
    mv ~/Downloads/* ~/.Trash
    You can then save the workflow as an application, attach it as a Finder action or add it to the scripts menu, whichever you like better.
    If you would like to bypass the Trash and just completely delete the Downloads folder contents immediately, then paste in this command:
    rm -rf ~/Downloads/*

  • How to veriy if the contents of a field is STRING

    Hello All,
    In START_ROUTINE of Tranfer routine:
    I would like to verify that a field in DATA_PACKAGE-CUSTNM is string. Because, due to bad data I am finding numeric values, in this field.
    I would like to remove that record from DATA_PACKAGE, if there is no STRING in this field.
    How do I do it? Is there a function / code?
    <REMOVED BY MODERATOR>
    Thanks,
    Pramod.
    Edited by: Alvaro Tejada Galindo on Jan 22, 2008 5:09 PM

    Do you want to discard the data package if all characters in custnm are numbers or also if only one charcter is a number?
    form check_number using iv_value type string changing cv_is_number type c.
      data:
            lv_length type i,
            lv_index type i,
            lv_char type c,
            lv_num type n.
      describe field iv_value length lv_length in byte mode.
      cv_is_number = 'X'.
      lv_length = lv_length / 2 - 1.
      do lv_length times.
        lv_index = sy-index - 1.
        lv_char = iv_value+lv_index(1).
        try.
          lv_num = lv_char.
         catch cx_sy_move_cast_error.
           clear cv_is_number.
        endtry.
      enddo.
    endform.
    this one says not a number as soon as one character is not a number. you can easily modify it to check whether all characters are numbers

Maybe you are looking for