Selection screen layout Issue

i have a requirement where i have to customize the layout dynamically in the report output.the layout should be changed as per the selection screen field entry.is this possible?

Hi,
Check this one, How it is changing dynamically
TABLES : mara,marc.
************************Selection screen fields******************************************
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS    : p_meth1  RADIOBUTTON GROUP g1 USER-COMMAND g1,
                p_meth2  RADIOBUTTON GROUP g1.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK matnr
                          WITH FRAME TITLE text-002.
SELECTION-SCREEN SKIP 1.
SELECT-OPTIONS : so_matnr FOR marc-matnr MODIF ID m1.
SELECTION-SCREEN SKIP 1.
SELECT-OPTIONS : so_werks FOR marc-werks MODIF ID m1 .
SELECTION-SCREEN END OF BLOCK matnr.
SELECTION-SCREEN BEGIN OF BLOCK file WITH FRAME TITLE text-003.
SELECTION-SCREEN SKIP 1.
PARAMETERS: p_fpath TYPE ibipparms-path MODIF ID m2 LOWER CASE.
SELECTION-SCREEN END OF BLOCK file.
SELECTION-SCREEN BEGIN OF BLOCK date WITH FRAME TITLE text-004.
SELECTION-SCREEN SKIP 1.
PARAMETERS     : p_date TYPE datuv.                         "CCT51576.
SELECTION-SCREEN END OF BLOCK date.
***********************Screen Validation*********************************************
AT SELECTION-SCREEN OUTPUT.
  LOOP AT SCREEN.
    CASE screen-group1.
      WHEN 'M1'.
        IF p_meth1 <> 'X'.
          screen-active = 1.
        ENDIF.
        IF p_meth2 = 'X'.
          screen-active = 0.
        ENDIF.
      WHEN 'M2'.
        IF p_meth2 = 'X'.
          screen-active = 1.
        ELSE.
          screen-active = 0.
        ENDIF.
        IF p_meth1 = 'X'.
          screen-active = 0.
        ENDIF.
    ENDCASE.
    MODIFY SCREEN.
  ENDLOOP.

Similar Messages

  • At selection- screen output issue

    Hi,
    I have a issue regarding at selection-screen output event with radio buttons, 
    Fields are like,
    Block B1
      RB1
    Block B2
    RB2
       field 1 (Check box)
       field 2 (Check box)
    User can select one radio button at a time. If the user clicks on radio button RB1 then fields under Block B2 will be disabled. If user click on RB2 field 1 and fields 2 will be input enabled. Could you please give the solution asap
    Note: Radio buttons are in different selection screen blocks.

    Check this code -
    *SELECTION-SCREEN BEGIN OF BLOCK B WITH FRAME.
    *PARAMETERS:
    *Pi1 TYPE C  RADIOBUTTON GROUP G1 DEFAULT 'X',
    *Pi2 TYPE CHAR25,
    *Pi3 TYPE C  RADIOBUTTON GROUP G1,
    *Pi4 TYPE CHAR25.
    *SELECTION-SCREEN END OF BLOCK B.
    *PARAMETERS check AS CHECKBOX.
    *PARAMETERS show_all AS CHECKBOX USER-COMMAND flag.
    *SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
    *PARAMETERS: ip1(10) TYPE c,
               ip2(10) TYPE c,
               ip3(10) TYPE c.
    *SELECTION-SCREEN END OF BLOCK b1.
    *SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME.
    *PARAMETERS: ip4(10) TYPE c MODIF ID bl2,
               ip5(10) TYPE c MODIF ID bl2,
               ip6(10) TYPE c MODIF ID bl2.
    *SELECTION-SCREEN END OF BLOCK b2.
    *AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
       IF show_all <> 'X' AND
          screen-group1 = 'BL2'.
          screen-active = '0'.
       ENDIF.
       MODIFY SCREEN.
    ENDLOOP.
    Regards,
    Amit Khare
    reward all helpful replies.

  • Report Painter Select Screen Character Issue

    I have a report make from report painter. In the select screen, it supposed to show in ficical year, accounting periond, controllong area, for selection, but the character could not be shown correctly,
    it show as "#####".
    Question: How can I fix the charater issue?
    Thank you in advance.

    hi
    set the optimize column width  = 'X"

  • Selection screen regeneration issue in Module pool

    Hi experts,
    I have designed a module pool in which i have included a selection screen as sub screen , and for the scenario i need to give custom f4 help for the selection  field for that i have included logic ,My issue is when ever i am changing other code in the programs (other screen logic) the selection screen  is reverting back to normal ...again i have to do the flow logic and screen change of selection screen.
    Suggest me how i can avoid this .
    Regards,
    Siva Prasad.

    and for the scenario i need to give custom f4 help for the selection  field for that i have included logic
    was the error, use some AT SELECTION-SCREEN ON VALUE-REQUEST FOR {para|selcrit-low|selcrit-high} or PARAMETERS/SELECT-OPTIONS MATCHCODE OBJECT search_help  statement, and your problem will vanish... (Edition of a generated object is hardly ever a good idea and never good practice)
    Regards,
    Raymond

  • F4 selection screen layout - WAD 7

    Hi guys,
    We have a simple selection screen over a variable and we have a couple of questions regarding the layout of the selection screen.
    1. Can we change the default to "Search" instead of "All"?
    2.  When we scroll down in the list the width of the columns changes according to the data, is there a way to determine the column width?
    Regards
    Shlomi

    Hello Shlomi Weiss,
    Unfortunatelly this is not possible to change. This is working by design.
    Thanks for the compreention.
    Diego Ferrary

  • Selection Screen Layout.

    Hi,
    I need to layout a selection screen like the one below:
    RadioButton1
        Parameter1
        Select-Option1
    RadioButton2
    RadioButton3
    Items (Parameter1 and Select-Option1) should be disabled when RadioButton1 is not selected.
    I cant quite figure out how i would insert (Parameter1 and Select-Option1) between RadioButton1 and 2. I dont want to waste precious time to do research for this, so I opted to ask the experts(you..).
    Thanks,
    Frank

    Hi
    *& Report  ZNNR_SAMPLE22
    REPORT  ZNNR_SAMPLE22 NO STANDARD PAGE HEADING MESSAGE-ID ZNNR LINE-SIZE 100 LINE-COUNT 65(4).
    ******DATA DECLARATIONS**********
    DATA : BEGIN OF IT_PLANT OCCURS 0,
            MATNR LIKE MARA-MATNR,
            WERKS LIKE MARC-WERKS,
            PSTAT LIKE MARC-PSTAT,
            EKGRP LIKE MARC-EKGRP,
           END OF IT_PLANT.
    DATA : BEGIN OF IT_PONO OCCURS 0,
            EBELN LIKE EKKO-EBELN,
            EBELP LIKE EKPO-EBELP,
            MATNR LIKE EKPO-MATNR,
            WERKS LIKE EKPO-WERKS,
            LGORT LIKE EKPO-LGORT,
           END OF IT_PONO.
    TABLES EKKO.
    ********END OF DATA DECLARATIONS*********
    ********SELECTION SCREEN DESIGN ***********
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS : R3 RADIOBUTTON GROUP G1 DEFAULT 'X' USER-COMMAND UC1.
    SELECTION-SCREEN COMMENT 5(20) TEXT-002 FOR FIELD R3.
    SELECTION-SCREEN END OF LINE.
    PARAMETER : P_WERKS LIKE MARC-WERKS MODIF ID S1.
    SELECT-OPTIONS : S_EBELN FOR EKKO-EBELN NO INTERVALS MODIF ID S1.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS : R1 RADIOBUTTON GROUP G1.
    SELECTION-SCREEN COMMENT 5(20) TEXT-002 FOR FIELD R1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS : R2 RADIOBUTTON GROUP G1.
    SELECTION-SCREEN COMMENT 5(20) TEXT-003 FOR FIELD R2.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK B1.
    ******END OF SELECTION SCREEN DESIGN****************
    ***********SCREEN MODIFICATIONS*******************
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF R3 EQ 'X' AND SCREEN-GROUP1 EQ 'S1'.
          SCREEN-INPUT = 0.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    ********END OF SCREEN MODIFICATIONS*****************
    execute this one

  • Variable Selection Screen - Text issue

    Hi,
    In BEx Query, I have a variable in the Var.selection screen and I cannot have the text displaying corresponding to one of the Variable after providing the value and click the button "Check".
    - I have checked "Provider-Specific Properties" in RSA1 and is ok. and display attributes in Query Designer as well.
    Please advice on this.
    Best regards,
    Venkata

    Hi,
    Can you please check whether text data is loaded or not?
    Check selections under Business explorer tab of a characterstic.
    Hope it is useful.
    Thanks,
    Ashok

  • Radio button on selection screen event issue.

    Hi all,
    I have two radio buttons and two input mandatory fields on selection screen.
    - If  first radio button selected then some value 'ABC' should fill in second input field.(because it is a mandatory field)
    - If  second radio button selected then some value 'XYZ' should fill in first input field..(because it is a mandatory field)
    If suppose, user deletes first input value (ABC) and selects second Radio then, ABC to automatically display on first input field as this is mandatory. Same like,If he deletes second input field value and selects first radio, it should display XYZ in second input field. (As these fields are mandatory and requires some value).
    I tried with below code, but not working. Appreciate your quick response.
    PARAMETER          ppart RADIOBUTTON GROUP src  DEFAULT 'X'.
    SELECT-OPTIONS  p_sndprn FOR edoc_stat-sndprn OBLIGATORY DEFAULT 'ABC'.
    PARAMETER         psndr RADIOBUTTON GROUP src.
    SELECT-OPTIONS p_sendid FOR zabc-sndlad OBLIGATORY DEFAULT 'XYZ'.   
    AT SELECTION-SCREEN ON RADIOBUTTON GROUP src.
    IF SSCRFIELDS-UCOMM = 'PRGP'.
      IF ppart EQ 'X'.
           P_SENDID-LOW = 'XYZ'.
      ELSE.
          P_SNDPRN-LOW = 'ABC'.
      ENDIF.
    ENDIF.
    Thanks,
    Ranjith.

    Search the forum... don't make fields obligatory and use event AT SELECTION-SCREEN OUTPUT.

  • Query regarding selection screen layout

    i want to knw how to put a blank line / how to skip a line in selection screen...
    like
    in Block 1
    Presentn filepath
    Application filepath
    (1 line skipped)
    Log filepath
    end of block 1

    Hi ,
    use <b>SELECTION-SCREEN SKIP 2</b>. statement.If u want to skip two lines .
    check this code.
    selection-screen begin of block B1 with frame title text-d01.
    selection-screen SKIP 3.
    parameters : p_lifnr type lifnr.
    parameters : p_kunnr type kunnr.
    parameters : p_count(2) type n.
    selection-screen SKIP 3.
    selection-screen end of block B1.
    regards
    reena

  • Plz help selection screen desplay issue

    Hi experts
    plz help
    small query
    i have two fields
    dateto and date from in my selection screen
    i ill have to use parameter for both the feilds i cannot use select-options here
    but wen i m using parameter its coming line by line
    like
    p_dateto    "i/o feild"
    but i want like we get in select option
    p_dateto    "i/o feild"           p_datfrm     "i/o feild"
    plz help me doin this .
    thanx i9n advance.

    hey,
    why dont u use select-options?
    but if u want parameters only,
    u can do like below.
    selection-screen begin of screen  <scrno>.
    selecion-screen begin of line.
    parameters: date_from type sy-datum,
    date_to type sy-datum.
    selection-screen end of line.
    selection-screen end of screen <scrno>.
    Message was edited by:
            Hymavathi Oruganti

  • Extended Splash Screen Layout Issue

    I'm not sure, actually, whether this is an issue with extended splash screens or the Canvas element, but...
    I've built a minimal extended splash screen that displays the SplashScreen image, a progress bar and a button. The ProgressBar and Button are wrapped in a StackPanel. 
    The PositionImage() method is working fine with screen resize--the logo always displays in the center of the screen. The problem that I have is positioning the other elements.
    I'd like them to display just a bit below the SplashScreen image. Following the MS code sample, I can create two rows in the layout Grid and set a fixed size on the row containing the StackPanel, but that always displays those items the specified row size
    from the bottom of the page. Way too low in portrait view.
    I tried setting the first row (containing the Canvas) to "Auto", but that causes the StackPanel in the second row to display at the top of the screen. (Does Canvas not report its size?) I tried replacing the layout grid with a stackpanel, with
    even worse results. Specifying height values for the Canvas doesn't work, either.
    Any other ideas out there?
    Rebecca M. Riordan

    I absolutely position my other elements based on the location of the logo and the size of the logo and elements.  I don't use any stackpanels or grids at all. I just use Canvas.LeftProperty and Canvas.RightProperty.
    void PositionImage()
    this.MySplashImage.SetValue(Canvas.LeftProperty, MySplashScreen.ImageLocation.Left);
    this.MySplashImage.SetValue(Canvas.TopProperty, MySplashScreen.ImageLocation.Top);
    this.MySplashImage.Height = MySplashScreen.ImageLocation.Height;
    this.MySplashImage.Width = MySplashScreen.ImageLocation.Width;
    this.MyProgressRing.Height = MySplashScreen.ImageLocation.Height / 6;
    this.MyProgressRing.Width = MyProgressRing.Height;
    this.MyProgressRing.SetValue(Canvas.LeftProperty, MySplashScreen.ImageLocation.Left + (MySplashScreen.ImageLocation.Width / 2));
    this.MyProgressRing.SetValue(Canvas.TopProperty, MySplashScreen.ImageLocation.Top + MySplashScreen.ImageLocation.Height - (.26 * MySplashScreen.ImageLocation.Height));
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • Screen Layout Issue in ME21N Transaction (Purchase Order Creation)

    Hi,
    we had recently upgraded our system from R3 4.6'c to Version ECC 6.0
    in this i had observed that earlier layout of purchase order screen is changed.
    1. Material Column is not visible in default layout. however i had check in table settings of item overview Screen. This Field is hidden. I tried to make it visible but didnt get success.
    secondly, Pricing Schema layout at condition Tab at ITem Details level is also changed.
    any idea, how to change their layout.
    Regards,
    Shiva

    When you change the std settings that time you have to create your own variant and save in that variant and then enter that variant in variant filed and remove the use std settign check mark then you will see your fields are nothidden any more
    about the pricing tab i can't help you because  we are in ECC 5.0 so i don't know what u r taking

  • SSM Screen layout issues / missing frames?

    Hello all
    This is an issue that is driving me nuts.
    We have SSM installed as a proof of concept, on a remote machine.
    When I use a particular desktop to connect to remote machine via MS Terminal Services and launch SSM, everything looks fine
    If I use any other PC and connect to the remote machine in the same way then the SSM screen is very different.
    - the top tool bar with the context dropdown etc disappears altogether on every screen
    - the context map is squashed into a frame half the size, and gets scroll bars
    - when I launch a context, the context tree from the previous page sticks out on the bottom
    I hve played with the resolutions setting which seems to make no difference, i am beginning to think its something more fundamental with the way the frames are being generated on the screen.
    can anyone point me in the right directions? is this SSM side? terminal services side? is there software that is used to generate the SSM screen that needs updating?
    Any thoughts welcome

    Igadhia,
    If the one machice you remote connect has no problems, I would suggest looking at the settings on the remote machine and/or that one machine that connects correctly and compare them with the settings on your other machines.
    Regards,
    Bob

  • Info record screen layout issue

    hi,
    In my system, "valid to" field set as required and display option in ME11.
    how / where to change / control the this field option?
    Reg
    mrs

    Hi,
    While doing ME11 you have to follow the below procedure to avoid this problem.
    After filling the general data click on texts icon and from there go to conditions.
    Enter the required conditions with relevant rates click on save
    then system will take you to purchasing org data1 screen and there you can observe that the validity period is entered as per validity mentioned in conditions.
    Regards,
    Bharat

  • SAP Query selection screen issues after ECC upgrade

    Hi all
    We have a custom query created and assigned to a custom transaction code, which after upgrade to ECC 6.0 we find that the selection screen layout is different from what was available in 4.6C system.
    All the fields required are available.
    However, the sequence of the fields on the screen is different from the 4.6C after the upgrade.
    Can anyone help identify the issue so that the issue can be resolved?
    Thanks
    Vinodh S

    Hi N_niki
    There is no resolution as such.
    We had raised a Customer message with SAP and were informed that this was expected as the procedure to execute the reports was changed in ECC when compared to 4.6 (technical changes) and hence this issue shall remain for some queries wherein the old changes need to be brought back using an option in the SAP Query.
    Please refer to SAP Note # 723577 which could provide a better explanation for the issue.
    Hope this helps.
    Thanks
    Vinodh Sudhakaran

Maybe you are looking for

  • Upgrade from vision to youview,how much?

    I am a btvision customer for some years but my contract has run out,can I get the youview box for free or do I still have to pay £49 connection charge,if i do then its not really free.

  • Application services not showing as started - Not able to login

    Hi I have finished cloning. EBS - 11.5.10.2 OS - HP-UX DB - 10.2.0.4 I have updated the ICX_PARAMETERS and started the application services. But it just shows the below. ps -ef | grep applwns | grep FND applwns 18069 18060 0 17:48:31 pts/0 0:01 FNDLI

  • Customizing IC Matching Reports

    Is there a way to customize the IC Matching Reports. We need reports that tie to the Elimination plug account but our elimination rules are not standard (contain additional condition to meet to trigger the elim, for example both entity and ICP (when

  • Yosemite Time Machine unresponsive windows

    I am trying to help a colleague with Time Machine on his iMac.  He is running OS 10.10.2. When he selects a folder then clicks "Enter Time Machine" it appears fairly normal. No error messages appear, no buttons are grayed out. However, instead of the

  • Power Problems?

    Hi all, I need your advice please. I have a G5 20 inch iMac, pre-Intel, pre-iSight. 3 years old. The machine boots up fine, and runs fine, for 2-3 minutes, and then it dies. Not a shutdown, but like someone yanked the power plug. It happened randomly