WD-ABAP screens in NW-BPM

Hi,
As part of NW-BPM, we can use WD-Java UI screens. But how can we use WD-ABAP UI screens/ Visual Composer UI Screens in NW-BPM? What configurations have to be performed?
Regards,
Siva Maranani

Dear Siva Maranani,
With the first release of SAP NetWeaver BPM (EHP1 for SAP NetWeaver CE 7.1) we support only Java WebDynpro UIs. According to the plan with the next release there will be also support for VC UIs. The support of the ABAP WD UIs is also part of our roadmap but not for the first two releases.
Kind regards,
Donka Dimitrova
SAP NetWeaver PM
Business Process Management

Similar Messages

  • How to call WD ABAP screens in CE 7.3  Java webdynpro

    Hi,
    I have few developed applications in WD ABAP and I want use the same screen in Java WD using CE7.3 as a part of one  iview in a page. Which means I have one page which has 5 views and I would like to use one view - WD ABAP screen. How it is possible. Please let me know.
    regards,
    krshna

    Hi,
    Can u pls let me know how tie abap wd screen in java wd?I have not done this before.is there any doc...?
    Regards,
    Kris

  • Deleting line from ABAP screen..

    Hello,
    I have a ABAP report when excuted, showsn mulpiple reords one by one wirtten on screen using write statement along with checkboxes besides it and I am also appending an internal table with these values.
    Now, User can select the check boxes for the line records. Also there is a delete button in the application toolbar.
    Now, when the delete button is executed, I want the lines which are selected on the ABAP output screen to be deleted so that only records which were not selected using check box will be shown.
    I know for this I have to code in AT-User command but how do we delete the lines from ABAP screen.
    AT user-command.
      CASE SY-UCOMM.
        WHEN 'DELETE'.
    ENDCASE
    Regards,
    Jainam.

    Hello,
    Based on which ever field is selected you can delete from the internal table and then refresh the ALV.
    Hope it helps.
    Regards,
    Nabheet Madan

  • How can I capture mouse click events on BSP or Web Dynpro ABAP Screen

    hi Guys,
    Currently we have a user inactivity problem,
    the requirement is: if user is clicking on BSP/Web Dynpro ABAP screen, he/she is considered active. so we need an mechanism to capture the mouse click event.
    Using Firebug, we found that this js is in the iframe which contains BSP/web dynpro scrren: /sap/public/bc/ur/nw5/js/languages/urMessageBundle_en.js
    we want to find this js file & put in some javascript code to track user's mouse click, but i cannot find it on server.
    while in ie if we type http://host:port/sap/public/bc/ur/nw5/js/languages/urMessageBundle_en.js
    this file can be downloaded, means this file is there.
    Any one can help on this issue? find the js file or another way to capture the mouse click event.
    Thanks a lot with points!

    Hi  Feng Guo,
                        We can not capture mouse click events on Web Dynpro ABAP Screen . I am not sure about BSP. But as for as I know the portal keep active the iViews until unless mouse clicks happens.
    But for your problem I think you can get solution by setting iView Expiration to some more time period.
    Regards,
    Siva

  • Adding attachment through ABAP screen

    Hi experts,
    I have a requirement where i need to add attachment from a ABAP screen or through SM30 screen. That is, we provide a transaction code for the users to maintain table entries. In additon to maintain values, the user wants to add attachment. The attachment is a image of a map of the house plan.
    So can someone tell me how to add attachment and the path or URL of the attachment need to be stored in a separate field in the Z table?
    Is that can be done through OAAR transaction?

    Look for GOS Attachments in the forum - probably it should help your need

  • To display the clock in the abap screen

    Hi all,
         i am Senthil,Working as programmer analyst .Can any one please tell me How to display the clock in abap screens? Is there any function module available for that or help  me how to do it?
               Thanks in Advance!!!
                                                                                    Senthil

    dude,
      U can display the clock in the status bar thro process indicator function modules or methods of classes.
    If u want to display time in screen, here is the sample coding.
    *& Report  ZRPN_SAMP1                                                  *
    REPORT  zrpn_samp1.
    GET TIME.
    WRITE: /01 'Update Number:',  sy-uzeit.
    CALL FUNCTION 'zpraveen'
      STARTING NEW TASK 'pr'
      PERFORMING start_refresh ON END OF TASK.
    AT USER-COMMAND.
      IF sy-ucomm = 'REFR'.
        sy-lsind = sy-lsind - 1.
        GET TIME.
        WRITE: /01 'Update Number:',  sy-uzeit.
        CALL FUNCTION 'zpraveen'
          STARTING NEW TASK 'IF'
          PERFORMING start_refresh ON END OF TASK.
      ENDIF.
    START-OF-SELECTION.
    *&      Form  START_REFRESH
          text
         -->TASKNAME   text
    FORM start_refresh USING taskname.
    The SET USER-COMMAND initiates the communication back to the program
      SET USER-COMMAND 'REFR'.
    ENDFORM.                    "START_REFRESH
    This works very fine.
    Lemme know u could do that by rewarding points.
    with regards,
    praveen.

  • Difference Between XI ABAP and ECC ABAP screens

    Hi All,
    When i log on to PI abap screen,ie through GUI and i can run almost all transactions that are there for ECC, i Checked with Few
    like SPROXY,we19,se11,se16,se37  etc. All transactions are valid here in PI box also.
    My question is do we use these functionalities in any of the scenarios.
    What is the difference if you create proxy is SPROXY in Xi and that in ECC.when we go for PI SPROXY.
    Is the services registry list  the Proxies created SPROXY in Xi  or that in ECC.
    Regards,
    Abhi

    The base transactions are common for any SAP R/3 system.
    >>My question is do we use these functionalities in any of the scenarios.
    Some times we use depending on the requirement.
    >>What is the difference if you create proxy is SPROXY in Xi and that in ECC.when we go for PI SPROXY.
    there is no difference. But generally we create proxies in SAP applications systems (not in SAP XI/PI)
    Suppose if XI has one more client, then you can create proxies in that client by configuring that client as Application system in SXMB_ADM transaction pointing to XI integration Server client. But generally, XI is be used as middleware.
    Edited by: Praveen Gujjeti on Apr 15, 2010 3:14 PM

  • Show attached material picture in ABAP screen object

    Hello,
    I'm attaching material pictures with the GOS create attachment option. Here I could attach all kind of documents including the files "*.gif, *.tif, etc." These pictures are stored on our document server. Another possibility I use is to create a url to the direct link of the picture on the vendors site.
    The materials are our own stock materials. These stock materials could be ordered by the reservation system. For that we have created our own reservation screen. In one of the fields they could enter a part of a material description to search for a particular material. If more material is valid these materials are shown in a selection list. To make is easier to pick the right material I want to show the material picture in a ABAP object on the selection screen.
    I'm already able to show, in the list, if there is a material picture available with the function "BAPI_REL_GETRELATIONS"
    If this function returns a table I know there is a (picture) document attached.
    If the clicks on the hotspot in the list I want to show the picture in the ABAP object on the screen.
    Here is a part to see if there is a material picture?
    CLEAR OBJECTID.
    OBJECTID-OBJKEY = makt-matnr. " Long number incl. zero's
    OBJECTID-OBJTYPE = 'BUS1001006'.
    N_lines = 0.
    clear LISTOFRELATIONS.
    CALL FUNCTION 'BAPI_REL_GETRELATIONS'
    EXPORTING
    OBJECTID = OBJECTID
    ROLE =
    RELATION =
    RECURSIONLEVEL = 1
    IMPORTING
    RETURN = B_RETURN2
    TABLES
    LISTOFRELATIONS = LISTOFRELATIONS
    describe table LISTOFRELATIONS lines N_lines.
    IF N_lines > 0.
    WRITE ICON_TIF AS ICON to artikelen-pic.
    ELSE.
    artikelen-pic = ' '.
    ENDIF.
    I'm able to show a picture in the ABAP object with the following code:
    IF P_CONTAINER IS INITIAL.
    CREATE OBJECT: P_CONTAINER EXPORTING container_name = 'MAT_PIC',
    MM_PIC1 EXPORTING parent = P_CONTAINER.
    l_alignment = cl_gui_control=>align_at_left +
    cl_gui_control=>align_at_right +
    cl_gui_control=>align_at_top +
    cl_gui_control=>align_at_bottom.
    CALL METHOD mm_pic1->set_alignment
    EXPORTING
    alignment = l_alignment.
    CALL METHOD mm_pic1->set_3d_border
    EXPORTING
    border = 1.
    CALL METHOD mm_pic1->set_display_mode
    EXPORTING
    display_mode = mm_pic1->display_mode_stretch
    EXCEPTIONS
    error = 1.
    ENDIF.
    IMPORT pict_tab = pict_tab FROM DATABASE abtree(pi) ID 'ENJOY'.
    CALL FUNCTION 'DP_CREATE_URL'
    EXPORTING
    TYPE = 'IMAGE'
    SUBTYPE = 'GIF'
    SIZE =
    DATE =
    TIME =
    DESCRIPTION =
    LIFETIME =
    CACHEABLE =
    SEND_DATA_AS_STRING =
    TABLES
    DATA = pict_tab
    FIELDS =
    PROPERTIES =
    CHANGING
    URL = url
    EXCEPTIONS
    DP_INVALID_PARAMETER = 1
    DP_ERROR_PUT_TABLE = 2
    DP_ERROR_GENERAL = 3
    OTHERS = 4
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL METHOD mm_pic1->load_picture_from_url
    EXPORTING
    url = url
    EXCEPTIONS
    others = 4.
    Could any one help me further to show the picture in the ABAP object 'MAT_PIC'?
    I'm using SAP release 4.7 on a Oracle database.
    The document server is the SAP DMS server on a SAP-DB database.
    Kind regards,
    Richard Meijn

    Refer the following:
    REPORT  ZTEST12.
    * Type declarations.....................
    TYPES pict_line(256) TYPE c.
    * data declarations......................
    DATA :init,
          container TYPE REF TO cl_gui_custom_container,
          editor    TYPE REF TO cl_gui_textedit,
          picture   TYPE REF TO cl_gui_picture,
          pict_tab TYPE TABLE OF pict_line,
          url(255) TYPE c.
    CALL SCREEN 100.
    * Dialog modules......................................
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'SCREEN100'.
      IF init is initial.
        init = 'X'.
        CREATE OBJECT:
               container  EXPORTING container_name = 'PICTURE_CONTAINER',
               picture    EXPORTING parent = container.
      ENDIF.
      IMPORT pict_tab = pict_tab FROM DATABASE abtree(pi) ID 'ENJOY'.
      CALL FUNCTION 'DP_CREATE_URL'
           EXPORTING
                type    = 'IMAGE'
                subtype = 'GIF'
           TABLES
                data    = pict_tab
           CHANGING
                url     = url.
      CALL METHOD picture->load_picture_from_url EXPORTING url = url.
      CALL METHOD picture->set_display_mode
           EXPORTING display_mode = picture->display_mode_fit_center.
    ENDMODULE.
    MODULE cancel INPUT.
      LEAVE TO SCREEN 0.
    ENDMODULE.

  • ABAP SCREEN PAINTER DOUBT

    Hi friends,
    Any one can tell me the solution to resolve the error maximum number of internal sessions reached  .
    regards,
    p.varadarajan

    Hi
    Ossnote .... 34154 is very interesting.
    This is concerned with internal sessions: The R/3 System offers the option to change from one information level to another: by branching in the menu path (for example "Goto" or "Information system"), double-clicking in ABAP lists, cross-references in hypertext and so on. Technically speaking, you call one program/transaction from within another one (ABAP/4 statements CALL DIALOG or CALL TRANSACTION, but not CALL SCREEN). For the user, it is desirable that this process is reversible, that is, that you can also go back step by step. The whole path is therefore stored in a stack of so-called internal sessions. If the maximum number of internal sessions is reached, you cannot go any further.
    <b>This maximum number is hardcoded as 9, and this cannot be changed.</b>
    Regards
    Raj

  • ABAP : Screen Painter error

    Hi Experts ,
    I need your help. Actually i have started working in ABAP as welll. need to know that below is the coding being done for Screen Painter and need your help  in troubleshooting error. the Error is :
    "Program ZSCREENPAINTER1
    "TYPE LINE" or "LIKE LINE" expected, not "BEGIN". ."
    coding that i have done is :
    PROGRAM  ZSCREENPAINTER1.
    DATA : OK_CODE TYPE SY-UCOMM,
    types: BEGIN OF EKPO,
           EBELP TYPE EBELP,
           BUKRS TYPE BUKRS,
           WERKS TYPE WERKS,
           MATKL TYPE MATKL,
           END OF EKPO.
    thanks & regards ,
    M.S

    just to add to all these answers..
    '.' (Dot) acts as end of statement in ABAP as ';' works for C..
    and ':'(colon) is used for  pipeline or chaining more than one statement.. and chained statements are joined using ','(comma)
    so
    left side : right side1,
                 right side2,
                 right side3.
    "this actually means..
    left side right side1. " ends here
    left side right side2. " ends here
    left side right side3. " ends here
    hope you understand now... its BASIC abap...

  • How to upload images on WebDynpro(ABAP) screens

    Hello All,
    Could any one please help on how to create/change the image (jpeg/any file) dynamically on WebDynpro screen. I have seen couple of examples for uploading the text files in WDR_TEST_EVENTS, WDR_TEST_WEB_ICONS, but not found any standard program that explains about uploading images.
    Requirement: User has to select any image/thumbnail from local PC and it should be displayed on main screen, it's not only from MIME directory.
    We have the same logic in BSP Application (CFX_RFC_UI) to upload the thumbnail but am not sure whether we can use the same logic in WDC or not?
    I have seen the same logic for WebDynpro (JAVA) here: 
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71
    I would really appreciate if you could provide me the code/process ASAP.
    Thanks & Regards,
    Hari.

    Hi,
    I have written the code as per given logic with no errors, after selecting jpeg file from local PC when I click on 'upload' button it is giving a following short dump.
    Could you please let me know how to rectify it.
    Error when processing your request
    What has happened?
    The URL http://rocpld02.wwwint.corp:8000/sap/bc/webdynpro/sap/zms_image_01/ was not called due to an error.
    Note
    The following error text was processed in the system PLD : Exception condition "CNTL_ERROR" raised.
    The error occurred on the application server rocpld02_PLD_00 and in the work process 1 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: CONSTRUCTOR of program CL_GUI_CUSTOM_CONTAINER=======CP
    Method: ONACTIONONBUTTONCLICK of program /1BCWDY/1I6RRYQYFWRI2HBZ5MAK==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/1I6RRYQYFWRI2HBZ5MAK==CP
    Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP
    Method: IF_WDR_ACTION~FIRE of program CL_WDR_ACTION=================CP
    Method: DO_HANDLE_ACTION_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW=================CP
    Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Regards,
    Hari.

  • ABAP Screen

    hi,
    what is the diference between leave screen , set screen and call screen?

    Hi Baskar,
    1. Call Screen
    CALL SCREEN scr.
    Addition:
    ... STARTING AT x1 y1 ... ENDING AT x2 y2
    Effect
    Calls the screen scr; scr is the number of a screen of the main program. You use SET SCREEN 0. or LEAVE SCREEN. to define the return from the CALL screen.
    Note
    Please consult Data Area and Modularization Unit Organization documentation as well.
    Addition
    ... STARTING AT x1 y1  ENDING AT x2 y2
    Effect
    The coordinates x1, y1 (start column and start line in the window) and x2, y2 (end column and end line in the window) define the size and position of the CALL screen ("top left - bottom right"). Besides these coordinates, you can also see the contents of the primary window, but cannot perform any action there.
    Note
    If "ENDING AT ..." is not specified, suitable values are substituted for x2 and y2, taking into account the size of the called screen.
    2. SET Screen
    SET SCREEN scr.
    Effect
    In ABAP/4 dialogs, this sets the next screen number.
    The system processes the screen with the number scr immediately after the current screen.
    Example
    SET SCREEN 200.
    Notes
    To leave a screen called with CALL SCREEN or to return from a branch to the transaction selection screen, you must use the statement
    SET SCREEN 0. or LEAVE TO SCREEN 0.
    Please consult Data Area and Modularization Unit Organization documentation as well.
    3. Leave Screen
    LEAVE SCREEN.
    Effect
    Leaves the current screen and processes the next screen.
    If the next screen has the number 0 (either defined statically or set dynamically by SET SCREEN 0), processing in CALL mode continues after the CALL SCREEN statement. Otherwise, you branch to the transaction selection screen.
    Note
    If the next screen is specified dynamically, you can use the short form " LEAVE TO SCREEN scr." instead of a combination of the "SET SCREEN scr." and "LEAVE SCREEN." commands.
    4. Leave to screen
    LEAVE TO SCREEN scr.
    Effect
    Leaves the current screen and processes the screen scr.
    If scr = 0, processing in CALL mode continues after the CALL SCREEN statement. Otherwise, you branch to the transaction selection screen.
    Reward If Useful.
    Regards,
    Chitra

  • How to Download a PDF file from Webdynpro ABAP Screen

    Hi,
    I have developed a input form in webdynpro - ABAP(Not Adobe),
    As I am not using above services here, but would like to download the information I am capturing into a PDF file.
    can I do it without using adobe interactive forms ?
    thanks
    Siddharth

    Hi siddharth,
    My suggestion would be to create your output as a Smartform and call your Smartform in your View.
    For more Click this link.
    [HOW TO DISPLAY A SMARTFORM AS PDF DOCUMENT IN WEB DYNPRO FOR ABAP|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0de1eb8-0b98-2910-7996-8a3c2fcf6785]
    Regards
    Bulent

  • ABAP Screen: Implicit transferring fields / LOOP AT TC

    Hello experts,
    I developed a table control in the following way:
    process before output.
      module status_0110.
      loop with control tc_liqivp_items.
        module item_get.
        module screen_modify.
      endloop.
    process after input.
      loop with control tc_liqivp_items.
        chain.
          field: gs_liqivp_items-umzeichart,
                 gs_liqivp_items-endpa
                 module endpa_check on chain-request.
        endchain.
        chain.
          field: gs_liqivp_items-umzeichart,
                 gs_liqivp_items-umz_fenster,
                 gs_liqivp_items-endpa
                 module item_modify on chain-request.
        endchain.
      endloop.
    The control is defined as following:
    controls: tc_liqivp_items  type tableview using screen 110.
    The screen 110 is defined as subscreen.
    I use the classical table control (using loop at TCu2026); in PAI the fields will be transferred implicitly from the table control to the assigned structure gs_liqivp_items.
    Within the table control loop, however in structure not all fields are filled correctly (some fields comes from the last line of the internal table).
    E.g.:
    10     Testline1 3.25 CHF     red      blue
    20     Testline1 4.25 CHF     green      blue
    30     Testline1 6.10 CHF     white      blue
    40     Testline1 6.50 CHF     yellow     blue
    If I change the value in line 1 from 3.25 to 4.25 CHF also the fields red and blue will be overwritten by the last line. The result is:
    10     Testline1 4.25 CHF     yellow     blue
    20     Testline1 4.25 CHF     green      blue
    30     Testline1 6.10 CHF     white      blue
    40     Testline1 6.50 CHF     yellow     blue
    Only the price field is set as input field.
    Do you have any idea for this issue?
    Thanks for your support!
    Regards,
    Kurt

    Hi,
    In PAI  " Flow logic
    process after input.
      loop with control tc_liqivp_items.
        chain.
          field: gs_liqivp_items-umzeichart,
                 gs_liqivp_items-endpa
                 module endpa_check on chain-request.
        endchain.
        chain.
          field: gs_liqivp_items-umzeichart,
                 gs_liqivp_items-umz_fenster,
                 gs_liqivp_items-endpa
                 module item_modify on chain-request.
        endchain.
        module move_to_progam.  " Add this in your program
      endloop.
    In program  " To Transfer the data of each row of Table control to Internal Table of the Program
    MODULE MOVE_TO_PROGAM INPUT. " replace the following variables/Internal Tables with the ones you declared
      DESCRIBE TABLE itab LINES tc-lines.
      if  tc-lines < tc-current_line.
        append gs_liqivp_items to  itab.
      else.
        modify itab from gs_liqivp_items INDEX tc-current_line.
      endif.
    ENDMODULE.
    Hope this would serve your purpose
    Cheerz
    Ramchander Rao.K

  • Tab Navigation in ABAP screens

    Hi All,
    Is the navigation sequence of the screen elements in a dynpro screen on "tab" event is from left to right and top to bottom always irrespective of whether the fields are in multiple subscreens/tab pages?. Is there a way to control the tab navigation sequence in Screens. Any help regarding this would be appreciated.
    TIA,
    Sharath

    Hi,
    The navigation sequence in tabstrip can be controlled in coding itself.
    If u want to make the first tab as deault u can set that in coding as follows.
    I will give u some sample coding try this out.
    DATA FOR TABSTRIP 'MAIN_TAB'
    CONTROLS:  main_tab TYPE TABSTRIP.
    DATA:      BEGIN OF i_main_tab,
                 subscreen   LIKE sy-dynnr,
                 prog        LIKE sy-repid VALUE
                                  'Program name',
                 pressed_tab LIKE sy-ucomm,
                            <b>"  VALUE c_main_tab-tab1,(specify the tab u want to make default)</b>
               END OF i_main_tab.
    U can control the tab flow in the PBO as
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_9001.
      MODULE main_tab_active_tab_set.
      CALL SUBSCREEN main_tab_sca
        INCLUDING i_main_tab-prog i_main_tab-subscreen.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_9001.
      MODULE main_tab_active_tab_get.
      MODULE main_tab_active_tab_set.
    MODULE main_tab_active_tab_set OUTPUT.
    IF ( NOT cb_det IS INITIAL ) AND
         ( i_main_tab-pressed_tab NE c_main_tab-tab1 ) .
       i_main_tab-pressed_tab = c_main_tab-tab2.
    elseif ( NOT cb_det IS INITIAL ) AND
         ( i_main_tab-pressed_tab eq c_main_tab-tab1 ) .
       i_main_tab-pressed_tab = c_main_tab-tab1.
    ELSEIF ( cb_det IS INITIAL ) AND
         ( i_main_tab-pressed_tab NE c_main_tab-tab2 ).
       i_main_tab-pressed_tab = c_main_tab-tab1.
    ELSEIF ( cb_det IS INITIAL ) AND
         ( i_main_tab-pressed_tab eq c_main_tab-tab2 ).
       i_main_tab-pressed_tab = c_main_tab-tab2.
    ENDIF.
      main_tab-activetab = i_main_tab-pressed_tab.
      CASE i_main_tab-pressed_tab.
        WHEN c_main_tab-tab1.
          i_main_tab-subscreen = '9100'.
          CALL METHOD o_alvgrid1->set_table_for_first_display
          EXPORTING
        WHEN c_main_tab-tab2.
      To display detail report
          i_main_tab-subscreen = '9200'.
          CALL METHOD o_alvgrid2->set_table_for_first_display
        WHEN OTHERS.
         DO NOTHING
      ENDCASE.
    ENDMODULE.                 " MAIN_TAB_ACTIVE_TAB_SET  OUTPUT
    *&      Module  MAIN_TAB_ACTIVE_TAB_GET  INPUT
          text
    MODULE main_tab_active_tab_get INPUT.
      CASE sy-ucomm.
        WHEN c_main_tab-tab1.<b>(tab name)</b>
          i_main_tab-pressed_tab = c_main_tab-tab1.
        WHEN c_main_tab-tab2.
          i_main_tab-pressed_tab = c_main_tab-tab2.
        WHEN OTHERS.
         DO NOTHING
      ENDCASE.
    ENDMODULE.              " MAIN_TAB_ACTIVE_TAB_GET  INPUT
    &----&      Module  USER_COMMAND_9001  INPUT
          This performs PAI
    MODULE user_command_9001 INPUT.
      CASE sy-ucomm.
        WHEN 'BACK'.
          PERFORM exit_program.
          SET SCREEN '0'.
        WHEN 'EXIT' OR  'CANC'.
          PERFORM exit_program.
          LEAVE PROGRAM.
        WHEN OTHERS.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_9001  INPUT
    *&      Module  MAIN_TAB_ACTIVE_TAB_SET  INPUT
          text
    MODULE main_tab_active_tab_set INPUT.
      main_tab-activetab = i_main_tab-pressed_tab.
      CASE i_main_tab-pressed_tab.
        WHEN c_main_tab-tab1.
          i_main_tab-subscreen = '9100'.
        WHEN c_main_tab-tab2.
          i_main_tab-subscreen = '9200'.
        WHEN OTHERS.
         DO NOTHING
      ENDCASE.
    ENDMODULE.              " MAIN_TAB_ACTIVE_TAB_SET  INPUT
    This is the sample code u can try this out.
    Thanks &  Regards,
    Judith

Maybe you are looking for

  • Where are text annotation tools?

    I'm using Reader 10 to edit a PDF that is enabled for commenting. The Adobe Help shows that there are 10 tools under "Annotations," but my instance shows only 2 (sticky note and highlighter). I can't find a way to add or delete text. How do I find th

  • How to insert a conditional image into a report

    Hi I am fairly new to HTML DB, but I have managed to create my first application. I need a little help with one report. One of the columns in the report contains Y, N or R. The customer wants me to display a different coloured image depending on the

  • Audio and video played inside of apps will no longer work.

    I use several apps to listen to audio and within the last few days I tried listening to NPR but when I hit "play" it would just buffer and never play. I then attempted to download some podcasts via iTunes as an alternative and kept  getting an error

  • Organizing class files (in the filesystem)

    Hi, I'm new to Java and the JDC. I have run into one issue, in my explorations in Java, and that is organizing the class files and source code files. I understand that I can organize them in any way that I like, but I was curious if there is a standa

  • Records fetching & writing problem in Oracle DB

    Hi, Currently we are fetching 1 million records from Oracle DB , where we are using PreparedStatement and using the fetchSize() we are fetching the records in a "chunk" in an iterative manner and not feching all 1 million records at once. The same am