Nav. Attribute in the Selection Screen of the Report
Hi Experts,
I'm maintaining a master data (Emp. No) with the nav. attributes (Emp.Name, Address, City, State, Zone)
I want to view the detail report based on Zone.
This zone I want to bring selection screen.
I'm unable to create a selection variable for Zone.
Can anyone please tell me whether it is possible. If yes please advice me.
Thanks
Hi All,
The data provider is Infoset. And all the attributes are coming under the Navigation Folder once I drop the Emp.No in the dimension.
And in the Query Designer all the attributes are coming under the Emp. No. but when i create a variable, it is only possible for Emp.No. but not possible for its attributes.
If I can be able to create, can anyone please share me any documents to create the variable for the Zone.
Thanks
Similar Messages
-
Error when generating the selection screen '0005'of report 'XYZ'
Hi All,
We copied std SAP pgm and were trying to rename the one of the screen but couldnt. When I tried to transport it to test system it went in to dump giving the error Error when generating the selection screen '0005'of report 'XYZ' .
Please advise me on how to remove this dump.
Regards
SaurabhIf you look at the selection screen, you'll probably find that there are overlapping elements (text elements over select-options) or something like that.
Rob -
Passing values to a dynamic selection screen via a report
Hi,
I have the following problem and need to seek your expertise urgently.
In my program, I need to call another report by passing in parameters to the selection screen of other report. However, I could not pass values into a dynamic selection screen. I tried to use submit (report) with free selection but do not know how it works.
Currently, I tried calling the function RS_REFRESH_FROM_DYNAMICAL_SEL and FREE_SELECTIONS_RANGE_2_EX. Using the object the first function has returned to me, I tried to append values such as fieldname etc to it. However, I realised the field names of a dynamic selection screen keeps changing. So I would not know how to pass a particular value to a selection field.
Appreciate any help given.
Thanks,
CKHello CK,
Are you using logical database in your selection screen program attributes? If it is, look at include file DBxxxSEL for parameter named xxxDYNSE where xxx = logical database. Debug the program that has that dynamic selection, and look at field xxxDYNSE. This should give you a hint on how to populate the parameter when you submit the program. -
Difficulty in adding new parameter in selection screen of GR55 report
Hi Gurus,
I have a requirement to add an extra field in Cost center:Act/Plan/Comm CC Cur report.This is otherwise a Z report in report painter with 0% code (T-code : GR55-> Report group->Report).But,when we go to technical information of this report,it has four standard sap programs,which contains code for this selection screen.It does not even have a modification scope.
Selection screen of this report contains following parameters:
Selection values:
Controlling Ar
Fiscal Year
From Period
To Period
Plan Version
Selection Groups:
Cost Center Group
Or value(s)
Cost Element Group
Or value(s)
My requirement is to add one more parameter : Purchase oeder in new block:
Is there any way to achieve it.
Note: Copying the standard progs into custom prog is not working,i already tried that.
Please let me know your suggestions,if any one of you came across such requirement before.it is very impoertant for me.
Thanks in advance,
MeenakshiHi meenakshi239,
you can always use implicit enhancement spots.
Regards,
Clemens -
Selection Screen for crystal report ?
Hi to all,
Is it possible to create selection screen using Crystal report designer alone ?
I came to know that we can give selection parameteres using SELECT EXPERT option in desginer.
Can we create selection screen for user input like we have in abab (selection screen) ?.
Is it possible to check authorization using Crystal report designer ?
If anyone knows anything .... remotely connected with the question I asked please reply.
Waiting for reply.
Regards,
Surya.Surya,
To do what you are wanting, you will want to do the following:
1) Create parameters. Open the Field Explorer > right click Parameter Fields > fill in the necessary fields o create the desired parameter.
2) Add the parameter to the Select Expert.
2a) If you are using a SQL Command to generate your data set you will need to add the parameter name to the Parameter List of the Command and add it the selection criteria of the SQL statement.
Something like this:
WHERE f.FieldName = {?ParameterName}
HTH,
Jason -
Getting two selection screen in one report
Hello Friends,
I am Making report, In my report on first screen i have given two pushbutton, like this :
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.
PARAMETERS : p1_but RADIOBUTTON GROUP g1,
p2_but RADIOBUTTON GROUP g1.
SELECTION-SCREEN END OF BLOCK b2.
now i want when user click on any one pushbutton it shows another selection screen, whose select options are:
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-000.
SELECT-OPTIONS: so_erdat FOR lf_date,
so_vbeln FOR lf_vbeln MATCHCODE OBJECT zvbeln..
SELECTION-SCREEN END OF BLOCK b1.
Please guide me can i use two selection screen in one report?, If yes then how can I use? Please revert back me as soon as possible.........Hi,
you can achieve it only by using two USER_DEFINE_SELECTION SCREEN.
For detail check the link
http://help.sap.com/saphelp_nw04/helpdata/EN/9f/dba83d35c111d1829f0000e829fbfe/content.htm
Regards,
anirban -
How to force selection screen in WAD Report
Hi Gurus,
How do we force a variable selection screen in WAD Report. We are in SP 10.
Thanks
SyedHi Karthik,
Iam not sure for some reason, when I select web_template and click on Web Parameters, there nothing available below Behaviour section. However when I create a new Analysis Item and see its properties, the Behaviour section shows only Allow Navigation & Only Hierarchy options.
Should I reinstall my front end. We are in SP10.
Appreciate your response. -
2 selection screen in one report.
hi,
i need to have 2 selection screen in one report....based on the input of 1st selection screen i need to display another selection screen. The 1st selection screen consist of three radio buttons....selecting one of them should allow me to further input data....
i tried user command, modif id...but the problem is the 2nd selection screen is also displayed initially and den after clickin d radio button i get only the 2nd selection screen...
i cannot use module pool programming coz of user requirement.
could anybody help with the code??Hi
Please this code ..
SELECTION-SCREEN: BEGIN OF BLOCK c1 WITH FRAME TITLE text-001.
Upload table
PARAMETER: p_upload TYPE char01 RADIOBUTTON GROUP rsel
DEFAULT 'X' USER-COMMAND ucomm,
Edit Tables
p_edt_tb TYPE char01 RADIOBUTTON GROUP rsel.
SELECTION-SCREEN: END OF BLOCK c1.
Upload table
SELECTION-SCREEN: BEGIN OF BLOCK c2 WITH FRAME TITLE text-002.
PARAMETERS: p_tab TYPE char16 MODIF ID m1,
p_comp TYPE char18 MODIF ID m1,
p_plant TYPE werks_d MODIF ID m1,
p_excel TYPE localfile MODIF ID m1.
SELECTION-SCREEN: END OF BLOCK c2.
Edit Table
SELECTION-SCREEN: BEGIN OF BLOCK c3 WITH FRAME TITLE text-003.
Replace component
PARAMETER: p_rp_cmp TYPE char01 RADIOBUTTON GROUP edtb
DEFAULT 'X' USER-COMMAND ucomm MODIF ID m2,
Edit Lines
p_edt_ln TYPE char01 RADIOBUTTON GROUP edtb MODIF ID m2.
SELECTION-SCREEN: END OF BLOCK c3.
SELECTION-SCREEN: BEGIN OF BLOCK c4 WITH FRAME TITLE text-004.
Replace component
PARAMETERS: p_tab_r TYPE char16 MODIF ID m3, "Assembly Table Name
p_comp_r TYPE char18 MODIF ID m3. "Upload Table Name
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(31) FOR FIELD p_fcomp MODIF ID m3.
PARAMETER: p_fcomp TYPE zpart MODIF ID m3.
SELECTION-SCREEN COMMENT 62(20) FOR FIELD p_tcomp MODIF ID m3.
PARAMETER p_tcomp TYPE zpart MODIF ID m3.
SELECTION-SCREEN END OF LINE.
Edit Lines
PARAMETERS: p_fexcel TYPE localfile MODIF ID m4,
p_texcel TYPE localfile MODIF ID m4.
SELECTION-SCREEN: END OF BLOCK c4.
SELECTION-SCREEN: BEGIN OF BLOCK c5 WITH FRAME TITLE text-005.
validate data
PARAMETERS: p_valid AS CHECKBOX DEFAULT space
USER-COMMAND ucomm MODIF ID m5,
Background Processing
p_back AS CHECKBOX DEFAULT space
USER-COMMAND ucomm.
SELECTION-SCREEN: END OF BLOCK c5.
AT SELECTION-SCREEN OUTPUT.
Design selection parameters dynamically
PERFORM sub_set_file_param.
FORM sub_set_file_param .
LOOP AT SCREEN.
If Upload is check
IF NOT p_upload IS INITIAL.
IF screen-group1 = 'M2' OR
screen-group1 = 'M3' OR
screen-group1 = 'M4'.
screen-active = 0.
ENDIF.
ELSE.
If Edit Tables is check
IF screen-group1 = 'M1'.
screen-active = 0.
ENDIF.
ENDIF.
If Replace Component is check
IF p_rp_cmp IS NOT INITIAL.
IF screen-group1 = 'M4' OR
screen-group1 = 'M5'.
screen-active = 0.
ENDIF.
ELSE.
If Edit Lines is check
IF screen-group1 = 'M3'.
screen-active = 0.
ENDIF.
ENDIF.
Modify the screen
MODIFY SCREEN.
ENDLOOP.
ENDFORM. -
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 write text on the selection screen of a report
Hi all,
I need to write some user defined text on the selection screen of an ALV GRID Report.
Please suggest me how can i do this
Thanks
Ajay.SELECTION-SCREEN BEGIN OF LINE .
SELECTION-SCREEN COMMENT 12(31) text-024.<-----Goto text elements and add text.
PARAMETERS:P_FILEN LIKE RLGRAP-FILENAME .
SELECTION-SCREEN END OF LINE -
Passing the values from one selection screen to another report
Hi all,
This is my requirement...
I need to hav a selection screen with various input parameter along with 3 radio buttons...
If i enter the values and select say first radiobutton the corresponding called program needs to be executed .
NOTE :
1)The called program selection screen needs to be skipped
2) the values entered in the calling program needs to be passed to the called program and the output of the called program needs to be displayed.
3)the selection screen is the same for both calling and called program
Can anyone plz help in this regard?
Regards,
Gowri ShankarHi...
Use the statement
<b>SUBMIT zps_called_report WITH SELECTION-TABLE seltab.</b>
see the following link....
<b>http://help.sap.com/saphelp_nw04s/helpdata/en/9f/dba51a35c111d1829f0000e829fbfe/frameset.htm</b>
Hope it helps you...
Let me know if u have any more doubt...
Reward points if useful......
Suresh....... -
Error when generating the selection screen "1000" for Report ztest
Hi Experts,
I am getting this strange error while trying to activate my report. I simply copy paste report from my other system to new system it was working fine there. I also created all include program etc.
While I am trying to create "Selection-text" it is giving message that "Program contain some serious syntax error" while checking syntax saying that "Program is syntactically right".
Any idea how to solve this???
Regards,
GouravHere is the code::::
SELECTION-SCREEN BEGIN OF BLOCK select WITH FRAME TITLE text-sl1.
Component
SELECT-OPTIONS:
s_xcide FOR gw_zsmmess_compo-xcide
NO INTERVALS
MATCHCODE OBJECT zsm_xcide_oi.
SELECTION-SCREEN END OF BLOCK select.
SELECTION-SCREEN BEGIN OF BLOCK prcopt WITH FRAME TITLE text-sl2.
Default severity code
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(30) text-dsc.
SELECTION-SCREEN POSITION 33.
PARAMETERS: p_dfsevc LIKE gw_zsmglob_sever-sevco
OBLIGATORY
MATCHCODE OBJECT zsm_sevco
DEFAULT '3'.
SELECTION-SCREEN COMMENT 37(30) pt_sevtx.
SELECTION-SCREEN END OF LINE.
Minutes to wait before re-issuing alert
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(30) text-ria.
SELECTION-SCREEN POSITION 33.
PARAMETERS: p_aleexp(3) TYPE n
OBLIGATORY
DEFAULT '45'.
SELECTION-SCREEN COMMENT 37(10) text-min.
SELECTION-SCREEN END OF LINE.
Use component specific parameters Yes/No
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(30) text-cpu.
SELECTION-SCREEN POSITION 33.
PARAMETERS: p_usecsp RADIOBUTTON GROUP rg1 DEFAULT 'X'.
SELECTION-SCREEN COMMENT 35(10) text-rby FOR FIELD p_usecsp.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 33.
PARAMETERS: p_dnucsp RADIOBUTTON GROUP rg1.
SELECTION-SCREEN COMMENT 35(10) text-rbn FOR FIELD p_dnucsp.
SELECTION-SCREEN END OF LINE.
Create/update component specific parameters automatically
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(32) text-cpc.
SELECTION-SCREEN POSITION 33.
PARAMETERS: p_updcsp RADIOBUTTON GROUP rg2.
SELECTION-SCREEN COMMENT 35(10) text-rby FOR FIELD p_updcsp.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 33.
PARAMETERS: p_dnccsp RADIOBUTTON GROUP rg2 DEFAULT 'X'.
SELECTION-SCREEN COMMENT 35(10) text-rbn FOR FIELD p_dnccsp.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(30) text-afo.
SELECTION-SCREEN POSITION 33.
Fire one alert per component/error type combination
PARAMETERS: p_afrerr RADIOBUTTON GROUP rg3 DEFAULT 'X'.
SELECTION-SCREEN COMMENT 35(50) text-afe FOR FIELD p_afrerr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 33.
Fire one alert per component (= outbound XI interface)
PARAMETERS: p_afrcom RADIOBUTTON GROUP rg3.
SELECTION-SCREEN COMMENT 35(50) text-afc FOR FIELD p_afrcom.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 33.
Fire one alert per run
PARAMETERS: p_afrrun RADIOBUTTON GROUP rg3.
SELECTION-SCREEN COMMENT 35(50) text-afr FOR FIELD p_afrrun.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(30) text-sel.
SELECTION-SCREEN POSITION 33.
Select messages since last run
PARAMETERS: p_lstrun RADIOBUTTON GROUP rg4 DEFAULT 'X'.
SELECTION-SCREEN COMMENT 35(40) text-slr FOR FIELD p_lstrun.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 33.
Select messages in selected interval
PARAMETERS: p_mintvl RADIOBUTTON GROUP rg4.
SELECTION-SCREEN COMMENT 35(40) text-sin FOR FIELD p_mintvl.
SELECTION-SCREEN END OF LINE.
Message selection interval
SELECTION-SCREEN BEGIN OF BLOCK msgfilt WITH FRAME TITLE text-msf.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(10) text-icr.
SELECTION-SCREEN COMMENT 14(05) text-ifr.
SELECTION-SCREEN COMMENT 25(05) text-dat FOR FIELD p_stadat.
Select messages - start date
PARAMETERS: p_stadat TYPE d.
SELECTION-SCREEN COMMENT 46(05) text-tim FOR FIELD p_statim.
Select messages - start time
PARAMETERS: p_statim TYPE t.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 14(05) text-ito.
SELECTION-SCREEN COMMENT 25(05) text-dat FOR FIELD p_enddat.
Select messages - end date
PARAMETERS: p_enddat TYPE d DEFAULT sy-datum.
SELECTION-SCREEN COMMENT 46(05) text-tim FOR FIELD p_endtim.
Select messages - end time
PARAMETERS: p_endtim TYPE t DEFAULT sy-timlo.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK msgfilt.
SELECTION-SCREEN END OF BLOCK prcopt.
SELECTION-SCREEN BEGIN OF BLOCK testopt WITH FRAME TITLE text-tso.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(10) text-tst.
SELECTION-SCREEN POSITION 33.
List only, no updates
PARAMETERS: p_lstonl RADIOBUTTON GROUP rg5 DEFAULT 'X'.
SELECTION-SCREEN COMMENT 35(14) text-tsl FOR FIELD p_lstonl.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 33.
Execute updates
PARAMETERS: p_update RADIOBUTTON GROUP rg5.
SELECTION-SCREEN COMMENT 35(14) text-tsu FOR FIELD p_update.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK testopt.
*eject
INITIALIZATION. -
Parameter inactive in the selection screen of a report with logical datab.
I`m using a logical database in a report (PNP).
I need put as inactive some parameters of the selection screen. How can i do it ??? From customizing ???
ThanksHi,
Check this code..
" In screen loop You need to inactive the field.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-name CS 'PNPKOKRS' OR
screen-name CS 'PNPKOSTL' OR
screen-name CS 'PNPORGEH'.
screen-active = '0'.
screen-invisible = '1'.
MODIFY SCREEN.
CLEAR screen.
ENDIF.
ENDLOOP. -
Show the drop down list of variant on the selection screen in ALV reports
Hi,
i have a alv report when i execute this display will come and then i click display layout it save as a variant on the selection screen and when i go back to selection screen and press f4 on the display variant its show the drop down list of varient.
can u send me some code for this functionality...its very urgent.
thanks!
VipinHi,
try inserting this code apropietly in you program. (1 parameter + Initialization + At-selection-screen + 2 forms)
START HERE
PARAMETERS: pa_vari TYPE disvariant-variant.
INITIALIZATION.
g_repid = sy-repid.
CLEAR e_variant.
e_variant-report = sy-cprog.
e_variant-username = sy-uname.
CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
EXPORTING
i_save = 'A'
CHANGING
cs_variant = e_variant
EXCEPTIONS
not_found = 2.
IF sy-subrc = 0.
pa_vari = e_variant-variant.
ENDIF.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR pa_vari.
PERFORM alv_variant_f4 CHANGING pa_vari.
*& Form ALV_VARIANT_F4
FORM alv_variant_f4 CHANGING pa_vari.
DATA: l_exit(1) TYPE c.
CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
EXPORTING
is_variant = e_variant
i_tabname_header = 'ANYTHING'
i_save = 'A'
IMPORTING
e_exit = l_exit
es_variant = e_variant
EXCEPTIONS
not_found = 2.
IF sy-subrc = 2.
MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
IF l_exit = space.
pa_vari = e_variant-variant.
ENDIF.
ENDIF.
ENDFORM. " ALV_VARIANT_F4
END
Hope iy helps!
Alfonso -
Error when generating the selection screen "0100" of report "SAPMZMATMAS
How to over come this error
SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN.
*SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(6) TEXT-002 FOR FIELD P_STATUS.
PARAMETERS: P_STATUS(18) TYPE C." ZMATMAS-STATUS.
SELECTION-SCREEN COMMENT 24(8) TEXT-003 FOR FIELD S_MATNR.
SELECT-OPTIONS: S_MATNR FOR ZMAT-MATNR NO-EXTENSION.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF SCREEN 100 .
100 screen i am generating as selection screen
1100 is my main screen
please reply,
Thanks in Advance.
VamsiIf you look at the selection screen, you'll probably find that there are overlapping elements (text elements over select-options) or something like that.
Rob -
How to not display unnecessary attributes in variable selection screen?
Hello everybody,
I created a input variable referenced Calendar Year/Month(0CALMONTH) in my query. But as I select values for my variable when I execute the query, all the display attribute of 0CALMONTH displayed in the select screen, just like Calendar Year/Month Text, Calendar Year Key, Calendar month key, Number of Days Key, Number of Workdays Key...But I think just display Calendar Year/Month Text in the select screen is enough, how do I just display necessary attributes in the variable selection screen, not all the display attributes of 0CALMONTH?
Tks!Hi........
Check this link :
http://help.sap.com/saphelp_nw70/helpdata/EN/ac/789b3c4d4d8d15e10000000a114084/content.htm
If this helps you kindly assign some points.........
Regards,
Debjani.......
Maybe you are looking for
-
HP G6000 (G6062EA) WONT TURN ON.
Hi all, This laptop wont turn on at all. When its on battery the blue battery light is flashing as the battery is low and not charging and when you try to switch it on the battery light flashes 3 times and nothing else. When its plugged in with the b
-
Changing the file type as.....in FileDialog Box
hi i wanted some help in file Dialog box...... as soon as i click the browse button in my java program....a window opens which is the file dialog.... the option specified below is file type as .... i'm getting only 1 option i.e file type as - all fil
-
Jdbc connection in EJB using wsad 5.0
Hi, I want to develop a small application using Ejbs by using oracle 9i as D/b, wsad 5.0 as app server . The problem is i am not able to connect to oracle database in WSAD. What i am doing is i have installed Oracle 9i in my system and has given the
-
When I try to log into ITunes Store I get reject stating "could not connect to ITunes Store. Network connection was refused." I have checked out the technical support but nothing seems to work. Any other suggestions?
-
/etc/logadm.conf gets rewritten bug
I think I found a race condition in logadm that makes can corrupt the conf file. Firstly, let me say that any utility that expects to update a timestamp in a running conf file is asking for trouble. The utility should be "selfhealing" and the conf fi