Selection screen changes

can anyone suggest about my problem.
I have check box on the selection screen, if that chech box is checked then one more parameter(Storage location) need to be mandatory, if that check box is unchecked then Storage location parameter should be normal parameter.
i had done this, but the problem is once i check the check box then deselect it immediately, still it is asking for the value(mandatory).

code will be like
FORM f_act_storage.
   LOOP AT SCREEN.
    IF p_chk EQ 'X'.
      IF screen-group1 = 'X1'.
        screen-required = '1'.
        MODIFY SCREEN.
        s_lgort-sign = 'I'.
        s_lgort-option   = 'BT'.
        s_lgort-low = '0000'.
        MODIFY s_lgort INDEX 1 TRANSPORTING sign option low.
        CLEAR  s_lgort.
      ENDIF.
    ENDIF.
  ENDLOOP.
  screen-required = '0'.
ENDFORM.                    " f_act_storage

Similar Messages

  • LDB selection screen Change

    hi i have a unusual requirement
    Presently in one of my HR reports I am using 'PCH' LDB.
    In the selection screen we have the object ID which is defined in standard program with no-intervals like this.
    SELECT-OPTIONS:
    PCHOBJID FOR OBJEC-OBJID VALUE-REQUEST              "ObjektId
                             MODIF ID $OB NO INTERVALS.
    Now in my program I want to have it as regular select option. Can we change this in anyway.
    I was able to modify the rest of the fields by using AT-SELECTION-SCREEN OUTPUT EVENT.
    Please help me with this, points guaranteed

    Hi rhaul,
    1. I don't  we can directly do as per ur requirement.
    2. Bcos No-Intervals cannot be modified using Loop at screen.
    3. Another option is to copy the standard Ldb and use it.
    regards,
    amit m.

  • Dynamic selection screen change in Selection Screen.

    Hi Experts,
    I am not getting dynamic screen change on selection screen. can you give solution for the following scenario.
    I have 3 radio buttons on selection screen. Example: R1, R2, R3.
    I have 5 fields on selection screen. Example : F1, F2, F3, F4, F5.
    When i select radio button 1 i will get F1 field screen only.
    When i select radio button 2 or 3 i will get F2 and F3 fields screen only.
    When i select radio button 3 i will get F4 and F5 fields screen only.
    Any one give me solution for the above scenario very much thankful.
    Thanks in advance,
    Sai

    Hi
    try this code,
    REPORT ZTEST_3RB.
    TABLES : KNA1,EKKO,VBRK.
    PARAMETERS : SALES RADIOBUTTON GROUP VIJJ USER-COMMAND VJY ,
    PUR RADIOBUTTON GROUP VIJJ ,
    BILL RADIOBUTTON GROUP VIJJ ,
    TOTAL AS CHECKBOX.
    SELECT-OPTIONS : S_CUSTNO FOR KNA1-KUNNR MODIF ID AKP DEFAULT 1000 TO 1033,
    S_PONO FOR EKKO-EBELN MODIF ID VKP,
    S_BNO FOR VBRK-VBELN MODIF ID PKP.
    INITIALIZATION.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    IF SALES = 'X'.
    IF SCREEN-GROUP1 = 'VKP'.
    SCREEN-INPUT = 0.
    SCREEN-ACTIVE = 0.
    MODIFY SCREEN.
    ENDIF.
    IF SCREEN-GROUP1 = 'PKP'.
    SCREEN-INPUT = 0.
    SCREEN-ACTIVE = 0.
    MODIFY SCREEN.
    ENDIF.
    ELSEIF PUR = 'X'.
    IF SCREEN-GROUP1 = 'PKP'.
    SCREEN-INPUT = 0.
    SCREEN-ACTIVE = 0.
    MODIFY SCREEN.
    ENDIF.
    IF SCREEN-GROUP1 = 'AKP'.
    SCREEN-INPUT = 0.
    SCREEN-ACTIVE = 0.
    MODIFY SCREEN.
    ENDIF.
    ELSEIF BILL = 'X'.
    IF SCREEN-GROUP1 = 'AKP'.
    SCREEN-INPUT = 0.
    SCREEN-ACTIVE = 0.
    MODIFY SCREEN.
    ENDIF.
    IF SCREEN-GROUP1 = 'VKP'.
    SCREEN-INPUT = 0.
    SCREEN-ACTIVE = 0.
    MODIFY SCREEN.
    ENDIF.
    ENDIF.
    ENDLOOP.
    i think this will help your problem,
    Regards,
    Vijay

  • Selection Screen Change & Impact on background scheduled reports

    Hi,
    I have modified the selection screen of a report program by adding additional selection criteria. This report is background scheduled and runs several times with different variants in a day. I am worried that the background jobs may fail in Production if the latest changes are moved. But I think, background jobs will not fails unless the selection criteria that are part of variants that used in the background jobs not modified. But not sure. I just want to make sure, I am doing correct thing.
    Please let me know your thoughts. Appreciate your help!
    Thanks,
    Kannan.

    >
    Advait Gode wrote:
    > When you transport the program to production after changing the selection screen, you will have to re-create all the variants once again. Otherwise the scheduled jobs will fail.
    >
    > regards,
    > Advait
    I don't think so.
    But of course you will have to update the variants to reflect the new selections.
    Rob
    Edited by: Rob Burbank on Jan 14, 2009 10:56 AM

  • Selection screen change

    hallow
    i wonder  if i can change the block in selection screen, size & location in the program.
    regards
    this is my block
    <b>SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-t02.</b>
    SELECT-OPTIONS c_course FOR z_course_table-objid
    OBLIGATORY NO INTERVALS NO-EXTENSION.

    The size of the block is directly related to the number of fields you defin within.  So if you would turn certain ones off during runtime, the height of the box would changed.  As for the location,  you can't change this.
    Regards,
    Rich Heilman
    Message was edited by:
            Rich Heilman

  • Selection screen changes at selection screen output

    Hi all,
    I have to make my one block in selection scren invisible based on a particular condition.
    SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS:  s_status FOR g_status NO INTERVALS.
    PARAMETERS    :  p_trans(3) TYPE c,
                     p_hub(3) TYPE c.
    SELECT-OPTIONS:  s_auart  FOR g_auart.
    PARAMETERS:      p_buyt(1) TYPE c.
    SELECT-OPTIONS:
                     s_order  FOR g_vbeln,
                     s_zzhrt  FOR g_zzhrtosec,
                     s_vbeln1 FOR g_vbeln1,
                     s_dccode FOR g_dccode NO INTERVALS,
                     s_pgi   FOR g_pgi.
    SELECTION-SCREEN END OF BLOCK blk1.
    SELECTION-SCREEN BEGIN OF BLOCK blk2 WITH FRAME TITLE text-002.
    PARAMETERS    : p_c1 AS CHECKBOX USER-COMMAND cmd.
    SELECT-OPTIONS: s_list FOR g_list NO INTERVALS MODIF ID sc1.
    SELECTION-SCREEN END OF BLOCK blk2 .
    SELECTION-SCREEN BEGIN OF BLOCK blk3 WITH FRAME TITLE text-003.
    PARAMETERS    :  p_c2 AS CHECKBOX USER-COMMAND cmd2.
    SELECT-OPTIONS:  s_mail FOR g_mail NO INTERVALS MODIF ID sc2.
    PARAMETERS:   p_accld LIKE g_saknr DEFAULT '1342009999' MODIF ID sc2
                                                          OBLIGATORY,
                  p_accit LIKE g_saknr DEFAULT '1365009999' MODIF ID sc2
                                                          OBLIGATORY,
                  p_opacc LIKE g_saknr DEFAULT '346100XX99' MODIF ID sc2
                                                          OBLIGATORY,
                  p_lmacc LIKE g_saknr DEFAULT '1393009999' MODIF ID sc2
                                                          OBLIGATORY,
                  p_lmopa LIKE g_saknr DEFAULT '3471009999' MODIF ID sc2
                                                          OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK blk3.
    The block 3 'blk3' should be made invisible based on a condition.
    I have tried loop at screen-name but its not working.
    Kindly advice.
    Thanks and Regards,
    Divya

    Hi Divya,
    Check the below code.
    tables: pa0000, pa0001.
    parameters: p_chk1 as checkbox user-command rusr,
    p_chk2 as checkbox user-command rusr,
    p_chk3 as checkbox user-command rusr,
    p_chk4 as checkbox user-command rusr,
    p_chk5 as checkbox user-command rusr.
    selection-screen: begin of block blk1 with frame.
    select-options: s_pernr for pa0000-pernr modif id ABC,
    s_stat2 for pa0000-stat2 modif id DEF,
    s_werks for pa0001-werks modif id GHI,
    s_persg for pa0001-persg modif id JKL,
    s_persk for pa0001-persk modif id MNO.
    selection-screen: end of block blk1.
    AT SELECTION-SCREEN output.
    LOOP AT SCREEN.
    IF SCREEN-GROUP1 = 'ABC'.
    IF p_chk1 = 'X'.
    SCREEN-ACTIVE = 1.
    ELSE.
    SCREEN-ACTIVE = 0.
    ENDIF.
    MODIFY SCREEN.
    ENDIF.
    IF SCREEN-GROUP1 = 'DEF'.
    IF p_chk2 = 'X'.
    SCREEN-ACTIVE = 1.
    ELSE.
    SCREEN-ACTIVE = 0.
    ENDIF.
    MODIFY SCREEN.
    ENDIF.
    IF SCREEN-GROUP1 = 'GHI'.
    IF p_chk3 = 'X'.
    SCREEN-ACTIVE = 1.
    ELSE.
    SCREEN-ACTIVE = 0.
    ENDIF.
    MODIFY SCREEN.
    ENDIF.
    IF SCREEN-GROUP1 = 'JKL'.
    IF p_chk4 = 'X'.
    SCREEN-ACTIVE = 1.
    ELSE.
    SCREEN-ACTIVE = 0.
    ENDIF.
    MODIFY SCREEN.
    ENDIF.
    IF SCREEN-GROUP1 = 'MNO'.
    IF p_chk5 = 'X'.
    SCREEN-ACTIVE = 1.
    ELSE.
    SCREEN-ACTIVE = 0.
    ENDIF.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    *Note
    *Titles for check boxes and select options
    *P_CHK1 Personal Number
    *P_CHK2 Employment Status
    *P_CHK3 Personnel Area
    *P_CHK4 Employee Group
    *P_CHK5 Employee Sub group
    *S_PERNR Personal Number
    *S_PERSG Employee Group
    *S_PERSK Employee Sub group
    *S_STAT2 Employment Status
    *S_WERKS Personnel Area

  • Selection screen change with check box and radio buttons

    hi frieds
    i have an requirement that
    there is a check box in the selection screen and bydefault it has been check if it check the selection box shuld be disable
    if it uncheck the check box then selection block should enabled and in that againg two radion buttons are there. Bydefualt one radio button is enabled so that correspondng parameter is allow to enter input data. if i select the othere radio button the immeditely it allow the correpnding field entry and other radio button should be disabled with that field.
    please send the piece of code...
    regards
    vijay

    Hi,
    Use the event AT SELECTION-SCREEN OUTPUT.
    Here is an example:
    at selection-screen output.
      if gv_ucomm = 'RG1'.
        loop at screen.
          if pa_rgor = 'X'.
            if screen-name+7(1) = '2' or
               screen-name+7(1) = '1'.
              screen-input = 0.
            endif.
          endif.
          if pa_rgof = 'X'.
            if screen-name+7(1) = '1' or
               screen-name+7(1) = '3'.
              screen-input = 0.
            endif.
          endif.
          if pa_rgaa = 'X'.
            if screen-name+7(1) = '2' or
               screen-name+7(1) = '3'.
              screen-input = 0.
            endif.
          endif.
          modify screen.
        endloop.
      endif.

  • Selection Screen: change F4 Help values

    HI,
    i using a selection screen with:
    parameters: pstat like edidc-status obligatory.
    is it possible to midify the entries in the case the user is performing the F4 help ?
    example: i want to show the values beginning with "5*" only (in the F4 help screen)
    Edited by: Gordon Breuer on Oct 27, 2008 2:48 PM

    Now, it´s working but without any entries.
    at selection-screen on value-request for p_status.
      data: begin of value_tab occurs 0,
             status type edids-status,
             STATXT type edids-statxt,
                   end of value_tab.
      data : return_tab like ddshretval occurs 0 with header line.
      data : x type string.
      refresh value_tab[].
      refresh return_tab[].
      value_tab-status = '53'.
      value_tab-statxt = 'processed'.
      append value_tab.
      value_tab-status = '51'.
      value_tab-statxt = 'not processed'.
      append value_tab.
      call function 'F4IF_INT_TABLE_VALUE_REQUEST'
        exporting
        retfield               = 'STATUS'
       dynpprog               = sy-repid
       dynpnr                 = sy-dynnr
        dynprofield            = 'P_STATUS'
        tables
        value_tab              = value_tab
        RETURN_TAB             = return_tab
       exceptions
         parameter_error        = 1
         no_values_found        = 2
         others                 = 3
    if sy-subrc eq 0.
      p_status = return_tab-fieldval.
    endif.

  • Dynamically Selection Screen Change

    Hi Experts,
    I have 5 buttons on the application toolbar and on click of each button, i need to populate difference selection parameters.
    I have tried modifying the SCREEN table dynamically but maintaining SCREEN table for 5 different action seems very difficult.
    Can you provide any alternate to address this scenario?
    Thanks
    Ankur

    hi ,
    try this..
    in this text boxes are displays and disapper on the selection of radio button.....
    *& Report  Z_TG_LOOP
    REPORT  z_tg_loop.
    DATA : rb1(1) VALUE 'X',
           rb2(1).
    CALL SCREEN 8000.
    *&      Module  STATUS_8000  OUTPUT
    *       text
    MODULE status_8000 OUTPUT.
    *  SET PF-STATUS 'xxxxxxxx'.
    *  SET TITLEBAR 'xxx'.
      IF rb1 EQ 'X'.
        LOOP AT SCREEN.
          IF ( screen-group1 EQ 'ABC' ).
            screen-invisible = 0.
            screen-active = 1.
          ELSEIF ( screen-group1 EQ 'DEF' ).
            screen-invisible = 1.
            screen-active = 0.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ELSE.
        LOOP AT SCREEN.
          IF ( screen-group1 EQ 'DEF' ).
            screen-invisible = 0.
            screen-active = 1.
          ELSEIF ( screen-group1 EQ 'ABC' ).
            screen-invisible = 1.
            screen-active = 0.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
    ENDMODULE.                 " STATUS_8000  OUTPUT
    *&      Module  MODIFY  INPUT
    *       text
    MODULE modify INPUT.
      IF rb1 EQ 'X'.
        LOOP AT SCREEN.
          IF ( screen-group1 EQ 'ABC' ).
            screen-invisible = 0.
            screen-active = 1.
          ELSEIF ( screen-group1 EQ 'DEF' ).
            screen-invisible = 1.
            screen-active = 0.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ELSE.
        LOOP AT SCREEN.
          IF ( screen-group1 EQ 'DEF' ).
            screen-invisible = 0.
            screen-active = 1.
          ELSEIF ( screen-group1 EQ 'ABC' ).
            screen-invisible = 1.
            screen-active = 0.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
    ENDMODULE.                 " MODIFY  INPUT

  • Table control on Tabbed selection-screen

    Hi All,
    My Requirement is: I have a tabbed selection-screen with 3 tabs.
    On one of the tabs I have to include a Table control.
    Currently I'm displaying Table control as Pop-up . But I want that on the screen itself.
    Please suggest me how to do this.

    Once i have done this. but only table control was there on the screen.
    design a screen and place one table control.
    y will declare one default subscreen in the selection screen tab declaration,
    and
    At selection-screen.
    change the value of the deflaut screen to ur designed screen.
    below is one example
    controls: tab type tableview using screen 201.
    SELECTION-SCREEN BEGIN OF TABBED BLOCK object FOR 50 LINES.
    SELECTION-SCREEN TAB (60) tab_cls USER-COMMAND ut_cls
                          DEFAULT SCREEN 101.
    SELECTION-SCREEN TAB (60) tab_rcp USER-COMMAND ut_rcp
                          DEFAULT SCREEN 200.
    SELECTION-SCREEN END OF BLOCK object.
    SELECTION-SCREEN BEGIN OF SCREEN 0101 AS SUBSCREEN NESTING LEVEL 2.
    parameters: P_lifnr type lfa1-lifnr.
    SELECTION-SCREEN END OF SCREEN 0101.
    SELECTION-SCREEN BEGIN OF SCREEN 0200 AS SUBSCREEN NESTING LEVEL 2.
    parameters: p_ebele type ekko-ebeln.
    SELECTION-SCREEN END OF SCREEN 0200.
    AT SELECTION-SCREEN.
      CASE sy-dynnr.
        WHEN 1000.
          CASE sy-ucomm.
            WHEN 'PUSH1'.
              object-dynnr = 100.
            WHEN 'UT_RCP'.
              object-dynnr = 201.
            WHEN OTHERS.
          ENDCASE.
    here the defualt screen is 200 but for table control purpose i changed it to 201 which has the table control in it.

  • Change selection screen in LDB (KDF logical database - NOT HR)

    Hi All,
    Iu2019d like to use KDF logical database to keep the dynamic selections since user wants to use it but I need to change the selection screen itself. The existing variants for KDF donu2019t meet the user requirements. Some fields I need to hide some add. Like I want to u201Cremoveu201D the field u2018Posting periodu2019 (MONAT) (which is available in dynamic selection screen) and put it on the u201Cmainu201D selection screen.
    Do I need to create my own logical database or there is a way around?
    Could someone give me a practical advice or sample of solution?
    Thanks a lot.

    Thanks Himanshu,
    I did as you suggested but problem is that it does not allow me to hide the whole block.
    I have 3 filelds actually on block KD_0 I need to hide (its from selection screen of KDF logical database.)
      SELECT-OPTIONS: KD_LIFNR FOR LFA1-LIFNR MATCHCODE OBJECT KRED.
      SELECT-OPTIONS: KD_BUKRS    FOR  LFB1-BUKRS.
    SELECTION-SCREEN END OF BLOCK KD_0.
    PARAMETERS KD_INDEX AS SEARCH PATTERN FOR TABLE LFA1.
    What I did is below.  I used sp instead of  u201C=u201D since it has many screen for field KD_LIFNR(for frame, text etc).
    And when I did just for KD_LIFNR it was hidden but when I did the same for KD_BUKRS it was not hidden . The field has stars u201C*********u201D in it.
    Same happen with KD_INDEX. The name of the field is hidden but field not and it filled with ********. Do you have any ideas what it can be?
    I debugged it to catch all screen names but no luck
      loop at screen.
        if screen-name cp 'KD_LIFNR' or
        screen-name cp 'KD_BUKRS' or
        screen-name cp 'KD_INDEX' or
        screen-name = '%B000003_BLOCK_1000' or       
        screen-name = 'SSCRTEXTS-FRAME_TEXT' or
        screen-name = 'SSCRTEXTS-MCID_TEXT' or
        screen-name = 'SSCRTEXTS-STRNG_TEXT' or
        screen-name = 'SSCRFIELDS-SEARCH_BTN' or
        screen-name =  '%B025008_BLOCK_1000' or
        screen-name =  '%F021010_1000' or
        screen-name =  'ALCUR' or
        screen-name =  '%F022012_1000' or
        screen-name =  'EXCDT' or
        screen-name = 'SSCRFIELDS-UCOMM'.
          screen-invisible = '1'.
          modify screen.
        endif.
      endloop.

  • Change order variable in selection screen of WAD

    Hi,
    I created a wad with 2 queries.
    Selection screen of Query A :
    Year
    Month
    Site
    Customer
    Activity
    Selection screen of Query B :
    Year
    Site
    Customer
    I checked the [MELT_VARIABLES] in the WAD because Year, Site and Customer are in both queries
    Unfortunately, the result in my wad is :
    Year
    Site
    Customer
    Month
    Activity
    But i would like to have :
    Year
    Month
    Site
    Customer
    Activity
    How could i do it ?
    Thanks in advance

    @Rakesh,
    I'm using WAD 7.0
    @Edward,
    Yes, i know it's possible to change the ordre in Query Designer.
    It's why i set the sequence in Query A and Query B as i showed in my initial post.
    Unfortunately, it seems than in WAD the sequence is changed.
    First, it show the variable that exist in both queries ( in my case : Year, Site and Customer )
    then the variable that exist only in query A ( Month, Activity )
    then the variable that exist only in query B  ( Nothing )
    I wish to change this behavior.
    Thanks,
    David

  • How to capture the user change in an input field on a selection screen?

    I am coding a selection screen in which there are two input fields. The first field takes a Unix directory from the user input. Based on the input value, the second field will be populated with a the name of a file under the corresponding directory.
    My question is how I can make the program capture the user input without having to make the user press ENTER after they enter the value in the first field?
    Any help will be greatly appreciated.

    Venkat,
    Actually you led me to the real solution! It's the function module DYNP_VALUES_READ that does the trick for me. This function enables the program to capture dynamic user changes without recourse to PAI. Please refer to the code below:
    REPORT   zreiabsintf MESSAGE-ID zreiabsintfmc.
    *<HGDC------------------------------------------------------------------
    *  Selection screen for the conversion program
    *HGDC>------------------------------------------------------------------
    SELECTION-SCREEN BEGIN OF BLOCK input WITH FRAME TITLE text-001.
    PARAMETERS: p_indir   LIKE epsf-epsdirnam OBLIGATORY,                   " Inbound file directory
                p_infile  LIKE epsf-epsfilnam DEFAULT gc_infile OBLIGATORY, " Inbound file name
    SELECTION-SCREEN END OF BLOCK input.
    *<HGDC------------------------------------------------------------------
    *   Displays a file-open dialog when the user clicks the search
    *   help button next to the inbound file text field. The user
    *   can select the inbound file visually.
    *HGDC>------------------------------------------------------------------
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_infile.
    * Capture any user change to the directory.
      PERFORM check_dir_change.
    * Display the file open dialog
      PERFORM file_open_dialog CHANGING p_infile.
    *<HGDC------------------------------------------------------------------
    * Global constants
    *HGDC>------------------------------------------------------------------
    CONSTANTS:
        gc_indir  LIKE epsf-epsdirnam
                  VALUE '/interfaces/<SID>/inbound/',      " Default inbound directory template
        gc_infile LIKE epsf-epsfilnam VALUE 'input'.       " Default inbound file name
    *<HGDC------------------------------------------------------------------
    * Global data
    *HGDC>------------------------------------------------------------------
    DATA:
        gs_dynpfields   TYPE dynpread,                        " Fields of the current screen
         gt_dynpfields   LIKE STANDARD TABLE OF gs_dynpfields. " Table of the screen fields
    *&      Form  file_open_dialog
    *       Opens a dialog window for the user to choose a file in
    *       the specified Unix directory.
    *      <--P_FILE is the file to be selected.
    FORM file_open_dialog  CHANGING p_file.
    * Validate the directory.
      OPEN DATASET p_indir FOR INPUT IN BINARY MODE.
      IF sy-subrc NE 0.
        MESSAGE i001(zreiabsintfmc) WITH p_indir.    " Unable to open the given directory
        EXIT.
      ENDIF.
      CLOSE DATASET p_indir.
    * Call the dialog window to open a file in the directory.
      CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
        EXPORTING
          directory        = p_indir
        IMPORTING
          serverfile       = p_file
        EXCEPTIONS
          canceled_by_user = 1
          OTHERS           = 2.
      IF sy-subrc NE 0.
        MESSAGE i002(zreiabsintfmc).                 " Failed to open the file.
        EXIT.
      ENDIF.
    ENDFORM.                    " file_open_dialog
    *&      Form  check_dir_change
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM check_dir_change .
      CLEAR gs_dynpfields.
      CLEAR gt_dynpfields.
      gs_dynpfields-fieldname = 'P_INDIR'.
      gs_dynpfields-fieldvalue = p_indir.
      APPEND gs_dynpfields TO gt_dynpfields.
      CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          dyname               = sy-repid
          dynumb               = sy-dynnr
        TABLES
          dynpfields           = gt_dynpfields
        EXCEPTIONS
          invalid_abapworkarea = 1
          invalid_dynprofield  = 2
          invalid_dynproname   = 3
          invalid_dynpronummer = 4
          invalid_request      = 5
          no_fielddescription  = 6
          invalid_parameter    = 7
          undefind_error       = 8
          double_conversion    = 9
          stepl_not_found      = 10
          OTHERS               = 11.
      IF sy-subrc  NE 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      READ TABLE gt_dynpfields INTO gs_dynpfields INDEX 1.
      p_indir = gs_dynpfields-fieldvalue.
    ENDFORM.                    " check_dir_change
    Thanks for all your answers! The problem is now solved.
    Edited by: Ning Hu on Apr 9, 2008 11:32 AM
    Edited by: Ning Hu on Apr 9, 2008 11:34 AM

  • How to Change the Font Size in Module Pool Selection Screen?

    Hi,
    There is a module pool, and I need to change the font size mentioned in the selection screen. Could you plaese tell me, how will I be able to do that?

    Hi ,
    If you are asking for text field , then check the options avaliable in Display tab of Attributes.
    Hope this helps you.

  • Change of variable text in BEx selection screen

    Hi all,
    in our BW system the key users are allowed to create queries and also create variables. In some cases, especially for often used info objects like 0DATE the number of variables is increasing very quickly. The reason for this is, that 0DATE is used for a big variety of meanings e.g. delivery date, order date, invoice date etc.
    So the users always create new variables only to have a meaningful description in the BEx selection screen, because they do not want only "date" to be displayed here. As result we have many different varianbles with exactly the same technical settings with only different names.
    So my question is: Is it possible to change the diplayed text in the selection screen for each query without having to create a new variable?
    Thanek you and best regards

    Hi Stephan,
    Changing the diplayed text in the selection screen for each query is not possible.You have to create a new variable for each query.
    Rgds,
    Murali

Maybe you are looking for

  • How to set up a new iPod Touch and transfer data from old IPod Touch

    ok, it's Friday night, I finished the cheese and about 1/2 a bottle of wine (myself...  not ideal for a smurf my size) and I still can't find the answer to my question after searching [to the best of my most current ability] all over the forums (I ev

  • Help.  I have to return my MacBook Pro to my employer, & I don't have a new one yet!

    I have a 17" MacBook Pro (2.53 GHz 2 Duo, 4GB 1067 Mhz DDR3) issued to me as an employee. I have to return it. At some point, I will buy a new one.  Should I buy an external harddrive to transfer everything?  If so, how big should it be?  Will my app

  • OpenGL Problems

    I have a iMac G3 running OS X 10.3 and OS 9.2. When playing a game on OS 9, I got a error message saying that OpenGL couldn't be prepared and that the game won't work till the problem's fixed. I played the game fine till now. Did this OpenGL graphics

  • Autonumber for several fixed rows

    I have often used the autonumber for dynamic row instances with no problem, but now have a problem where my table starts with 3 rows with different content, and the user needs to be able to add and delete rows, at the same time maintaining the autonu

  • Moving My iTunes Library over to a new Mac Mini

    Hello, I am about to purchase a Mini, which will be left on most of the time to serve iTunes to my AppleTVs, etc. How do I SAFELY transfer my library to the mini? I still want to use my time capsule NAS drives to hold the actual media, so there is no