Check box before select option in a report program.

Hi All..
I have a report program with select options..I want to put a checkbox before the select option, aligned with it...Is it possible..
Regards
Rudra

Hi Rudra,
Take the below help program. In the below program I am disabling the text fields....
Take the refrence and do it will fix the problem
&***************************Reward Point if helpful***************************&
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-003.
PARAMETERS: P1 RADIOBUTTON GROUP G1 DEFAULT 'X' USER-COMMAND Z1.
SELECT-OPTIONS: S_PMNUX FOR S076-PMNUX MODIF ID MI1.
PARAMETERS:     P_WENUX LIKE S076-WENUX MODIF ID MI1.
PARAMETERS: P5 TYPE CHAR15 AS LISTBOX  VISIBLE  LENGTH 15 MODIF ID MI1.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 7.
PARAMETERS: P3 RADIOBUTTON GROUP G2 MODIF ID MI1.
SELECTION-SCREEN COMMENT 10(10) TEXT-001 MODIF ID MI1.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 7.
PARAMETERS: P4 RADIOBUTTON GROUP G2 MODIF ID MI1.
SELECTION-SCREEN COMMENT 10(10) TEXT-002 MODIF ID MI1.
SELECTION-SCREEN END OF LINE.
PARAMETERS: P_FILE TYPE RLGRAP-FILENAME MODIF ID MI1.
PARAMETERS: P2 RADIOBUTTON GROUP G1.
SELECT-OPTIONS: S_PMNUX1 FOR S076-PMNUX MODIF ID MI2.        " Product Group
PARAMETERS:     P_WENUX1 LIKE S076-WENUX MODIF ID MI2.       " Plant
PARAMETERS: P6(15) TYPE C AS LISTBOX VISIBLE LENGTH 10 MODIF ID MI2.
*PARAMETERS: P_EMAIL(255) TYPE C MODIF ID MI2.
PARAMETERS: P_EMAIL TYPE SOMLRECI1-RECEIVER.    " Email Address
SELECTION-SCREEN END OF BLOCK B1.
*      AT SELECTION-SCREEN OUTPUT                        *
AT SELECTION-SCREEN OUTPUT.
  IF P1 = 'X'.
    LOOP AT SCREEN.
      IF SCREEN-GROUP1 = 'MI2'.
        SCREEN-INVISIBLE = 0.
        SCREEN-INPUT = 0.
        SCREEN-ACTIVE = 1.
        SCREEN-OUTPUT = 1.
        MODIFY SCREEN.
      ENDIF.
      IF SCREEN-GROUP1 = 'MI2'.
        SCREEN-INVISIBLE = 0.
        SCREEN-INPUT = 0.
        SCREEN-ACTIVE = 1.
        SCREEN-OUTPUT = 1.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
  ELSEIF P2 = 'X'.
    LOOP AT SCREEN.
      IF SCREEN-GROUP1 = 'MI1'.
        SCREEN-INVISIBLE = 0.
        SCREEN-INPUT = 0.
        SCREEN-ACTIVE = 1.
        SCREEN-OUTPUT = 1.
        MODIFY SCREEN.
      ENDIF.
      IF SCREEN-GROUP1 = 'MI1'.
        SCREEN-INVISIBLE = 0.
        SCREEN-INPUT = 0.
        SCREEN-ACTIVE = 1.
        SCREEN-OUTPUT = 1.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
  ELSE.
    LOOP AT SCREEN.
      IF SCREEN-GROUP1 = 'MI2'.
        SCREEN-INVISIBLE = 0.
        SCREEN-INPUT = 0.
        SCREEN-ACTIVE = 1.
        SCREEN-OUTPUT = 1.
        MODIFY SCREEN.
      ENDIF.
      IF SCREEN-GROUP1 = 'MI1'.
        SCREEN-INVISIBLE = 0.
        SCREEN-INPUT = 0.
        SCREEN-ACTIVE = 1.
        SCREEN-OUTPUT = 1.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
  ENDIF.

Similar Messages

  • To add select-options to standard report program...

    Hi,
    How to add  a field as select-options to sap standard report program?
    Regards,
    sachin
    Moderator Message: Do some R&D on the topic first and ask a specific question, instead of a step-by-step process.
    Edited by: kishan P on Nov 25, 2010 5:40 PM

    Hi shiva,
    I have following doubts?
    1) exactly where should i add select-options of a field in enhancement point?
    and 2) where to keep the database extraction logic for the same select-options?

  • Check boxes to select multiple documents on report list in 4,6C......

    Hello,
    I am working on 46C. When I execute FB03 List option, I get list of Document numbers. I am in the process of developing a custom report, so when I do that, along with the document numbers, I also get small checkbox besides it, so that I can select multiple documents.
    I then I have a button on application toolbar when pressed should execute cetain logic.
    Regards,
    Jainam.

    Hi,
    Try this way.
    REPORT ztest_notepad.
    TYPE-POOLS:icon.
    DATA: BEGIN OF it_mara OCCURS 0,
           check TYPE char4,
           matnr TYPE mara-matnr,
           ersda TYPE mara-ersda,
         END OF it_mara.
    DATA:str TYPE string.
    START-OF-SELECTION.
    SELECT * FROM mara INTO CORRESPONDING FIELDS OF TABLE it_mara UP TO 100 ROWS.
    LOOP AT it_mara.
       it_mara-check = '@T9@'. "code for empty checkbox
       WRITE:/ it_mara-check HOTSPOT ON,
               it_mara-matnr,
               it_mara-ersda.
       HIDE:it_mara-check,
            it_mara-matnr,
            it_mara-ersda.
    ENDLOOP.
    AT LINE-SELECTION.
    it_mara-check = '@R7@'."Code for checked checkbox.
    MODIFY LINE sy-lilli FIELD VALUE it_mara-check.
    READ TABLE it_mara INDEX sy-lilli.
    IF sy-subrc EQ 0.
       str = sy-lilli.
       CONCATENATE 'Row no' str 'selected' INTO str SEPARATED BY space.
       MESSAGE str TYPE 'I'.
    ENDIF.
    Thanks
    Venkat.O

  • Option ( Radio button  or check box)  on selection - screen , to go to CNR2

    <b>Subject - Option ( Radio button  or check box)  on selection - screen  , to go to Tcode CNR2</b>
    Hi all,
          I have developed  a report   , which  has  a  selection screen  with  one select-option ,  where i enter employee number     and  two radio buttons   ,  one is for all workcentres  and  other one   for active workcentre.   so when i enter  employee number  and  choose  either of the radio button  i wil get the  output  properly.  the output   displays ,  employee no,  employee name ,  work centre  and project  of that employee .   an employee may have  many workcentres   and   a corresponding project  for that work centre.
    Now the  Problem is  ,  from the same   report  i need to add  a option  on the selection -screen ,  ( plz  tell me whether to use  radio button  or check box   and if it is radio button    should  i  use it seperately  or  group it  in the above two buttons.) .
    so that when user selects  the  option   , the control should  go to  transaction code CNR2,  from where  i  can enter workcentre  and   in the next screen i have  HR assigntment tab , after choosing that it will dsplay persons   linked to the workcentre  and there is a delete icon  , from where i can delete the person.
    The only thing is  now to move / Navigate to the screen   or  go to transaction code CNR2   from  the report  or  from the selection screen.
    Your valuable Inputs are awaited, PLz  do lemme know 
    Thanks  in advance ,
    regards,
    Shuja

    Shuja,
    A radio button nor a checkbox should be used for navigation.  I would suggest a COMMAND BUTTON. 
    Something like this:
    Report ZZZZZZ.
    TABLES: sscrfields.
    SELECTION-SCREEN BEGIN OF BLOCK ONE WITH FRAME TITLE TEXT-001.
    selection-screen: PUSHBUTTON /10(20) but1 USER-COMMAND cli1.
    SELECTION-SCREEN END OF BLOCK ONE.
    initialization.
      but1 = 'Button Text Goes Here'.
    AT SELECTION-SCREEN.
      CASE sscrfields.
        WHEN 'CLI1'.
          call transaction 'CNR2'.
    start-of-selection.
    Your code here

  • I want to make sure a check box is selected before allowing a form to be closed.

    I want to make sure that a check box is selected before allowing the form to be closed in X Std.  I have set the field as a required field but want to make sure that whoever fills in the form cannot exit, print or save without first ticking the box.  How do I do this?

    There is no way to prevent those actions. The best you can do is alert the user just before any of those things happen.

  • F1 help for Check Box on Selection-Screen

    Hi Friends,
    I want to attach F1 help for a check box on selection-screen. Though I have checked SDN community for this but did not get any relevant answer.
    so, please give me correct example if someone has done similar.
    Regards
    Pradeep

    Pradeep,
    I think this fucntion module needs to be used DD_SHLP_CALL_FROM_DYNP.If possibe try to screen debug using /H before pressing f1 for a field.
    K.Kiran.

  • I have a problem with mail.  the spelling and grammer check box before sending the messege is no longer there.  I did everything but cannot get it back.  is ther anyone who knows how to get the box with spelling and grammer checks before sending

    i have a problem with mail.  the spelling and grammer check box before sending the messege is no longer there.  I did everything but cannot get it back.  is ther anyone who knows how to get the box with spelling and grammer checks before sending the mail.
    Also the mail is acting very funny by not getting the rules work in a proper method.  Is ther a software to repair mail.

    i did both of them, but still the while sending the mail the diolog box is not showing up and also the spelling and grammer does not do the spelling check. 
    This problem just started for about 3 to 4 days now.  earlier it was working normally.

  • Delete the rows if the check box is selected.

    Dear all,
    i have a block (not database block). i added a check box to the same block. now i want to delete the row against which the check box is selected.
    i wrote the following code in when-button-pressed trigger.
    IF Checkbox_Checked('CHK_DEL') THEN
         delete from fa_01_11
         where as_id = :as_id;
    END IF;
    commit;
    but when i select only one check box it delete the all rows from the table if the condition is satisfied.
    here is the data in my table
    as_id year month
    63     2006     4     0     -1183.92     1
    63     2006     5     0     -1183.92     1
    63     2006     6     0     -1183.92     1
    63     2006     7     0     -1183.92     1
    63     2006     8     0     -1183.92     1
    63     2006     9     0     -1183.92     1
    63     2006     10     0     -1183.92     1
    63     2006     11     0     -1183.92     1
    63     2006     12     0     -1183.92     1
    what's the proble?
    Regards:
    Muhammad Nadeem
    Message was edited by:
    Muhammad Nadeem

    You need to run the code for each record and you need to find something which is unique. as_id is not unique.
    untested:
    declare
      last_rec boolean := false;
      deleted boolean := false;
    begin
      first_record;
      loop
        deleted := false;
        last_rec := :system.last_record = 'TRUE';
        IF Checkbox_Checked('CHK_DEL') THEN
          delete from fa_01_11
            where as_id = :as_id
            and year = :year
            and month = :month;
          clear_record;
          deleted := true;
        END IF;
        exit when last_rec;
        if not deleted then
          next_record;
        end if;
      end loop;
      commit;
    end;

  • Populating multiple entries in the select option of a Report

    Hi,
      Ineed to populate multiple entries in the select option of a report where the bdctab has more entries than the number of rows in the select option. I have tried the transaction LINS ( Insert row) but it works intermittently based on the RSSEL-LOW(xx) value. Looking forward to any inputs.
    cheers
    Aveek

    Hi,
      Here is my code dump:
    **Version 0005
    *CTS D7AK900899 New Version code fixed for testaveek28 case.
    *MOD-1887120: Code that is changed after the release of transport.
    Populate the general selection criteria on first screen
      PERFORM f_populate_bdc_tab USING:
      'X'  'APO_BAPI_DEL_TRANS_OBJECTS'  '1000',
    ' '  'BDC_CURSOR'                  'EXT_PROD-LOW',
      ' '  'BDC_OKCODE'                  '=%011',
    ' '  'BDC_OKCODE'                  '=DUMMY',
      ' '  'PLVERS'                      '000',
      ' '  'MD_SYS'                      p_log,
      ' '  'EXTRB'                       'X',
      ' '  'MO_DEL'                      'X',
      ' '  'SIM'                         space,
      ' '  'P_LOGDEL'                    '5'.
      sort it_core_prod by pcode.
      delete adjacent duplicates from it_core_prod
                       comparing pcode.
      describe table it_core_prod lines lv_line.
      CLEAR lv_count.
    LOOP AT it_core_prod ASSIGNING <lfs_data>.
       lv_count = 1.
       CONCATENATE gc_rscsel gc_l_brac lv_count gc_r_brac INTO lv_fname.
       if lv_line > 1.
         PERFORM f_populate_bdc_tab USING:
         'X'  'SAPLALDB'                    '3000',
         ' '  lv_fname                    <lfs_data>-pcode,
         ' '  'BDC_OKCODE'                  '=LINS'.
         CLEAR lv_fname.
    ENDLOOP.
    *Populate the select options screen for product
    PERFORM f_populate_bdc_tab USING:
    'X'  'SAPLALDB'                    '3000',
    ' '  'BDC_SUBSCR'                  'SAPLALDB 3010SCREEN_HEADER',
    ' '  'BDC_OKCODE'                  '=ACPT'.
    sort it_prod_var by pcode prvar.
    delete adjacent duplicates from it_core_prod
                       comparing pcode prvar.
    PERFORM f_populate_bdc_tab USING:
         'X'  'SAPLALDB'                    '3000'.
    LOOP AT it_core_prod ASSIGNING <lfs_data>.
      lv_pcode = <lfs_data>-pcode.
    *lv_count = lv_count + 1.
      lv_count = 1.
      CONCATENATE gc_rscsel gc_l_brac lv_count gc_r_brac INTO lv_fname.
       if lv_line > 1.
          PERFORM f_populate_bdc_tab USING:
          'X'  'SAPLALDB'                    '3000',
          ' '  lv_fname                    <lfs_data>-pcode,
          ' '  'BDC_OKCODE'                  '=LINS'.
          CLEAR lv_fname.
      describe table it_prod_var lines lv_line.
    sort <lfs_data> by locno pcode prvar.
      LOOP AT it_prod_var ASSIGNING <lfs_data1>  where pcode = lv_pcode.
      lv_count = lv_count + 1.
        lv_count = 1.
        CONCATENATE gc_rscsel gc_l_brac lv_count gc_r_brac INTO lv_fname.
       if lv_line > 1.
          PERFORM f_populate_bdc_tab USING:
          'X'  'SAPLALDB'                    '3000',
          ' '  lv_fname                    <lfs_data1>-prvar,
          ' '  'BDC_OKCODE'                  '=LINS'.
        else.
         PERFORM f_populate_bdc_tab USING:
         ' '  lv_fname                    <lfs_data>-prvar,
         ' '  'BDC_OKCODE'                  '=LINS'.
        endif.
          CLEAR lv_fname.
      ENDLOOP.
    ENDLOOP.
    Populate the select options screen for product
      PERFORM f_populate_bdc_tab USING:
    'X'  'SAPLALDB'                    '3000',
    ' '  'BDC_SUBSCR'                  'SAPLALDB  3010SCREEN_HEADER',
      ' '  'BDC_OKCODE'                  '=ACPT'.
    Populate the select options for the Locations
      PERFORM f_populate_bdc_tab USING:
      'X'  'APO_BAPI_DEL_TRANS_OBJECTS'  '1000',
    ' '  'BDC_CURSOR'                  'EXT_PRD-LOW',
      ' '  'BDC_OKCODE'                  '=%012',
      ' '  'PLVERS'                      '000',
    ' '  'MD_SYS'                      p_log,
      ' '  'EXTRB'                       'X',
      ' '  'MO_DEL'                      'X',
      ' '  'SIM'                         space,
      ' '  'P_LOGDEL'                    '5'.
    Populate the select options screen for product
      PERFORM f_populate_bdc_tab USING:
      'X'  'SAPLALDB'                    '3000',
    ' '  'BDC_SUBSCR'                  'SAPLALDB  3010SCREEN_HEADER',
      ' '  'BDC_OKCODE'                  '=ACPT'.
      CLEAR lv_count.
      LOOP AT it_loc_data ASSIGNING <lfs_data>.
        lv_count = lv_count + 1.
      lv_count = 1.
        CONCATENATE gc_rscsel gc_l_brac lv_count gc_r_brac INTO lv_fname.
        PERFORM f_populate_bdc_tab USING:
        ' '  lv_fname                    <lfs_data>-locno.
       ' '  'BDC_OKCODE'                  '=LINS'.
        CLEAR lv_fname.
        PERFORM f_populate_bdc_tab USING:
         'X'  'SAPLALDB'                    '3000',
         ' '  lv_fname                    <lfs_data>-locno,
         ' '  'BDC_OKCODE'                  '=LINS'.
         CLEAR lv_fname.
      ENDLOOP.
    CLEAR lv_count.
    LOOP AT it_loc_data ASSIGNING <lfs_data>.
       lv_count = 1.
       CONCATENATE gc_rscsel gc_l_brac lv_count gc_r_brac INTO lv_fname.
       PERFORM f_populate_bdc_tab USING:
         'X'  'SAPLALDB'                    '3000',
         ' '  lv_fname                    <lfs_data>-locno,
         ' '  'BDC_OKCODE'                  '=LINS'.
         CLEAR lv_fname.
    ENDLOOP.
    Populate the objects to be deleted on first screen
      PERFORM f_populate_bdc_tab USING:
      'X'  'APO_BAPI_DEL_TRANS_OBJECTS'  '1000',
      ' '  'BDC_OKCODE'                  '=DUMMY',
      ' '  'PLVERS'                      '000',
      ' '  'MD_SYS'                      p_log,
      ' '  'EXTRB'                       'X',
      ' '  'MO_DEL'                      'X',
      ' '  'MO_STAT'                     'X',
      ' '  'PO_DEL'                      'X',
      ' '  'SL_DEL'                      'X',
      ' '  'ST_DEL'                      'X',
      ' '  'PIR_DEL'                     'X',
      ' '  'SIM'                         space,
      PERFORM f_populate_bdc_tab USING:
      'X'  'SAPLSPO1'                    '0500',
      ' '  'BDC_OKCODE'                  '=OPT1'.
    **Version 0005
    *CTS D7AK900899 New Version code fixed for testaveek28 case.
    *MOD-1887120: Code that is changed after the release of transport.
    Populate the general selection criteria on first screen
      PERFORM f_populate_bdc_tab USING:
      'X'  'APO_BAPI_DEL_TRANS_OBJECTS'  '1000',
    ' '  'BDC_CURSOR'                  'EXT_PROD-LOW',
      ' '  'BDC_OKCODE'                  '=%011',
    ' '  'BDC_OKCODE'                  '=DUMMY',
      ' '  'PLVERS'                      '000',
      ' '  'MD_SYS'                      p_log,
      ' '  'EXTRB'                       'X',
      ' '  'MO_DEL'                      'X',
      ' '  'SIM'                         space,
      ' '  'P_LOGDEL'                    '5'.
      sort it_core_prod by pcode.
      delete adjacent duplicates from it_core_prod
                       comparing pcode.
      describe table it_core_prod lines lv_line.
      CLEAR lv_count.
    LOOP AT it_core_prod ASSIGNING <lfs_data>.
       lv_count = 1.
       CONCATENATE gc_rscsel gc_l_brac lv_count gc_r_brac INTO lv_fname.
       if lv_line > 1.
         PERFORM f_populate_bdc_tab USING:
         'X'  'SAPLALDB'                    '3000',
         ' '  lv_fname                    <lfs_data>-pcode,
         ' '  'BDC_OKCODE'                  '=LINS'.
         CLEAR lv_fname.
    ENDLOOP.
    *Populate the select options screen for product
    PERFORM f_populate_bdc_tab USING:
    'X'  'SAPLALDB'                    '3000',
    ' '  'BDC_SUBSCR'                  'SAPLALDB 3010SCREEN_HEADER',
    ' '  'BDC_OKCODE'                  '=ACPT'.
    sort it_prod_var by pcode prvar.
    delete adjacent duplicates from it_core_prod
                       comparing pcode prvar.
    PERFORM f_populate_bdc_tab USING:
         'X'  'SAPLALDB'                    '3000'.
    LOOP AT it_core_prod ASSIGNING <lfs_data>.
      lv_pcode = <lfs_data>-pcode.
    *lv_count = lv_count + 1.
      lv_count = 1.
      CONCATENATE gc_rscsel gc_l_brac lv_count gc_r_brac INTO lv_fname.
       if lv_line > 1.
          PERFORM f_populate_bdc_tab USING:
          'X'  'SAPLALDB'                    '3000',
          ' '  lv_fname                    <lfs_data>-pcode,
          ' '  'BDC_OKCODE'                  '=LINS'.
          CLEAR lv_fname.
      describe table it_prod_var lines lv_line.
    sort <lfs_data> by locno pcode prvar.
      LOOP AT it_prod_var ASSIGNING <lfs_data1>  where pcode = lv_pcode.
      lv_count = lv_count + 1.
        lv_count = 1.
        CONCATENATE gc_rscsel gc_l_brac lv_count gc_r_brac INTO lv_fname.
       if lv_line > 1.
          PERFORM f_populate_bdc_tab USING:
          'X'  'SAPLALDB'                    '3000',
          ' '  lv_fname                    <lfs_data1>-prvar,
          ' '  'BDC_OKCODE'                  '=LINS'.
        else.
         PERFORM f_populate_bdc_tab USING:
         ' '  lv_fname                    <lfs_data>-prvar,
         ' '  'BDC_OKCODE'                  '=LINS'.
        endif.
          CLEAR lv_fname.
      ENDLOOP.
    ENDLOOP.
    Populate the select options screen for product
      PERFORM f_populate_bdc_tab USING:
    'X'  'SAPLALDB'                    '3000',
    ' '  'BDC_SUBSCR'                  'SAPLALDB  3010SCREEN_HEADER',
      ' '  'BDC_OKCODE'                  '=ACPT'.
    Populate the select options for the Locations
      PERFORM f_populate_bdc_tab USING:
      'X'  'APO_BAPI_DEL_TRANS_OBJECTS'  '1000',
    ' '  'BDC_CURSOR'                  'EXT_PRD-LOW',
      ' '  'BDC_OKCODE'                  '=%012',
      ' '  'PLVERS'                      '000',
    ' '  'MD_SYS'                      p_log,
      ' '  'EXTRB'                       'X',
      ' '  'MO_DEL'                      'X',
      ' '  'SIM'                         space,
      ' '  'P_LOGDEL'                    '5'.
    Populate the select options screen for product
      PERFORM f_populate_bdc_tab USING:
      'X'  'SAPLALDB'                    '3000',
    ' '  'BDC_SUBSCR'                  'SAPLALDB  3010SCREEN_HEADER',
      ' '  'BDC_OKCODE'                  '=ACPT'.
      CLEAR lv_count.
      LOOP AT it_loc_data ASSIGNING <lfs_data>.
        lv_count = lv_count + 1.
      lv_count = 1.
        CONCATENATE gc_rscsel gc_l_brac lv_count gc_r_brac INTO lv_fname.
        PERFORM f_populate_bdc_tab USING:
        ' '  lv_fname                    <lfs_data>-locno.
       ' '  'BDC_OKCODE'                  '=LINS'.
        CLEAR lv_fname.
        PERFORM f_populate_bdc_tab USING:
         'X'  'SAPLALDB'                    '3000',
         ' '  lv_fname                    <lfs_data>-locno,
         ' '  'BDC_OKCODE'                  '=LINS'.
         CLEAR lv_fname.
      ENDLOOP.
    CLEAR lv_count.
    LOOP AT it_loc_data ASSIGNING <lfs_data>.
       lv_count = 1.
       CONCATENATE gc_rscsel gc_l_brac lv_count gc_r_brac INTO lv_fname.
       PERFORM f_populate_bdc_tab USING:
         'X'  'SAPLALDB'                    '3000',
         ' '  lv_fname                    <lfs_data>-locno,
         ' '  'BDC_OKCODE'                  '=LINS'.
         CLEAR lv_fname.
    ENDLOOP.
    Populate the objects to be deleted on first screen
      PERFORM f_populate_bdc_tab USING:
      'X'  'APO_BAPI_DEL_TRANS_OBJECTS'  '1000',
      ' '  'BDC_OKCODE'                  '=DUMMY',
      ' '  'PLVERS'                      '000',
      ' '  'MD_SYS'                      p_log,
      ' '  'EXTRB'                       'X',
      ' '  'MO_DEL'                      'X',
      ' '  'MO_STAT'                     'X',
      ' '  'PO_DEL'                      'X',
      ' '  'SL_DEL'                      'X',
      ' '  'ST_DEL'                      'X',
      ' '  'PIR_DEL'                     'X',
      ' '  'SIM'                         space,
      PERFORM f_populate_bdc_tab USING:
      'X'  'SAPLSPO1'                    '0500',
      ' '  'BDC_OKCODE'                  '=OPT1'.
      CLEAR gv_msg_error.
      lv_ctu_params-nobinpt = space.
    lv_ctu_params-dismode = gc_mode_e.
      lv_ctu_params-dismode = 'A'.
      lv_ctu_params-updmode = 'S'.
      lv_ctu_params-racommit = 'X'.
    Call Transaction /SAPAPO/BP2
    CALL TRANSACTION gc_bp2 USING ct_bdc_data
    OPTIONS FROM lv_ctu_params
    MESSAGES INTO lt_msg_tab.

  • Want new tab to open to home page and why does firefox not have a simple check box in the options because I can't keep going through a long procedure each time

    I want new tab to open to home page and why does firefox not have a simple check box in the options because I can't keep going through the long tedious procedure each time I install firefox. It is something that should be in the options tab , and I want to know why it isn't. I am totally frustrated with firefox and getting ready to switch.

    You can use the SearchReset extension to reset some preferences to the default values.
    *https://addons.mozilla.org/firefox/addon/searchreset/
    Note that the SearchReset extension only runs once and then uninstalls automatically, so it won't show on the "Firefox > Add-ons" page (about:addons).
    If you do not keep changes after a restart or otherwise have problems with preferences, see:
    *http://kb.mozillazine.org/Preferences_not_saved

  • All my check boxes and selection circles have disappeared. Uninstalled FF and reinstalled deleting all plug-ins, settings, and etc. IE works fine. What's messing with my boxes?

    With recent update, all my check boxes and selection circles have disappeared. I tried to uninstall FF, reinstall, but nothing fixed it. When I run safe-mode, it's fine, but then no youtube or other internet fun stuff. Tried to update plug-ins but still all jacked up. any ideas? also, my side scroll bar screws up too.

    Do you mean Firefox safe mode or Windows Safe mode?
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    If you mean Windows Safe-mode then check your security software.

  • Passing parameter from selection screen to corresponding report program.

    Hi all,
    I am developing a report in which there is a selection screen containing 2 list boxes having month 'from' and 'to' ;ie the month range for which  the report is to be run and a parameter for year.below it i have 2 radio button options which will lead to the report that the user clicks on.
    I have done the following in the code.
    selection-screen begin of block b1 with frame title text-001.
    parameters: month1(10) as listbox visible length 10 obligatory.
    parameters: month2(10) as listbox visible length 10.
    parameters: year(4) obligatory.
    selection-screen : end of block b1.
    selection-screen: begin of block b2 with frame title text-002.
    parameters: rb1  radiobutton group g1,
                        rb2  radiobutton group g1.
    selection-screen : end of block b2.
    if rb1 = 'X'.
    submit ZMIS1.
    ENDIF.
    if rb2 = 'X'.
    submit ZMIS2.
    endif.
    Now i want the values selected in the listbox and the year to be passed in the report that will be selected in the radiobutton (ie  ZMIS1 or ZMIS2) so that the corresponding report output will be displayed directly with the inputs given in the selection screen .
    Please tell me how to do this.Thanks in advance.

    You also have to pass Selection-screen data for called program the way it has been shown down.
    REPORT  ZVENKAT_ALV_LIST.
    DATA:
          IT_RSPARAMS TYPE STANDARD  TABLE OF RSPARAMS,
          WA_RSPARAMS LIKE LINE OF IT_RSPARAMS.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS: MONTH1(10) AS LISTBOX VISIBLE LENGTH 10 OBLIGATORY.
    PARAMETERS: MONTH2(10) AS LISTBOX VISIBLE LENGTH 10.
    PARAMETERS: YEAR(4) OBLIGATORY.
    SELECTION-SCREEN : END OF BLOCK B1.
    SELECTION-SCREEN: BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.
    PARAMETERS: RB1 RADIOBUTTON GROUP G1 USER-COMMAND UC1,
                RB2 RADIOBUTTON GROUP G1.
    SELECTION-SCREEN : END OF BLOCK B2.
    IF RB1 = 'X'.
      WA_RSPARAMS-SELNAME = 'P_MATNR'. "PARAMETER or SELECT-OPTION of the called program
      WA_RSPARAMS-KIND    = 'P'.       "S=Select-options P=Parameters
      WA_RSPARAMS-SIGN    = 'I'.
      WA_RSPARAMS-OPTION  = 'EQ'.
      WA_RSPARAMS-LOW     = '11010'.
      WA_RSPARAMS-HIGH    = SPACE.
      SUBMIT ZMIS1 WITH SELECTION-TABLE RSPARAMS AND RETURN.
    ENDIF.
    IF RB2 = 'X'.
      WA_RSPARAMS-SELNAME = 'P_MATNR'. "PARAMETER or SELECT-OPTION of the called program
      WA_RSPARAMS-KIND    = 'P'.       "S=Select-options P=Parameters
      WA_RSPARAMS-SIGN    = 'I'.
      WA_RSPARAMS-OPTION  = 'EQ'.
      WA_RSPARAMS-LOW     = '11010'.
      WA_RSPARAMS-HIGH    = SPACE.
      SUBMIT ZMIS2 WITH SELECTION-TABLE RSPARAMS AND RETURN.
    ENDIF.
    Thanks
    Venkat.O

  • How to lock a database Z table before updating it through a report program

    Hi,
    How to lock a database Z table before updating it through a report program and also how to unlock it after my updation.
    The whole process is done through report program.

    Hi,
    Go to SE11, in the option 'Lock object' enter the name of your lock,
    begin with 'E', suppose 'EXXXX' And create. In tab 'Tables' fill the
    table name where the record you want to lock exist and select the
    lock mode. Lock mode can be shared and exclusive. If 'shared',
    when you lock the record, other can also read data, but can not
    modify. If 'exclusive', when you lock the record, other can neither
    read nor modify the record. After save and activate, you will get two
    function module.'ENQUEUE_EXXXX' to lock record,
    'DEQUEUE_EXXXX' to release lock on one record.
    When use this function module it only lock one record at a time. It
    does not lock the table.
    Regards,
    Omkaram.

  • How can we pass the select-option value to modulepool program?

    hi,
      how can we pass the select-option value to modulepool program ?
      Because if i declared select-options in executable program and i used SSCRFIELDS to define push buttons in selection screen.
               My requirement if enter the values to select-options and press UPDATE pussbotton then i want call screen which contains tablecontrol.
               How i get select-option values to PAI of call screen for getting the data from database table to my internal table?

    Oh I thought that you have selection-screen and again you are working on dialog programming.
    if you want to use select-option directly in module pool then it is not possible.
    but you can do other way.
    create two varaiables
    data : v_kun_low like kna1-kunnr,
             v_kun_high like kna1-kunnr.
    use these two variables in layout ,let user knows that he can not give options like gt,lt,eq ,it will be always BT.
    and also when you see normal report program,you can use multiple values in either low or high,but here it is not possibel.
    use can enter only low value and high value.
    when you come to program point of view
    declare one range
    ranges r_kunnr for kna1-kunnr.
    do the coding like
    r_kunnr-low = v_kun_low.
    r_kunnr-high = v_kun_high.
    r_kunnr-options = 'BT'.
    r_kunnr-sign = 'I'.
    append r_kunnr.
    now you can use r_kunnr in select query ,it will work like select-option.
    other than this there is no option.
    Thanks
    Seshu

  • Select-options in module pool programming

    hi,
       I need to have four fields as part of my layout that are select-options fields with multiple values entry options. Since layout doesnt have 'select-options" functionality, i defined it from the module pool program, ie: I wrote a  selection screen in the PBO module. The problem is if i make any changes to the code, the layout changes back to the previuos format.
    Is there any way in which i can combine selection-screen logic with my layout.
    Thanks,
    Sruthy

    HI
    GOOD
    Selection Screen Version
    Only for Executable Programs
    If you do not specify a selection screen version, the system automatically creates a selection screen based on the selection criteria of the logical database and the parameters and select-options statements in the program.
    If you want to use a different selection screen of the logical database, enter a number in this field. The number must be smaller than 1000 and correspond to an additional selection screen of the logical database. The possible values help displays a list of available selection screens. You can also look in the selection include of the logical database (program DBxxxSEL, where xxx is the name of the logical database).
    Tomislav
    1. In the top include define the selection screen with
    selection-screen begin of screen 9250 as subscreen.
    SELECT-OPTIONS analyt FOR ztv_cc02-zd_mumla .
    selection-screen end of screen 9250.
    2. Using the screen painter create a subscreen area in
    the main screen where you want to have this.
    3. Then, in the screen flow logic code as follows:
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_1000. etc
    call subscreen SUB1 including 'PROGRAM NAME' '9250'.
    PROCESS AFTER INPUT.
    module exit at exit-command. etc.
    call subscreen SUB1.
    THANKS
    MRUTYUN

Maybe you are looking for