Error in selection screen variant saving .
Hi All ,
I have a selection screen with 4 radio buttons and some parameters , based on selection of the radio buttons the parameters change for input , now by default one radio button is selected and now if i try to save it and then when i try to hide any one of the radio button and some parameters the system throws an error saying that all radio buttons of the groub ' rb1' are not hidden , now can you tell me how to achieve functionality .
Hi,
According to me your all Radiobutton comes under a single Group ' rb1' ,
Try Your code with different radiobutton Groups, It will Work.
Do let me know the outcome.
Thanks
Saurabh
Similar Messages
-
Selection Screen Variant (optionally default) -I dont think it's possible!?
I have spent a lot of time looking at this issue - researching forums/sap help/on the system - so any help appreciated...
On the selection screen (for tx me59n) is it actually possible for users to set a variant as default on the selection screen? It's actually that I want "Test Run" to be defaulted.
This is the ideal scenario:
- The selection criteria variant is created centrally (or even individually by the user)
- The user can then optionally set this variant as their default selection criteria for the transaction
- Next time the user runs the transaction, the defualt variant is used
What I do not want is:
- User having to select the variant each time they run the transaction
- The variant always being default (it should only be default when user decides they want it as such)
Any ideas? I can't see that it's possible....?
thanks in advance,
MattI've been trying SHD0 alot, but doesnt seem to work - again, i've spent time reading and trying it out but with no luck.
This is how I'm doing it to try to default "Test Run" checkbox for ME59n
- Run transaction SHD0
- Input "ZDefault" into Transaction Variant field
- Click create
- ME59n loads
- I tick "Test Run" (which is what I want defaulting for the transaction)
- Click save
- It prompts me to create screen variant
- I input ZTEST_VARIANT and click save
- I get a pop-up box which I enter ZTEST_VARIANT to name field but dont make any other changes
- Get message saying ZTEST_VARIANT saved
- Click back to Transaction Variant screen
- Save it as a local object
- Get message saying "Trans Variant and Screen Variant Saved"
- Click back to initial SHD0 screen
- Click TEST to try it out.
- ME59n loads, but "Test Run" is not checked - the variant appears not to have been loaded at all.
I run ME59n independently and still nothing seems to get loaded when I run the transaction. Although the new screen variant is availbale in the variant list, which if I select it it works perfectly. But I want make it default??? How do I do it?
Any ideas what i'm missing?
Usually I can figure these things out pretty quickly, but this one has me stumped!
thanks
Matt -
To display the selection screen variant name in WAD report output.
Hello experts,
I have a requirement which is to display the selection screen variant description in the output of the WAD report.
I managed halfway, by using the object "Information field", which displays all the values which are selected by the variant.
Example:I have created a cost center report created using WAD, since I need some graphical displays..
In the selection screen, I have the characteristic "cost center" as input field. I have created a variant " GM - IT" which will include few cost centers managed by GM. In the output, I want the dispaly to be "Cost center - GM IT". Currently it displays "Cost Center - a,b,c,d" as the values a,b,c,d are the values from the variant name "GM-IT"
Please let me know if this required any java script. I am not familiar with java / html codes and any help would be much appreciated (and rewarded)
Thanks in advance
KSHi,
Try this.
If you want to include your variables in your WAD means you have to choose "Force Variable Screen" option to be in enabled condition.
TO enable this,in WAD select your Template(New Template1) click the WEBITEM , it'll shows all generic properties , here you can enable this "Force variable screen"
Save and execute your WAD now you can get your variable screen.
Thanks,
JituK -
Selection screen variant for report
Hi,
Can we restrict the selection screen variants for reports by user? For example my report is ZREPORT. Different users can save variants for the report. When they choose a variant for executing the report, they would like to see only the variants they created.
By default SAP lists all variants created (irrespective of who created).
Thanks
AnilHi,
If you want the other users doesn't want to execute (Not see) other variant..you can check if that user has created the variant in the AT SELECTION-SCREEN event..
By checking VARI-VARIANT against the table VARID and check if sy-uname <> VARID-ENAME.
Thanks,
naren -
How to limit the creation of the selection screen variant
Hi,
I have a question concerning the selection screen variants. Is it possible to limit the number of variant created by users (in customizing, authorization..) ?
If, yes, can you please tell me the procedure to follow.
thanks for help.Cannot be restricted during creation but you can do a program that reads the report's existing variants, delete some, or modify the variant's content, you can put that in the program itself so when executed, apply your validation, or a background job depending on your requirements.
You can do it with this function modules:
RS_ALL_VARIANTS_4_1_REPORT
RS_CHANGE_CREATED_VARIANT
RS_VARIANT_DELETE
Hope it helps -
Dynamic selection screen variant
Hi Gurus,
There are two parameters in the selection screen of a report. One for Date, whose format is ww.yyyy and purchasing organization. Both the fields are mandatory fields.
I have to create variants for this report in such a way that when user selects the variant, it should give current week in combination with year in Date parameter and Purchasing organization from the saved variant list.
Suppose there are two variants created with purchasing organizations 0001 and 0002, if i select 1st variant today then date should be 22.2007 and purchasing organization as 0001... if i select 1st variant in next week then date should be 23.2007 with purchasing organization 0001...
Thanks in Advance,
Phani.Hi Sivapuram ,
I am not sure we can create a varaint where we have some processing involved .
What i would suggest is if you want this to be done for a specific varaint , then you will have to write the processing code in the at selection-screen output event .
This code must include the logic to calcuate the value as per your requirement , the code must be executed when the specific variant is loaded , the current varaint loaded in the system is stored in the system varaible sy-SLSET.
This is a solution which is very specific to a varaint and not a generic solution.
Regards
Arun -
How to get selection screen variant name of a report ?
Hi Experts,
Can any body please suggest, how I can get the variant name that was selected when a report program was being scheduled in background?
I am using system field SY-SLSET but it is working only at foregrounf execution.In background mode it holds different value like '&0000000000038'.
Thanks in advance.Hi !
When running the program in foreground (SE38 -> F8) or in a background job (SM36), sy-slrel is correctly filled.
When running in background via SE38 transaction (run in background : F9), sy-slrel is not filled correctly (&000010 for example).
However, in the second case, you still are in foreground when in the selection screen. Thus this simple but quite efficient idea of [Vinod Vemuru|http://wiki.sdn.sap.com/wiki/display/~ncz6anw] :
http://wiki.sdn.sap.com/wiki/display/ABAP/Howtogetthevariantnamewhenrunningthereportinbackgroundfromselectionscreen -
How to print the selection screen variant as a report header
I want to print the variant selected on the selection screen as a report header in the report painter.....Kindly help....The variant selected prior to generating the report painter output must be displayed on the final output screen as the header on the screen...
Hi
Here you've to use 'Z_HEADER_FOOTER' function module at TOP-OF-PAGE
Just pass parameters for report_name as repid
show_select_options as 'Y'
show_parameters as 'Y'
line_size as you wish
action as 'X'
Hope this fulfills your requirement
Thanks
Suren -
Selection Screen Variant does not set Tab as active -
Hi experts,
I have a Z-report. The selection screen of this report has got 8 tabs and sub screens, for different type of reporting ( SO, PO, Invoice reporting etc).
Now the issue is, if a user creates a variant for the report with one particular tab as active tab, while running with this variant, the report starts with default tab(Tab 1) as active tab. The filed values in the particular tab are getting populated correctly from the variant. But the current/active tab is not getting set from the Variant. (Or in other words, none of the hidden fields in the screen P_TAB1, P_TAB2, etc are getting populated with X when creating a variant)
This issue started recently, and old variants (created long back) are pointing to the correct tab as expected. I have checked for the changes in the report. Unfortunately there is only one version(latest) available in the system.
Any kind of help will be appreciated.
Thanking you in anticipation.
DeepsHi,
I was wondering if you ever solved your issue. I am facing the same
problem. When choosing a variant, I would like the active tab to
display the correct select-option fields. -
Selection screen variant...
Hi Gurus,
My requirement is I need to call a prepare a selection screen and create a variant of that screen..
Then user will put the name of the variant as selection id in "Production Planning run " screen...I neeed to fetch all product ids based on the sejection screen variant and store that internal table of user exit
APOCDPS1....The internal table name is "E_SEL_PEGID_TAB". It is there in the FM Exit_SAPLCDPSUSER_02 ....
Please help,,,how to do??
I also need to write a query in the user exit on a table to fetch what are stored in the variants where the variant name is selection id given by the user...Which table and which fields are maintaining that in APO..You should go to transaction /SAPAPO/CDPSB0. create the screen variant there and then you can call this varient in transaction CDPS1.
Regards.
Nitin Thatte -
Hi Experts,
I am getting a selection screen error while activating my program in se38. When i am doing syntax check there is no error(s) at all.
It says " Error when generating the selection screen "1000" of report "<prg name>
- line 0'.
can some one please suggest what might had happened?
Thanks
DanHi Alvaro,
Its here :
Selection Screen Definitions *
SELECTION-SCREEN:BEGIN OF BLOCK h1 WITH FRAME TITLE text-001.
SELECT-OPTIONS s_kunnr FOR kna1-kunnr DEFAULT '100000'.
"Customer number
PARAMETERS: p_apfile TYPE rlgrap-filename NO-DISPLAY.
SELECTION-SCREEN: BEGIN OF BLOCK files WITH FRAME TITLE text-t02.
SELECTION-SCREEN: SKIP 1,
BEGIN OF LINE.
PARAMETERS: r_local RADIOBUTTON GROUP fil ."workstation
SELECTION-SCREEN: COMMENT 4(10) text-p03,
POSITION 15.
PARAMETERS: P_LOCFIL TYPE rlgrap-filename. "local file
*SELECTION-SCREEN: skip 1.
PARAMETERS: r_appsrv RADIOBUTTON GROUP fil DEFAULT 'X'."app-server
SELECTION-SCREEN: COMMENT 4(15) text-p04.
SELECTION-SCREEN: COMMENT 4(17) Z_P1,
POSITION 23.
PARAMETERS: P_XLOG TYPE FC_LOGFILE DEFAULT 'ZMWVLOGICALFILE'.
SELECTION-SCREEN END OF LINE.
" Contains the required Selection Screen parameters.
*INCLUDE zfileselectblock.
SELECTION-SCREEN: BEGIN OF BLOCK XFILE WITH FRAME TITLE z_T1.
*SELECTION-SCREEN: BEGIN OF LINE.
**PARAMETERS: R_XLOG RADIOBUTTON GROUP XRD DEFAULT 'X'.
**SELECTION-SCREEN: COMMENT 4(17) Z_P1,
POSITION 23.
**PARAMETERS: P_XLOG TYPE FC_LOGFILE DEFAULT 'ZMWVLOGICALFILE'.
*SELECTION-SCREEN: END OF LINE.
*SELECTION-SCREEN: BEGIN OF LINE.
*PARAMETERS: R_XCNV RADIOBUTTON GROUP XRD.
*SELECTION-SCREEN: COMMENT 4(17) Z_P2,
POSITION 23.
*PARAMETERS: P_XCNV(20) TYPE C.
*SELECTION-SCREEN: END OF LINE.
SELECTION-SCREEN: SKIP 1,
BEGIN OF LINE,
COMMENT 1(13) Z_P3,
POSITION 15.
PARAMETERS: P_XPATH TYPE RLGRAP-FILENAME.
SELECTION-SCREEN: END OF LINE.
SELECTION-SCREEN: BEGIN OF LINE,
COMMENT 1(13) Z_P4,
POSITION 15.
PARAMETERS: P_XFILE TYPE RLGRAP-FILENAME.
SELECTION-SCREEN: END OF LINE.
SELECTION-SCREEN: END OF BLOCK XFILE.
*end of include ZFILESELECTBLOCK.
SELECTION-SCREEN: END OF BLOCK files.
SELECTION-SCREEN: END OF BLOCK h1. -
Dynamically generating selection screen variants
Hi,
I have a report for which i have to create a variant. This report will be executed in background. There is a parameter Planning Date on the selection screen of this report. The format of this date is week.year i.e., ww.yyyy. Week should change automatically based on the week it is executed. For example, lets suppose that the current planning date is 19.2007. When you execute this report in the next week, the date should be 20.2007.
Please suggest me on how to do this.
Best Regards,
Phani.Hi,
Create two variants for the below program say VAR1 and VAR2.
For the variant VAR1 take the default values say 12 and 3.
and for VAR2 take the values 10 and 5.
Now execute the program by selecting the variants VAR1 and VAR2. You can see the difference.
when you select VAR1 the parameters can be seen in disable mode.
parameters: p_num1 type i default 12,
p_num2 type i default 3.
at selection-screen output.
if sy-slset = 'VAR1'.
loop at screen.
if screen-name = 'P_NUM1' or
screen-name = 'P_NUM2'.
screen-input = 0.
endif.
modify screen.
endloop.
endif.
write:/5 p_num1, 35 p_num2.
Edited by: Velangini Showry Maria Kumar Bandanadham on Apr 14, 2008 12:52 PM -
Enchancement Implementation Error At selection screen
Hi, can implicit enhancement be done on selection screen? When I tried to add a parameter after first selection-screen block or inside the block, always get error message during activation. The standard program i try to enhance is report LSO_RHXBUCH0 (Bookings per Participant). I am sure there is no syntax error on the codes I wrote. The error message is "Between "DATA BEGIN OF' name" and "DATA END OF name" only data statements are allowed.
Here the code, see enhancement: ZIMP_BOOKING_PARTICIPANT
-v-Block 1-----v-
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
PARAMETERS pchplvar LIKE pchdy-plvar NO-DISPLAY. "Planvariante
PARAMETERS pchotype LIKE pchdy-otype NO-DISPLAY. "Objekttyp
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS ptyp1 LIKE hrvpv-ptyp1 RADIOBUTTON GROUP xxx. "Objekttyp1
SELECTION-SCREEN COMMENT 4(22) ptxt1 FOR FIELD ptyp1.
SELECTION-SCREEN POSITION 27.
PARAMETERS ptyp2 LIKE hrvpv-ptyp2 RADIOBUTTON GROUP xxx. "Objekttyp2
SELECTION-SCREEN COMMENT 30(22) ptxt2 FOR FIELD ptyp2.
SELECTION-SCREEN POSITION 53.
PARAMETERS ptyp3 LIKE hrvpv-ptyp3 RADIOBUTTON GROUP xxx. "Objekttyp3
SELECTION-SCREEN COMMENT 56(22) ptxt3 FOR FIELD ptyp3.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS ptyp4 LIKE hrvpv-ptyp4 RADIOBUTTON GROUP xxx. "Objekttyp4
SELECTION-SCREEN COMMENT 4(22) ptxt4 FOR FIELD ptyp4.
SELECTION-SCREEN POSITION 27.
PARAMETERS ptyp5 LIKE hrvpv-ptyp5 RADIOBUTTON GROUP xxx. "Objekttyp5
SELECTION-SCREEN COMMENT 30(22) ptxt5 FOR FIELD ptyp5.
SELECTION-SCREEN POSITION 53.
PARAMETERS ptyp6 LIKE hrvpv-ptyp6 RADIOBUTTON GROUP xxx. "Objekttyp6
SELECTION-SCREEN COMMENT 56(20) ptxt6 FOR FIELD ptyp6.
SELECTION-SCREEN PUSHBUTTON 76(4) morepart USER-COMMAND more.
SELECTION-SCREEN END OF LINE.
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(3 ) Struct. %F4_MACO_TAB, End S
rhx-f4-objid-data.
SELECT-OPTIONS pchobjid FOR objec-realo NO INTERVALS. "Teilnehmer
PARAMETERS pchseark LIKE pchdy-seark. "Suchbegriff
PARAMETERS pchostat LIKE pchdy-ostat NO-DISPLAY. "Objektstatus
PARAMETERS pchistat LIKE pchdy-istat NO-DISPLAY. "Datenstatus
Strukturparameter
PARAMETERS pchwegid LIKE pchdy-wegid NO-DISPLAY.
PARAMETERS pchsvect LIKE pchdy-svect NO-DISPLAY.
PARAMETERS pchactiv LIKE pchdy-activ NO-DISPLAY.
PARAMETERS pchdepth LIKE pchdy-depth NO-DISPLAY.
PARAMETERS pchdymod LIKE t77s3-dymod NO-DISPLAY. "Dynp.variation
SELECTION-SCREEN END OF BLOCK b1.
--Block 1------
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(1 ) Struct. $PCH_TEXTPOOL_KEY, End S
$$-Start: (1 )----
$$
ENHANCEMENT 1 ZIMP_BOOKING_PARTICIPANT. "active version
*SELECTION-SCREEN BEGIN OF BLOCK bb2.
PARAMETERS tpchdepth LIKE pchdy-depth NO-DISPLAY.
*SELECTION-SCREEN END OF BLOCK bb2.
ENDENHANCEMENT.
$$-End: (1 )----
$$
rhx-obeg-radios-define.
-Block 2 (Aufbereitungsoption)-----
*SELECTION-SCREEN BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-RB3.
PARAMETER : tc LIKE pp0j-tc_disp NO-DISPLAY.
*SELECTION-SCREEN END OF BLOCK B3.Hi Byju,
There are quite a number of standard include programs which have "begin of" data declaration. They are all SAP standard include programs and shouldn't have syntax errors. At the enhancement option that I added the enchancement codes, it shows "Struct. $PCH_TEXTPOOL_KEY, End". The declaration of $PCH_TEXTPOOL_KEY found in include RHXMACRO. If you see the code below, the statement rhx-obeg-radios-define which refer to a definition in RHXMACRO is right after the enhancement I added..
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(1 ) Struct. $PCH_TEXTPOOL_KEY, End S
$$-Start: (1 )----
$$
ENHANCEMENT 1 ZIMP_BOOKING_PARTICIPANT. "active version
*SELECTION-SCREEN BEGIN OF BLOCK bb2.
*PARAMETERS tpchdepth LIKE pchdy-depth NO-DISPLAY.
*SELECTION-SCREEN END OF BLOCK bb2.
ENDENHANCEMENT.
$$-End: (1 )----
$$
rhx-obeg-radios-define.
=================================================================
//codes extracted from RHXMACRO
DEFINE RHX-OBEG-RADIOS-DEFINE.
RHX-INT-RADIOS-DEFINE.
Datatime
PARAMETERS:
PCHBEGDA LIKE PCHDY-BEGDA NO-DISPLAY.
PARAMETERS:
PCHENDDA LIKE PCHDY-ENDDA NO-DISPLAY.
SELECTION-SCREEN END OF BLOCK FRAME2.
RHX-INT-RADIO-DATA.
END-OF-DEFINITION.
$$**RHX-INT-RADIOS-DEFINE*******************************************
DEFINE RHX-INT-RADIOS-DEFINE.
SELECTION-SCREEN BEGIN OF BLOCK FRAME2 WITH FRAME TITLE $TX$ZTST.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS : PCHZTR_D LIKE PCHDY-ZTR_D
RADIOBUTTON GROUP $ZTR.
SELECTION-SCREEN COMMENT 4(17) $TX$ZTRD FOR FIELD PCHZTR_D
MODIF ID $ZT.
SELECTION-SCREEN POSITION 23.
PARAMETERS : PCHZTR_A LIKE PCHDY-ZTR_A
RADIOBUTTON GROUP $ZTR.
SELECTION-SCREEN COMMENT 26(17) $TX$ZTRA FOR FIELD PCHZTR_A
MODIF ID $ZT.
SELECTION-SCREEN POSITION 49.
PARAMETERS : PCHZTR_Z LIKE PCHDY-ZTR_Z
RADIOBUTTON GROUP $ZTR MODIF ID $Z1.
SELECTION-SCREEN COMMENT 52(17) $TX$ZTRZ FOR FIELD PCHZTR_Z
MODIF ID $Z1.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS : PCHZTR_M LIKE PCHDY-ZTR_M
RADIOBUTTON GROUP $ZTR.
SELECTION-SCREEN COMMENT 4(17) $TX$ZTRM FOR FIELD PCHZTR_M
MODIF ID $ZT.
SELECTION-SCREEN POSITION 23.
PARAMETERS : PCHZTR_P LIKE PCHDY-ZTR_P
RADIOBUTTON GROUP $ZTR.
SELECTION-SCREEN COMMENT 26(17) $TX$ZTRP FOR FIELD PCHZTR_P
MODIF ID $ZT.
SELECTION-SCREEN PUSHBUTTON 49(30) $PS$ZTST
USER-COMMAND $STT MODIF ID $Z3.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS : PCHZTR_Y LIKE PCHDY-ZTR_Y
RADIOBUTTON GROUP $ZTR.
SELECTION-SCREEN COMMENT 4(17) $TX$ZTRY FOR FIELD PCHZTR_Y
MODIF ID $ZT.
SELECTION-SCREEN POSITION 23.
PARAMETERS : PCHZTR_F LIKE PCHDY-ZTR_F
RADIOBUTTON GROUP $ZTR.
SELECTION-SCREEN COMMENT 26(17) $TX$ZTRF FOR FIELD PCHZTR_F
MODIF ID $ZT.
SELECTION-SCREEN PUSHBUTTON 49(30) $PS$ZTRZ
USER-COMMAND $ZTZ MODIF ID $Z2.
SELECTION-SCREEN END OF LINE.
Objecttime
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(30) $PA$OBEG FOR FIELD PCHOBEG
MODIF ID $ZO.
SELECTION-SCREEN POSITION POS_LOW.
PARAMETERS:
PCHOBEG LIKE PCHDY-OBEG MODIF ID $ZO.
SELECTION-SCREEN COMMENT 45(5) $PA$OEND FOR FIELD PCHOEND
MODIF ID $ZE.
PARAMETERS:
PCHOEND LIKE PCHDY-OEND MODIF ID $ZE.
SELECTION-SCREEN PUSHBUTTON 63(16) $PS$PZTR
USER-COMMAND $ZTR MODIF ID $ZR.
SELECTION-SCREEN END OF LINE.
pchtimed
PARAMETERS :
PCHTIMED LIKE PCHDY-TIMED NO-DISPLAY.
END-OF-DEFINITION.
DEFINE RHX-INT-RADIO-DATA.
DATA : $TIMED_FIRST_PBO VALUE '1'.
TABLES : SSCRFIELDS, T77MT.
DATA : BEGIN OF $PCH_TEXTPOOL OCCURS 1.
INCLUDE STRUCTURE TEXTPOOL.
DATA : END OF $PCH_TEXTPOOL.
DATA : $PCH_TEXTPOOL_LINES TYPE I.
DATA : BEGIN OF $PCH_TEXTPOOL_KEY,
ID LIKE TEXTPOOL-ID,
KEY LIKE TEXTPOOL-KEY,
END OF $PCH_TEXTPOOL_KEY.
DATA : $KEYDATE$(1) TYPE N.
DATA : $DAYNUM$ LIKE SCAL-INDICATOR.
DATA : $TXTID$ LIKE T77MT-TXTID.
END-OF-DEFINITION. -
Enhancement Error at Selection Screen of standard program
Hi, can implicit enhancement be added to selection screen? When I tried to add a parameter after first selection-screen block or inside the block, always get error message during activation. The standard program i try to enhance is report LSO_RHXBUCH0 (Bookings per Participant). I am sure there is no syntax error on the codes I wrote. The error message is "Between "DATA BEGIN OF' name" and "DATA END OF name" only data statements are allowed.
Here the code, see enhancement: ZIMP_BOOKING_PARTICIPANT
-v-Block 1-----v-
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
PARAMETERS pchplvar LIKE pchdy-plvar NO-DISPLAY. "Planvariante
PARAMETERS pchotype LIKE pchdy-otype NO-DISPLAY. "Objekttyp
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS ptyp1 LIKE hrvpv-ptyp1 RADIOBUTTON GROUP xxx. "Objekttyp1
SELECTION-SCREEN COMMENT 4(22) ptxt1 FOR FIELD ptyp1.
SELECTION-SCREEN POSITION 27.
PARAMETERS ptyp2 LIKE hrvpv-ptyp2 RADIOBUTTON GROUP xxx. "Objekttyp2
SELECTION-SCREEN COMMENT 30(22) ptxt2 FOR FIELD ptyp2.
SELECTION-SCREEN POSITION 53.
PARAMETERS ptyp3 LIKE hrvpv-ptyp3 RADIOBUTTON GROUP xxx. "Objekttyp3
SELECTION-SCREEN COMMENT 56(22) ptxt3 FOR FIELD ptyp3.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS ptyp4 LIKE hrvpv-ptyp4 RADIOBUTTON GROUP xxx. "Objekttyp4
SELECTION-SCREEN COMMENT 4(22) ptxt4 FOR FIELD ptyp4.
SELECTION-SCREEN POSITION 27.
PARAMETERS ptyp5 LIKE hrvpv-ptyp5 RADIOBUTTON GROUP xxx. "Objekttyp5
SELECTION-SCREEN COMMENT 30(22) ptxt5 FOR FIELD ptyp5.
SELECTION-SCREEN POSITION 53.
PARAMETERS ptyp6 LIKE hrvpv-ptyp6 RADIOBUTTON GROUP xxx. "Objekttyp6
SELECTION-SCREEN COMMENT 56(20) ptxt6 FOR FIELD ptyp6.
SELECTION-SCREEN PUSHBUTTON 76(4) morepart USER-COMMAND more.
SELECTION-SCREEN END OF LINE.
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(3 ) Struct. %F4_MACO_TAB, End S
rhx-f4-objid-data.
SELECT-OPTIONS pchobjid FOR objec-realo NO INTERVALS. "Teilnehmer
PARAMETERS pchseark LIKE pchdy-seark. "Suchbegriff
PARAMETERS pchostat LIKE pchdy-ostat NO-DISPLAY. "Objektstatus
PARAMETERS pchistat LIKE pchdy-istat NO-DISPLAY. "Datenstatus
Strukturparameter
PARAMETERS pchwegid LIKE pchdy-wegid NO-DISPLAY.
PARAMETERS pchsvect LIKE pchdy-svect NO-DISPLAY.
PARAMETERS pchactiv LIKE pchdy-activ NO-DISPLAY.
PARAMETERS pchdepth LIKE pchdy-depth NO-DISPLAY.
PARAMETERS pchdymod LIKE t77s3-dymod NO-DISPLAY. "Dynp.variation
SELECTION-SCREEN END OF BLOCK b1.
--Block 1------
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(1 ) Struct. $PCH_TEXTPOOL_KEY, End S
$$-Start: (1 )----
$$
ENHANCEMENT 1 ZIMP_BOOKING_PARTICIPANT. "active version
*SELECTION-SCREEN BEGIN OF BLOCK bb2.
PARAMETERS tpchdepth LIKE pchdy-depth NO-DISPLAY.
*SELECTION-SCREEN END OF BLOCK bb2.
ENDENHANCEMENT.
$$-End: (1 )----
$$
rhx-obeg-radios-define.
-Block 2 (Aufbereitungsoption)-----
*SELECTION-SCREEN BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-RB3.
PARAMETER : tc LIKE pp0j-tc_disp NO-DISPLAY.
*SELECTION-SCREEN END OF BLOCK B3.Hi, can implicit enhancement be added to selection screen? When I tried to add a parameter after first selection-screen block or inside the block, always get error message during activation. The standard program i try to enhance is report LSO_RHXBUCH0 (Bookings per Participant). I am sure there is no syntax error on the codes I wrote. The error message is "Between "DATA BEGIN OF' name" and "DATA END OF name" only data statements are allowed.
Here the code, see enhancement: ZIMP_BOOKING_PARTICIPANT
-v-Block 1-----v-
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
PARAMETERS pchplvar LIKE pchdy-plvar NO-DISPLAY. "Planvariante
PARAMETERS pchotype LIKE pchdy-otype NO-DISPLAY. "Objekttyp
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS ptyp1 LIKE hrvpv-ptyp1 RADIOBUTTON GROUP xxx. "Objekttyp1
SELECTION-SCREEN COMMENT 4(22) ptxt1 FOR FIELD ptyp1.
SELECTION-SCREEN POSITION 27.
PARAMETERS ptyp2 LIKE hrvpv-ptyp2 RADIOBUTTON GROUP xxx. "Objekttyp2
SELECTION-SCREEN COMMENT 30(22) ptxt2 FOR FIELD ptyp2.
SELECTION-SCREEN POSITION 53.
PARAMETERS ptyp3 LIKE hrvpv-ptyp3 RADIOBUTTON GROUP xxx. "Objekttyp3
SELECTION-SCREEN COMMENT 56(22) ptxt3 FOR FIELD ptyp3.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS ptyp4 LIKE hrvpv-ptyp4 RADIOBUTTON GROUP xxx. "Objekttyp4
SELECTION-SCREEN COMMENT 4(22) ptxt4 FOR FIELD ptyp4.
SELECTION-SCREEN POSITION 27.
PARAMETERS ptyp5 LIKE hrvpv-ptyp5 RADIOBUTTON GROUP xxx. "Objekttyp5
SELECTION-SCREEN COMMENT 30(22) ptxt5 FOR FIELD ptyp5.
SELECTION-SCREEN POSITION 53.
PARAMETERS ptyp6 LIKE hrvpv-ptyp6 RADIOBUTTON GROUP xxx. "Objekttyp6
SELECTION-SCREEN COMMENT 56(20) ptxt6 FOR FIELD ptyp6.
SELECTION-SCREEN PUSHBUTTON 76(4) morepart USER-COMMAND more.
SELECTION-SCREEN END OF LINE.
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(3 ) Struct. %F4_MACO_TAB, End S
rhx-f4-objid-data.
SELECT-OPTIONS pchobjid FOR objec-realo NO INTERVALS. "Teilnehmer
PARAMETERS pchseark LIKE pchdy-seark. "Suchbegriff
PARAMETERS pchostat LIKE pchdy-ostat NO-DISPLAY. "Objektstatus
PARAMETERS pchistat LIKE pchdy-istat NO-DISPLAY. "Datenstatus
Strukturparameter
PARAMETERS pchwegid LIKE pchdy-wegid NO-DISPLAY.
PARAMETERS pchsvect LIKE pchdy-svect NO-DISPLAY.
PARAMETERS pchactiv LIKE pchdy-activ NO-DISPLAY.
PARAMETERS pchdepth LIKE pchdy-depth NO-DISPLAY.
PARAMETERS pchdymod LIKE t77s3-dymod NO-DISPLAY. "Dynp.variation
SELECTION-SCREEN END OF BLOCK b1.
--Block 1------
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(1 ) Struct. $PCH_TEXTPOOL_KEY, End S
$$-Start: (1 )----
$$
ENHANCEMENT 1 ZIMP_BOOKING_PARTICIPANT. "active version
*SELECTION-SCREEN BEGIN OF BLOCK bb2.
PARAMETERS tpchdepth LIKE pchdy-depth NO-DISPLAY.
*SELECTION-SCREEN END OF BLOCK bb2.
ENDENHANCEMENT.
$$-End: (1 )----
$$
rhx-obeg-radios-define.
-Block 2 (Aufbereitungsoption)-----
*SELECTION-SCREEN BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-RB3.
PARAMETER : tc LIKE pp0j-tc_disp NO-DISPLAY.
*SELECTION-SCREEN END OF BLOCK B3. -
Hi guys,
today i am facing a really weird problem. We've written a simple report with a selection-screen. At first everything looks fine. We've transported the request to all other systems (Quality Assurance & Production), where it looked fine too.
After that we've included some more code (text-symbols, frames) and transported it to the other systems. But now our problems occurs: In Development system everything is okay. In Quality Assurance and Production systems the selection-screen doesn't show all frames and text-symbols. The weird thing is that the source code is identical in all systems and that even the debugger shows the right values of the text-symbols.
Is there any buffer or system parameter which can course such wrong behavior?
Regards
Mark-AndréHi,
the selection screen is coded without a number. Here's the code:
SELECTION-SCREEN BEGIN OF BLOCK selection WITH FRAME TITLE text-t11.
SELECTION-SCREEN BEGIN OF BLOCK persdata WITH FRAME TITLE text-t01.
SELECT-OPTIONS so_pernr FOR ls_pa0017-pernr.
SELECTION-SCREEN END OF BLOCK persdata.
SELECTION-SCREEN END OF BLOCK selection.
SELECTION-SCREEN BEGIN OF BLOCK input WITH FRAME TITLE text-t12.
SELECTION-SCREEN BEGIN OF BLOCK zeitraum WITH FRAME TITLE text-t02.
PARAMETERS pa_begda TYPE p0017-begda DEFAULT sy-datum OBLIGATORY.
PARAMETERS pa_endda TYPE p0017-endda DEFAULT '99991231' OBLIGATORY.
SELECTION-SCREEN END OF BLOCK zeitraum.
SELECTION-SCREEN BEGIN OF BLOCK gruppierungen WITH FRAME TITLE text-t03.
PARAMETERS pa_spebe TYPE p0017-spebe OBLIGATORY DEFAULT '1'.
SELECTION-SCREEN END OF BLOCK gruppierungen.
SELECTION-SCREEN BEGIN OF BLOCK zuordnungen WITH FRAME TITLE text-t05.
PARAMETERS pa_bukrs TYPE p0017-bukrs MATCHCODE OBJECT c_t001 DEFAULT '2000'.
PARAMETERS pa_gsber TYPE p0017-gsber MATCHCODE OBJECT h_tgsb DEFAULT '0001'.
SELECTION-SCREEN END OF BLOCK zuordnungen.
SELECTION-SCREEN END OF BLOCK input.
SELECTION-SCREEN BEGIN OF BLOCK attributes WITH FRAME TITLE text-t13.
PARAMETERS pa_test AS CHECKBOX DEFAULT 'x'.
SELECTION-SCREEN END OF BLOCK attributes.
Regards
Mark-André
Maybe you are looking for
-
I am trying to produce a Imovie. I have accomplished the audio & the iphoto slideshow but I am trying to produce a "THEME" and a message at the top of the "Theme" area reads "NO THEMES FOUND." Can someone help me out and tell me what to do? Thanks
-
Tracking of Inventory in Marble Industry
Dear Colleagues, We have a division that produces Marbles Slabs & tiles mostly using MTS scenario. There are special MTO Orders as well. The production process is to get a marble block from the mine (quarry) and to use it for producing slabs / tiles.
-
HP Photosmart C5580 has missing text on printed page
My printer stopped printing a couple of months ago, we kept getting a message about the print spooler. Finally I removed the printer from my computer and then reinstalled the newest driver from the website. The printer started working again..Now when
-
"Getting Started" page for Firefox 16.0.1 has a video window that plays audio only. Firefox test page for plugins shows RealPlayer, Flash, Flip4Mac and Java are up to date. What other video plugins are required. I'm currently using Firefox 10.0.2 and
-
Process Capability Histogram in BO XI 3 ?
Post Author: satwar CA Forum: WebIntelligence Reporting Does anyone have XI release 3 yet ? If so I'm interested in SPC control charts and Process Capability histograms. I am currently using Release 2, which had SPC charts but no Capability histogr