Error for Selection screen
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
Dan
Hi 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.
Similar Messages
-
Code for selection screen, urgent
Hi Everyone,
I need code for selection screen.
I have four radio buttons, p1, p2,p3,p4(assume)
If I select second radiobutton, remaining three radiobuttons should be in disable mode and also the information under them should be in disable mode. Give the coding details. Thanks in advance. U will be rewarded.
Regards,
NagarajuHi,
REPORT ZTEST222 .
PARAMETERS : p_add RADIOBUTTON GROUP radi
USER-COMMAND radio MODIF ID MOD,
p_disp RADIOBUTTON GROUP radi DEFAULT 'X' MODIF ID pod,
p_chng RADIOBUTTON GROUP radi MODIF ID rad,
p_er_log RADIOBUTTON GROUP radi MODIF ID cod.
SELECT-OPTIONS : s_idn FOR vendor MODIF ID mod,
s_pcode FOR ws_c_pcode MODIF ID pod.
PARAMETERS: p_plant LIKE zaw_pol_plan-plant MODIF ID rad,
p_zzvend LIKE zaw_pol_plan-zzvendor MODIF ID cod.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF p_add EQ 'X'.
IF screen-group1 EQ 'MOD'.
screen-active = 1.
MODIFY SCREEN.
ELSE.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
IF p_disp EQ 'X'.
IF screen-group1 EQ 'POD'.
screen-active = 1.
MODIFY SCREEN.
ELSE.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
IF p_chng EQ 'X'.
IF screen-group1 EQ 'RAD'.
screen-active = 1.
MODIFY SCREEN.
ELSE.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
IF p_er_log EQ 'X'.
IF screen-group1 EQ 'COD'.
screen-active = 1.
MODIFY SCREEN.
ELSE.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
Pls. reward if useful
ENDLOOP.
Pls. reward if useful -
How to write HTML code in Web Template for selection screen
Hello All,
Is it possible to write a html code in the web template html tag so that the output of the html is displayed in the selection screen, i.e before the execution of query.
I know that we can write html, which will be displayed once the query has been executed, but can it be done for selection screen.
if so, how.
My exact requirement is : to display a 2-3 lines of text in the selection criteria screen - sort of, various options available to user for entering values in the selection screen. I was thinking of putting this text using HTML code in the selection screen.
Regards,
Nagendra.Hi Erick,
No, unfortunately nobody replied to this thread. So i assumed it is not possible to modify the selection screen thru html code.
Btw, as my requirement was to provide user with multiple answers on the selection screen. I did the validations on customer exit and popped an errror dialog when applicable.
Regards,
Nagendra. -
Change default value (200) of Max No of Hits for selection screen in WAD
How do i change the default value of Maximum Number of Hits from 200 to 1000 for selection screen's find box in Web Application Designer .
Thanks in Advance
Points will be surely RewardedDear Hammad,
Please refer to the wiki created by me,
http://wiki.sdn.sap.com/wiki/display/BI/Information+on+the+user+setting+for+the+selector+dialog
Regards,
Arvind -
How to set default variant for selection screen
Hi,
I want to make one variant as default for selection screen for one user.
For eg., take COOIS. For the selection screen, i have 3 variants. But i want one variant to be default. Thsi is not for all users. Thsi is for particular user.
I am not seeing any way to do this. please help me..
Thanks
SriniHi,
If you are using Z program then you can ask your developer to get Variant name Runtime from Parameter ID.
This means you decide a Parameter ID name : ZVAR in your Z program and ask your developer to load variant each time your Z program loads.
Now, second step will be using SU01 transaction you can set value of ZVAR in Parameters tab for the user. This value will be the variant which you created for this user.
This will solve your problem and you can make n number of variants and assign it to different users.
Regards,
Arpit -
Dinamic variant for selection screen
Hi,
I got a requirement where i need a Dynamic variant for selection screen .There is a date field in the selection screen i want to create a variant such that when i choose it,it should give the current day date in selection screen.can anyone help me.
Regards,
RaviHi,
Using Customer Exit code you can give it.
Create a Customer Exit Variable and write simple code in CMOD. See the usefull Exit code for reports in the following url.
https://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
WHEN 'ZV_DAT'.
IF i_step = 1 .
CLEAR l_s_range.
l_s_range-low = sy-datum.
l_s_range-opt = 'EQ'.
l_s_range-sign = 'I'.
APPEND l_s_range TO e_t_range.
ENDIF.
Thanks
Reddy -
Transaction Variant for Selection Screen
Hi, experts!
A question regarding transaction variants: Is it possible to create screen variants and transaction variants via SHD0 for selection screens? I' ve created a customer report with one selection screen including parameters and select options and would like to provide the users with a variant transaction for this.
Utilizing the "Save as variant" option from the selection screen itself works out perfectly, but this variant cannot be transported. And trying to create a transaction variant via SHD0 fails because values entered in the selection screen parameters and select options help screens are not saved and presented.
Any hints are more than welcome!
Regards,
ThomasYou wrote
Utilizing the "Save as variant" option from the selection screen itself works out perfectly, but this variant cannot be transported.
But, give the variant a name beginning with "CUS&" and this variant will be transported. Variant beginning with "CUS&" or "SAP&" are so-called "system variant" and are transported automatically. You can then copy the transaction code and use this new variant in the new transaction.
Regards,
Raymond -
Global Variable for selection screen variable
Hi All,
We need to create a report where calendar day has to be included in the selection screen.Later after executing the report we should be able to retrieve the selection screen input for calendar day and modify it and use the modified one for other calculations.Can somebody help me out in finding the global variable in the variable exit where we find all the inputs for selection screen variables....
Regards,
Shravanishravani,
I_vnam will store the varaible names...if you have varaible in the query...
please use this code for ur help...
DATA: ww_der_date LIKE sy-datum,
wzdate LIKE sy-datum,
wzact_gi_dte TYPE /bi0/oiact_gi_dte.
wzact_gi_dte = sy-datum.
IF i_step = 2.
READ TABLE i_t_var_range INTO wa_i_t_var_range WITH KEY vnam =
'ZNODAYS'.
ww_der_date = sy-datum - wa_i_t_var_range-low.
CLEAR wa_i_t_var_range.
IF i_vnam = 'ZVAGIDCUSTEXIT'.
CLEAR l_s_range.
l_s_range-low = ww_der_date .
l_s_range-high = wzact_gi_dte.
l_s_range-sign = 'I'.
l_s_range-opt = 'BT'.
APPEND l_s_range TO e_t_range.
CLEAR l_s_range.
ENDIF.
ENDIF.
in this case user will enter no.of days in ZNODAYS and that being is used in calculation and used in the next varaible.... -
Default value for selection screen field
Hi all,
I am using LDB PNPCE. I want to give default value for field Personnel area on selection screen.
How can I do it?
Thanks
RahulHi Rahul,
In the INITIALIZATION event we can set the default values for selection screen fields.
INITIALIZATION.
loop at screen.
if screen-name = 'S_MATNR-LOW'.
CLEAR S_MATNR.
s_matnr-low = '1234'.
s_matnr-option = 'EQ'.
s_matnr-sign = 'I'.
append s_matnr.
CLEAR S_MATNR.
s_matnr-high = '5678'.
s_matnr-option = 'EQ'.
s_matnr-sign = 'I'.
append s_matnr
clear s_matnr.
endif.
endloop.
Hope it helps.
Mark if useful
Regards,
Saumya -
How to create variant for selection screen which is in subscreen
Hi,
How to create variant for selection screen which is in subscreen in a module pool program?
it is very urgent.
Thanks in advance.Hi,
You can create the 'Parameter Transaction' so that whenever you run the particular transaction it will run with the initial value given when the Tcode was created and hence you can skip the initial screen of the module pool program.
To create Parameter transaction from SE93 you have to choose the last option i.e Parameter Transaction.
Regards
Sudheer -
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 -
How to put Mandatory option for selection screen fields in ABAP Queries
Hi Experts
Can anyone tell me how to put mandatory option for the selection screen fields in ABAP Queries.
Manually I had written code in the At Selection Screen option in infoset to display error message if that field is blank.
But I need to display the selection fields with the tick mark (obligatory mark).
How to do this?
Appropriate answers will be awardedHi
For parameter option
parameters : p_kunnr type kna1-kunnr obligatory.
For select option
select-options: s_date for vbak-erdat obligatory.
Plz rewards points ,
Regards ,
Ganesh. -
ME05: default varaint for selection screen
Hello All,
I am trying to display a variant as a default variant for the selection screen in ME05. To achieve that, I went into SE93 and tried to give a variant name in Start with variant field and tried to save it. Then I am getting the error "No system variant chosen for nonlocal object". The variant was created by the user and is out there.
I also tried by creating the Ztransaction code with the same program name and the with the same variant name, but I got the same error "No system variant chosen for nonlocal object".
Any idea why this is causing the error?
Thanks for the great help,
Sobhan.When i click on check button in SE93, i get the same message as warning. If it's warning message in your case, just hit enter and you should be able to save it.
Regards
Sridhar -
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.
Maybe you are looking for
-
Create an XML File in Application server
Hello, I have a requirement to create an XML File as Local File and as server File. For the local File it works fine and i got a Local XML File. My problem is for the Server File.I found a solution in internet to convert in binary.But i don't get in
-
Mac user OS 10.6.8 Firefox 6.0.2. Click the Firefox icon in dock, program does not open new window. Type cmd+N to open new window, cmd+T to open new tab or cmd+L to enter URL, nothing happens. What causes this, and what can be done?
-
Using screen capture, I cannot move the brackets to cover more than a small strip of screen
I wish to download a video that I can only view on line. 'Download Helper' does not operate. 'Screen capture'' seemed to be the answer. I press the red button and two flashing brackets appear. I cannot move them so I only get a very limited amount of
-
Can anybody please tell me what this it means?
i was using my computer mac mini late 2009 normally and suddenly an error crashed my computer. here is a report i have no idea what to do and if its dangerous or not. please help. Anonymous UUID: 345C6545-03B0-0B39-3470-16342F8E1AD5 Thu Apr 23 15:1
-
ANN: Conditional Comments Snippets Extension
I used to be a regular at these forums. Years back I migrated from Windows to Linux and thus ended up migrating from Dreamweaver to Geany. At a recent contract job I was forced to use Windows and Dreamweaver out of which was born this utility extensi