Print selection parameters en reports, lists
Hi gurus,
We need print reports, lists with selection parameters used in execution. For example, transaction VCUST. In this moment, system only prints the table with values.
Any idea???
Thank you!!!
I will reward points all answers!
Hi daniel
May be these inputs will help you
SP01 - To generate the spool request
SPAD - Where Print parameters are set (here you can include network printer into SAP system)
VSHP1 - to maintain print parameters
Regards
Srinath
Similar Messages
-
How many lines we can print using Non-alv report list ?
Hi Experts,
How many lines we can print using Non-alv report list ?
regards
vishnuHi,
It depends on the page size according to the page size we can set the no. of lines as follows,
REPORT program_name NO STANDARD PAGE HEADING
LINE-SIZE 290
LINE-COUNT 65.
Hope it helps you,
Regards,
Abhijit G. Borkar -
Printing Selection Variant in Report Painter
Hi, I am using ECC 5. There is a requirement for printing the selection variant in Report Painter (GR55) Reports. Presently there is a provision to print selection fields and values.
Is any way, I can print a Selection Variant and Name in Report Painter? I understood that the information is stored in Table VARIT. This table contains Lang., Report Name, Variant and Short text. I do not know how to get this info in Report screen.
Can any one help?
Advance Thanks
VenkatHi,Thanks for your reply. Let me explain.
When using Transaction Code GR55, enter Report Group, Execute. This will open a Report Paramenter screen. In this screen, if you select Goto --> Variant --> Get OR Get Variant icon, this will show the available selection variants. Select any one of them and run report.
In report it will pick-up the each selection paramater field and value NOT a variant.
Is any way to get the variant also printed in report?
Hope this will is clear.
Thanks
Venkat -
How can i print Selection criteria on report
hi
i want to print my selection criteria on the report i.e.
i have to select-options 1. plant 2. date
then now i want to to print these on header of report as:
HEADING
PLANT : <SELECT-OPTIONS for Plant> TO <SELECT-OPTIONS for Plant>
DATE : <SELECT-OPTIONS for Date> TO <SELECT-OPTIONS for Date>
then data for report .
how i can do it .The SELECT-OPTIONS can be referenced like and ordinary table in your ABAP. So if your select-option is called S_PLANT it is a table with fields LOW, HIGH, OPTION, SIGN.
LOW is the 'from' value, HIGN is the 'to' value, OPTION is the comparison (BT, EQ etc) and SIGN is I or E (include or exclude).
Remember is is possible (unless you have defined your select options to limit it) to enter multiple row and exclusions in select-options, so you cannot be sure of a simple 'from' and 'to' range.
Regards,
Nick -
Selection parameters in report RFUSVS14
Hi gurus.
Im trying to modify report RFUSVS14 for new legal requirement.
When i go to the seletion parameters i dont find some of them that should be there.
For example
BLDAT_IC Document Date(Incoming)
BUDAT_IC Posting Date(Incoming)
TCOD_AG Tax Code(Special Regime Agr)
TCOD_CM Tax Code(Ceuta and Melilla)
TCOD_INS Tax Code(Insurance)
TCOD_RW Tax Code(Renting)
Do you know how can generete them?
Thnaks in advancedHi Shiv,
Thanks for reply,
The problem is,
There are chances that user may enter as : NewUser
Inside pgm its becoming NEWUSER. If i do Lowercase on it, it becomes newuser.
But actually i need NewUser.
Is there any way?
Thanks, -
Print Selection Screen Parameters in ALV report only once
Does anyone know how to print the selection screen within a ALV report.
I've tried everything. I have the code to capture the selection parameters into a internal table. I can use top_of_page but I only want it printed once.Hi,
If you have captured the selection screen entries in an internal table, then you could display it once by using the BLOCK LIST ALV.
Check the function module.
REUSE_ALV_BLOCK_LIST_DISPLAY
Using this function module more than 1 alv could be display in the report.
In our case ..there will be two alvs ...one for the selection screen n other for the main report output.
Check the following example on the block List ALV....
<b>BALVBT01</b>.
Regards,
Vara -
Drill-Down Report Printing Problem for Selection Parameters
Dear Experts,
Have tried to configure Drill-Down Report for Vendor Balances,
Am having trouble when printing this drill-down report, Printing is coming OK but it comes with ALL selection parameters, for e.g, have entered 20 vendor codes for the balance display, system first prints all selection parameters and then it prints the output of vendor balances,
User does not want selection Parameters to be printed with the Report Output. Please find below screenshot for the problem.
Input Parameter Screen
Report Output Screen
Print Preview Screen (First Page - Selection Parameters)
Your help is much appreciated, if anyone can guide me, how to switch off selection parameters from Print Output of Drill-Down Report
Thanks
Regards
PHello Ms. Preeti,
Thanks for your reply, Have designed the report through FKI0 (FKI*)
Have already looked these setting, but these are not helping really, PFB screenshot for settings am having in my system, if you have any idea which can avoid User Input Parameters from printing then it will be really great help
Thanks for your help
Kind Regards
P -
How to give Selection Parameters text in Standard SAP reports?
Hi,
I am enhancing one of the standard reports, J_3RF_TAX_EXECUTE_CHAIN. Added few parameters to selection screen.
But I am not able to give text to the selection parameters.
I checked with Modification overview, its not allowing me to put text to custom Selection screen parameters.
Regards
Mohinder Singh ChauhanHi Friends,
I had created a dynamic selection text for a select-option created using Implicit Enhancements.
The select-option field is for MARA-MTART and the dynamic text i had given in the code is "Material Type".
But my client wants it to refer to the data dictionary reference so that it will print the labels given there and especially in the logon language.
Generally it can be done by selecting the checkbox next to the select-option, available in the Text Elements/Selection Texts Screen of the ABAP Editor.
So how to check that box(i.e., how to refer the data dictionary reference) dynamically? -
Push button "Select Block" on the list screen?Interactive report
Hi, i am developing a plain report(Use read data & write output, not ALV).
And there was a checkbox(itab-chx) before each line of the output list.
The customer wants me to add 4 buttons on the menu bar, they are 'Delete', 'Select ALL', 'Deselect all', <b>'Select block'</b>.
As far as i know that 'Delete' button is for the user to delete the entries which they have checked using the checkbox.
As for 'Select ALL' is that when they push this button, all the checkbox on the output list are checked.
As for 'Deselect all' is that ...all are unchecked.
<b>BUT</b> i dont have any idea on 'Select Block' function?? What it is and how to program and handling with this button???
Below is my code for those button, just dont know what 'Select block' means
at user-command.
case sy-ucomm.
when 'DLT'. 'Delete
'Do delete things...
when 'SLL'. 'Select all
loop at itab.
itab-chx = 'X'.
modify itab index sy-tabix.
endloop.
sy-lsind = 0.
perform output.
when 'DSL'. 'Deselect all
loop at itab.
itab-chx = ' '.
modify itab index sy-tabix.
endloop.
sy-lsind = 0.
perform output.
when 'SBL'. 'Select block
'???? No idea at all!!!
endcase.
Great thanks!!! Any helps?
Hoo lala
Message was edited by:
Hoo lala
Message was edited by:
Hoo lalaRefer this demo report, it is having 2 buttons one Call (defined in PF status) and other one PA30 one.
u have to create a PF status, and there in Application Toolbar option i have cretaed a button Named Call. like tht u can create more buttons as per ur requirement.
REPORT ZGILL_CALLREPORT .
DATA: L_PERNR(20).
parameters : p_rname(20) obligatory DEFAULT 'NONE'.
INCLUDE <icon> .
selection-screen pushbutton 60(20) gocfg user-command amit.
AT SELECTION-SCREEN OUTPUT.
write icon_configuration as icon to gocfg.
concatenate gocfg 'Go to PA30' into gocfg.
AT SELECTION-SCREEN.
if sy-ucomm = 'AMIT'.
SET PARAMETER ID 'PER' FIELD '10000000'.
call transaction 'PA30'.
ENDIF.
Start-of-selection.
write: 'This Report is called by report',' ',p_rname left-justified.
set pf-status 'TEST'.
AT USER-COMMAND.
CASE SY-UCOMM.
WHEN 'CALL'.
submit zgill_it using selection-set 'TESTING_IT'
exporting list to memory and return.
perform get_output.
WHEN '&F03'.
LEAVE SCREEN.
WHEN '&F15'.
LEAVE PROGRAM.
ENDCASE.
*& Form get_output
* text
* --> p1 text
* <-- p2 text
form get_output .
data : listobject like abaplist occurs 0.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = listobject
* EXCEPTIONS
* NOT_FOUND = 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.
CALL FUNCTION 'DISPLAY_LIST'
* EXPORTING
* FULLSCREEN =
* CALLER_HANDLES_EVENTS =
* STARTING_X = 10
* STARTING_Y = 10
* ENDING_X = 60
* ENDING_Y = 20
* IMPORTING
* USER_COMMAND =
TABLES
listobject = listobject
* EXCEPTIONS
* EMPTY_LIST = 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.
refresh listobject.
endform. " get_output -
Any standard FM to print select-options criteria on a basic report?
Hi Experts,
Am trying to print the user entered selection criteria on a classical/basic report. I wrote the code for select-options entries, but, am looking for any standard function module (if i pass my_select_options table, I need to get printable/readable entires) to print on my basic report, pls. let me know (I tried in SE37, but i got an in-active FM - PRINT_SELECTOPTIONS!!)
Thank youHello,
CALL FUNCTION 'PRINT_SELECTIONS'
EXPORTING
rname = program name
rvariante = sy-slset "It will catch the selected variant
mode = 'TABLE'
TABLES
infotab = li_info.
li_info table will contain all selection screen data, you will can restrict what needs to be shown on spool list!
Thanks. -
Multiple line selection in report list
HI All,
I have a requirment to display multiple line items with a checkbox prefixed, and i should be able to select multiple line items with the checkbox provided and should keep the selectd line items in an internal table(note the list is not ALG LIST or GRID)
can anybody please tell me how to select multiple line items and and keep the selected items in a in a normal report list.
RegardsHii,
Have a look at this sample code
Report z_sdn.
*" Data declarations...................................................
* Work variables *
DATA:
BEGIN OF fs_spfli,
carrid LIKE spfli-carrid, " Airline Code
connid LIKE spfli-connid, " Flight Connection Number
airpfrom LIKE spfli-airpfrom, " Departure airport
airpto LIKE spfli-airpto, " Destination airport
deptime LIKE spfli-deptime, " Departure time
arrtime LIKE spfli-arrtime, " Arrival time
END OF fs_spfli,
BEGIN OF fs_sflight,
carrid LIKE sflight-carrid, " Airline Code
connid LIKE sflight-connid, " Flight Connection Number
fldate LIKE sflight-fldate, " Flight date
seatsmax LIKE sflight-seatsmax, " Maximum seats in economy class
seatsocc LIKE sflight-seatsocc, " Occupied seats in economyclass
END OF fs_sflight,
w_checkbox TYPE c, " Variable for checkbox
w_currentline TYPE i, " Variable to display current
" line
w_lines TYPE i,
w_read TYPE c .
* Internal Table to hold flight schedule information *
DATA:
t_spfli LIKE
TABLE OF
fs_spfli.
* Internal Table to hold flight information *
DATA:
t_sflight LIKE
TABLE OF
fs_sflight,
t_sflight1 LIKE t_sflight.
* START-OF-SELECTION Event *
START-OF-SELECTION.
PERFORM get_data_spfli.
* END-OF-SELECTION Event *
END-OF-SELECTION.
SET PF-STATUS 'MENU'.
PERFORM display_data_spfli.
* TOP-OF-PAGE Event *
TOP-OF-PAGE.
PERFORM header_table_spfli.
* AT LINE-SELECTION EVENT *
AT LINE-SELECTION.
SET PF-STATUS space.
IF sy-lsind EQ 1 AND sy-lilli GE 4.
PERFORM get_data_sflight.
PERFORM display_data_sflight.
PERFORM flag_line.
ENDIF. " IF sy-lsind EQ 1..
* AT USER-COMMAND *
AT USER-COMMAND.
IF sy-lsind EQ 1.
SET PF-STATUS space.
CASE sy-ucomm.
WHEN 'DISPLAY'.
PERFORM get_data_sflight1.
PERFORM display_data_sflight.
WHEN 'SELECTALL'.
PERFORM select_all.
PERFORM flag_line.
WHEN 'DESELECTAL'.
PERFORM deselect_all.
PERFORM flag_line.
ENDCASE. " CASE sy-ucomm
ENDIF. " IF sy-lsind EQ 1
* TOP-OF-PAGE DURING LINE-SELECTION *
TOP-OF-PAGE DURING LINE-SELECTION.
PERFORM sec_list_heading.
*& Form get_data_spfli
* This subroutine fetches the data from SPFLI
* This subroutine does not have parameters to pass
FORM get_data_spfli .
SELECT carrid " Airline Code
connid " Flight Connection Number
airpfrom " Departure airport
airpto " Destination airport
deptime " Departure time
arrtime " Arrival time
FROM spfli
INTO TABLE t_spfli.
ENDFORM. " GET_DATA_SPFLI
*& Form display_data_spfli
* This subroutine displays the data of SPFLI
* This subroutine does not have parameters to pass
FORM display_data_spfli .
LOOP AT t_spfli INTO fs_spfli.
WRITE: /02 w_checkbox AS CHECKBOX,
05 w_read,
fs_spfli-carrid UNDER text-001,
fs_spfli-connid UNDER text-002,
fs_spfli-airpfrom UNDER text-003,
fs_spfli-airpto UNDER text-004,
fs_spfli-deptime UNDER text-005,
fs_spfli-arrtime UNDER text-006.
HIDE:
fs_spfli-carrid,
fs_spfli-connid.
ENDLOOP. " LOOP AT t_spfli..
ENDFORM. " DISPLAY_DATA_SPFLI
*& Form header_table_spfli
* This subroutine diplays the headings of table spfli
* This subroutine does not have parameters to pass
FORM header_table_spfli .
WRITE: /10 text-001 COLOR 4,
25 text-002 COLOR 4,
40 text-003 COLOR 4,
55 text-004 COLOR 4,
70 text-005 COLOR 4,
85 text-006 COLOR 4.
ENDFORM. " HEADER_TABLE
*& Form get_data_sflight
* This subroutine fetches the data from SFLIGHT
* This subroutine does not have interface parameters to pass
FORM get_data_sflight .
SELECT carrid " Airline Code
connid " Flight Connection Number
fldate " Flight date
seatsmax " Maximum seats in economy class
seatsocc " Occupied seats in economyclass
FROM sflight
INTO TABLE t_sflight
WHERE carrid EQ fs_spfli-carrid
AND connid EQ fs_spfli-connid.
ENDFORM. " GET_DATA_SFLIGHT
*& Form display_data_sflight
* This subroutine displays the SFLIGHT data
* This subroutine does not have interface parameters to pass
FORM display_data_sflight .
LOOP AT t_sflight INTO fs_sflight.
WRITE: / fs_sflight-carrid UNDER text-001,
fs_sflight-connid UNDER text-002,
fs_sflight-fldate UNDER text-007,
fs_sflight-seatsmax UNDER text-008 LEFT-JUSTIFIED,
fs_sflight-seatsocc UNDER text-009 LEFT-JUSTIFIED.
ENDLOOP.
CLEAR: fs_sflight.
ENDFORM. " DISPLAY_DATA_sflight
*& Form sec_list_heading
* This subroutine diplays the headings of table spfli
* This subroutine does not have interface parameters to pass
FORM sec_list_heading .
WRITE: /2 text-001 COLOR 4,
15 text-002 COLOR 4,
33 text-007 COLOR 4,
45 text-008 COLOR 4,
60 text-009 COLOR 4.
ENDFORM. " SEC_LIST_HEADING
*& Form get_data_sflight1
* This subroutine displays the data from SFLIGHT according to checkbox
* clicked.
* This subroutine does not have interface parameters to pass
FORM get_data_sflight1 .
DATA:
lw_checkbox TYPE c.
DESCRIBE TABLE t_spfli LINES w_lines.
DO w_lines TIMES.
w_currentline = 3 + sy-index.
CLEAR:
w_checkbox,
fs_spfli.
READ LINE w_currentline FIELD VALUE
w_checkbox INTO lw_checkbox
fs_spfli-carrid INTO fs_spfli-carrid
fs_spfli-connid INTO fs_spfli-connid.
IF sy-subrc EQ 0.
IF lw_checkbox EQ 'X'.
SELECT carrid " Airline Code
connid " Flight Connection Number
fldate " Flight Date
seatsmax " Max Seats
seatsocc " Occupied Seats
FROM sflight
INTO TABLE t_sflight1
WHERE carrid EQ fs_spfli-carrid
AND connid EQ fs_spfli-connid.
IF sy-subrc EQ 0.
APPEND LINES OF t_sflight1 TO t_sflight.
ENDIF. " IF sy-subrc EQ 0.
ENDIF. " IF lw_checkbox EQ 'X'
ENDIF. " IF sy-subrc EQ 0.
ENDDO. " DO w_lines TIMES
ENDFORM. " GET_DATA_SFLIGHT1
*& Form select_all
* This subroutine selects all the records of SPFLI
* This subroutine does not have interface parameters to pass
FORM select_all .
DESCRIBE TABLE t_spfli LINES w_lines.
DO w_lines TIMES.
w_currentline = sy-index + 3.
READ LINE w_currentline FIELD VALUE
w_checkbox INTO w_checkbox.
IF sy-subrc = 0.
MODIFY LINE w_currentline FIELD VALUE
w_checkbox FROM 'X'.
ENDIF. " IF sy-subrc = 0.
ENDDO. " DO lw_line TIMES.
ENDFORM. " SELECT_ALL
*& Form deselect_all
* This subroutine deselects all the records of SPFLI
* This subroutine does not have interface parameters to pass
FORM deselect_all .
DESCRIBE TABLE t_spfli LINES w_lines.
DO w_lines TIMES.
w_currentline = sy-index + 3.
READ LINE w_currentline FIELD VALUE
w_checkbox INTO w_checkbox.
IF sy-subrc = 0.
MODIFY LINE w_currentline FIELD VALUE
w_checkbox FROM ' '.
ENDIF. " IF sy-subrc = 0.
ENDDO. " DO lw_line TIMES.
ENDFORM. " DESELECT_ALL
*& Form flag_line
* This subroutine flags the line which has been read
* This subroutine does not have interface parameters to pass
FORM flag_line .
DESCRIBE TABLE t_spfli LINES w_lines.
DO w_lines TIMES.
w_checkbox = 'X'.
READ LINE sy-lilli FIELD VALUE
w_read INTO w_read
w_checkbox INTO w_checkbox.
IF sy-subrc EQ 0.
MODIFY CURRENT LINE
FIELD FORMAT w_checkbox INPUT OFF
FIELD VALUE w_read FROM '*'.
ENDIF. " IF sy-subrc EQ 0
ENDDO. " DO w_lines TIMES
ENDFORM. " FLAG_LINE
Regards
Abhijeet -
We have been able to get a SSRS Data Alert to trigger a report to be emailed whenever an item is added to a specific SharePoint List. The report can accept parameters but would like to be able to pass parameters that are used in the report.
Is this possible? (I cross posted over at SharePoint dev. and was referred here)
Thanks
Νικοσ ΓιαννιοσHi Nikos,
Based on my understanding, you have deploy a parameter report to SharePoint site, then you have created a data alter for this report. Then you want to pass parameters to report then send alter, right?
In Reporting Services, if the report has parameters, we should select values for the parameter, after report display, we can create a new data alter. Otherwise, the New Data Alter button is grayed out in the drop-down list of the Action button. So that the
rule is created based on the filtered report. Please refer to below screenshot:
If you have any question, please feel free to ask.
Best regards,
Qiuyun Yu
Qiuyun Yu
TechNet Community Support -
BI: Virtual Provider for ECC Report with same selection parameters
Dear all,
I have attached screen shot of ECC report selection screen with contain Material, Plant and Dates. As report is bit complex and I need to use just ITAB (internal table) of it for further use in BEx Query and for Dashboard purposes.
Problem: I need to call this report by creating Virtual Provider in BI so that I get data from ECC at runtime as it is shares report so I can't able to save any data in transparent table as report calculated opening balances at runtime.
It is possible for me by using function module i can get itab by submit return and then create Data Source for it ?
As i make copy of FM ZZRSAX_BIW_GET_SIMPLE i cannot use submit there due to OPEN CURSOR mechanism there.
Kindly anyone suggest how it is possible to call report with same selection parameters for creation of virtual provider.
Please mention if i miss any point in explaining problem.
Feel free to ask for any query.
Many thanks.
Hoping for positive and quick responses.please create 2 reports as given below.-
REPORT ZSZP_00007.
parameters a(5) .
parameters b(5) .
parameters c(5) .
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-name = 'A' or screen-name = 'B' .
get parameter id 'aaaaaaaaaaa' field a.
get parameter id 'bbbbbbbbbbb' field B.
screen-input = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
start-of-selection.
your logic
REPORT zszp_00005.
PARAMETERS a(5).
PARAMETERS b(5).
START-OF-SELECTION.
SET PARAMETER ID 'aaaaaaaaaaa' FIELD a.
SET PARAMETER ID 'bbbbbbbbbbb' FIELD b.
your logic
SUBMIT zszp_00007 VIA SELECTION-SCREEN.
i hope this approach will solve your problem.
thanks
Swanand -
Executing Report Painter Report in Loop With Different Selection Parameters
Hello all,
I have to execute a report painter report about 300 times, allways with a different set of selection parameters and allwasy send the result to a different person via mail.
Has someone an idea how to to this work in an automatic loop.
Thanks.HI,
My suggestion is to discuss this with your technical team (ABAP). A Good idea would be to create a wrapper program (small program based on your report painted report code) that contains email functionality. You can then save your 300 variants and then schedule a background job for the same using transaction code SM36.
Regards -
Print report parameters and report contents in separate pages.
Hi ,
I Have a report with more than 10 parameters and while printing i am supposed to print all the parameters in the first page and then the report contents in a separate page(next). This is an old report developed by some one else. i need to change this as per the user request. How can i do this. Any one can help me.
Thank you.Hi,
You can print all parameters by using the syntax ¶m_name. For example, suppose your parameter names are P_1, P_2, P_3, and so on. You can print them in your report by following these steps:
1. In the paper layout view of Report Builder, create a simple text object
2. Write the following text inside the text object:
&P_1
Follow steps 1 and 2 for all parameters, eg, &P_2, &P_3, and so on.
To give a page break, enclose all of these text objects inside a frame, and in the property inspector of the frame, set Page Break After > Yes.
See Reports Builder Help for more info.
Navneet.
Maybe you are looking for
-
Hi, anyone can help me what transaction to be used and how to schedule a report program. the exact requiremnet is like i have a report program which is to be scheduled at a partticular time to be run how can i do it
-
How can I improve the cell service I get on my iPhone 5 in my new apartment?
I've just moved and I'm getting terrible service at my new apartment. I've been looking into options for improving that, including network extenders, but according to your site, none of them will work with my iPhone 5. What can I do about this?
-
I have been a pc user and a photoshop user. I recently bought a mac book. I want to run photoshop on my mac book. I can either buy another copy of photoshop for $700, or possibly use boot camp and buy a copy of windows xp for $200, but I'm not sure i
-
Core Dump on Solaris 10 (Signal 10 - Bus Error), but not on Solaris 8?
Hi, We just moved our product from Solaris 8 to Solaris 10. It runs for months on Solaris 8 without any problems, while core dumped after running about 2 weeks on Solaris 10. Any clue on what could be wrong is apprecaited. pam
-
So that we may better diagnose problems, please provide the following information. - Server name - ORACLE 8i - Filename - Date/Time - Browser + Version - NETSCAPE 6 - O/S + Version - WINDOWS 2000 SERVER - Error Msg - JREW ERROR IN JAVAI.DLL I CANT IN