In designing selection screen
hi
in selectio screen , i have two parameters
p_vbeln , p_audat. only one input i have to enter.
if p_vbeln is entered p_audat must become greyed (should not allow input).
if p_audat is entered p_vbeln should be greyed
hi
you can do this at selection-screen output event block
you can write a code for it..
at selection-screen ouput.
if not p_vbeln is initial.
loop at screen.
if screen-name = 'P_VBELN'.
screen-active = '0'.
endif.
if screen-name = 'P_AUDAT'.
screen-active = '1'.
endif.
modify screen.
endloop.
elseif not p_audat is initial.
loop at screen.
if screen-name = 'P_VBELN'.
screen-active = '1'.
endif.
if screen-name = 'P_AUDAT'.
screen-active = '0'.
endif.
modify screen.
endloop.
endif.
hope this code wil help u out..
if yes let me know..
Similar Messages
-
How to design selection screen with WAD 3.x Web Items
Hi Guruu2019s,
I have a requirement where I need to design a selection screen by using WAD 3.x web items. In the selection screen we have to include the Query Description - in the left corner of the selection screen, Name of Sales Person u2013 left side of the screen, Date from and Date to u2013 right side of the selection screen, User ID and User Name u2013 on the top right of the selection screen etc., after this on the bottom of the selection screen I have to include the pushbutton RUN REPORT.
After filling all the above parameters and click on Run Report it has to trigger another URL link which contains consolidated Sales CRM Report.
Could any one suggest me and provide me the idea on developing the selection screen with WAD 3.x Web items and is there any other interface to trigger the other URL link when I click on Run Report.
Regards
Venkatno replies. Closing the incident
-
Problem in designe selection screen
Hi Experts,
i have to design a selection screen like
Month -> january to sepetmber
tear -> 2005 to current year
i am using the field delivery_date for this purpose(which has no data element). the field is dats and lenth 8 it contains value like 01.01.2005.
how could i make this possible. please hep me out.
Thank you for the help.Hi,
You can use VRM_SET_VALUES for this requirement.
Thanks & Regards,
Vamsi. -
Designing Selection Screen objects
Hello,
I have the requirement of having a checkbox (p_header) and parameter filepath (p_file) on the same line along with the text decription i.e. p_header and P_file.
It should be like this
__ p_header P-file ________________
But I am only getting the checkbox and the p_file path...not the text decription as seen below:
My code is as below:
SELECTION-SCREEN BEGIN OF BLOCK p2 WITH FRAME TITLE text-503.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: p_header AS CHECKBOX.
SELECTION-SCREEN COMMENT 4(17) text-a01 FOR FIELD p_header.
SELECTION-SCREEN POSITION POS_LOW.
PARAMETERS : p_file3 LIKE filename-fileintern OBLIGATORY
DEFAULT 'FILEPATH_xx.OUT'.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK p2.
I hope my requirement is clear enough.
I have included text-a01 in Goto->Text symbols and activated, but I am not getting the text on selection screen.
Would truly appreciate your help.Hello Alita,
Check with the below code.
SELECTION-SCREEN BEGIN OF BLOCK p2 WITH FRAME TITLE text-004.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: p_header AS CHECKBOX.
SELECTION-SCREEN COMMENT 4(9) text-005.
SELECTION-SCREEN COMMENT 20(7) text-006.
PARAMETERS : p_file3 LIKE filename-fileintern OBLIGATORY
DEFAULT 'FILEPATH_xx.OUT'.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK p2.
How to use the SELECTION SCREEN COMMENT.
SELECTION-SCREEN COMMENT <no. of position to skip from starting of line>(<length of the variable>) text-005.
Regards,
Thanga -
Problem in designing selection screen
Hi friends...............
Based on one radio button i need ti disable some Mandaory fields (those are Mandaory fields).
But here i cant overcome these mandatory fields.
How can i do this.Hi,
use the following code
selection-screen begin of block blk11 with frame title text-002.
*parameters : so_plant radiobutton group a USER-COMMAND fcod MODIF ID m1 DEFAULT 'X'.
*parameters : so_ven radiobutton group a MODIF ID m1 .
*parameters : so_cust radiobutton group a MODIF ID m1.
*selection-screen end of block blk11.
*at selection-screen OUTPUT .
PERFORM chng_screen.
*AT SELECTION-SCREEN.
LOOP AT SCREEN.
IF screen-group1 = 'M2'.
IF screen-input NE '1'.
v_flag = 'X'.
ELSE.
clear v_flag.
ENDIF.
ENDIF.
endloop.
*form chng_screen.
*LOOP AT SCREEN.
if so_plant = 'X'.
IF screen-group1 = 'M3'.
screen-input = space.
screen-active = 0.
modify screen.
ELSEIF screen-group1 = 'M2'.
screen-input = 1.
screen-active = 1.
modify screen.
ELSEIF screen-group1 = 'M4'.
screen-input = 1.
screen-active = 0.
modify screen.
ENDIF.
ELSEIF SO_VEN = 'X'.
IF screen-group1 = 'M2'.
screen-input = space.
screen-active = 0.
modify screen.
elseif screen-group1 = 'M3'.
screen-input = 1.
screen-active = 1.
modify screen.
ELSEIF screen-group1 = 'M4'.
screen-input = 1.
screen-active = 0.
modify screen.
ENDIF.
ELSEIF SO_CUST = 'X'.
IF screen-group1 = 'M2'.
screen-input = space.
screen-active = 0.
modify screen.
ELSEIF screen-group1 = 'M3'.
screen-input = 1.
screen-active = 0.
modify screen.
ELSEIF screen-group1 = 'M4'.
screen-input = 1.
screen-active = 1.
modify screen.
ENDIF.
ENDIF.
*ENDLOOP.
Thanks & Regards -
F4 help for the selection screen field designed in screen painter
Hi all,
I have designed selection screen in the screen painter. in that for one of the fields i have to give f4 help. for that i have writter the code in PAI event. in this event i have used the standard Function module for f4 help. but no f4 help is comming for that field. can any body suggest what i have to do.
Thanks & Regards,
Giri.Hi,
You must use the correct event to meet ur requirement use POV event instead of PAI event.
for more clarification and example program see below the demo program
DEMO_DYNPRO_F4_HELP_DYNPRO
DEMO_DYNPRO_F4_HELP_MODULE
Cheers
fareed -
Problem in Submit via selection screen statement
Dear Experts,
I have designed selection screen and a dialog screen 100. I am passing the selection screen values to dialog screen using Selection screen via selection screen statement. When i tried to change the values in dialog screen, it is not allowing me to do so and the values are not refreshed.
I have searched the SDN Forum, but not able to find the suitable thread.
Regards,
Ramesh Manoharan
Edited by: ramesh.manoharan on Mar 17, 2010 1:03 PMHi,
I have used the below statement to pass values the values from selection screen to dialog screen (Created as an Executable program)
Submit <pgm> via selection screen
with ...... .
Dialog screen is created as an executable program where i have created two subscreen area and populating the Selection Screen as subscreen by using the below statement:
selection-screen begin of screen <subscreen no.> as subscreen.
selection-screen end of screen <subscreen no.>.
The problem i am facing is that the values of selection screen are getting populated in the dialog screen. But when i tried to change the input values in the dialog selection screen. I am unable to do that and it is not showing the new entered values. Only the previous values are shown (got from selection screen from Submit via selection screen statement).
Kindly let me know where i am going wrong ? Kindly help me to overcome the problem .
Regards,
Ramesh Manoharan -
If I do NOT use any event, except AT SELECTION SCREEN, Do I get any issues?
Hi Experts,
Pls. let me know that, If I do NOT use any event, except AT SELECTION SCREEN, Do I/prog. get any issues? (am also using AT SELECTION SCREEN OUTPUT for list box preperation).
For some reason(execution of the report prog. with ENTER button), am using ONLY these 2 events.
For full detials, pls. see my other thread with title,
Is it possible to execute a REPORT prog. with pressing of ENTER button?
thanqHi
srinivas see this program
i am executing this program with out any event it is not showing any error but not giving output
when i put start-of-selection then it is showing output
*& Report ZNNR_REPORT33
REPORT ZNNR_REPORT33 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.
PARAMETER : P_WERKS LIKE MARC-WERKS MODIF ID S1.
SELECT-OPTIONS : S_EBELN FOR EKKO-EBELN NO INTERVALS MODIF ID S2.
SELECTION-SCREEN END OF BLOCK B1.
SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-004.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS : R1 RADIOBUTTON GROUP G1 DEFAULT 'X' user-command uc1.
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 B2.
******END OF SELECTION SCREEN DESIGN****************
***********SCREEN MODIFICATIONS*******************
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF R1 EQ 'X' AND SCREEN-GROUP1 EQ 'S2'.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
IF R2 EQ 'X' AND SCREEN-GROUP1 EQ 'S1'.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
********END OF SCREEN MODIFICATIONS*****************
***************SCREEN VALIDATIONS *****************
at selection-screen.
SELECT SINGLE *
FROM EKKO
INTO EKKO
WHERE EBELN IN S_EBELN.
IF SY-SUBRC <> 0.
SET CURSOR FIELD 'S_EBELN-LOW'.
MESSAGE E999 WITH TEXT-005.
clear S_ebeln-low.
ENDIF.
********end of screen validation*****************
IF R1 EQ 'X'.
*ULINE AT /1(48).
WRITE : SY-VLINE ,2 'MATERIAL NUMBER',
21 SY-VLINE , 22 'PLANT',
27 SY-VLINE , 28 'STATUS',
43 SY-VLINE , 44 'GRUP', 48 SY-VLINE.
ULINE AT /1(48).
ENDIF.
IF R2 EQ 'X'.
WRITE : SY-VLINE , 2 'PO NUMBER',
12 SY-VLINE, 13 'ITEM',
18 SY-VLINE,19 'MATERIAL NUMBER',
37 SY-VLINE, 38 'PLANT',
44 SY-VLINE, 45 'GRUP',
49 SY-VLINE.
ULINE AT /1(50).
ENDIF.
start-of-selection.
*set pf-status '100'.
IF R1 EQ 'X'.
SELECT MATNR
WERKS
PSTAT
EKGRP
FROM MARC
INTO TABLE IT_PLANT
WHERE WERKS = P_WERKS.
LOOP AT IT_PLANT.
WRITE : SY-VLINE , 2 IT_PLANT-MATNR COLOR COL_KEY,
21 SY-VLINE , 22 IT_PLANT-WERKS COLOR COL_KEY,
27 SY-VLINE ,28 IT_PLANT-PSTAT COLOR COL_NORMAL,
43 SY-VLINE ,44 IT_PLANT-EKGRP COLOR COL_NORMAL.
ENDLOOP.
ENDIF.
IF R2 EQ 'X'.
SELECT EBELN EBELP MATNR WERKS LGORT
FROM EKPO
INTO TABLE IT_PONO
WHERE EBELN IN S_EBELN.
LOOP AT IT_PONO.
WRITE : SY-VLINE , 2 IT_PONO-EBELN COLOR COL_KEY,
12 SY-VLINE , 13 IT_PONO-EBELP COLOR COL_KEY,
18 SY-VLINE , 19 IT_PONO-MATNR COLOR COL_NORMAL,
37 SY-VLINE , 38 IT_PONO-WERKS COLOR COL_NORMAL,
44 SY-VLINE , 45 IT_PONO-LGORT COLOR COL_NORMAL, 49 SY-VLINE..
ENDLOOP.
ENDIF.
ULINE AT /1(50).
WRITE :/10 'PAGE NUMBER', SY-PAGNO, '/' ,SY-PAGNO.
ULINE AT /1(50).
WRITE :/10 'PAGE NUMBER', SY-PAGNO. -
How to make a dynamic selection screen
Hi
I have been searching the SDN for long time, but couldn't find the answer, so therefor a new post.
I have an internal table with following values:
VBKD-BSARK_E
TVKO-VKORG
By these values I would like to make a new selection-screen whith following:
Parameters: FIELD1 like VBKD-BSARK_E.
Parameters: FIELD2 like TVKO-VKORG.
Next time the internal table can contain
MARA-MATNR
TVKO-VKORG
VBAK-BSTZD
And the parameters should then be:
Parameters: FIELD1 like MARA-MATNR.
Parameters: FIELD2 like TVKO-VKORG.
Parameters: FIELD3 like VBAK-BSTZD.
How do I do that -any suggestions?Hi,
This piece of code will design selection screen based on radio button selection:
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001 .
SELECT-OPTIONS : s_date FOR pnpbegps DEFAULT sy-datum .
SELECTION-SCREEN: END OF BLOCK b1.
SELECTION-SCREEN : BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
PARAMETERS:rb1 RADIOBUTTON GROUP rbf DEFAULT 'X'.
PARAMETERS:rb2 RADIOBUTTON GROUP rbf .
SELECTION-SCREEN: END OF BLOCK b2.
SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-003 .
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(25) text-006 FOR FIELD px_pdf.
PARAMETERS: px_pdf AS CHECKBOX USER-COMMAND xxx .
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(15) text-004 FOR FIELD rb_app.
PARAMETERS:rb_app RADIOBUTTON GROUP gbf DEFAULT 'X' USER-COMMAND uc01.
PARAMETERS: p_file(128) MODIF ID 001. " application server
SELECTION-SCREEN END OF LINE.
Thanks,
Krishna.. -
Collective search on the Select-options field on the selection screen
Hello experts,
I have a Y program and a selection screen for it. I have to get the BKPF-BELNR in the search help list. Since the table is too bulky to get all the documents form it. I thought I might need a condition of company code for fetching the documents. I have company code on the selection screen, but if I press F4, on the BELNR, my select-options internal table for <b>company code</b> is remains initial. I think for F4 events the values doesn't get populated in the internal tables, not sure.
Can you tell me, how to get the company code entered on the selection screen, on the F4 event. Or If this doesn't work, will collective search help solve my problem? If yes, Please let me know, which function module I can use to add a collective search to my select-options on the selection screen.
Thanks,
Ganesh Khumse.
Points will be rewarded!Hi
do like this
TYPES : BEGIN OF ST_OBJID_SH,
OTYPE TYPE HRP1000-OTYPE,
OBJID TYPE HRP1000-OBJID,
END OF ST_OBJID_SH.
DATA : IT_OBJID_SH TYPE STANDARD TABLE OF ST_OBJID_SH.
DATA : WA_OBJID_SH TYPE ST_OBJID_SH.
***********SELECTION SCREEN DESIGN***********************
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
*SELECT-OPTIONS : S_OTYPE FOR HRP1001-OTYPE NO INTERVALS .
SELECT-OPTIONS : S_OBJID FOR HRP1001-OBJID NO INTERVALS .
SELECT-OPTIONS : DATE FOR SY-DATUM NO-EXTENSION OBLIGATORY.
SELECTION-SCREEN END OF BLOCK B1.
**********END OF SELECTION SCREEN DESIGN*****************
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_OBJID-LOW.
IF S_OBJID IS NOT INITIAL.
SELECT OTYPE OBJID FROM HRP1000
INTO TABLE IT_OBJID_SH
WHERE OTYPE = 'D'.
IF SY-SUBRC EQ 0.
SEARCH HELP FOR QUALIFICATION.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
DDIC_STRUCTURE = ' '
RETFIELD = 'OBJID'
PVALKEY = ' '
DYNPPROG = SY-REPID
DYNPNR = SY-DYNNR
DYNPROFIELD = 'S_OBJID'
STEPL = 0
WINDOW_TITLE =
VALUE = ' '
VALUE_ORG = 'S'
MULTIPLE_CHOICE = ' '
DISPLAY = ' '
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
MARK_TAB =
IMPORTING
USER_RESET =
TABLES
VALUE_TAB = IT_OBJID_SH
FIELD_TAB =
RETURN_TAB = RETURN_TAB
DYNPFLD_MAPPING =
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF. -
Regarding selection screens in alv.
Hi experts,
SELECTION-SCREEN COMMENT 01(31) text-026 for field rastbis1.
what is meant by this statement, and what is meant by 01(31) after comment.HI
SELECTION-SCREEN COMMENT 01(31) text-026 for field rastbis1
this statment means that
for filed RASLBIS! put TEXT-026 as the comment at location starting at 01 loaction and up to 31 location
after this statment for that filed from 01 location to 31 you can write any comment
it will display on the screen
see this example
for radiobuttons normally the text will display before and next button
i had changed that button first and text next like this
REPORT ZNNR_REPORT 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.
PARAMETER : P_WERKS LIKE MARC-WERKS MODIF ID S1.
SELECT-OPTIONS : S_EBELN FOR EKKO-EBELN NO INTERVALS MODIF ID S2.
SELECTION-SCREEN END OF BLOCK B1.
SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-004.
SELECTION-SCREEN BEGIN OF LINE.
<b>PARAMETERS : R1 RADIOBUTTON GROUP G1 DEFAULT 'X'.
SELECTION-SCREEN COMMENT 5(20) TEXT-002 FOR FIELD R1.</b>
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
<b>PARAMETERS : R2 RADIOBUTTON GROUP G1.
SELECTION-SCREEN COMMENT 5(20) TEXT-003 FOR FIELD R2.</b>
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK B2.
******END OF SELECTION SCREEN DESIGN****************
<b>Rewar dif usefull</b> -
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,
FrankHi
*& 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 -
What is Tcode for screation an instant selection screen
can anyone tell is there any SAP Transaction code to design selection screen instantly, instead of manully creating using select-option/parameters .
Moderator message: please use more descriptive subject lines from now on.
Edited by: Thomas Zloch on Sep 13, 2010 2:48 PM
Edited by: stetala on Sep 13, 2010 3:24 PMHi
I believe there is no such transaction available.
Regards
Abhii -
Hiding the selection screen blocks
Hello SDNers,
This is my scenario.
I need to have 2 selection screens ie b1 and b2.
initially b2 should be hidden and when i make a selection on b1 the block b2 should be displayed.
Eg :
selection-screen begin of block B1.
parmeter : r_cust radiobutton group grp1,
r_ven t radiobutton group grp1.
selection-screen end of block B1.
selection-screen begin of block B2.
parmeter : r_cret radiobutton group grp2,
r_chg radiobutton group grp2,
r_disp radiobutton group grp2,
selection-screen end of block B2.
Is this possible if yes please paste a sample snippet for understanding.
Help would be highly appreciated and rewarded.
Thanks in advance
Regards,
Ranjith NHi...
Please check the code...
It will solve your problem
selection-screen: begin of block c1 with frame title text-001.
selection-screen skip.
parameter: p_singl type char01 radiobutton group rsel
default 'X' user-command s_per, " Single record
p_mult type char01 radiobutton group rsel." Multiple recrd
selection-screen: end of block c1.
selection-screen: begin of block c2 with frame title text-001.
selection-screen skip.
parameter: p_matnr type matnr modif id m1, " KMAT
p_atwrt type zcatnum modif id m1, " Catalog string
p_sr_des type atwrt modif id m1. " Series Designator
selection-screen: end of block c2.
selection-screen: begin of block c3 with frame title text-001.
selection-screen skip.
PARAMETER: p_pc radiobutton group err user-command ucomm
modif id m4, " Presentation server
p_server radiobutton group err default 'X'
modif id m4, " Application server
p_f_pc type localfile modif id m3, " PC file name
p_fname type localfile modif id m2. " Apltn srvr file path
selection-screen: end of block c3.
at selection-screen output.
Design selection parameters dynamically
perform sub_set_file_param.
form sub_set_file_param .
loop at screen.
If single record is checked
if p_singl is not initial.
if screen-group1 = 'M2' or
screen-group1 = 'M3' or
screen-group1 = 'M4'.
screen-active = 0.
endif.
If multiple record and application server is checked
elseif p_mult is not initial and
p_server is not initial.
if screen-group1 = 'M1' or
screen-group1 = 'M3' .
screen-active = 0.
endif.
If multiple record and presentation server is checked
elseif p_mult is not initial and
p_pc is not initial.
if screen-group1 = 'M1' or
screen-group1 = 'M2' .
screen-active = 0.
endif.
endif.
Modify the screen
modify screen.
endloop.
endform. " sub_set_file_param
Thanks
Subhankar -
Designing the table grid in subscreen in a selection screen..
Hi all,
Actually my requirement is there is a check box in the selection screen,If its checked then we have to display a subscreen with the details
"Emp type" "Empname" "Monthly" "Yearly"
PM Glen 50000 600000
SM Cross 40000 480000
TM Mary 40000 480000
GM Hary 60000 720000
should be dislayed as a table grid.
I have designed the screen but its not possible to give the headers
"Emp type" "Empname" "Monthly" "Yearly"
Can anyone solve this issue for me..Thanks in advanceI know to call the window but my problem is
I have defined subscreen as:
SELECTION-SCREEN BEGIN OF SCREEN 300 AS WINDOW.
SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-030.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS : c_air AS CHECKBOX MODIF ID sss USER-COMMAND ucom.
SELECTION-SCREEN COMMENT 4(18) text-003 FOR FIELD p_air.
PARAMETERS : p_air TYPE vbak-vbeln MODIF ID sss .
**SELECTION-SCREEN COMMENT 34(10) text-004 FOR FIELD p_air1.
**It is not accepting this
PARAMETERS : p_air1 TYPE p DECIMALS 2.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK b3.
SELECTION-SCREEN END OF SCREEN 300.
i am able to see one comment but can i display more than one comment
Maybe you are looking for
-
CUCM OS Administration Page Not There in CUCM 8.6
No option for CUCM OS Administration Page in navigation menu in CUCM 8.6 Unable to access CUCM OS Administration page. following error came while using url http://<ip-address>/cmplatform HTTP Status 404 - /cmplatform type: Status report message: /
-
Number fields in select expert
I am currently using Crystal 2008 and I am having issues with numeric values entered in the select expert. The record selection criteria that I have entered is {HSP_BKT.BKT_ID} in [94633, 94920] however, crystal defaults/converts to these numbers wit
-
my ipad 2 crashed and I was able to get it to the restore phase, connected to itunes and went through the procedure. When done, it said connot restore er
-
We have a matisse compiler which reads the *.xml files and converts this into *.java files. Do we have a plugin for this compiler which can by used with MyEclipse or Eclipse.
-
One MBP disconnects all other computers
Hi everyone. I have been having an issue with my network which consists of a Motorola Surfboard SB5100 (about 5-6 years old) and an Airport Extreme (newest model). I have 3 computers and an iPod Touch regularly connected to it: one iMac and two Macbo