Designing the table grid in subscreen in a selection screen..

Hi all,
Actually my requirement is there is a check box in the selection screen,If its checked then we have to display a subscreen with the details
"Emp type"      "Empname"        "Monthly"      "Yearly"
   PM                Glen                 50000         600000          
   SM                Cross               40000         480000          
   TM                Mary                40000         480000          
   GM                Hary                 60000         720000          
should be dislayed as a table grid.
I have designed the screen but its not possible to give the headers
"Emp type"      "Empname"        "Monthly"      "Yearly"
Can anyone solve this issue for me..Thanks in advance

I know to call the window but my problem is
I have defined subscreen as:
SELECTION-SCREEN BEGIN OF SCREEN 300 AS WINDOW.
SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-030.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS : c_air AS CHECKBOX MODIF ID sss USER-COMMAND ucom.
SELECTION-SCREEN COMMENT 4(18) text-003 FOR FIELD p_air.
PARAMETERS : p_air TYPE vbak-vbeln MODIF ID sss .
**SELECTION-SCREEN COMMENT 34(10) text-004 FOR FIELD p_air1.
**It is not accepting this
PARAMETERS : p_air1 TYPE p DECIMALS 2.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK b3.
SELECTION-SCREEN END OF SCREEN 300.
i am able to see one comment but can i display more than one comment

Similar Messages

  • My iphone 5 fell down from the table and now I can't touch screen or do anything with it anymore. Please help me!!!

    My iphone 5 fell down from the table and now I can't touch screen or do anything with it anymore. I send it to Istudio in Thailand and they said it is non authorized so they will not fix for me. I search google and they said that my LCD has problem but people in here said the chip inside my phone have problem??? Please tell me what I need to do. And if I have to change the new, how can I know it is new or fake? Could you give me the price of it please? I'm not Thai people. I study in here so I dont know where to fix it. Please recommend me any truthly store in there if you know. Thank you so much!!!

    You will need to wait for Apple to rectify the issue. Do not make changes at your end.
    https://www.apple.com/support/systemstatus/

  • Unable to save the ALV layout variant and display of selection screen on F4

    Hi All,
    The end user wants to directly select the layout variant (SLIS_VARI). I have used the following code to display the layout variant on selection screen. But, I am unable to save the variant on ALV. Whenever I am trying to select the layout variants (by doing F4 on selection screen) its displaying "No Layout found".
    Following is the code for displaying layout variant:
    PARAMETERS: p_var TYPE slis_vari.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_var.
      PERFORM f4_variant CHANGING p_var.
    FORM f4_variant  CHANGING c_variant TYPE slis_vari.
      DATA: ls_variant TYPE disvariant,
                l_exit     TYPE char1.
      ls_variant-report = sy-repid.
      CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
        EXPORTING
          is_variant = ls_variant
          i_save     = 'A'
        IMPORTING
          e_exit     = l_exit
          es_variant = ls_variant
        EXCEPTIONS
          not_found  = 2.
      IF sy-subrc = 2.
        MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
        IF l_exit EQ space.
          c_variant = ls_variant-variant.
        ENDIF.
      ENDIF.
    ENDFORM.                    " f4_variant
    and following is the code for displaying the ALV:
    FORM edition_alv.
      ws_variant2 = ls_variant.
    * Call ALV editor in list mode
      IF p_list = 'X'.
        CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
          EXPORTING
            i_callback_program      = ws_extract1-report
            i_callback_user_command = ws_user_command
            is_layout               = ws_layout
            it_fieldcat             = wt_fieldcat
            it_sort                 = wt_sort
            i_save                  = 'A'
            is_variant              = ws_variant2
            it_events               = wt_events[]
          TABLES
            t_outtab                = wt_edition.
    * Call ALV editor in grid mode
      ELSE.
        CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
            i_callback_program      = ws_extract1-report
            i_callback_user_command = ws_user_command
            it_fieldcat             = wt_fieldcat
            it_sort                 = wt_sort
            i_save                  = 'A'
            is_variant              = ws_variant2
            it_events               = wt_events[]
          TABLES
            t_outtab                = wt_edition.
      ENDIF.
    ENDFORM.  
    I am not sure whats going wrong, but I am unable to save variants.
    Please help.
    Thanks,
    Vishal.

    The F4 will display you the existing layouts only. So you need to save the layout first & then execute the report again & check if you are getting F4 values for that field.
    The Layout needs to get stored with variant.
    Regards,
    Mahesh

  • Table Maintaince with Transaction SM30 with selection Screen

    Hi Friends,
    I have a requirement for maintance of Z table "ABC" and it need to be maintanied.
    This Ztable should have Ztransaction Code connecting to transaction SM30.
    Also this should have a selection screen with 3 fields to filter the data and only the selected data needs to be used to enter the values in SM30 with the Maintain mode.
    I have created the table and t code and below is the report .
    REPORT  zrktest.
    ******************Declaration*************************
    ***Tables Declaration*******
    TABLES : zkexxirac_calend.
    DATA : gt_calend TYPE STANDARD TABLE OF zkexxirac_calend,
               wa_calend TYPE zkexxirac_calend.
    ***SELECTION SCREEN***
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-100.
    SELECT-OPTIONS : s_burks   FOR zkexxirac_calend-bukrs ,
                    s_zbukrs  FOR zkexxirac_calend-zzbukrs,
                    s_partn   FOR zkexxirac_calend-partner_number.
    SELECTION-SCREEN END OF BLOCK b1.
    ******************Start - Of - Selection*************************
    START-OF-SELECTION.
    ******************Main Processing*************************
    *&      Form  get_data
    *      Get the Data from the table after satisfying
    *          the condition form Selection Screen
    *  -->  p1        text
    *  <--  p2        text
    ******Select the data from the table***
      SELECT *
      FROM zkexxirac_calend
      INTO CORRESPONDING FIELDS OF TABLE gt_calend
      WHERE bukrs          EQ s_burks
      AND   zzbukrs        EQ s_zbukrs
      AND   partner_number EQ s_partn.
    CALL TRANSACTION 'ZITXXIRACCALEND' AND SKIP FIRST SCREEN.
    but when i execute the report it goes to the 1st screen of SM30 and gives the error message to selecting the option of No restriction , enter condition .. etc .
    I have already ticked the Check box to skip initial Screen in the SM93, while creating the Transaction Code.
    Let me know what chnages needs to be done and what code should i write.

    Rabiya,
    You actually do not need to do any data selection beforehand to accomplish this.  Just convert the select-options to a different format and then call FM 'VIEW_MAINTENANCE_CALL'.instead of CALL TRANSACTION.  The process is described here:
    Add a Selection Screen to a Table Maintenance Dialog
    Best,
    Eric

  • Check the table and column name in R12 web screen

    Hello Friends
    Please any body can tell me how can I find out the table name and column name in web based forms like supplier, customer in R12. In 11i I can find out the table name and column name from help menu by record history and diagnostic -> examine menu.
    Thansk
    Makshud

    Hi,
    Please see (Note: 741366.1 - How to get Supplier table information? How to get About this Page link in OA page in R12).
    Thanks,
    Hussein

  • How to remove the "table control" icon in ITS based ESS screen

    Hi All,
    I have upgraded my external ITS 620 to patch level 28. Earlier we were on patch 04.
    Since then I am seeing the table control in my ESS screens (ITS Based),
    In some thread i got to know that the table control is totally redefined / modified from patch 22 of ITS.
    Is it possible that we can remove / hide the table control from the screens.
    I dont want to let the users access the "Table Settings" screen at all....can u plz tell me how to do it
    regards,
    PK

    we could not remove the table control...it seems like we can not remove it as the table control also appears in the r3 screens also..

  • How to call subscreen and provide selection screen in subscreen

    Hi experts,
    please anybody suggest me how to call subscreen in module pool screen and provide selection screen in that sub screen.
    please tell me how to design this subscreen in module pool screen.
    adevanced
    thank you
    regards
    vijay krishna

    Hi,
    If you need to have select-options in module pool then follow these steps:-
    To implement select-options in module pool, first design two input/output fields (textboxes) for the low and high value of the field and name it as <field_name>-low and <field_name>-high.
    Create a button next the high value textbox and keep its sutaible function code.
    Now, to call the pop-up on this button click, we have to call the same pop-up as in standard      select-options. For this we have to use the function module COMPLEX_SELECTIONS_DIALOG.
    For this FM we have to pass the table name, field name and the range for the field whose range needs to fill when using the popup screen.
    To pass the table name and field name details into the FM, we have to declare as:
    DATA : tab TYPE rstabfield.
    This structure comprises of table name and field name.
    Pass these details in program as:-
    u2003
    *-- clear table and field details
      CLEAR tab.
    *-- append for range depending on the button clicked
    *   either for sales order or line item
      CASE sy-ucomm.
        WHEN 'VBELN'.
          tab-tablename = 'VBAP'.
          tab-fieldname = 'VBELN'.
    *--To call the popup screen for the field use code:-
      CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG'
        EXPORTING
          title             = text-002  u201Ctitle text
          text              = ' '
          signed            = 'X'
          search_help       = v_shelp u201Csearch help if required
          tab_and_field     = tab u201Ctable and field name details
        TABLES
          range             = r_vbeln u201Crange for the associated field
        EXCEPTIONS
          no_range_tab      = 1
          cancelled         = 2
          internal_error    = 3
          invalid_fieldname = 4
          OTHERS            = 5.
    Hope this helps you.
    Regards,
    Tarun

  • Subscreen in a selection screen

    hi,
    How to create subscreens in aselection screen and how to access the values entered in sub screen.

    Hi Ronie,
    you'll find some info on ABAP docu:
    TABLES: SPFLI.
    SELECT-OPTIONS SEL0 FOR SY-TABIX.
    PARAMETERS PAR0(5).
    SELECTION-SCREEN BEGIN OF SCREEN 123 AS WINDOW TITLE TEXT-456.
      SELECTION-SCREEN BEGIN OF BLOCK BL1 WITH FRAME TITLE TEXT-BL1
                                          NO INTERVALS.
        SELECT-OPTIONS SEL1 FOR SY-SUBRC.
        PARAMETERS     PAR1 LIKE SPFLI-CARRID.
        SELECTION-SCREEN COMMENT /10(20) TEXT-COM.
      SELECTION-SCREEN END OF BLOCK BL1.
    SELECTION-SCREEN END OF SCREEN 123.
    SELECTION-SCREEN ULINE.
    SELECTION-SCREEN BEGIN OF SCREEN 99.
      SELECTION-SCREEN PUSHBUTTON 15(25) PUBU
                       USER-COMMAND US01.
      SELECT-OPTIONS SEL2 FOR SPFLI-CONNID.
      PARAMETERS     PAR2 TYPE I.
    SELECTION-SCREEN END OF SCREEN 99.
    To access the values, just ask for the names of the parameters you just defined.
    I hope it helps. BR,
    Alvaro

  • How to get rid of the loop in ALV output from At selection screen event?

    I have several push buttons on a selection screen.
    Clikc on a button, then it pops up an editable ALV report. (This gets triggered AT SELECTION SCREEN event.). REUSE_ALV_GRID_DISPLAY_LVC..
    On the ALV output, I enabled F4 for a couple of fields. Once I click on the F4 button, ONF4 method gets triggerd and a pop up appears with custom search helps.
    choose a line and it fills the cell.
    Upto this it works fine.
    Now I click on the BACK button at the ALV output, it takes me to the selection screen. I click on the button again, it show the editable ALV. Now when I click on the F4 button, the pop up comes up twice and the cell gets filled from the second pop - up.
    How to control this?
    Probably I am not refreshing something?
    (I am using REUSE_ALV_GRID_DISPLAY_LVC and tooks ome code for ONF4 event from BCALV_*DATATYPES (forgot the exact name) program.)
    Thanks,
    Ven

    Hi,
    FORM refresh_grid USING  pw_grid TYPE REF TO cl_gui_alv_grid.
    *Work area
      DATA : wal_stable TYPE lvc_s_stbl.
      CHECK NOT pw_grid IS INITIAL.
      wal_stable-col = c_check.
      wal_stable-row = c_check.
    *Method to refresh grid
      CALL METHOD  pw_grid->refresh_table_display
           EXPORTING
             is_stable      = wal_stable
             i_soft_refresh = c_check
           EXCEPTIONS
             finished       = 1
             OTHERS         = 2.
    ENDFORM.                    " refresh_grid
    Thanks,
    Sree.

  • Fetching data from a table & displaying it as checkbox in selection screen

    I have a database table which contains report name & report description as fields.based on the number of rows of data present in the table i have to display check box for each entry & the corresponding controls in the selection-screen.
    I got answers like:
    1.Declaring the checkboxes & hiding the same in runtime using user-command,which is not needed...
    2.Declaring the checkbox in screen painter using function code & calling the same,where i need a clear explanation...
    Is there any other method other than this plz let me know...
    Reply is most urgent...

    Hi Vijay...
    The selection screen should look like...
    cb1 -
    variant1 -
    icb1 -
    date1 -
    time1
    cb2 -
    variant2 -
    icb2 -
    date2 -
    time2
    where...
    cb1 - checkbox which indicates the first report(YRTEST) in the table...
    variant1 - textbox for variant which has a help,on clicking should display all the variants of YRTEST report...
    icb1 - checkbox which indicates the immediate background processing...
    date1 - date on which the job should be scheduled...
    time1 - time on which the job should be scheduled...
    If icb1 is clicked then date1 & time1 should not be allowed to enter & vice-versa...
    cb2 - checkbox which indicates the second report(YRTEST1) in the table...
    variant2 - textbox for variant which has a help,on clicking should display all the variants of YRTEST1 report...
    icb2 - checkbox which indicates the immediate background processing...
    date2 - date on which the job should be scheduled...
    time2 - time on which the job should be scheduled...
    If icb2 is clicked then date2 & time2 should not be allowed to enter & vice-versa...
    Its not like what u said...(Based on user entered data fetch the data of report(variant,date,time) and you can submit the data to background job as incase of single record by looping the data)
    Because we have only ReportName,ReportDescription as fields in the table & not variant,date,time...The variant,date,time are all entered in the selection-screen only from which the background job is scheduled...
    I hope the requirement is more clearer...

  • Selection-screen as subscreen in other selection screen

    Hi,
    is it possible to attached one selection screen, which has been created as subscreen (selection-screen begin of sreen 2000 as subscreen) to the other one (standard one 1000), created just with selection-screen commands (begin of block, etc)?
    Thank you.
    J

    Hi,
    Try using tab strips in the selection screen..
    http://help.sap.com/saphelp_nw04/helpdata/EN/00/deb23789e95378e10000009b38f8cf/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e7/deb237b9a9a968e10000009b38f8cf/content.htm
    Thanks
    Naren

  • How to put a table's all fields on a selection screen?

    Hi, I am new here. I am currently create a report in which I need to put a transparent table's all fields on selection screen. Please give me hints about it. Thank you very much in advance.
    Tom

    Hi,
      Use parameter or select-options for all the fields in the transparent table..I am not sure if there is any dynamic way of creating the parameters..
      Otherwise you can create a dynamic report..
    Check this example for dynamic report..
    DATA: p_temp(30) TYPE c DEFAULT 'ZTEST_REPORT'.
    TYPES: BEGIN OF t_abapcode occurs 0,
    row(72) TYPE c,
    END OF t_abapcod.
    T_ABAPCODE-ROW = 'REPORT ZTEST_REPORT.'.
    APPEND T_ABAPCODE.
    T_ABAPCODE-ROW = 'PARAMETERS: P_MATNR LIKE MARA-MATNR.'.
    APPEND T_ABAPCODE.
    T_ABAPCODE-ROW = 'WRITE: / P_MATNR. '.
    APPEND T_ABAPCODE.
    INSERT REPORT p_temp FROM it_abapcode.
    SUBMIT (p_temp) AND RETURN.
    Thanks,
    Naren

  • Display internal table as per value entered in selection screen

    hi experts,
       i need help on this issue. I have an internal table like this.
         f1  f2   f3  
         a   2    5
         b   3    4
         c   4    3
         d   5    2
         e   2    6
    totf2 =16  totf3= 20
    i am getting this sum displayed using AT END OF.
    Now there is a provision to enter a value for totf2, totf3 in selection screen. so based on this value entered for eg. if totf2 = 9 and totf3 = 13, is entered, then my internal table display shd b like:
    f1  f2  f3
    a   2  5
    b   3  4
    c   4  3
    totf2 = 9, tot f3= 12.
    someone plz help quick.
    thanks.

    Hi,
    Try this..
    DATA: v_totf2 TYPE I.
    DATA: v_totf3 TYPE I.
    * Create a internal table similar to your internal table.
    DATA: ITAB_FINAL LIKE TABLE OF itab.
    LOOP AT itab INTO wa.
    * Sum up the total for fields 2 and 3
      v_totf2 = v_totf2 + wa-f2.
      v_totf3 = v_totf3 + wa-f3.
    * If total exceeds for the field 2 and 3 than given in the selection screen.Then exit.
      IF v_totf2 >= p_totf2.     " p_totf2 - selection screen value
              OR
          v_totf3 >= p_totf3.    " p_totf3 - selection screen value
        EXIT.                         " Exit out of the loop.
      ENDIF.
    * Move the values to the final internal table.
      APPEND wa to ITAB_FINAL.
    ENDLOOP.
    * ITAB_FINAL will have the final values.
    Thanks
    Naren

  • ALV - selecting the data based on layout set in selection screen

    Hi,
    I have an ALV report (Custom). I want to give layout selection at selection screen, so the user can create/select/manage layout at the time of selection screen and only these columns will be displayed in the final output. Instead user execute the report for all column and at the end user select the layout. I want this layout at the selection screen level like the standard reports.
    Thanks,

    You can do the following
    When the user clicks on download
    1.Use FM REUSE_ALV_LIST_LAYOUT_INFO_GET / REUSE_ALV_GRID_LAYOUT_INFO_GET to get the Fieldcat (since due to selection of layout on sel screen some columns are disabled. For the columns which have been disabled the resultant Fieldcat from the above FMs would have NO_OUT = 'X'. Delete columns from Fieldcat itab where no_out = 'X'
    2.create a dynamic itab using cl_alv_table_create=>create_dynamic_table( )  passing the above Fieldcat itab, get a handle of new itab
    3.loop over the original itab and fill the new dynamic itab
    hope this helps...

  • How to run the program in back ground with out selection screen ?

    Hi,
    I want to run the program in back ground but don't have selection screen. How to run this program in back ground
    as program has no selection screen.
    Waiting for quick response.
    Best Regards,
    Padhy
    Moderator message: basic, please search for available information/documentation.
    Edited by: Thomas Zloch on Feb 21, 2011 12:43 PM

    Hi,
    Go to transaction SE38 --> Execute --> Background.
    If your program contains selection screen, you have to pass your input values as variants.

Maybe you are looking for