Module pool problem (urgent)

I am developing one module pool program where I have used custom control... when I am click on a clear button. it clears all the internal tables and fields and even that internal table also which is the source of the custom control. But the screen that means the custom contrl screen holds the record... can any body tell me how to clear that screen.?

try this
use refresh_table_display
  IF rc IS INITIAL.                     "reference to custom container
   CREATE OBJECT rc
                                   EXPORTING container_name = 'CONTAINER1'.
    CREATE OBJECT rg                          "reference to grid
                                   EXPORTING i_parent = rc.
  ELSE.
    CALL METHOD rg->refresh_table_display.
  ENDIF.
Edited by: Kamini Rawat on May 23, 2008 1:57 PM

Similar Messages

  • How to keep f4 help for a particular field in module pool problem-urgent

    hi all,
    i am displaying output using alv list display. here i am showing my pf status here. in this status i have one button called position. when i click this button it is showing pop up inside this pop up  i am showing appln
    for this i need keep f4 help. anybody can tell me how to keep f4 help fo this field.
    thanks,
    maheedhar.t

    Hi Maheedhar,
    You need to use function module POPUP_GET_VALUES.
    If you want see sampl eprogram for this check the program RSSPO410.
    Execute this program and input Example2 = X in the selection screen.
    Code from the above Program:
    DATA: BEGIN OF FIELDS OCCURS 1.
            INCLUDE STRUCTURE SVAL.
    DATA: END OF FIELDS,
          RETURNCODE(1)       TYPE C,
          POPUP_TITLE(30)     TYPE C.
      POPUP_TITLE       = 'Nachrichten anzeigen'(200).
      CLEAR FIELDS.
      FIELDS-TABNAME    = 'T100'.
      FIELDS-FIELDNAME  = 'ARBGB'.
      FIELDS-FIELDTEXT  = 'Arbeitsgebiet'(202). "Text nicht aus DTEL
      APPEND FIELDS.
      CALL FUNCTION 'POPUP_GET_VALUES'
           EXPORTING POPUP_TITLE     = POPUP_TITLE
           IMPORTING RETURNCODE      = RETURNCODE
           TABLES    FIELDS          = FIELDS.
      IF RETURNCODE = 'A'.
        If Cancel is clicked
      ELSE.
        If OK is clicked.
        Table FIELDS congtains the input data.
      ENDIF.
    Thank you
    Ramakrishna

  • Cursor position on screen data in module pool programming(urgent)

    Hi all,
    I developed a module pool  program which will save the data after  scanning the barcode data.
    In my program screen 100 is there which contains field  ‘2dbar’. scanned data is comming to 2dbar field.
    we r doing scan 4 times.once for vendor number,once for material no. like this.
    After 1st scan, vendor number will come to field ‘2dbar’.
    Then I developed logic to put comma after each scanned data come to this field ‘2dbar’.
    MODULE put_comma INPUT.
    CASE OK_CODE.
    when ''.
    move 2dbar to 2dbar1.
    clear 2dbar.
    concatenate 2dbar1 ',' into 2dbar2.
    *replace 2dbar with 2dbar2 into 2dbar.
    move 2dbar2 to 2dbar.
    *write 2dbar2 to 2dbar.
    condense 2dbar no-gaps.
    *move '' to 2dbar.
    *set cursor field 2dbar offset 5.
    *write
    ENDCASE.
    ENDMODULE.                 " put_comma  INPUT
    By above logic, comma  comes to the starting position of 2dbar after each scan. i.e cursor position is coming to the starting position of screen field ‘2dbar’.
    Now  I need to move the cursor position after the comma position on 2dbar after each scan.
    after 1st scan, 2dbar contains
    vmotorola
    then my logic puts a comma when u put enter on screen 100.
    now 2dbar contains
    vmotorola,
    i should get the cursor position after the comma.but i am getting cursor position before 'v'.so how to move this cursor position  beyond comma after each scan.
    I added set cursor  command but it is not working.plz
    What is the logic, I need to put in PAI  to move the cursor on selection screen.
    Already the logic I have mentioned.  with that logic, I can put comma.now I need to add cursor movement logic  to move the cursoron  on screen field ‘2dbar’.
    Plz reply me as it is urgent.
    Thanks in advance.
    Regards
    pabitra

    CASE OK_CODE.
    when ''.
    move 2dbar to 2dbar1.
    clear 2dbar.
    concatenate 2dbar1 ',' into 2dbar2.
    move 2dbar2 to 2dbar.
    condense 2dbar no-gaps.
    len = strlen ( 2dbar ).
    len = len - 1.
    set cursor field 2dbar offset len.
    ENDCASE.
    ENDMODULE. " put_comma INPUT

  • Module pool program - urgent

    Hi Friends..
    I am working on a module pool program where I am using Z_BAPI_ADDREMPAU_CREATE and Z_BAPI_ADDREMPAU_CHANGE inside my Zmodule program. I have copied this these BAPI’s from Standard BAPI. The reason I created this ZBAPI’s because I have created a new fields on the screen in which when I press SAVE button ..these extra fields should also saved.
    I am facing a different problem when I am debugging each line ..it is saving into database table( pa0006). But when I press SAVE ..it is going into short dump. I could not understand why this problem is coming. Either it is giving this dump problem or the BAPI is returning “ a complex application error has occurred “
    The DUMP is :- Incorrect internal format of ABAP Program SAPLHRMM
    Correct the error:- Try regenerating the program SAPLHRMM
    Please help.

    Hi Ravi,
    This is the code in my ZFm.
    I am calling bapi_addrempua_change in my ZFM first and then moving extra fields to p0006.
    please have a look.
    'BAPI_ADDREMPAU_CHANGE'
      EXPORTING
        EMPLOYEENUMBER         = EMPLOYEENUMBER
        SUBTYPE                = SUBTYPE
        OBJECTID               = OBJECTID
        LOCKINDICATOR          = LOCKINDICATOR
        VALIDITYBEGIN          = VALIDITYBEGIN
        VALIDITYEND            = VALIDITYEND
        RECORDNUMBER           = RECORDNUMBER
       CONAME                 = CONAME
       STREETANDHOUSENO       = STREETANDHOUSENO
       CITY                   = CITY
       SCNDADDRESSLINE        = SCNDADDRESSLINE
       HOUSENUMBER            = HOUSENUMBER
       APARTMENTID            = APARTMENTID
       POSTALCODECITY         = POSTALCODECITY
       DISTRICT               = DISTRICT
       STATE                  = STATE
       COUNTRY                = COUNTRY
       TELEPHONENUMBER        = TELEPHONENUMBER
       DISTANCEINKM           = DISTANCEINKM
       DISTANCEINKM1          = DISTANCEINKM1
       COMPANYOWNEDAPT        = COMPANYOWNEDAPT
       BUSROUTE               = BUSROUTE
      NOCOMMIT               =
    IMPORTING
       RETURN                 = RETURN.
    Telephone Number
      P0006-ZZCN_CODE_TEL      = TELEPHONECOUNTRYCODE.
      P0006-ZZAREA_CODE_TEL    = TELEPHONEAREACODE.
    Mobile Number
      P0006-ZZCN_CODE_MOB      = MOBILECODE.
      P0006-ZZAREA_CODE_MOB    = MOBAREACODE.
      P0006-ZZMOB_NO           = MOBILE.
    Fax Number
      P0006-ZZCN_CODE_FAX      = FAXCODE.
      P0006-ZZAREA_CODE_FAX    = FAXAREACODE.
      P0006-ZZFAXNR            = FAX.
    Email Address
      P0006-ZZSMTP_ADDR = EMAILADDRESS.
    Location.
      P0006-ZZPLOC = LOCATION.
    Location description
      P0006-ZZPLOCDESC = LOCATIONDESC.

  • Module pool problem

    Hi,
    I m using module pool and i have used select-options in the screen, for that i have definged select-options as subscreen and called using call subscreen... in module pool.
    My problem is when i validate select-options im thrown error message and that select-options getting disabled i tried to keep chain and endchain in the module program and that says that it can not recognize the select-options(fields).
    any solution for this.
    Thanks,
    Nagaraju.

    Hi,
    Please check out the below links . they might be helpful.
    http://help.sap.com/saphelp_46c/helpdata/en/34/8e72da6df74873e10000009b38f9b8/frameset.htm
    http://help.sap.com/saphelp_erp2004/helpdata/en/9f/dba9e735c111d1829f0000e829fbfe/frameset.htm
    Rgds
    Mohit

  • Calling Smartforms from Module pool: Most Urgent

    Hi, Exeperts
    how can I call smartforms from module pool.
    I have done like below.
    First Created a push button on screen and used
    these code in user command through PAI
    FORM CALL_SMARTFORMS .
    DATA: V_FORM_NAME TYPE RS38L_FNAM.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
      EXPORTING
        FORMNAME           = 'ZSMART'
      IMPORTING
        FM_NAME            = V_FORM_NAME
      EXCEPTIONS
        NO_FORM            = 1
        NO_FUNCTION_MODULE = 2
        OTHERS             = 3.
    ENDFORM.                    " CALL_SMARTFORMS
    now I am getting form name in v_form_name, but it is not executing.
    Please help me out.
    Regards
    Rajiv singh.

    Well, as it's most urgent....
    One you have a value in V_FORM_NAME you need to call this function module, passing the fields and strucures that make up the interface to your form.
    Eg.
    DATA: DEVICE TYPE SSFCTRLOP .
    DEVICE-DEVICE = 'PRINTER'.
    DEVICE-NO_DIALOG = 'X'.
    CALL FUNCTION V_FORM_NAME
    EXPORTING
       CONTROL_PARAMETERS         = device
       USER_SETTINGS              = 'X'
    EXCEPTIONS
       FORMATTING_ERROR           = 1
       INTERNAL_ERROR             = 2
       SEND_ERROR                 = 3
       USER_CANCELED              = 4
       OTHERS                     = 5.
    Regards,
    Nick

  • Module pool issue (Urgent Plz Help)

    Hi All,
    I have a requirement in which when i click on the image in the module pool then i have to navigate to some other screen but
    1. how could i know that the user has clicked the image ?
    2. What is the use of PF_STATUS?
    Please help me out i have already loaded the image in my module pool screen but don't know how to go further please help me as soon as possible.
    Thanks in advance
    Message was edited by:
            Rachit Khanna

    Dialog Status for Lists
    To allow the user to communicate with the system when a list is displayed, the lists must be able to direct user actions to the ABAP program. As described in User Actions on Screens, function codes are used to do this. Function codes are maintained in the GUI status of the list screen. You define a GUI status using the Menu Painter tool in the ABAP Workbench. The system assigns function codes to list-specific user actions.
    The most important of these functions is for selecting list lines by double-clicking. As described in Using a GUI Status, the double-click function is always linked to the F2 key. If a function code is assigned to the F2 key in the GUI status, it will be triggered when you double-click.
    The Standard List Status
    As with normal screens, you can define your own GUI status for lists and attach it to a list level using the SET PF-STATUS statement. If you do not set a particular GUI status, the system sets a default list status for the list screen in an executable program. In other programs, for example, when you call a list from screen processing, you must set this status explicitly using the statement
    SET PF-STATUS space.
    This default interface always contains at least the functions described in the Standard List section.
    Unlike normal dialog statuses, the default list status is affected by the ABAP program.
    If you define event blocks in your program using the event keywords AT LINE-SELECTION or AT PF]
    This statement sets the status  parameters. To display an ampersand character ‘&’, repeat it in the title ‘&&’.
    Examples
    Example for dialog status in a list.
    REPORT demo_list_menu_painter.
    START-OF-SELECTION.
      SET PF-STATUS 'TEST'.
      WRITE:  'Basic list, SY-LSIND =', sy-lsind.
    AT LINE-SELECTION.
      WRITE:  'LINE-SELECTION, SY-LSIND =', sy-lsind.
    AT USER-COMMAND.
      CASE sy-ucomm.
        WHEN 'TEST'.
          WRITE:  'TEST, SY-LSIND =', sy-lsind.
      ENDCASE.
    This program uses a status TEST, defined in the Menu Painter.
    Function key F5 has the function code TEST and the text Test for demo.
    Function code TEST is entered in the List menu.
    The function codes PICK and TEST are assigned to pushbuttons.
    The user can trigger the AT USER-COMMAND event either by pressing F5 , or by choosing List ® Test for demo, or by choosing the pushbutton Test for demo.The user can trigger the AT LINE-SELECTION event by selecting a line.
    Example of setting a dialog status for the current list
    REPORT demo_list_set_pf_status_1.
    DATA: fcode TYPE TABLE OF sy-ucomm,
          wa_fcode TYPE sy-ucomm.
    START-OF-SELECTION.
      wa_fcode = 'FC1 '. APPEND wa_fcode TO fcode.
      wa_fcode = 'FC2 '. APPEND wa_fcode TO fcode.
      wa_fcode = 'FC3 '. APPEND wa_fcode TO fcode.
      wa_fcode = 'FC4 '. APPEND wa_fcode TO fcode.
      wa_fcode = 'FC5 '. APPEND wa_fcode TO fcode.
      wa_fcode = 'PICK'. APPEND wa_fcode TO fcode.
      SET PF-STATUS 'TEST'.
      WRITE: 'PF-Status:', sy-pfkey.
    AT LINE-SELECTION.
      IF sy-lsind = 20.
        SET PF-STATUS 'TEST' EXCLUDING fcode.
      ENDIF.
      WRITE: 'Line-Selection, SY-LSIND:', sy-lsind,
           / '                SY-PFKEY:', sy-pfkey.
    AT USER-COMMAND.
      IF sy-lsind = 20.
          SET PF-STATUS 'TEST' EXCLUDING fcode.
        ENDIF.
        WRITE: 'User-Command, SY-LSIND:', sy-lsind,
             / '              SY-UCOMM:', sy-ucomm,
             / '              SY-PFKEY:', sy-pfkey.
    Suppose that the function codes FC1 to FC5 are defined in the status TEST and assigned to pushbuttons: The function code PICK is assigned to function key F2 .
    When the program starts, the user can create detail lists by selecting a line or choosing one of the function codes FC1 to FC5. For all secondary lists up to level 20, the user interface TEST is the same as for the basic list:
    On list level 20, EXCLUDING ITAB deactivates all function codes that create detail lists. This prevents the user from causing a program termination by trying to create detail list number 21.
    Example of setting a dialog status for the current list
    REPORT demo_list_set_pf_status_2.
    START-OF-SELECTION.
      WRITE: 'SY-LSIND:', sy-lsind.
    AT LINE-SELECTION.
      SET PF-STATUS 'TEST' IMMEDIATELY.
    After executing the program, the output screen shows the basic list and the user interface predefined for line selection (with function code PICK).
    When you choose Choose, the user interface changes. However, since the AT LINE-SELECTION processing block does not contain an output statement, the system does not create a detail list: The status TEST is defined as in the previous example.
    Example: Titles of detail lists.
    REPORT demo_list_title .
    START-OF-SELECTION.
      WRITE 'Click me!' HOTSPOT COLOR 5 INVERSE ON.
    AT LINE-SELECTION.
      SET TITLEBAR 'TIT' WITH sy-lsind.
      WRITE 'Click again!' HOTSPOT COLOR 5 INVERSE ON.
    In this program, a new title is set for each detail list. The title is defined as follows: "Title for Detail List &1".

  • Module pool ---Problem in finding the line index for the table control

    Hi Friends,
    I am working in Module pool programming.
    My requirement is when i select any record on the lead selection I need to find out the index of the line on which  row i have selected.
    Could any one please suggest me the proper solution how to get the line index for the table control in module pool programming.
    Thanks
    Satish Raju

    Hi Raju,
    Follow the steps
    <li>U should take one variable in your internal table or in structure which is used for table control fields.
          DATA :BEGIN OF itab OCCURS 0 ,
                mark TYPE c ,
                matnr LIKE mara-matnr ,
                matkl LIKE mara-matkl,
                maktx LIKE makt-maktx,
            END OF itab .
       controls: tabc types tableview using screen 100.
    <li>This mark variable should be given in Table control properties. follow the path
    double click on the table control-->attributes .->select w/SelColumn and in that give itab-mark.
    <li>Flow logic of the screen
       process before output.
         MODULE status_0100.
         LOOP AT itab with control tabc
         endloop.
       process after input.
         module cancel at exit-command.
         LOOP AT itab.
           MODULE read_table_control.
         ENDLOOP.
         MODULE user_command_0100.
    <li>read_table_control module code
         MODULE read_table_control INPUT.
         MODIFY itab INDEX tabc-current_line."this will update the itab table
                                             "mark field with 'X ' whatever we
                                             "have selected on table control
         ENDMODULE.
    <li>If you want to Delete some of the records from Table control follow this code u2026Create one pushbutton and give Fucnction code to that and write below code
       CASE okcode.
         WHEN 'DELETE'.
           LOOP AT itab WHERE mark = 'X'.
             DELETE itab.
           ENDLOOP.
       ENDCASE.
    I hope that it helps you.
    Thanks
    Venkat.O

  • Module Pool Programming - URGENT!!!

    Hi Friends,
    I have a screen with 3 radiobuttons and when I call a next screen and come bacl to the main screen, the radio button is not placed properly.
    Eg.  I have 3 radiobuttons: 1. All ITEMS    (default  X)
                                          2. Open I TEMS
                                          3. Closed ITEMS
    If I clicked Open Items readio button and go to the details screen, if I click to back button and call the screen, then the radio button is placed on all items.
    If there anyway that I can see the radiobutton in the same position as I had clicked?
    Please tell me its urgent..........

    Hi,
         This is bcz u have given default value as <b>clicked</b> for <b>All Items</b> radio button. So when u call next screen and come back to the main screen the default value is retained.
    Regards,
    sowmya

  • Modul pool problem

    hi all,
      I m working on a subscreen and it has a table control, in this table control all field has F4 help except two fields, these 2 fields have POV-request F4 help through FM,
       if i filled any records of this table control internal-table and when press POV help then all records get cleared cause of the PAI event of this screen not run for modify_screen only POV event is running for F4 help and update the table containt,
       is there any option to run PAI event just before POV .
    <b>code like this</b>
    Flow logic
    PROCESS BEFORE OUTPUT.
      MODULE DISPO_DISPLAY.
      LOOP AT T_DISPO WITH CONTROL TC_DISPO.
      ENDLOOP.
    MODULE STATUS_0106.
    PROCESS AFTER INPUT.
      LOOP AT T_DISPO.
        CHAIN.
          FIELD : T_DISPO-MVT,
                  T_DISPO-STLOC,
                  T_DISPO-VALTYPE,
                  T_DISPO-GRP,
                  T_DISPO-TASK,
                  T_DISPO-ITEMCAT.
          MODULE VALIDIATE_DISPOSITION.
          MODULE MODIFY_DISPO .
        ENDCHAIN.
      ENDLOOP.
    PROCESS ON VALUE-REQUEST.
      FIELD T_DISPO-GRP MODULE F4_DISPO .
      FIELD T_DISPO-TASK MODULE F4_DISPO .
    MODULE F4_DISPO INPUT.
    *local data
      DATA: LLINO     LIKE SY-INDEX VALUE 0.
      DATA: LFIELD(20) TYPE C VALUE 'T_DISPO-GRP'.
      GET CURSOR LINE LLINO FIELD LFIELD.
      G_CODEGRPTAB-CODEGRUPPE = 'CT*'.
      APPEND G_CODEGRPTAB.
      CALL FUNCTION 'QPK1_GP_CODE_SELECTION'
        EXPORTING
          I_KATALOGART                 = '2'
      I_CODEGRUPPE                 =
         I_CODE                       = '*'
         I_SPRACHE                    = SY-LANGU
         I_WINX1                      = 10
         I_WINX2                      = 70
         I_WINY1                      = 5
         I_WINY2                      = 25
      I_DISPLAY_MODE               =
         I_RETURN_IF_ONE              = 'X'
         I_PICKUP_MODE                = 'X'
      I_RETURN_IF_MANY             =
      I_NO_USAGEINDICATION         =
      I_NO_AUTHORITY_CHECK         =
        TABLES
          T_QPK1CDTAB                  = IQPK1CD
          T_CODEGRPTAB                 = G_CODEGRPTAB
       EXCEPTIONS
         NO_MATCH_IN_RANGE            = 1
         NO_USER_SELECTION            = 2
         NO_AUTHORIZATION             = 3
         NO_SELECTION_SPECIFIED       = 4
         OBJECT_LOCKED                = 5
         LOCK_ERROR                   = 6
         OBJECT_MISSING               = 7
         OTHERS                       = 8
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      READ TABLE T_DISPO INDEX LLINO.
      LOOP AT IQPK1CD.
        T_DISPO-GRP  = IQPK1CD-CODEGRUPPE.
        T_DISPO-TASK =  IQPK1CD-CODE.
        MODIFY T_DISPO INDEX LLINO.
      ENDLOOP.
      CLEAR: IQPK1CD,IQPK1CD[].
      CALL SCREEN 100.
    ENDMODULE.                 " F4_Dispo  INPUT
    plz help me out.
    thanks in advance
    Message was edited by: chetan
            chetan vishnoi

    Dear Abhilash,
    Have you checked the upgrade document released by SAP on migrating from 4.7 to ECC 6.0. It may be possible that certain standard functionality might have been enhanced/changed which could affect your output. In this case you may have to align your program accordingly. SAP note search with MP keywords can also be helpful.

  • Handling Cursor in module pool

    Hi All,
         I have created a Screen 100. in that I have few text box and a Table Control. When i Enter some data in Table Control and hit enter the Cursor starts blinking in Textbox1, How can I control this I want the Cursor to be there in that Table Control.
    Thanks in Adv

    hi,
    check with these links
    Re: cursor position on screen data in module pool programming(urgent)
    module pool
    Cheers
    Alfred
    Reward points for helpful answers.

  • Problem in custom infotype module pool

    Hi experts,
    I have created custom infotype using PM01 where i am showing fields Basic and HRA. When I enter the value for Basic, automatically the calculation for HRa should be done depending on formula. Also, the HRA fields should be only output field. When I do the changes in the module pool PBO and regenerate the object , the changes I made get disappered. Do I have to create Z of the includes. If so, how to assign it to the infotype?  Please help me to solve this problem since its urgent.
    Thanks in advance.
    Proper solution would be rewarded.
    Ujjwala

    C
    This is the flavour of Infotype.
    When you regenerate the Infotype, you are again reassigning the Chanrecterstcis of your Infotype. so the Existing will get regenerated with the Standard Code.
    To avoid this what I suggest you is.
    After finishing the Regeneration then edit the Module pool of the Infotype basically Screen 200 then add your code and Activate it there itself. Hope you got it.
    If you again Regenerate it you loose your Code.
    If you have further Questions please let me know.

  • Strange problem in module pool programming

    Hi all,
    we have a module pool program which consists of screen 100 and 200 and 3 sub-screens 201,202 and 203.the problem is when we double click on any field we get a pop up message which should appear only when we press the 'SAVE' button for which ok_code is 'CHNG'.I have debugged the program for screen 100 pbo,pai,200 pbo but the value of ok_code is not equal to 'CHNG' then it takes me to screen 200 and when i double click then popup appears and and in 200 PAI the value of ok_code had already got changed  to 'CHNG' without entering the change logic and I have not even pressed the SAVE button which has 'CHNG' code associated with it.Can any one help me solve this problem.I wish I could give a better explanation.
    Thanks and Regards,
    Sangram

    Hi,
    This is because the Shortcut key assigned to SAVE button in PF-STATUS is "F2". F2 is for Double Click. Assign some other Function Key to SAVE or any Button. Try to avoid assigning F2 key.
    This would solve the problem.
    Best regards,
    Prashant
    PS : Please reward all helpful answers !

  • Data type selection Problem in ztable to use in the Module Pool Program

    Dear Experts,
    I have created a z-table which is used in Module Pool Program in which i have to save the information saved by the endusers in z-table. But the problem comming is that the amount of information saved by the endusers is so havey & our table is just limited for the 50 characters which is not sufficiet. So I urge you to please tell me what & which type of data type should I have to use to store maximum amount of information in our zt-able which is available in SAP ECC6.0.
    Thanks & Regards,
    Akg

    Dear Akg,
    u can resolve ur problem in following ways,
    1. You can declare the field in a table without an Data element.
          i.e. In the length field . using F4 help in length field how many characters u want u enter.
    2. In the same u can search for an standard data element and use the same.
    3. Creating an custom data element .
    Reward if helps to u!!!
    Regards,
    MNR

  • Select-options Problem in module pool

    Hi,
         I have created select-options in a seperate program and i have called the subscreen in module pool program.
    I dont have any problem with the display of select-options but whatever the value given is not getting in to the program. Hw to solve this problem
    Assured Points
    Thanks in Advance
    Jai

    hi,
    did you declare that in top include?
    if not declare it globally.
    In stead of subscreen, try to do with screen itself.
    Create screen like this.
    selection-screen begin of screen 300.
    selection-screen begin of block b1 with frame title text-000.
    select-options : so_ebeln for v_ebeln modif id g1,
                     so_vbeln for v_vbeln modif id g2.
    selection-screen end of block b1.
    selection-screen end of screen 300.
    Call this screen : in PAI of ur another screen.
    call selection-screen 300.
    Regards
    Sandeep REddy

Maybe you are looking for