About flow logic in screen painter

hi all,
its urgent to me i need to creat a TCODE for specific transaction.
i was created a Ztable with three fields and now i need to create a screen with save and delete and edit options for that three fields ( i was already created a screen with these fields but i dont know how to write code in the flowlogic section)and i have to assign that to One new Tcode please guide me step by step.
thank u in advance
Best Reg
Sunil

Hi
You need to write a module pool program. When you design the screen using screen painter, select the DDIC structure and give your table name.
Write PBO and PAI modules.
Regards,
Reema.

Similar Messages

  • 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 batch download  the elements and flow logic of screen

    hi,all
    i am doing programs transfer without using transport request.
    it is easy to download simple reports,includeing code, text etc.but how can i deal with reports with customed screen.
    for example, i have to download the elements and flow logic of  screen 100 in a report. also, i need to upload in another server.
    i need you help!
    thanks
    Regards
    LT

    Hi,
    There are lots of utilities to do this. just search forum and you will be able to find the one.
    Regards,
    Atish

  • About Screen painter

    my senior are compelled me to develop an add-on witout screen painter.
    is it wright ? pls send me rply as early as possible.
    if wrong then send me about some help on screen painter and how to detect screen painter control from vb.net

    Mithun,
    I am not sure exactly how to answer your question.  The Screen Painter is typically used to assist the developer with creating new SAP Business One forms in an easy graphical environment.  It is a tool provided to the developer to assist with rapidly creating new forms.  You do not have to use the Screen Painter.  You can code your forms from scratch as part of your add-on code using the IDE of your choice such as VB.Net.  You can also look at this article which talks about how to auto generate and XML representation of your forms ...
    SAP Business One Tools [original link is broken]
    As far as help on the Screen Painter, that is available when you install the screen painter.
    HTH,
    Eddy

  • Range options in screen painter

    Developed an application in ABAP for employee entitlement. Most of the screens are designed in Screen painter as they has to be run for single Emp. psl no.
    But screen for infosystems (2000) is designed using selection-screen as it can be run for single or multiple EMP PSL no.
    This infosystems screen is called using " Call selection-screen command'.
    Now whenever there is change in program the flow logic of screen 2000 is changed. Now my questions are
    - How to call screen 2000 without affecting flow logic.
    - How to design screen in screen painter for parameter ranges.
    Kindly help as no help is available
    thanks
    anu

    Hi,
    select options in screen check this code..
    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 = 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 = 0.
        READ TABLE R_UNAME INDEX 1.
        IF SY-SUBRC = 0.
          V_USERNAME = R_UNAME-LOW.
        ENDIF.
      ENDIF.
    ENDFORM.                    " GET_MULTIPLE
    Check this thread...
    Select option in Dialog program screen
    Regards
    Vijay

  • SCREEN Painter issue

    Hello Experts
    i am trying to create a drop down list for a given screen element
    sdyn_conn-carrid
    i have wrote the following  piece of code
    PROCESS ON VALUE-REQUEST.
    FIELD sdyn_conn-carrid MODULE create_dropdown_box1. in flow logic of screen 100  when in double click on create_dropdown_box1 it asked me to create a new
    object , and i have did so,  now when i double click on piece of code as shown
    below
    MODULE create_dropdown_box1 INPUT .
    it pop up me with the message
    <b>PAI module CREATE_DROPDOWN_BOX1 is not used in Screen of the program
    ZPP_DIALOG</b>
    because of these when i  run the report drop downlist is not working but it is
    working well when i test in se51 tcode

    Hi,
    Please close the thread if the problem is solved.
    Thanks,
    Naren

  • Selection screen flow logic change not taking affect. Please help!

    Hi
       When I am trying to change the selection scren flow logic I get the following message:
    Selection screen: Report generation makes screen changes ineffective.
    Whatever I am changing is not taking affect in runtime.
    Even though I have activated the changed code for the screen
    What shall I do resolve this?
    Thanks
    Gopal

    You should not be changing the screen flow logic of a standard selection screen 1000.  It will always be regenerated.  In order to modify the standard selection screen, you can do this in the AT SELECTION-SCREEN output event and loop at screen and change the attributes.
    Loop at screen.
      if screen-name = 'P_CHECK'.
        screen-input = '0'.
        modify screen.
      endif.
    endloop.
    Regards,
    Rich Heilman

  • Regarding screen flow logic

    The modules that we write either in PBO or PAI block , are called by the run time environment on the basis of user action or whether they are called in a order in which we have written these modules ?

    Thanks Mansoor .
    "Conditional Module Calls  
      Simple module calls are processed in the sequence in which they appear in the screen flow logic. " This statement I found in SAP help link
    http://help.sap.com/saphelp_nw04s/helpdata/en/9f/dbabbd35c111d1829f0000e829fbfe/content.htm
    So im confused whether the modules are called on the basis of the sequence in which they occur or whether they are called on the basis of user interaction .

  • Tutorials for dailog programming & screen painter

    HI,
    I am new to the topics above and i want to have information about it . plzz proivde me d simple and easiest tutorials for it.

    Hi,
    A dialog program consists of the following basic components:
    Screens (dynpros)
    Each dialog in an SAP system is controlled by dynpros. A dynpro (DYnamic PROgram) consists of a screen and its flow logic and controls exactly one dialog step. The flow logic determines which processing takes place before displaying the screen (PBO-Process Before Output) and after receiving the entries the user made on the screen (PAI-Process After Input).
    The screen layout fixed in the Screen Painter determines the positions of input/output fields, text fields, and graphical elements such as radio buttons and checkboxes. In addition, the Menu Painter allows to store menus, icons, pushbuttons, and function keys in one or more GUI statuses. Dynpros and GUI statuses refer to the ABAP/4 program that control the sequence of the dynpros and GUI statuses at runtime.
    ABAP/4 module pool
    Each dynpro refers to exactly one ABAP/4 dialog program. Such a dialog program is also called a module pool, since it consists of interactive modules. The flow logic of a dynpro contains calls of modules from the corresponding module pool. Interactive modules called at the PBO event are used to prepare the screen template in accordance to the context, for example by setting field contents or by suppressing fields from the display that are not needed. Interactive modules called at the PAI event are used to check the user input and to trigger appropriate dialog steps, such as the update task.
    All dynpros to be called from within one transaction refer to a common module pool. The dynpros of a module pool are numbered. By default, the system stores for each dynpro the dynpro to be displayed next. This dynpro sequence or chain can be linear as well as cyclic. From within a dynpro chain, you can even call another dynpro chain and, after processing it, return to the original chain.
    Check this link for basics.
    http://sap.mis.cmich.edu/sap-abap/abap09/index.htm
    Check this link for Dialog Programming/Table Control
    http://www.planetsap.com/Tips_and_Tricks.htm#dialog
    Check this SAP Help for Dialog Program doc.
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
    Check this SAP Help link for Subscreens.
    http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbabfe35c111d1829f0000e829fbfe/content.htm
    Check this link for subscreen demo program.
    http://abapcode.blogspot.com/2007/05/demo-program-to-create-subscreen-in.html
    Also check this link too.
    http://abapcode.blogspot.com/2007/06/dialog-programming-faq.html
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/frameset.htm
    http://sap.mis.cmich.edu/sap-abap/abap09/sld004.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/52/670ba2439b11d1896f0000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/52/670c17439b11d1896f0000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/52/670c17439b11d1896f0000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9ccf35c111d1829f0000e829fbfe/frameset.htm
    Reward if it is useful
    Harimanjesh AN

  • F4_FILENAME in search help in screen painter

    Hello gurus,
    I want to design a screen in which the text input field is used to get file name. For that i need to enable file search in local folders and drives with f4 key press. I wish to use the functionality of function module 'F4_FILENAME" in screen painter. How can i do that?
    I tried creating search help for RLGRAP structure. It compiles fine but gives the message 'No inout for selection'.
    What should i do?

    Thank you all,
    The problem has been solved.
    I am posting the final code.
    1. In se38, i created program zprogram.
    2. In se51, i created a screen for the program zprogram.
    3. In layout, i took 2 buttons and one input/output field.
    1st button for import and 2nd button for exit.
    4.In flow logic-
    i wrote the follwing code.
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_100.
    PROCESS AFTER INPUT.
    PROCESS ON VALUE-REQUEST.
    FIELD FILENAME1 MODULE F4_FILE_SEARCH.
    5. IN THE MAIN PROGRAM
    i wrote the following code-
    REPORT ZPROGRAM.
    DATA: FILENAME1 TYPE RLGRAP-FILENAME,
               OK_CODE TYPE SY-UCOMM.
    CALL SCREEN 100.
    MODULE F4_FILE_SEARCH INPUT.
    OK_CODE = SY-UCOMM.
    CALL FUNCTION 'F4_FILENAME'
    EXPORTING
        FIELD_NAME         = 'FILENAME1'
    IMPORTING
        FILE_NAME           = FILENAME1
    ENDMODULE.
    MODULE STATUS_100 OUTPUT.
    CASE OK_CODE.
    WHEN 'IMPORT'.
    MESSAGE 'THE FILE IS RECIEVED' TYPE 'I'.
    WHEN 'CANCEL'.
    LEAVE PROGRAM.
    ENDCASE.
    ENDMODULE.
    I REFERRED TO THE DEMO PROGRAM MENTIONED
    IN OTHER POST
    NAME OF THE DEMO PROGRAM IS - DEMO_DYNPRO_F4_HELP_MODULE

  • Table control in Screen Painter

    Hi Friends,
    I have created a screen using screen painter. The screen is having 4 tabs (subscreen) and in all the subscreen, i have used table control to insert multiple lines in the table.
    The problem I am getting is that, the data of table control part is not getting inserted into the table.
    The program part is given below for reference.
    ======================================================
    PROCESS BEFORE OUTPUT.
      MODULE SECDAM_CHANGE_TC_ATTR.
      LOOP AT   IT_SECDAM
           INTO IT_SECDAM
           WITH CONTROL SECDAM
           CURSOR SECDAM-CURRENT_LINE.
        MODULE SECDAM_GET_LINES.
      ENDLOOP.
    MODULE STATUS_0109.
    PROCESS AFTER INPUT.
    *&SPWIZARD: PAI FLOW LOGIC FOR TABLECONTROL 'SECDAM'
      LOOP AT IT_SECDAM.
        CHAIN.
          FIELD ZTDRDTL-DIVSN.
          FIELD ZTDRDTL-MATRL.
          FIELD ZTDRDTL-SLQTY.
          FIELD ZTDRDTL-DMQTY.
          FIELD ZTDRDTL-SSQTY.
          MODULE SECDAM_MODIFY ON CHAIN-REQUEST.
        endchain.
      ENDLOOP.
      MODULE SECDAM_USER_COMMAND.
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    Flow-logic part:
    DATA : BEGIN OF IT_SECDAM OCCURS 0,
           DIVSN LIKE ZTDRDTL-DIVSN,
           MATRL LIKE ZTDRDTL-MATRL,
           SLQTY LIKE ZTDRDTL-SLQTY,
           DMQTY LIKE ZTDRDTL-DMQTY,
           SSQTY LIKE ZTDRDTL-SSQTY,
           END OF IT_SECDAM.
    CONTROLS: SECDAM TYPE TABLEVIEW USING SCREEN 0109.
    DATA:     G_SECDAM_LINES  LIKE SY-LOOPC.
    MODULE SECDAM_CHANGE_TC_ATTR OUTPUT.
      DESCRIBE TABLE IT_SECDAM LINES SECDAM-LINES.
    ENDMODULE.                    "SECDAM_CHANGE_TC_ATTR OUTPUT
    MODULE SECDAM_GET_LINES OUTPUT.
      G_SECDAM_LINES = SY-LOOPC.
    ENDMODULE.                    "SECDAM_GET_LINES OUTPUT
    MODULE SECDAM_MODIFY INPUT.
      MODIFY IT_SECDAM
        FROM IT_SECDAM
        INDEX SECDAM-CURRENT_LINE.
    ENDMODULE.                    "SECDAM_MODIFY INPUT
    MODULE SECDAM_USER_COMMAND INPUT.
      OK_CODE = SY-UCOMM.
      PERFORM USER_OK_TC USING    'SECDAM'
                                  'IT_SECDAM'
                         CHANGING OK_CODE.
      SY-UCOMM = OK_CODE.
    ENDMODULE.                    "SECDAM_USER_COMMAND INPUT
    =========================================================
    Kindly guide me the solution.
    TIA.
    Regards,
    Mark K

    Hi
      Try like this may be you will get it.
    process before output.
    module status_1000.
    loop at itab with control tabctrl cursor tabctrl-top_line.
      module assign_data.
    endloop.
    process after input.
    module user_command_1000.
    loop at itab.
    endloop.
    In flow logic.
    tables vbak.
    data itab like vbak occurs 0 with header line.
    controls tabctrl type tableview using screen 1000.
    data fill type i.
    *&      Module  Assign_data  OUTPUT
          text
    module assign_data output.
    move itab to vbak.
    endmodule.                 " Assign_data  OUTPUT
    *&      Module  USER_COMMAND_1000  INPUT
          text
    module user_command_1000 input.
      case sy-ucomm.
        when 'EXIT'.
         set screen 0.
      endcase.
    endmodule.                 " USER_COMMAND_1000  INPUT
    *&      Module  STATUS_1000  OUTPUT
          text
    module status_1000 output.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.
    select * from vbak into table itab.
    describe table itab lines fill.
    tabctrl-lines = fill.
    Endmodule.
    Regards
    Haritha.

  • Table view control problem in screen painter

    Hi All,
    i am unable to display the contents in the table view control in screen painter....actually i have created two screen one to take input and second to display details on next screen in table view control..but i m nt getting that details...
    my second screen PBO/PAI code is
    PROCESS BEFORE OUTPUT.
    loop at itab with control TCNTRL CURSOR tcntrl-current_line.
    MODULE STATUS_0101.
    endloop.
    PROCESS AFTER INPUT.
    loop at itab.
    endloop.
    MODULE USER_COMMAND_0101.
    can anyone solve my problem????????
    Thanks,
    Jayshree

    Hi,
    Use below approch (syntax may not be correct as I have typed it in notepad but use it as guide line)
    ***In screen flow logic
    PROCESS AFTER INPUT.
      module cancel at exit-command.
      chain.
        field: zproject_details-originator,
            zproject_details-proj_type.
        module check_data on chain-request.       
      endchain.
      module user_command_002.
    ***In abap code
    module cancel input.
      leave program.
    endmodule.
    module check_data input.
      if zproject_details-originator is initial.
        message exxxx "throw error message here
      endif.
      if zproject_details-proj_type is initial.
        message exxxx "throw error message here
      endif.      
    endmodule.
    module user_command_002.
      save_ok = ok_code.  "good practice to save okcode
      clear ok_code.
      case save_ok.
        when 'save' " using constant for fcode here is better
          perform save_data. "make it moduler instead of writing whole code in case statement
      enscase.
    endmodule.
    form save_data.
    ** do some additional checks if required before saving
    update zproject_details from zproject_details. " update database table here from work area contents
    endform.
    Regards,
    Vishal

  • Value does not stay in screen in screen painter after clicking enter

    Hi abapers,
    I have created a table control in screen painter .My problem is that after entering 1 row of values and press enter the value gets vanished.it doesn stay in screen .What may be the problem?? Have any of abapers gone through this scenario. Please paste a code snippet if possible.
    Regards,
    Navin

    Hi,
    What you need to do is to modify the internal table from table control whenever any user action is performed.
    it_zekpo is my internal table w/o header line,
    wa_zekpo is work area.
    Name of input/output fields on screen are:-
    wa_zekpo-field1,
    wa_zekpo-field2, and so on...
    At screen flow-logic
    PROCESS BEFORE OUTPUT.
    *  MODULE status_8003.
      LOOP WITH CONTROL po_tb.
        MODULE read_data. "<--read data into table control from internal table
      ENDLOOP.
    PROCESS AFTER INPUT.
    *  MODULE user_command_8003.
      LOOP WITH CONTROL po_tb.
        MODULE modify_data. "<--modify internal table from table control
      ENDLOOP.
    In PBO
    *&      Module  READ_DATA  OUTPUT
    MODULE read_data OUTPUT.
      READ TABLE it_zekpo INTO wa_zekpo INDEX po_tb-current_line. "po_tb is table control name
      data : line_count type i.
      describe it_zekpo
      lines line_count.
      po_tb-lines = line_count + 10.
      "to increase the number of lines in table control dynamically
    ENDMODULE.                 " READ_DATA  OUTPUT
    In PAI
    *&      Module  MODIFY_DATA  INPUT
    MODULE MODIFY_DATA INPUT.
      MODIFY IT_ZEKPO FROM WA_ZEKPO INDEX po_tb-currentline.
      "this will modify the contents of existing line into internal table
    ENDMODULE.                 " MODIFY_DATA  INPUT
    Hope this helps you,
    Regards,
    Tarun

  • Sub Screen in Screen Painter

    I created a screen in the screen painter and it works fine .
    Now i want when i push a button to display a small selection criteria in a window subscreen (?) so to take some result.
    I dont know if this can happen . Is there any FM to do this ?
    Thanks a lot ...

    hi,
    for this u hav to do following steps
    >>Define the sub-screen area(s) on a screen. Resizable, Minimum size and scrollable are the attributes
    >>Define suitable sub-screen screens
    >>Include the sub-screen screen in the sub-screen area.
    >>Adjust the frame of the sub-screen within the "main" screen. Name the sub-screen in the Field name field.
    >>Arrange the fields within the sub-screen so that they appear in the main screen .
    >>You include a subscreen screen using the CALL SUBSCREEN statement in the flow logic of the main screen.
    To include a subscreen screen in the subscreen area of the main screen and call its PBO flow logic, use the following statement in the PBO event of the main screen:
    PROCESS BEFORE OUTPUT.
      CALL SUBSCREEN  in the PBO event. This can call PAI modules of the ABAP program in which the subscreen screen is defined. Data is transported between identically-named fields in the subscreen screen and the ABAP program either when the PAI event is triggered, or at the corresponding FIELD statements in the PAI flow logic of the subscreen screen.
    thanks
    Sachin

  • Parameter handling in  screen painter

    Hi All,
    Hope all are doing fine!!!
    I have designed a screen using screen painter ...
    in that screen ,, i have 2 parameters and 3 input fields ...
    if  1st parameter is ciicked/selected then  1st input field should only be input enabled and other 2 input fields should be input disabled.
    if 2nd parameter is clicked/selected ..., the 1st field should be input disabled and the other 2 fields should be input enabled..
    am designing all these in a screen painter not in a selection criteria.
    pls.. suggest alternatives..
    Thanks in advance
    Jack

    Hi,
    Supposu you want to do the disabling and enabling part using radio buttons.
    Firstly group the radio buttons in the screen painter, set a function code for them and declare them in the TOP.
    Now for the 2nd and 3rd input fields double click on them and set the group name.
    In PBO of flow logic
    CASE SY-UCOMM.
    WHEN 'F_RADIO'.
      IF R1 = 'X'.
       LOOP AT SCREEN.
        IF screen-name = 'field1'.
         Screen-Input = 0.
         Modify Screen.
        ENDIF.
       ENDLOOP.
      ENDIF.
      IF R2 = 'X'.
       LOOP AT SCREEN.
        IF screen-group1 = G1.
         Screen-Input = 0.
         Modify Screen.
        ENDIF.
      ENDLOOP.
    ENDIF.
    ENDCASE.
    Thanks,
    Sri.

Maybe you are looking for

  • HT203128 my itunes keeps crashing with an error message.

    both my windows and itunes are up-to-date. i've checked all the previously suggested methods to solve this issue (completely remove - reinstall itunes, removing QT, etc.) but none helped. any idea? Thanks. the error message is usually something like

  • After deleting users they are not removed from portal30.wwsec_person

    I am building a customized script to carry on users self registration. the script is going great and user is created and i can log into portal successfully with this new created user. I relogin as portal administrator and delete this new user and now

  • Database Resource Manager CPU levels

    Hi, I'd like to employ the Database Resource Manager to limit some user's sessions to a certain amount of CPU. After reading the documentation and an Oracle white paper, I'm still not clear on the difference between splitting the CPU allocation at le

  • How can I write mathematical formulas?

    How can I write mathematical formulas? I tried tu use the formula editor of ms word with paste and copy but it didnt work, because the formula was not in line with the text.

  • Mailboxes not working

    I accidently lost several mail boxes while dragging them within the Mail program. I found the mailboxes using the finder in home/library/mail/mailboxes/deleted messages. Using finder, I dragged the the mailboxes form the deleted messages back to mail