Screen-Painter: Icon in a I/O Field?

Hi Gyus,
I'm writing a dialogue program (module pool). Not a report. Is it possible to have an icon in an I/O field? If yes, what needs to be done?
I'm working with the NW2004s, SP11
Thanks for your help,
Thomas
Edited by: Thomas Mueller on Oct 11, 2009 8:11 PM

Hello Thomas,
i dont think we can added icons to input fields.
regards
Prabhu

Similar Messages

  • Table control:screen painter(Module Pool)

    hi !
    Table name :ZDR_MOD.
    Internal table:ITAB.
      I am doing Custom table control in screen painter.I have done desgin in screen painter,I am not writing any doing in PAI abd PBO. while compiling it showing error like,
    "The field "ITAB-MANDT" is not assigned to a loop."LOOP ... ENDLOOP" must appear in PBO and PAI""
    Report coding:
    EPORT  ZDR_PGM_TMP.
    tables:zdr_mod.
    CONTROLS tc TYPE TABLEVIEW USING SCREEN 100.
    data:itab TYPE STANDARD TABLE OF zdr_mod with HEADER LINE.
    DATA : flg, "Flag to set the change mode
    ln TYPE i. "No. of records
    select * from zdr_mod into CORRESPONDING FIELDS OF TABLE ITAB.
    call SCREEN 100.
    INCLUDE ZDR_PGM_TMP_STATUS_0100O01.
    INCLUDE ZDR_PGM_TMP_USER_COMMAND_01I01.
    thank in advance
    Dharma

    Hi,
    When a table control is added onto the Screen Painter, it is mandatory that the fields that you have added on from the dictionary be present in your program and is used within a loop...endloop.
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
       LOOP AT T_ITAB INTO WA_ITAB WITH CONTROL TABCONTROL1.
         MODULE PURCHASEITEM_DETAILS.
       ENDLOOP.
    PROCESS AFTER INPUT.
    LOOP AT T_ITAB.
         MODULE USER_COMMAND_0100.
    ENDLOOP.
    The internal table that you declare will have the same structure as that your table control. So it always loops with respect to the table control.

  • Serch help F4 in Screen Painter

    Hi All
    I am creating a new screen in Screen Painter, for one of the input fields , I want F4 search help, which should be desplayed from the database table.
    can any body guide how can I solve this.
    cheers
    AJ

    If no searh help avaialble for the data element.
    use process on value-request.
    field 'FIELD_NAME'  module set_values.
    and in module set_values   wrtie the below code
    for example i have taken entreis from t158g.
      types :  begin of t_tab,
                     gmcode  like t158g-gmcode,
                     tcode like t158g-tcode,
               end of t_tab.
      data it_tab type standard table of t_tab.
      select gmcode tcode into table it_tab from t158g.
      if not it_tab[] is initial.
        call function 'F4IF_INT_TABLE_VALUE_REQUEST'
          exporting
            retfield               = 'GMCODE'
           dynpprog               = sy-repid
           dynpnr                 = sy-dynnr
           dynprofield            = 'ZMAPGMCODE-GM_CODE'
           value                  = space
           value_org              = 'S'
           display                = 'F'
    IMPORTING
      USER_RESET             =
          tables
            value_tab              = it_tab
        if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        endif.
      endif.

  • How to change the visible length in screen painter?

    Hi Guys,
    we have field in screen which is type to ATWRT but the visible length is set to 11. ATWRT is 30 char.
    Please advise on How to change the visible length in screen painter to make it 30?
    When I try to edit the defined length from 11 to 30. It wont allow me to.
    Thanks a lot!

    Hi,
    Try the below method:
    Goto Screen Painter -> Double click on Input-Output field for ATWRT another screen will appear with attributes of Input Output field -> Increase the Visible length Value there. (Option of visible length is below the Name and Text attribut of Attribute windiw.)
    If the Visible length field isn't allowing change then declare it as a Char type instead of taking the DataType for Data Dictionary.
    Thanks,
    Preyansh
    Edited by: DWIVEDP on Mar 29, 2010 12:42 PM

  • 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

  • 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

  • F4 help for the selection screen field designed in screen painter

    Hi all,
    I have designed selection screen in the screen painter. in that for one of the fields i have to give f4 help. for that i have writter the code in PAI event. in this event i have used the standard Function module for f4 help. but no f4 help is comming for that field. can any body suggest what i have to do.
    Thanks & Regards,
    Giri.

    Hi,
    You must use the correct event to meet ur requirement use  POV event instead of  PAI event.
    for more clarification and example program see  below the demo program
    DEMO_DYNPRO_F4_HELP_DYNPRO
    DEMO_DYNPRO_F4_HELP_MODULE
    Cheers
    fareed

  • Regarding input output field of the screen painter

    Hi Experts,
    I want to increase the height of the input output field in the screen painter.
    ie, multiline input output field.Is there any means?
    Or is there any alternative other than the input output field?
    Thanks & Regards,
    Soumya.

    hi,
    when u drag n drop some fields in the screen goto to one of the corners of dat fields drag to the extend u want to increase.
    or in attributes section  for u length n width of dat fields are available just increase to your wish.
    if helpful reward some points.
    with regards,
    Suresh Aluri.

  • Screen Painter - search help for field

    Hello All,
    I have some fields in a screen created with Screen Painter.
    The filelds's types are standard system types like BU_PARTNER or other.
    How do I have to define them so that in the screen to appear the match code?
    Thank you very much,
    Diana.

    Hi Diana Cotelea,
    You can use standard search help 'BUPA'.
    Do as follows,
    1. Goto 'Dict' tab of the property of BU_PARTNER field in your screen, in 'Search Help' property enter the search help name 'BUPA'.
    2. Goto 'Program' tab, for 'Poss. Entries Key' property select 2 or 3 from its DropDowm List values.
    Try this.
    Regards,
    R.Nagarajan.

  • Unwanted Extra Zeros in Output - Screen Painter Variable Field

    I made this program to leanr screen painting which is a calculator. It all works fine but any calculation I do has extra zeros I don't want for example,
    If I do 3.5 divide by 0.5 it shold give me an answer of 7.00 but it appears like 00000000007.00 and I can't figure out why. My fields for this output and the input are set to DEC - Decimal type.in the screen painter. My variables are specified to two decimals. So whats with these extra zeros?
    Thanks in Advance.  

    Hi James,
    In the fields attributes, tab program, have a look if "Leading zeroes" checkbox is checked. It should not be.
    Regards,
    Custodio

  • 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

  • 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

  • Color of container name in screen painter - problem

    Hi, I have written a program to collect records from the database and display them in the ALV Grid using OOP Methods. I have created a screen for this and called it in my program. It is working but in the screen painter the name of the container control is in red color. Does it mean that there is something wrong with it? The program works perfectly all right. And also the 'Back', 'Cancel' and the 'Exit' buttons remain disabled in the toolbar in the final output window. If anybody could tell me how to make them enable then it would be great.
    Thanks,
    Pushpa

    Now double click the "Main100", system will ask if you want to creat it, say yes.  Give descriptin and click green check.  Now click the icon next to "Function Keys",  enter BACK into the space green arrow,  EXIT into the yellow icon, and CANCEL into the red one.  Save and activate.  Now you need to handle these fcodes in your program.  Make sure to put the name of the OK_CODE field in your screen,  make it OK_CODE.   So now you need a PAI.
    MODULE USER_COMMAND_100.
    case ok_code.
        when 'BACK' or 'EXIT' or 'CANCEL'.
            clear ok_code.
            set screen 0.
            leave screen .
    endcase.
    ENDMODULE.
    Regards,
    RIch Heilman

Maybe you are looking for

  • So many problems with snow leopard

    But, i didn't have any with my install.... its only been 1 day but so far so good..... i'm glad that if i do encounter a problem this forum is a good start to a solution. thanks guys.

  • Workflow Error Purchase Order

    Hi Experts, my issue is the following: We try to create a purchase order in SRM with a local mapped category (mapped to the local srm system) and depending on the user the target system should be overwritten in BADI bbp_determine_logsys to get the pu

  • How to use CreateNamedPipe in Java

    Hi am integrate my java application with a c++ application & i don't have control over the c++ application, already the c++ application integrated with other c++ application using pipes, Now i want to integrate with Java. But i found that java doesn'

  • How can i modify in TC f-43

    Dear Experts,               I  want to give an error message in TC f-43.      When i am giving the document date,posting date,reference,account number it is posting.But when i am changing only the document date with same reference number and account

  • Grey Screen at Adobe XI open

    Ever since I updated to version XI, I haven't been able to open a pdf file, either from an online location or on my hard drive.  Went through the fix option and that didn't work.  Tried uninstalling and reinstalling - that didn't work either.  Tried