Webi Report User selection screen
I need to create a selection screen with check box and radio button like custom selection screen. Whenever the report run, user must fill the information in selection screen and then report should show. How can i get custom selection screen?
Hi,
Create a "'Input Control" for user custom selection. Below is the link on further steps
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/9057beb9-2844-2e10-ff8f-c78ca3f87f7c&overridelayout=true
Thanks,
Jothi
Similar Messages
-
Prob in Submit Report via Selection screen.
Hi,
I have to submit a report via selection screen.
The report name is detemined at run time.
This i am able to handle easily as we can use SUBMIT (V_PROG)...
WHERE V_PROG contains the name of the report that i get at runtime...
Now the issue :::::::
I have to also populate a select-options on the called report on submit.
usually this is done by :
SUBMIT (V_PROG)
name of select-option in itab...
However in my case the name of the <name of select-option> is also detemined at runtime say PNPPERNR.
Now if i use any variable / field symbol for the name of the select - option (like for the called program), it does not work (the called report does not have the values i populate in ITAB for the particular select-option)
I have also tried Macro but cant find solution...
ANY IDEAS ??Hi Anuj,
When you are getting the report name in runtime, you can also get the report selection screen information during runtime.
Now how are you going to decide which values you will move to which selection screen variables of which report? If you have a way to determine this, then here is a program that works on that assumption.
REPORT ztest1 .
DATA: i_seltab TYPE TABLE OF rsparams WITH HEADER LINE,
i_selections_info TYPE TABLE OF selinfo WITH HEADER LINE.
DATA: v_report LIKE sy-repid,
v_matnr LIKE mara-matnr.
PARAMETERS: p_rep1 RADIOBUTTON GROUP rad DEFAULT 'X',
p_rep2 RADIOBUTTON GROUP rad.
SELECT-OPTIONS: s_matnr FOR v_matnr.
START-OF-SELECTION.
IF p_rep1 = 'X'.
*-- some criteria to determine the name of the report
v_report = 'ZTEST2'.
ELSE.
v_report = 'ZTEST4'.
ENDIF.
*-- get the parameters for the report
CALL FUNCTION 'RS_SELECTIONS_DESCRIPTION'
EXPORTING
report = v_report
TABLES
selections_info = i_selections_info
EXCEPTIONS
no_selections = 1
report_not_existent = 2
subroutine_pool = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
LOOP AT i_selections_info WHERE name = 'S_MATNR'.
*-- some criteria based on which, move the values from this program
* to the called program
CLEAR i_seltab.
i_seltab-selname = i_selections_info-name.
i_seltab-kind = i_selections_info-kind.
i_seltab-sign = 'I'.
i_seltab-option = 'EQ'.
i_seltab-low = s_matnr-low.
i_seltab-high = s_matnr-high.
APPEND i_seltab.
ENDLOOP.
IF NOT i_seltab[] IS INITIAL.
SUBMIT (v_report) VIA SELECTION-SCREEN
WITH SELECTION-TABLE i_seltab .
ENDIF.
If this works for you, please reward and close the post.
Regards,
Srinivas -
How to adjust mouse or trackpad parameters for the user selection screen?
This is not critical, but annoying. I can change the mouse or trackpad parameters by user, so anyone can use their own mouse or trackpad adjustment. However I can not locate how to change this parameters for the welcome or user selection screen. In my case I have two users, both of us use the trackpad with the one touch for click function, so no one press physically the trackpad for a click. However, as the default parameter is the touch function deactivated we have to actually click the trackpad in that exclusive screen.
Another example with mouse, normally we use the mouse with almost double of the default acceleration, but when in the user selection screen the mouse assumes default configuration and feels super SLOWWWWWWW.
Again, this is not critical, but would be very nice to be able to modify this parameters in the welcome screen.
Tyrone CarrionFor the login screen, you are not associated with a normal user, but the system defaults...try logging in to the Admn account and change the behavior there...those settings should then apply to the login screen.
-
Run alv report without selection screen in background
Hello Every body,
i programmed a ALV Report without selection screen, and i want to create a job for this alv report.
Any help?
Thank u.
Ouail.Hi Steve,
Can you tell me where i have to put your code?
this is my abap code:
START-OF-SELECTION.
p_filref = '\\SAPSERVER\f\SAFT\ivat\FI_Extract_1000_20140709_102346_910.XML'.
PERFORM copy_from_xml_to_itab TABLES it_ref_file
ref_xml_data
USING p_filref.
**Begin Extraction File
SUBMIT ZZ_FI_IVAT_EXTRACTOR
WITH p_bukrs EQ '1000'
WITH p_gjahr EQ '1998'
WITH filepath EQ '\\SAPSERVER\f\SAFT\iVAT_Extractie\'
WITH cldata eq space
AND RETURN.
DATA: FILE_TABLE TYPE TABLE OF SDOKPATH,
DIR_TABLE TYPE TABLE OF SDOKPATH.
CALL FUNCTION 'TMP_GUI_DIRECTORY_LIST_FILES'
EXPORTING
DIRECTORY = '\\SAPSERVER\f\SAFT\iVAT_Extractie\'
FILTER = '*.*'
TABLES
FILE_TABLE = FILE_TABLE
DIR_TABLE = DIR_TABLE
EXCEPTIONS
CNTL_ERROR = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
"get file name
LOOP AT FILE_TABLE INTO p_filref.
ENDLOOP.
CONCATENATE '\\SAPSERVER\f\SAFT\iVAT_Extractie\' p_filref INTO path.
PERFORM copy_from_xml_to_itab TABLES t_ext_file
ext_xml_data
USING path.
PERFORM fill_xml_tab_in .
perform build_fieldcatalog.
PERFORM compare_data_ref_ext.
PERFORM send_email.
perform display_alv_report.
PERFORM delete_extraction_file.
in the perform copy_from_xml_to_itab TABLES it_ref_file......, i use this code:
CREATE OBJECT gcl_xml.
*Upload XML File
CALL METHOD gcl_xml->import_from_file
EXPORTING
filename = p_filref
RECEIVING
retcode = gv_subrc.
IF gv_subrc = 0.
CALL METHOD gcl_xml->render_2_xstring
IMPORTING
retcode = gv_subrc
stream = gv_xml_string
size = gv_size.
IF gv_subrc = 0.
REFRESH gt_xml_data[].
* Convert XML to internal table
CALL FUNCTION 'SMUM_XML_PARSE'
EXPORTING
xml_input = gv_xml_string
TABLES
xml_table = gt_xml_data
return = gt_return.
ENDIF.
ENDIF. -
Call a report with selection screen as subscreen.
Hi all,
i need to Submit And Return a Report having some parameters and Select options, from a Function Module.
all i want that the Selection Scrren of Report should appeared as Subscreeen, so that Calling Screen sould be visible in Background.
Is this Possible , if yes then How ?
thanks in advance,
NitinRunning new report means opening new internal session. This can't be embeded within the current internal session where your function group (function module specifically) runs. So there is no such a way which you could run a report inside a subscreen area.
If you however want only selection screen of the report to be embeded inside your subscreen area (not run) you can use
"report Z_SUBSCREEN_REPORT
SELECTION-SCREEN BEGIN OF SCREEN 0200 as SUBSCREEN.
PARAMETERS pa type c.
SELECTION-SCREEN end of SCREEN 0200.
"main screen's flow logic in function group with subscreen area
PROCESS BEFORE OUTPUT.
call SUBSCREEN area INCLUDING 'Z_SUBSCREEN_REPORT '0200'.
Regards
Marcin -
Report Painter selection screen field modfication?
Hi Buddies,
I want to modify the report painter selection screen.
There is one field manadatory on the selection screen . I want to make it as optional.
Please let me know if any one knows.
Waiting for your response..
Regards,
VijayHello sir,
Some one did the code. Now iam modifying this report painter selection screen.
I would like to know where the field definition will take place in report painter.
Regards,
Vijnay -
Why my mac boots showing user selection screen?
My mac freezed on the user selection screen las time I started it so I reseted it by holding the power on button on the back of the imac.
Now when I boot it it just shows the user selection screen and freezes there. Mouse and keyboard don't respond. If I reset it or jnplug it I still have the same thing ocurrimg.
What can I do to solve it?Try using a USB keyboard and mouse and see if they work. I'm assuming that you have the bluetooth wireless setup? If a wired keyboard and mouse work then you either should replace the batteries in both or have your Mac taken in because something is going on with the bluetooth
-
How to create a report with selection screen that can run in background
Sorry to ask these basic questions but I am knew to ABAP Programming.
To keep it simply, I am attempting to create a report that has a simple parameter driven selections screen with one field. That field takes in a folder path from the user. The user executes the report. The report creates a simply BDC that goes into SE16, gathers data from a table, and exports the results to a text file using the folder path provided. I created a variant for the folder path field in the selection screen hoping to use it while executing the report in the background. The report is not exporting the file as it did when run in the foreground for some reason.
I am wondering what event is triggered when a report is executed in the background. In the foreground (or when I execute the program via SE38->Execute->With Variant) the user needs to execute the program by hitting the execute button once the variant has populated the folder path field. It works then, so I am trying to get the same to work in the background. I am thinking I didn't put the program together correctly to accommodate the running in the background. How can you create a report that can accept user input via variant into a selection screen and then run in the background?
Please, any information would be greatly appreciated.
Thanks you all for reading this!!!Ok, finally I understand what you're doing. Initially you lost me with the SE16 reference...
Not sure what you're trying to achieve overall, but apart from the fact that you cannot export/download a file to a user's PC via background job (unless you have a mapped network share on the server or something like an FTP server on the user's PC, but both are pretty hypothetical scenarios and unlikely to occur).
Also, the BDC approach to get data via SE16 is pretty awkward. Note that SE16 is guarded by some authorization checks and often users won't have access in production (which might not matter if you intend to always run your program in background via dedicated batch user). However, I have no clue why you wouldn't want to use [open SQL|http://help.sap.com/abapdocu_70/en/ABENOPEN_SQL_READING.htm] to read the data. You could then save it on the application server or if you really have to get it to the user you can consider e-mailing the file (extracts should be compressed before sending). For the latter you'll find plenty of references here, basically it's the [business communication services|http://help.sap.com/saphelp_nw2004s/helpdata/en/2d/1c5d3aebba4c38e10000000a114084/frameset.htm] that you'd need to look at. -
Add fields in KOB2 & KSB2 report in selection screen as well as output
Dear All,
I have an issue in which i have to add fields in KOB2 & KSB2 report.
i need to add below fields to KSB2 report.
1) Internal order
2) Vendor
3) Purchasing group
I also need to add profit centre in selection screen for KSB2
Similarly for KOB2 i need to add below fields
1) Cost centre
2) Vendor
3) Purchasing group
I also need to add cost centre as input for KOB2 report.
I have gone through note 325546 "CO line item reports: Creating a user-defined field" which can be helpful.
However i am not sure as to how do i add fields in input screen as required.
Other alternative is to create a Z report however when i try and copy the report both KOB2 & KSB2 call same report "RKAEP000".
I am not able to get as to how do i differentiate the call of different screens when ZKOB2 is called or when ZKSB2 is called.
I could identify " c_item_group" field having different values however i couldnot get a proper logic as to how correct screen can be called based on input
Please suggest .
Thanks,
RonakHi Raymond,
The note 747588 is good as soon as you are adding fields from the same table only.
When I have added additional table into KAEP_SCOVP selection view below COVP (just because the extra fields I need are not in COVP) they will show up in KOB1 as selection criteria, but not getting saved.
Any idea if any ABAP should be regenerated or what extra steps are required when adding more tables into Selection View?
Thank you! -
Report Groups - Selection screen on receiver report
Hi there,
When dealing with sender / receiver reports, do you know if it's possible to force a selection screen prompt when calling a receiver report during execution?
A report was written in the Report Painter, and belongs to a report group called 1OAB. This report group has three receiver reports defined, so when users double click on a value, it will forward navigate to another report (receiver report, selected after double click) using the same selection criteria of the current report (sender).
My <b>problem</b>, is that the selection criteria that is passed by the sender isn't sufficient for the receiver report, and the report ends up running with a much larger selection than required.
My <b>question</b>, is whether or not we can either:
<b>a)</b> Interrupt during the report call and prompt with the report selection screen for the receiver report. This would allow the user to input any missing selections.
<b>b)</b> Add in any missing selections via a user exit. I have not had much luck in finding such an exit. The closest I got was form 'USEREXIT1' from include LRSTIF90. This exit appears to be called before and after the report call. I'm not sure if it's a true exit though, as it's just a piece of code in an include and is referred to as an exit? To implement would I just register the object and add in my code?
Any suggestions would be appreciated!
Thanks,
LFYI the only solution I see is to put in a modification to prompt a selection screen during execution. Modification would go in include 'LRSTIF02' as follows:
PERFORM report_check_obligatory TABLES it_fieldr
USING flg_obl.
** MODIFICATION **
if ld_tcode = 'FBL3N'.
flg_obl = 'X'.
endif.
** END MODIFICATION **
IF flg_obl IS INITIAL.
CALL TRANSACTION ld_tcode AND SKIP FIRST SCREEN.
ELSE.
CALL TRANSACTION ld_tcode.
ENDIF.
* clear parameter ids
* perform clear_pid_fieldr tables it_fieldr it_dfies.
PERFORM reset_pid_fieldr TABLES it_fieldr it_selpid.
* if flg_return = 'X'.
* call transaction ld_tcode and skip first screen.
* else.
* leave to transaction ld_tcode.
* endif.
ENDFORM.
If anybody has a better idea on how to accomplish this I'd love to hear it!
Thanks,
L -
Background processing for ABAP report with selection screen
Hi ABAP Gurus,
I m facing a strange problem in scheduling a background job for my report with a selection screen. I have a variant for the report.
I scheduled a job, but it seems to be not doing anything though all the system resources are available. The job overview shows "Acive" for the job. The job is neither stopping anything, it is just sitting there In SM50, the status shows "On Hold".
Any ideas/comments on the problem and how this can be overcome?
Qucik replies and solutions will be highly appreciated as this is a crucial part for a go-live project.
Thanks in advance.
Shivani.Yes. My report has a selection-screen which requires user input. But I have created a variant for the report and trying to run it in background using this variant. But facing this problem.
Strange thing is, instead of the usual SM36/SM37 option where we schedule and monitor background jobs, this option does not work for my report.
But I tried through SE38, and from my selection screen I selected "Schedule background job" and "run immediately" option, and this works. Though I still use SM37 to monitor this background job.
I have never faced such a situation before.
Any hints/tips why this happens and how this can be overcome in the future?
Thanks in advance.
Shivani. -
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. -
RESCIS - Unable to select custom report from Selection Screen
Hi all,
we have developed a custom report for transaction "RESCIS-Evaluation of service charge settlement" but we have found that althought the report appears in selection screen field called "REPORT" it throws message RESCIS003 but the report is not shown.
If we doesn't fulfill report field in selection screen, the program shows a second screen where a couple of ALVGrids are shown allowing the user to select the report that will be displayed. Here we are able to select our custom report and the data in it is displayed.
We have analyzed the standard program that is executed via transaction RESCIS and we've found that the selection screen executes standard function RESC_GUI_ANYREPORTS_APPL that doesn't executes reports dinamically but statically. That means that SAP doesn't allows to execute custom reports directly from selection screen.
I think this is a SAP error but afert opening an OSS message SAP sais that is not an error but a bad configuration or lack of knowledge for customizing it.
Has anyone developed a custom report for RESCIS transaction?Hm what exactly did you want to change? Normally it is in REFX cases you should not copy standard REPORTS. In your case with transaction RESCIS, I myself do not see any need to add any functionality in this report because it is only a sum of all lists from your service charge settlement. What else do you want to see there?
For displaying new fields in the separate lists maybe there is some BADI for it.
Regards
Michael -
I have a stupid report.
In the initialization event I have put that
initialization.
set pf-status '123'.
But in the start of selection/at user-command
sy-ucomm is empty ... any idea is welcome
REWARD PROMISED
Message was edited by: STEPHAN KAMINSKISELECTION-SCREEN PUSHBUTTON fmt name USER-COMMAND ucom.
SELECTION-SCREEN FUNCTION KEY <Number>. "This is for displaying in Application Toolbar.
Check the following help documentation..
SELECTION-SCREEN PUSHBUTTON fmt name USER-COMMAND ucom.
Addition: MODIF ID modid.
Effect
Generates a pushbutton on the selection screen. When you define the button, you also define a user command ucom (no inverted commas), up to 20 characters long, which is triggered when the user pushes the button. The rest of the syntax is the same as for SELECTION-SCREEN COMMENT
You can define the name name either statically or at runtime (see also the BEGIN OF BLOCK, COMMENT and SELECTION-SCREEN BEGIN OF SCREEN variants).
When you define a pushbutton, you must always specify a format fmt.
By specifying a Modif ID, you can assign the pushbutton to a modification group.
Notes
The best way of reacting to the pushbutton is in the AT SELECTION-SCREEN event, or, for pushbuttons in the selection include, in the PAI routine (with FNAME = '*' and MARK = SPACE) in the database program SAPDBldb. The field SSCRFIELDS-UCOMM contains the user command ucom. (You need to declare the SSCRFIELDS table using the TABLES statement).
You can create your own pushbuttons in the application toolbar using the FUNCTION KEY n addition.
Within the selectoin include : Additions FOR NODE node ,FOR TABLE dbtab und ID id.
Example
TABLES SSCRFIELDS.
SELECTION-SCREEN PUSHBUTTON /10(20) CHARLY USER-COMMAND ABCD.
INITIALIZATION.
MOVE 'My text' TO CHARLY.
AT SELECTION-SCREEN.
IF SSCRFIELDS-UCOMM = 'ABCD'.
ENDIF.
A pushbutton appears on the selection screen with the text 'My text'. In the AT SELECTION-SCREEN event, the field SSCRFIELDS-UCOMM has the contents ABCD after the button has been pushed. -
Report painter selection screen
hi,
may i know where to create selection screen for report painter?
thanks
regardsWhen you create your report, in the characteristics tab you select the feilds that you want to give to the user at the time of executing teh report.
If you check the Variable box it will be available.
Maybe you are looking for
-
Using a String in the "IN" clause
Hello folks, I am trying to output results from a table based on a String which I was planning on using in the "IN" clause. When I run the query through the PL/SQL procedure, I get no results. In the PL/SQL program, I have a variable p_string whe
-
Hi all, I following the following blog to purge cache in Linux. http://shivabizint.wordpress.com/2010/12/22/purge-bi-server-cache-in-obiee11g/ When I excute I get the following error message. Can someone help me to fix this issue? Thanks Or
-
Runtime Error When Starting CS5
When I go to start CS5, the following error appears on my screen: "This application has requested the runtime to terminate it in an unusual way" Afterwards, CS5 crashes. I installed CS5 several months ago and have used it without any problems until n
-
I can't get rid of a white circle on my ipod touch screen
there's a white circle on my ipod screen. i can move it around, but i can't get rid of it. it seems that it's a shortcut button, but i don't want it there. how can i get rid of it?
-
Kuler accessible in Premiere Elements 7?
Probably a really dumb question, but since on-line apps are a new thing for me, I have to ask. Is Kuler like a plugin that I can install in other Adobe products on a computer that isn't connected to the Net? Specifically, I'd like to be able to use i