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

Similar Messages

  • 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

  • 3g screen changed from normal screen to large screen...cannot change it back

    3g screen changed to larger screen..will not change to normal screen.

    You have enabled zoom.  Settings>General>Accessibikity>Zoom>OFF. Double tap with three fingers will reduce the zoom or drag three fingers whilst zoomed to enable you scroll around the screen to get to settings.

  • Screen changes for Document screens

    Dear All:
    In the documents change screens I want to 'display only'some fields based on values in certain other fields. Would you please suggest some ideas?
    I posted this in the Financials Forum, but havent got any suggestions.
    [Posting in ERP Financials|Re: Document Line Items fields]

    Hi,
    go for the event at selection-screen output and modify your screen, like
    PARAMETERS: TEST1(10) MODIF ID SC1,
                TEST2(10) MODIF ID SC2,
                TEST3(10) MODIF ID SC1,
                TEST4(10) MODIF ID SC2.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
      IF SCREEN-GROUP1 = 'SC1'.
        SCREEN-INTENSIFIED = '1'.
        MODIFY SCREEN.
        CONTINUE.
      ENDIF.
      IF SCREEN-GROUP1 = 'SC2'.
        SCREEN-INTENSIFIED = '0'.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
    with luck,
    pritam.

  • After Getting Error on Screen Changing the same screen data

    Hi,
    I am populating error message  in module pool program . I want to edit the fields in the same screen currently it is nor allowing .
    I use the CHAIN  and ENDCHAIN also .
    In my module pool screen i selecting some records if records contains different data the it is populating the error after that in the same screen i want to change the data .
    Regrads
    Nandan.N

    Hi Srihari,
    In this case follow the following code,
    PROCESS AFTER INPUT.
    CHAIN.
      FIELD: FIELD_01 MODULE CHECK_FIELD_01,
                 FIELD_02 MODULE CHECK_FIELD_02,
                 FIELD_03 MODULE CHECK_FIELD_03,
                 FIELD_04 MODULE CHECK_FIELD_04.
    ENDCHAIN.
    Write your validations for the screen FIELD_01 in the MODULE CHECK_FIELD_01
    so when you enter data in this field it enters this Module and checks the validations, if value passes the validation then the cursor moves to the next field (i.e. Field_02) otherwise if it fails the validation & you have specified the message type as 'E' then it waits on the same field of the screen till a correct value is entered.
    Hope it helps you,
    Regards,
    Abhijit G. Borkar

  • Screen Changes With Full Screen Playback Over HDMI

    Any one know if this is the best way to report a flash issue to the development team?
    Home Theater PC connected to a Sony  Bravia Television via HDMI
    Issue is that when the Flash content is played back on full screen, the Television flickers and displays a 'scene changed' anytime the mouse cursor appears or disappears. Happens in IE, Firefox, and Chrome.  This problem began with the latest version of Flash player. 

    I have been trying to get this to work too.
    Seems an obvious void with many of us trying to have both audio and video in a playlist!
    Apple, please make it so visualizer plays while a song is playing but a video will play full screen if it's a music video! Please?

  • CheckBox in DataGrid - how to check without changing row selection?

    Hi Everyone
    I have a CheckBox set as the renderer/editor for a column in
    my DataGrid
    and I would like users to be able to check and uncheck the
    boxes on
    different rows without selecting or changing the selection of
    the
    current grid row.
    Is this possible? Any help would be very much appreciated.
    Thanks
    Gary Q

    Hey Gary,
    When you are defing the checkbox as itemrenderer then create
    a new class for that and make one checkbox component in that.
    then in the dataprovider of your datagrid append one
    <selected>false</selected> tag. Then in your renderer
    class check for the selected tag like
    override public function set data( value:Object ):void
    super.data = value;
    if(value == null)
    return;
    var xml:XML = XML( data );
    if(xml.selected == "false")
    cbx.selected = false;
    else
    cbx.selected = true;
    private function updateSelected():void
    super.data.selected = cbx.selected;
    [Bindable] public var selected:Boolean;
    <mx:CheckBox id="cbx" width="14"
    click="updateSelected()"/>
    </mx:HBox>

  • Changing the selection screen based on the option in list box option

    Hi Experts,
    I have a list box parameter in my selection screen,
    i have four options and i am changing my selection screen based the option selected.
    see my code below,
    at selection-screen output.
      GS_VRM_VALUES-KEY = '1'.
      GS_VRM_VALUES-TEXT = TEXT-S02.
      APPEND GS_VRM_VALUES TO GT_VRM_VALUES.
      GS_VRM_VALUES-KEY = '2'.
      GS_VRM_VALUES-TEXT = TEXT-S03.
      APPEND GS_VRM_VALUES TO GT_VRM_VALUES.
      GS_VRM_VALUES-KEY = '3'.
      GS_VRM_VALUES-TEXT = TEXT-S04.
      APPEND GS_VRM_VALUES TO GT_VRM_VALUES.
      GS_VRM_VALUES-KEY = '4'.
      GS_VRM_VALUES-TEXT = TEXT-S05.
      APPEND GS_VRM_VALUES TO GT_VRM_VALUES.
      CLEAR: GS_VRM_VALUES.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          ID                    = 'P_DROP'
          VALUES                = GT_VRM_VALUES
      EXCEPTIONS
        ID_ILLEGAL_NAME       = 1
        OTHERS                = 2
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    LOOP AT SCREEN .
        CASE P_DROP .
          WHEN '1'.
            IF SCREEN-GROUP1 = 'M2' OR
              SCREEN-GROUP1 = 'M3' OR SCREEN-GROUP1 = 'M4'.
              SCREEN-INPUT = 0.
             SCREEN-ACTIVE = 0.
              screen-invisible = 1.
              MODIFY SCREEN.
            ENDIF.
          WHEN '2'.
            IF SCREEN-GROUP1 = 'M3' OR SCREEN-GROUP1 = 'M4'.
              SCREEN-INPUT = 0.
             SCREEN-ACTIVE = 0.
              screen-invisible = 1.
              MODIFY SCREEN.
            ENDIF.
          WHEN '3'.
            IF SCREEN-GROUP1 = 'M2' OR
                SCREEN-GROUP1 = 'M4' .
              SCREEN-INPUT = 0.
             SCREEN-ACTIVE = 0.
              screen-invisible = 1.
              MODIFY SCREEN.
            ENDIF.
          WHEN '4'.
            IF SCREEN-GROUP1 = 'M2' OR
            SCREEN-GROUP1 = 'M3'.
              SCREEN-INPUT = 0.
             SCREEN-ACTIVE = 0.
              screen-invisible = 1.
              MODIFY SCREEN.
            ENDIF.
          WHEN OTHERS.
            IF SCREEN-GROUP1 = 'M2' OR
               SCREEN-GROUP1 = 'M3' OR SCREEN-GROUP1 = 'M4'.
              SCREEN-INPUT = 0.
             SCREEN-ACTIVE = 0.
          screen-invisible = 1.
              MODIFY SCREEN.
            ENDIF.
        ENDCASE.
      ENDLOOP.
    my problem is when i change the option in the list box, the particular modify group ie, the screen is getting changed only after i press enter, So please suggest me how i can change the screen without pressing enter.

    Hi,
    without using VRM_SET_VALUES...you just create one data element by going se11....create one domain for it...now give the values in the "value range" tab....and at the time of declaration just write ..
    PARAMETERS var1 TYPE <your created data element>
                        AS LISTBOX VISIBLE LENGTH 20
                        USER-COMMAND onli
                        DEFAULT <one value>.
    You will get the same effect as list box....and make it mandatory..
    Arunima

  • How can i used pai in screen 1000 to change the select-options field?

    hi,all.
    I want used pai to change the select-options field,but it can't works.
    the mainly code is:
    REPORT  ZTEST99.
    TABLES :MARA,MAKT,MARC.
    SELECTION-SCREEN BEGIN OF BLOCK B0 WITH FRAME TITLE TITLE0 .
    select-options:s_matnr for mara-matnr,
                   s_werks for marc-werks MODIF ID ID1.
    SELECTION-SCREEN END OF BLOCK B0.
    parameters:p_flag as checkbox.
    at selection-screen OUTPUT.
       LOOP AT SCREEN.
       IF P_FLAG = 'X' .
       IF screen-group1 = 'ID1'.
             screen-input = '0'.
        ELSE.
          screen-input = '1'.
        ENDIF.
        MODIFY SCREEN.
    ENDIF.
        ENDLOOP.
    START-OF-SELECTION.
    CALL SCREEN 1000.
    when i click p_flag,then i want to change s_werks from OBLIGATORY to no OBLIGATORY.
    how can i realized?
    Thanks for all.
    Sun

    Hi ,
    change your code like this.
    Change in your code:
    SELECTION-SCREEN BEGIN OF SCREEN 100.
    SELECT-OPTIONS : s_matnr for mara-matnr,
    s_werks for marc-werks MODIF ID ID1.
    SELECTION-SCREEN END OF SCREEN 100 .
    At selection-screen.
    if sy-dynnr = '100'.
    IF P_FLAG = 'X' .
    LOOP AT SCREEN.
    IF screen-group1 = 'ID1'.
    screen-required = '0'.
    ENDIF.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    else.
    LOOP AT SCREEN.
    IF screen-group1 = 'ID1'.
    screen-required = 1.
    ENDIF.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    my code :
    REPORT  Z50871_SELECTOPS_DYNAMIC.
    PARAMETERS : CH_EBELN AS CHECKBOX,
                 CH_VBELN AS CHECKBOX.
    DATA: V_EBELN TYPE EKKO-EBELN,
          V_VBELN TYPE VBAK-VBELN.
    SELECTION-SCREEN BEGIN OF SCREEN 100.
    SELECT-OPTIONS : EBELN FOR V_EBELN MODIF ID G1,
                     VBELN FOR V_VBELN MODIF ID G2.
    SELECTION-SCREEN END OF SCREEN 100 .
    AT SELECTION-SCREEN OUTPUT.
      IF SY-DYNNR = 100.
        IF CH_EBELN = 'X' AND
           CH_VBELN = ''.
          LOOP AT SCREEN.
            IF SCREEN-GROUP1 EQ 'G1'.
              SCREEN-ACTIVE = '1'.
            ELSE.
              SCREEN-ACTIVE = '0'.
            ENDIF.
            MODIFY SCREEN.
          ENDLOOP.
        ELSEIF CH_VBELN = 'X' AND
           CH_EBELN = '' .
          LOOP AT SCREEN.
            IF SCREEN-GROUP1 EQ 'G2'.
              SCREEN-ACTIVE = '1'.
            ELSE.
              SCREEN-ACTIVE = '0'.
            ENDIF.
            MODIFY SCREEN.
          ENDLOOP.
        ELSEIF CH_EBELN = 'X' AND CH_VBELN = 'X'.
          LOOP AT SCREEN.
            IF SCREEN-GROUP1 EQ 'G1'
               OR SCREEN-GROUP1 EQ 'G2' .
              SCREEN-ACTIVE = '1'.
            ENDIF.
            MODIFY SCREEN.
          ENDLOOP.
        ENDIF.
      ENDIF.
    AT SELECTION-SCREEN.
    IF SY-DYNNR = 1000.
      IF CH_EBELN = 'X' OR CH_VBELN = 'X'.
        CALL SELECTION-SCREEN 100.
      ELSE.
        MESSAGE I000(Z50871MSG) WITH 'Please select atleast one checkbox'.
      ENDIF.
    ENDIF.
    regards
    Sandeep Reddy

  • ALV OO data is not refreshing when selection changes on previous screen

    Hi All,
    I have a module pool with 2 screens. First screen has plant and 1 button. When button is pressed in screen 1 the 2nd screen shows some data as per the plant selection in screen 1. The output of screen 2 is coded in OO ALV.
    Now the problem is first time when plant is input and button is pressed the data is fine in screen 2. However 2nd time onwards the data is not getting updated on ALV when plant selection is changed! It gets stuck to the data it produced the very first time.
    I've debugged the program and table which passes to method "set_table_for_first_display" is fine i.e. it selects new data everytime as per plant and fills this table. I've also tried GUI FLUSH, calling method "refresh_table_display", FREE, clear, unassign etc. etc. at diff. points but nothing seems to work
    <b>I'll be generously giving away points with any help.</b>
    Thanks.

    Hi,
    1. Please refresh the output table before the select query which you are passing to set_table_for_first_display.
    2. The ALV container needs to be freed & again generated everytime you call the screen.
    so on the BACK button of Screen 2 in PAI, release & clear the container
    In the PBO of Screen 2, Assign grid to container.
    Here is the sample program:
    PROGRAM TEST.
    DATA: OK_CODE LIKE SY-UCOMM,
          GT_SFLIGHT TYPE TABLE OF SFLIGHT,
          G_CONTAINER TYPE SCRFNAME VALUE 'BCALV_GRID_DEMO_0100_CONT1',
          GRID1  TYPE REF TO CL_GUI_ALV_GRID,
          G_CUSTOM_CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER.
    *       MAIN                                                          *
    SELECT * FROM SFLIGHT INTO TABLE GT_SFLIGHT.
    CALL SCREEN 100.
    *       MODULE PBO OUTPUT                                             *
    MODULE PBO OUTPUT.
      SET PF-STATUS 'MAIN100'.
      IF G_CUSTOM_CONTAINER IS INITIAL.  " Check this
        CREATE OBJECT G_CUSTOM_CONTAINER  " DO this
               EXPORTING CONTAINER_NAME = G_CONTAINER.
        CREATE OBJECT GRID1  "DO this
               EXPORTING I_PARENT = G_CUSTOM_CONTAINER.
        CALL METHOD GRID1->SET_TABLE_FOR_FIRST_DISPLAY
             EXPORTING I_STRUCTURE_NAME = 'SFLIGHT'
             CHANGING  IT_OUTTAB        = GT_SFLIGHT.
      ENDIF.
    ENDMODULE.
    *       MODULE PAI INPUT                                              *
    MODULE PAI INPUT.
    *   to react on oi_custom_events:
        call method cl_gui_cfw=>dispatch.
      CASE OK_CODE.
        WHEN 'EXIT'.
          PERFORM EXIT_PROGRAM.
        WHEN OTHERS.
    *     do nothing
      ENDCASE.
      CLEAR OK_CODE.
    ENDMODULE.
    *       FORM EXIT_PROGRAM                                             *
    FORM EXIT_PROGRAM.
    CALL METHOD G_CUSTOM_CONTAINER->FREE. " Do under BACK button
    CALL METHOD CL_GUI_CFW=>FLUSH. "Do under back button
      LEAVE PROGRAM.
    ENDFORM.

  • Changing the Selection Screen on the selection of a radio button

    Hi experts,
    I am stuck with a situation here.
    I have a selection screen with 2 blocks.
    The first block contains 5 radio buttons.
    The second block contains 7 select options fields.
    Now i want to show different select options when the user selects different radio buttons.
    For example, when the user selects radio button 1, select options 1, 2, 3, 4,  and 5 should be shown.
    When the user selects radio button2,  select options 3, 4, 5, 6, and 7 should be shown.
    How do i go about implementing this????
    I guess i need to do the coding in event "AT SELECTION-SCREEN OUTPUT".
    Should i use MODIF ID????
    Please help.
    Points will be awarded.
    Thanks and Regards
    Gaurav Kumar Raghav

    Use AT SELECTION-SCREEN  
    not AT SELECTION-SCREEN OUTPUT.
    cause output addition makes it a PBO not PAI
    check ur requirement & use the events accordingly
    group all select options under one group which you want to show on selection of radio button
    under AT SELECTION-SCREEN   
    loop at screen and change the property "ACTIVE (0/1)" for the group you want
    & don't forget to modify screen table in the end.
    one more thing u should do is use addition USER-COMMAND with your radio buttons.
    PARAMETERS : r1 RADIOBUTTON GROUP r1 USER-COMMAND f1,
                 r2 RADIOBUTTON GROUP r1.
    PARAMETERS : p1 TYPE c MODIF ID a,
                 p2 TYPE c MODIF ID b.
    AT SELECTION-SCREEN . " output
      LOOP AT SCREEN .
        IF r2 = 'X' AND screen-name = 'P1'.
          screen-active = '0'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    Edited by: mrugesh phatak on Oct 8, 2008 11:00 AM

  • User exists for changing the selection screen of the transaction CS11

    Hi,
    I want to change the selection screen of the transaction cs11 and modify the ALV output.
    I searched the old forums but not got satisfactry results.
    I want to change the plant and material from the parameter to the select option.
    i dont want to copy the transaction for the zcs11.
    any suggestion on this ?
    Regards,
    udupi

    one more requirement i have is that, i need to remove all the header fields such as material , plant etc and place that field in the item level. i can use the user exists PCSD0002 for the adding the customer field in the item. but how can i removed the header level field such as plant and material. whether we have any user exits for that?

  • How to change the selections in selection screen

    Hello all,
    while executing web report we are getting a selection screen initially.
    1.problem is when we want to change the selections how to procedure after .
    when i went to variable screen it is filtering the exciting report. but i want to change the selection.
    2.when i run the query in Excel i can see the report as below
                            Cust1      Mat1      100
                            Cust1      mat2       20
    but when i run in web it is showing as below
                         Cust1     Mat1   100
                                      Mat2     20
    how can i get Cust1 for both Mat1&Mat2 in Web
    Thanks in Advance
    Sandy

    Hi Sharan,
    This is Ram, i have been watching this Thread, and tried to solve this problem in the Web to one of my query which i have created for testing purpose.
    See dont have much knowledge on WAD, but as the main owner was doing in his case , i am also doint the same way :
    Ex: i created the query in the query designer and there i know each and very property how to supress the repeated key etc etc, and i know it even in the Web browzer.
    However what i do is i open the query and click on change query and my query is displayed in the query designer and from there you click on the check mark in the top left for executing the query, but insteard of that click on the icon which takes you to the BROWZER.
    I usually do like that, but what you told in WAD i did not understand it at all, so can you give me more steps on how to open that in WAD and make the settings please...
    Regards,
    Ram Pawan

  • ALV Report -   Selection screen information should appear in Output screen

    Hi experts,
    I am working on ALV Reports.
    I want selection screen information to appear in ouputscreen when report executed.
    Those who know the sloution pls tell  me as soon as possible.
    regards,
    Imran

    Hi Imrangs ,
    Ur requirement is not clear -
    if u want ur selection screen and the output screen on the same screen, i.e if u fill ur selection options with input and press the button then ur ALV will display on the same screen. For this try to use Screen painter, it will get resolved.
    http://www.kodyaz.com/articles/sap-abap-tutorial-alv-grid-cl_gui_alv_grid-screen-painter.aspx
    chreers
    Regards
    Neha

  • Query related to at selection screen event & at selection-screen output

    Hi all,
    thanks in advance
    i have two radio buttons say rd1 & rd2
    on my selection screen i have date,period,year and these fields r mandatory fields
    when i try to select the radio button rd2 then it is not disabling the fields period and year rather it is checking the fields for mandatory and vicevesr
    here is the code plz help me out
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
        IF rd1 = 'X'.
          IF screen-group1  = 'GR1'.
            screen-input  = '0'.
            MODIFY SCREEN.
          ENDIF.
        ENDIF.
        IF rd2 = 'X'.
          IF screen-group1  = 'GR2'.
            screen-input  = '0'.
            MODIFY SCREEN.
          ENDIF.
        ENDIF.
      ENDLOOP.
    AT SELECTION-SCREEN.
    blank period is not allowed
        IF monat[] IS INITIAL.
          MESSAGE e008.
        ENDIF.
    blank fiscal year is not allowed
        IF gjahr[] IS INITIAL.
          MESSAGE e009.
        ENDIF.
    blank document date is not allowed
        IF bldat[] IS INITIAL.
          MESSAGE e020.
        ENDIF.
    awiting for all u r replies

    I UNDERSTOOD Y U HAVE GIVE ERROR MESSAGE,
    WHEN U R DECLARING THE VALUES AS OBLIGATORY BEFORE, THEN NO NEED TO GIVE MESSAGES IN AT SELECTION SCREEN.
    BUT BASED ON SOME CONDITIONS, IF U WANT TO MAKE THEM OBLIGATORY DYNAMICALLY THEN GIVE THE CONDITION ALSO
    EXAMPLE
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF a = 'X'.
          IF screen-group1 = 'GR2'.
            screen-input = 0.
                 ELSE.
           SCREEN-INPUT = 1.
          ENDIF.
          MODIFY SCREEN.
        ENDIF.
        IF c = 'X'.
          IF screen-group1 = 'GR1'.
            screen-input = 0.
         ELSE.
           SCREEN-INPUT = 1.
          ENDIF.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    AT SELECTION-SCREEN.
    IF  d is initial.
    MESSAGE e009.
    ENDIF.
    start-of-selection.
    write b.
    2ND EXAMPLE:
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF a = 'X'.
          IF screen-group1 = 'GR2'.
            screen-input = 0.
                 ELSE.
           SCREEN-INPUT = 1.
          ENDIF.
          MODIFY SCREEN.
        ENDIF.
        IF c = 'X'.
          IF screen-group1 = 'GR1'.
            screen-input = 0.
         ELSE.
           SCREEN-INPUT = 1.
          ENDIF.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    AT SELECTION-SCREEN.
    IF B = 5 AND d is initial.
    MESSAGE e009.
    ENDIF.
    start-of-selection.
    write b.
    I HAVE SENT U TWO EXAMPLES, IN THE SEOND EXMAPLE, IT WORKS FINE AS U HAVE GIVEN SOME OTHER CONDITION.
    IN THE FIRST EXAMPLE, AS IT WILL NOT WORK AS IAM CHECKING ONLY INITIAL CONDITION.
    FOR CHECKING ONLY INITIAL CONDITION, NO NEED TO WRITE IT AT SELECTION SCREEN , U CAN DIRECTLY DECLARE AS OBLIGATORY IN THE BEGINING IT SELF.
    JUST COPY AND PASTE MY TWO PROGRAMS AND FIND OUT THE DIFFERENCE IAM EXPLAINING
    Message was edited by: Hymavathi Oruganti

Maybe you are looking for