I/O field in screen painter

Hi,
I have a I/O field created in screen painter (single line will do).Now I need to output values to the IO field through program.I need to know which is the class linked to the IO field and which method will write values to it?
thanks
Suganya

Hi,
I created a IO field in the screen painter with the name IO_TEXT and as you said created a variable in the program with IO_TEXT like below,
DATA: IO_TEXT (not sure of the reference type).
and tried to assign a text to it as below,
IO_TEXT = 'sample'.
but I don't get that in the output.Not sure of what is the mistake i am making.
thanks
Suganya

Similar Messages

  • How to swap fields in screen painter.

    hello gurus,,
    how to swap fields in screen painter.

    Hi
    Go through the link given below :
    http://www.standardware.com/pdf/stdwsp.pdf
    With Regards
    Nikunj Shah

  • How to delete invisible fields from screen painter SE51?

    Dear all,
    How to delete/remove invisible fields from screen painter SE51?
    Thanks.

    HI,
    just go to screen painter-->layout in change mode.
    the invisible fields will be looking faded
    click on that and press the DEL button.
    that will be deleted.
    <b><REMOVED BY MODERATOR></b>
    vivekanand
    Message was edited by:
            Alvaro Tejada Galindo

  • Changing language of text of field in screen painter

    Hi All ,
    Can we maintain the text of field in screen painter in different language . For ex: i have same screens  in different languages . When i am changing  the text in  EN language the same text in EN only i am getting in other languages . How can i change the texts into other languages .
    Thanks & Regards ,
    Sabu.

    You have to do translation of the text in the transaction - SE63
    Text fields can be translated. They then appear in the user's logon language. To do this, follow the menu path ->   In Screen Painter: Gotou2192 Translation
    Edited by: Krishna Adabala on Dec 2, 2008 8:15 AM

  • How to add a search help on a screen field from screen painter

    Hi,
    I would like to add an existing Search Help on a screen field in Screen painter.
    Of course it's possible to just click on th screen field and in the property box, I just have to set the name of teh search help.
    The problem is that I need the screen field to be grey and user musn't be able to change the field value if he doens't use the search help.
    I'm not allowed to modify the existing search help or to built it on my own from source code, I must use the existing one.
    Do you have an idea on how to do so?
    Regards,
    Morgan

    Dropdown Box:
    In the screen painter for that field goto properties -> Dropdown ->select listbox.
    Option 1:
    Instead let that field be in change mode and if user enters any wrong entry which is not there in the table give a error messgae.
      CHAIN.
        FIELD addr1_data-country.
        MODULE modify_screenfields1.
      ENDCHAIN.
    MODULE modify_screenfields1 INPUT.
      CASE sy-ucomm.
        WHEN 'ENTER' OR 'EXECUTE'.
          IF NOT addr1_data-country IS INITIAL.
            SELECT SINGLE landx FROM t005t INTO lws_landx WHERE
                                          land1 = addr1_data-country
                                      AND spras = 'EN'.
            IF sy-subrc <> 0.
              MESSAGE e000(zo_spa) WITH text-022.  " Invalid Country code
            ELSE.
              t005t-landx = lws_landx.
            ENDIF.
          ELSE.
            CLEAR: t005t-landx.
          ENDIF.
       ENDCASE.
    ENDMODULE.                 " modify_screenfields1  INPUT
    Option 2: Other than if u want the way u like, let that field be greyed out. don't attach the search help.
    In the PROCESS ON VALUE-REQUEST.
      FIELD addr1_data-region MODULE region_pov.
    MODULE region_pov INPUT.
    Using the F4IF_INT_TABLE_VALUE_REQUEST table value request show the search help.
    also make that field input enabled.
    ENDMODULE.                 " region_pov  INPUT
    I think this will solve ur problem.
    Regards,
    Prakash.
    Message was edited by: Prakash Ramu

  • Entering various items in a single field with screen painter

    Does someone know if is possible to create in a dynpro screen a field that behaves like an empty dropdown box and allow the user to enter more than one entry. (<i>Like the funcionality of</i> <b>SELECT-OPTIONS</b>).
    If that is possible how that field can be stored in a table?

    Here is a sample program showing you how to embed a selection screen in a dynpro.
    report zrich_0006 .
    tables: mara.
    * Custom Selection Screen 1010
    selection-screen begin of screen 1010 as subscreen.
    selection-screen begin of block b1 with frame title text-001.
    parameters: p_rad1 radiobutton group grp1 default 'X',
                p_rad2 radiobutton group grp1,
                p_rad3 radiobutton group grp1.
    select-options: s_matnr for  mara-matnr,
                    s_matkl for  mara-matkl,
                    s_mtart for  mara-mtart.
    selection-screen end of block b1.
    selection-screen end of screen 1010.
    start-of-selection.
      call screen 100.
    *&      Module  STATUS_0100  OUTPUT
    module status_0100 output.
    *  SET PF-STATUS 'xxxxxxxx'.
    *  SET TITLEBAR 'xxx'.
    endmodule.
    *&      Module  USER_COMMAND_0100  INPUT
    module user_command_0100 input.
    endmodule.
    * Screen screen 100 with a subscreen area called "subscreen_1010"
    * Screen Flow Logic follows
    *process before output.
    *  module status_0100.
    *  call subscreen subscreen_1010 including sy-repid '1010'.
    *process after input.
    *  call subscreen subscreen_1010 .
    *  module user_command_0100.
    Regards,
    Rich Heilman

  • How to create password field in screen painter

    hi all,
        i am designing login screen. in that i hv to create one input-output field as a password field. i.e when i enter the characters it will display in <b>*(star) format.</b>
         also is there any way to do the same using <b>parameters</b> statement in report? give me the Way or coding.
    thanks in advance,
    regards,
    Vinod.

    HI GOPI
       I TRY TO ENCRYPT FORMULA IN PASSWORD PROTECT.BUT ITS NOT WORK .ITS SUCCESSFUL COMPILE & WHEN I PUT PASSWORD ITS SHOWING WHAT I GIVEN THERE. SO I THINK IN MY CODING PART THERE IS SOME ERROR.CAN U HELP ME PLEASE.
    I BRIEFLY DESCRIBE.........
    HERE FOR LOGIN PURPOSE I USE MODULE POOL PROGRAM & THERE I CREATE TWO FIELD ONE FOR (USER_NAME & PASSWORD).THERE SHOWING TWO ERROR (1ERROR ONE) EVEN IF YOU GIVE WRONG USER & PASSWORD THEN LOGIN SUCCESSFUL AND (2 SECOND ONE) IF YOU GIVE PASSWORD IN PASSWORD FIELD THAT   LOOK LIKE (****) MEANS ENCRYPT.
    I ALSO SEND MY CODING CAN YOU CHECK PLEASE.
    REPORT  ZLOGIN_PRO MESSAGE-ID ZBABUN.
    TABLES: ZTABLE_LOGIN.
    data: itab like table of ztable_login with header line,
                  OK TYPE SY-UCOMM.
                     CALL SCREEN 100.
    *&      Module  USER_COMMAND_0100  INPUT
          text
    MODULE USER_COMMAND_0100 INPUT.
    CASE OK.
    WHEN 'LOGIN'.
        SELECT * FROM ZTABLE_LOGIN INTO TABLE ITAB.
            SELECT * FROM ZTABLE_LOGIN INTO TABLE ITAB WHERE PASSWORD = ZTABLE_LOGIN-PASSWORD.
      SELECT USER_NAME FROM ZTABLE_LOGIN INTO ITAB-USER_NAME.
       SELECT PASSWORD FROM ZTABLE_LOGIN INTO ITAB-PASSWORD.
    LOOP AT ZTABLE_LOGIN.
      if itab-user_name ca itab-password.
           message i006.
    ELSEIF SCREEN-GROUP1 = 'ZTABLE_LOGIN-PASSWORD'.
    SCREEN-INVISIBLE = '1'.
    MODIFY ZTABLE_LOGIN.
    CONTINUE.
           call transaction 'SBWP'.
         else.
         message e020.
         CLEAR  : ZTABLE_LOGIN-USER_NAME,ZTABLE_LOGIN-PASSWORD.
       endif.
    END LOOP.
    WHEN 'LOGOUT'.
    MESSAGE I007.
    LEAVE PROGRAM.
    WHEN 'CREATE'.
      CALL TRANSACTION 'ZLOGIN_NEW_USER'.
    ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  IN
    note: FIELD NAME OF USER_NAME = ZTABLE_LOGIN-USER_NAME
                                        PASSWORD = ZTABLE_LOGIN-PASSWORD
    PLEASE REPLAY ME.
    .I AM WAIT FOR UR RESULT.
    THANKS
    LAXMIKANTA.

  • F4 help for date field on screen painter

    Hi ,
    I created a screen using dialog programming . I have a date field there which is defined as
    itab-date.
    The format for this field in Element list is DATS .
    How do i get a drop down on the date field on the screen .
    Please advise
    Thanks !

    In Report u have to add,
    TYPES: BEGIN OF TY_F4HELP,                  
              ENAME  TYPE PA0001-ENAME,
              PERNR  TYPE PA0001-PERNR,
           END OF TY_F4HELP.
    Data:   IT_F4HELP TYPE STANDARD TABLE OF TY_F4HELP WITH HEADER LINE.
    *Begin of add F4 in Parameter field Ename.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_ENAME.
      DATA: IT_RETURN_TAB TYPE ddshretval OCCURS 0 WITH HEADER LINE . " Return table for F4 help
      SELECT DISTINCT ename pernr
        FROM PA0001
        INTO TABLE IT_F4HELP.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          RETFIELD        = 'ENAME'
          VALUE_ORG       = 'S'
        TABLES
          VALUE_TAB       = IT_F4HELP
          RETURN_TAB      = it_return_tab
        EXCEPTIONS
          PARAMETER_ERROR = 1
          NO_VALUES_FOUND = 2
          OTHERS          = 3.
      READ TABLE it_return_tab INDEX 1.
      IF SY-SUBRC <> 0.
      ENDIF.
      IF sy-subrc = 0.
        MOVE it_return_tab-fieldval TO P_ename.
      ENDIF.
      CLEAR: it_return_tab.
    *End of add F4 in Parameter field Ename.

  • 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

  • Search Help of compounded char in Screen Painter

    Hi,
    I have attached the standard search help /BI0/OGL_ACCOUNT to the G/L account input/output field in screen painter. While executing when I press F4 it gives the pop up message showing chart of accounts (Compounded) and G/L account characteristic values. But when I select single line it shows chart of accounts in the input/output field instead of G/L account. Could you please tell me why is it so and how can it be corrected if I want G/L account values in the input/output field.
    Thanks,
    Viren

    how to change the search help of the WBS field VBAP-PS_PSP_PNR in the over screen tab.
    Unfortunatly there is no search help for PS_PSP_PNR in VBAP.
    I guess you need to create one elementry Z search help and finally tab it to  PS_PSP_PNR in VBAP by just enhacing the VBAP.
    PS:But you need access key for same.

  • Regarding the flow logic in screen painter

    Hi Experts
    I am a BW guy and i am new to ABAP and i need your help to solve my problem.
    I have created a table for master data(zemp_data) in R/3 se11..which has fields like zempid,zempname,zmgrid,zdeptid,zdeptname and i have created the respective fields in screen painter too but my problem is i dont know how to link this fields  in the screen painter to the  fields in table .to be more clear i want the flow logic or module pool code to link this table when i give an entry in the screen painter for the respective  fields..i will really appreciate your answers and award the maximum points for the usefull answer ..as i dont know ABAP much if it is a step by step approach ..that would be helpfull
    Regards,
    RK.

    Hi Karthik,
    Please consider the following
    In the screen...the fields must be from the database table in Se11..(in screen painter -> use.."get from Dictionary" -> enter the table name -> select the fields -> drag and drop on the screen) or must have the same name in the database table..This will be a link but unless you code to fetch values from database or update values to database there will be no action taking place
    Usually in the PBO(process befor output) we write the code to display values before we accept data from the user ie,set default values on the screen if required and prepare the screen for user input
    in the PAI of the screen painter we can do data processing ie, data validations,checks and saving based on what the user wants
    So imagine you have buttons placed on the screen and there are buttons from standard application bar like BACK,SAVE, set using PFstatus..all the user actions will be linked to a function cod..ie whenever user presses a button we can uniquely idntify what was pressed by assigning a function code to each button in the menu painter or PF status and do the action accordingly
    Assume that you have created a push button on the screen painter and assigned it a function code "PUSH"
    so whenever you press the button in the variable sy-ucomm "PUSH" will be captured..this you can check in PAI for the screen like
    Case sy-ucomm.
    when 'PUSH'.
    do the needful coding
    when 'SAVE'
    Modify database table
    endcase.
    you can check the standard demo programs in SE38 -> program name-> display for basic ABAP coding you have asked for
    (1)demo_dynpro_input_output .
    (2)demo_dynpro_dictionary
    (3)demo_dynpro_push_button
    Pls let us know if you need more help on the same
    Reward if helpful
    Regards
    Byju

  • How to continue the screen in Screen -painter?

    Hi friends can anybody help me out in knowing how to continue the fields in screen painter. For clear explanation i have got 20 fields to be entered in my form, but when i am going to layout of screen painter i have been able to accomadate only 12 the rest 8 i want to be in continuation.
    hope you can under stand.
    suppose if this is the layout
                                     Registration
    01. ......
    02. ,,,,,,
    12. ,,,,,,,,
    i have accomadated in one single screen
    i want to accomadate the rest 8 in continuation can i know how?
    please its urgent for me.

    hi
    increase the window size.
    regards
    sreelatha gullapalli

  • How to put "selection options without intervals" on screen painter?

    Hello all,
           I need to put a field for pernr(personal number) on screen painter (module program) and user should be able to enter a list of pernr's to process. I know in report program I can do this by:
    SELECT-OPTIONS: s_lpernr FOR pa001-pernr NO INTERVALS.
    How can I get this work on sccreen painter in module programming? How can I add a field on screen painter with a range without intervals? Please let me know.
    Thanks.
    Mithun.

    You can also do this using the function module COMPLEX_SELECTIONS_DIALOG.
    REPORT  ZTEST_SCREEN                            .
    DATA : BEGIN OF IT_DYNPFIELDS OCCURS 3.
            INCLUDE STRUCTURE DYNPREAD.
    DATA : END OF IT_DYNPFIELDS.
    DATA: TEST(10) TYPE C.
    RANGES:  R_UNAME FOR SY-UNAME.
    DATA:     V_USERNAME LIKE  SY-UNAME.
    DATA : V_PROG LIKE D020S-PROG VALUE 'ZTEST_SCREEN',
           V_DNUM LIKE D020S-DNUM VALUE '0100'.
    CALL SCREEN 100.
    *&      Module  STATUS_0100  OUTPUT
    *       text
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS 'TEST'.
    *  SET TITLEBAR 'xxx'.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    *       text
    MODULE USER_COMMAND_0100 INPUT.
      CASE SY-UCOMM.
        WHEN 'BACK'.
          LEAVE TO SCREEN 0.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Module  GET_CURSOR_USERNAME  INPUT
    *       text
    MODULE GET_CURSOR_USERNAME INPUT.
      REFRESH IT_DYNPFIELDS.
      CLEAR   IT_DYNPFIELDS.
      MOVE 'V_USERNAME' TO IT_DYNPFIELDS-FIELDNAME.
      APPEND IT_DYNPFIELDS.
      CLEAR   IT_DYNPFIELDS.
      CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          DYNAME               = V_PROG
          DYNUMB               = V_DNUM
          TRANSLATE_TO_UPPER   = 'X'
        TABLES
          DYNPFIELDS           = IT_DYNPFIELDS
        EXCEPTIONS
          INVALID_ABAPWORKAREA = 1
          INVALID_DYNPROFIELD  = 2
          INVALID_DYNPRONAME   = 3
          INVALID_DYNPRONUMMER = 4
          INVALID_REQUEST      = 5
          NO_FIELDDESCRIPTION  = 6
          INVALID_PARAMETER    = 7
          UNDEFIND_ERROR       = 8
          DOUBLE_CONVERSION    = 9
          STEPL_NOT_FOUND      = 10
          OTHERS               = 11.
      IF SY-SUBRC EQ  0.
        READ TABLE IT_DYNPFIELDS WITH KEY FIELDNAME = 'V_USERNAME'.
        IF SY-SUBRC = 0.
          V_USERNAME = IT_DYNPFIELDS-FIELDVALUE.
        ENDIF.
      ENDIF.
      PERFORM GET_MULTIPLE.
    ENDMODULE.                 " GET_CURSOR_USERNAME  INPUT
    *&      Form  GET_MULTIPLE
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM GET_MULTIPLE .
    * Dynamically holding Field name
      FIELD-SYMBOLS: <FST> TYPE STANDARD TABLE.
      IF  R_UNAME[] IS INITIAL.
        IF NOT V_USERNAME IS INITIAL.
          R_UNAME-SIGN = 'I'.
          R_UNAME-OPTION = 'EQ'.
          R_UNAME-LOW = V_USERNAME.
          APPEND R_UNAME.
          CLEAR  R_UNAME.
        ENDIF.
      ENDIF.
      ASSIGN R_UNAME[] TO <FST>.
      CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG'
        EXPORTING
          TITLE             = 'Select Multiple Value'(059)
          TEXT              = 'Finish Group'(058)
          SIGNED            = 'X'
          LOWER_CASE        = ' '
          NO_INTERVAL_CHECK = 'X'
          JUST_DISPLAY      = ' '
          JUST_INCL         = 'X'
        TABLES
          RANGE             = <FST>
        EXCEPTIONS
          NO_RANGE_TAB      = 1
          CANCELLED         = 2
          INTERNAL_ERROR    = 3
          OTHERS            = 4.
      IF SY-SUBRC EQ  0.
        READ TABLE R_UNAME INDEX 1.
        IF SY-SUBRC = 0.
          V_USERNAME = R_UNAME-LOW.
        ENDIF.
      ENDIF.
    ENDFORM.                    " GET_MULTIPLE

  • Pass-word field in scren painter...

    Hi all...
    I had created a text-box and a password field in screen-painter. Now what I want is, if the data in textbox and password field is matched than only it should goto next screen. else it should give a error message...
    I had written the following condition. It is compiling but execution is not-correct.
    if EID EQ 180 and PASSWORD eq 'xyz'.
         """"  execute next screen.
    else.
        """"" error message.
    endif.

    Hi,
    Check Password is converting to upper case or not in debug mode. As you are comparing the password with lower case char and the value in password is uppercase then it fails.
    IF EID EQ '180' AND PASSWORD EQ 'XYZ'.
    """" execute next screen.
    ELSE.
    """"" error message.
    ENDIF.

  • CS -Depot Repair User field header screen

    Hello ,
    I want to include user defined field in RMA sub-tab of SM03 order type.. This user defined field is "Serial number".We are creating a service order for a serial number.  Currently I can view serial number in object list .We want to include this serial number field in RMA sub-tab. Is this possible.
    I think from this  exit IWO10018 it is possible to include fields & screen.But it is visible as seperate tab "Enhancement" appearing on last in order tabs.Am i right.
    Regards,

    Go through this link. This link has explained to add field using screen painter for VA01 entry screen. Instead of program SAPMV45A, enter the program SAPLCOIH (for IW31 header screen). Check with ABAP people for further clarity.
    http://www.sap-advisor.com/abap-coding/how-to-add-a-custom-field-using-the-sap-screen-painter/
    http://wiki.sdn.sap.com/wiki/display/ABAP/NewfieldListdisplayatIW38orIW39whenactivatingscreenexitatIW31MaintenanceOrdercreate

Maybe you are looking for

  • How do I use iChat (Jabber) to utilize my MSN account?

    Heya, So I have a client that their whole team uses MSN messenger, of course that is not the easiest thing to setup in iChat, but I've been told from various sources it can certainly be done. However, all the tutorials I've found on it are convoluted

  • How to restore all Logic files from a Time Machine backup

    Hello- I recently had to clear all of the memory on my laptop, in order to free up some room. It was running very slow, and I had far too much clutter on there. I have a MacBook, and back everything up on Time Capsule, so I've spent the past couple o

  • URGENT DOUBT IN BADI

    Hi Experts, My requrement is on BADI's but i have not much idea on this requrement,requirement is as follows: · A user exit is needed on the delivery that rebrands sub items into the header item and the header item will then be Post Goods Issued. · T

  • Difference between capacity formulae and scheduling formulae in workcenter

    Hi experts please give me the solution for my queries 1. What are  the  capacity formulae and scheduling formulae in workcenter, give me examples, What is the difference between capacity formulae and scheduling formulae in workcenter , how these  are

  • Flattening a track

    i have a guitar track that i accidentaly recorded only into the left side (the waveforms all shoot up), and i need to figure out how to flatten it so that i can get it to come through the right channel. anyone know how?