Drill down report in ALV
Hi Friends,
i am developing drill down report by using REUSE_ALV_GRID_DISPLAY FM. it is working fine for ME23N transaction. here parameter id is BES. for that i am using following syntax.
set parameter id 'BES' field <clicked field value>
call transaction 'ME23N' and skip first screen.
Now, same for scheduling agreement ME33L, Here parameter id is VRT. but here clicked value is not populating in ME33L transaction field. I think here parameter id should be different.
Does anybody have an any idea? please let me know.
Thanks in advance,
Parag
Hi Parag!
I am encountering the same problem with you.
Here's my code and as you've said..its working in ME23N but not in ME33L.
FORM ebeln USING selfield_value LIKE v_selfield-value.
DATA: l_bstyp TYPE c.
READ TABLE i_output INTO x_output with key ebeln = selfield_value.
l_bstyp = x_output-bstyp.
IF l_bstyp = c_f.
SET PARAMETER ID 'BES' FIELD selfield_value.
CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
IF sy-subrc = 0.
do nothing.
ENDIF.
ELSEIF l_bstyp = c_l.
SET PARAMETER ID 'VRT' FIELD selfield_value.
CALL TRANSACTION 'ME33L' AND SKIP FIRST SCREEN.
IF sy-subrc = 0.
do nothing.
ENDIF.
ENDIF.
ENDFORM. " EBELN
Have you resolved the problem?
Similar Messages
-
Drill down report...
HI abapers,
How to create drill down report in alv.
When i double click the particular field, another report has to pop up and display the details of that particular field.
for eg,
When double click the amount spent field other report has to say, For which material the amonut has spend.
Thanking You
arvindhi arv,
for me your scenario is not clear..
you want to drill down the alv .. and show the report in the same program or you want to call another program when u try to hit the alv report..
well for drilling down the same program.. you can use the following method
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = GV_REPID
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = 'TOP1' " drill down
I_CALLBACK_TOP_OF_PAGE = 'TOP2'
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
FORM TOP1 USING UCOMM TYPE SY-UCOMM SELFIELD TYPE SLIS_SELFIELD.
READ TABLE GT_FINAL_TOTAL INTO GS_FINAL INDEX SELFIELD-TABINDEX.
CASE SELFIELD-TABINDEX.
WHEN SELFIELD-TABINDEX.
perfrom itab2_operation. " in this form you will write the code to get the data for drill dispplay
now defing fieldcatalog again : example :
GS_FCAT-COL_POS = 1.
GS_FCAT-FIELDNAME = 'EBELN'.
GS_FCAT-SELTEXT_L = TEXT-001.
GS_FCAT-FIX_COLUMN = 'X'.
GS_FCAT-OUTPUTLEN = 13.
APPEND GS_FCAT TO GT_FCA
and call alv display again :
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = GV_REPID
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_TOP_OF_PAGE = 'TOP2'
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE = ''
I_GRID_SETTINGS =
IS_LAYOUT = GS_LAYOUT
IT_FIELDCAT = GT_FCAT
and if you want to call another progam when u hit..u have to use..submit key work
like SUBMIT ZAFI013R VIA SELECTION-SCREEN AND RETURN. -
Use different Layouts for Summary and Details in Drill down report
Hi All,
I have a 2 level drill down report in ALV.
The summary report has certain fields and the Detail report has different fields. Now my problem is that when i use a default layout (with all fields of summary report) for the summary report, and drill down to the detail report i'm missing the fields on detail that are not in Summary. And if i save the default layout as default (with all fields of Detail) and go back to sumary, I'm missing the some other fields on summary (which are not on detail report).
Is there a way to make different default layouts for each of those summary and detail reports:
Also as the layouts are choosen by the user, i cannot hardcode any particular layout;
So if the user chooses a layout for detail; it has to stay the same layout for the detail report if he goes to summary and then back to detail; unless the user changes the layout again.
I'm using two different Layout types for each report. but i still cannot get the desired effect.
Data:
gt_layout_s type slis_layout_alv,
gt_layout_d type slis_layout_alv,
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = g_repid
is_layout = <b>gt_layout_s</b>
i_callback_top_of_page = g_top_of_page
i_callback_user_command = g_user_command
i_callback_pf_status_set = g_status
i_save = g_save
is_variant = gs_variant
it_fieldcat = gt_fieldcat[]
it_events = gt_events[]
importing
es_exit_caused_by_user = gs_exit_caused_by_user
tables
t_outtab = it_summary.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = g_repid
is_layout = <b>gt_layout_d</b>
i_callback_top_of_page = g_top_of_page
i_callback_user_command = g_user_command
i_callback_pf_status_set = g_status
i_save = g_save
is_variant = gs_variant
it_fieldcat = gt_fieldcat[]
it_events = gt_events[]
importing
es_exit_caused_by_user = gs_exit_caused_by_user
tables
t_outtab = it_detail_disp.Here is how you differentiate between the layout of two different grids. There is the parameter, IS_VARIANT in the function. You usually leave it empty or pass only the report name and username. <b>What you need to do is to pass unique string for each grids to the HANDLE field of the parameter IS_VARIANT.</b> You can probably hard code it as HEADER and DETAILS in your case. Once that is done, system identified that these two different layout for different grids.
Regards,
Ravi
Note : Please mark all the helpful answers<u></u> -
Hiding fields in ALV DRILLED DOWN REPORT
Hi
My scenario is like this i created a alv drilled down report , in that once the user executes it ,it will displays the header contents of the purchase order.
If the user double clicks on any of the header line item it will displays the item detials of the particular header data..
My probelm is if i double click it i am getting the header details added with the item fields..i want to hide the header detials if i want to c the item level details..
Can any suggest me some better ways to hide the header contents ??
Arun Josephhi,
check ur field cat...
R u using same name?
If possible paste ur code here... -
ALV interactive drill down report
Hi,
I have a requirement to display the header details on an ALV report
date -- level1level2level3...level4
Here level1,2,3,4 contains the counts of item details based on level
Now i need to display second drill down report, when user clicks on specific cell for levels.
e.g.,
when user clicks on count for level2, i need to show drill down report for level2 items for that date.
Can any one give me some ideas for this ALV report...
THanks in advance.
points will be awarded immediatelyIf you need to know how to do drill down, here is an example program.
report zrich_0001.
* Global ALV Data Declarations
type-pools: slis.
* Internal Tables
data: begin of itab occurs 0,
matnr type mara-matnr,
maktx type makt-maktx,
end of itab.
start-of-selection.
perform get_data.
perform call_alv.
* Form GET_DATA
form get_data.
select mara~matnr makt~maktx
into corresponding fields of table itab
from mara
inner join makt
on mara~matnr = makt~matnr
up to 20 rows.
endform.
* CALL_ALV
form call_alv.
data: ifc type slis_t_fieldcat_alv.
data: xfc type slis_fieldcat_alv.
data: repid type sy-repid.
repid = sy-repid.
clear xfc. refresh ifc.
clear xfc.
xfc-reptext_ddic = 'Material Number'.
xfc-fieldname = 'MATNR'.
xfc-tabname = 'ITAB'.
xfc-outputlen = '18'.
append xfc to ifc.
clear xfc.
xfc-reptext_ddic = 'Material Description'.
xfc-fieldname = 'MAKTX'.
xfc-tabname = 'ITAB'.
xfc-outputlen = '40'.
append xfc to ifc.
* Call ABAP List Viewer (ALV)
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = repid
i_callback_user_command = 'HANDLE_USER_COMMAND'
it_fieldcat = ifc
tables
t_outtab = itab.
endform.
* FORM handle_User_Command *
form handle_user_command using r_ucomm like sy-ucomm
rs_selfield type slis_selfield.
case r_ucomm.
when '&IC1'.
case rs_selfield-FIELDNAME.
when 'MATNR'.
set parameter id 'MAT' field rs_selfield-value.
call transaction 'MD04' and skip first screen.
endcase.
endcase.
endform.
Regards,
Rich Heilman -
Drill Down Report in screen painter
Hi Experts,
I have a requirement in dialog programming/screen painter to create a 2 level drill down report. for eac page of the report, it should only contain 10 entries then to view the other entries (11 and up), the button for next page should be click (there is also back button).
First question is how will I have the drill down report (alv list type?) in screen painter?
Second question is how should I process the logic mentioned above (next and back) in screen painter/dialog programming?
Thanks in advance for all teh support. Points will be rewarded.
Cheers,
KurttHai,
Go thru this Threads u ll get an idea,
Drill down report help
Re: regarding Drill Down Reporting
drill down capabilities for an alv grid display field using oops concept
Regards,
Padmam. -
How to get the output data of Standard drill down report into z-program?
HI every one,
I want to get the output data of drill down report into z-program.
Actually,if the output is only one, I can get into z-program,
But, Here the report consists 3 alv outputs. when double clicking function happens, it will direct to another alv output.
Those, all the outputs of report i want to get into z-program.
PLease , give reply as early as possible.
Thank u in advance,
karthikHI,
When i download,only one output i will get.
But,if i double-click the particular record it will show another output. I want that output also.
Like that,when i double-click particular record, it will show some other alv ouput based on record,
i wanted all those outputs.
If i copy the code, whether i face any problems? -
Hi,
How to add several currency value (USD, LKR) in drill down report - in Due Date Analysis for open Item report (S_ALR_87012168)
Thanx.Hi,
How to add several currency value (USD, LKR) in drill down report - in Due Date Analysis for open Item report (S_ALR_87012168)
Thanx. -
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 -
Drill Down Report Performance issue?
Hi,
why drill down report is slower performance comparing with Action link/Navigation method? what could be the back end processing?
Thanks
MRDNeed to know/see your config to tell why it is slow, I would suggest to follow best practices for the same.
Drill down back end process something like:
Report fetch next level columns and the all aggregated measures are grouped by next level this may take some time unless you go with aggregate table (is part of best practices)
Appreciate if you mark as correct/helpful -
Drill down reports in character mode
How to make drill down reports in character mode(remember not bitmapped)using report designer 6
nullI solved the problem in UNIX with this script, replacing the special characters:
sed -i 's/special_1/¡/' $salida
sed -i 's/special_2/¢/' $salida
sed -i 's/special_3/£/' $salida
sed -i 's/special_4/¤/' $salida
sed -i 's/special_5/¥/' $salida
sed -i 's/special_6/¦/' $salida
sed -i 's/special_7/§/' $salida
sed -i 's/special_8/¨/' $salida
sed -i 's/special_9/©/' $salida
sed -i 's/special_10/ª/' $salida -
Drill down report export to pdf
Hi,
I have a drill down report that i need to export to pdf.to get the drill down facility, I used 'HIDE' option for the groups.
The drill down works in crystal.But when I export the crystal report to PDF, I could not see the hidden groups/Tabs, and my drill down doesn;t work.Please suggest me what to do while exporting a drill down report to PDF. Is it possible to export a drill down report to Excel?Can someone suggest the precaustions to be taken while exporting to different formats??
Thank you,
Tatyana.Drill-Down behavior in Crystal doesn't carry over to pdf exports.
Using one of the 3rd-party Crystal Reports schedulers listed at http://www.kenhamady.com/bookmarks.html you can achieve similar behavior in pdf exports by automating the process of:
1. exporting the main report to main pdf.
2. Bursting a detailed report to individual pdf files
3. using Crystal formulas embedded in the main report to generate live links from the exported main pdf to the individual detail pdf files. -
Drill down reports (Reports 3.0)
I am trying to create a series of drill down reports using
Reports 3.0. To do this I have created buttons in each report
which pass parameters to the next report using the
srw.run_report package. I have a problem with the lowest level
report where no errors are reported but the report is generated
as a blank page. When run in isolation, i.e. filling in the
paramters manually, the report works perfectly well. Does anyone
have any ideas? Also, when passing more than one parameter, do
you just have to use the concatenation operator (nicola (guest) wrote:
: I am trying to create a series of drill down reports using
: Reports 3.0. To do this I have created buttons in each report
: which pass parameters to the next report using the
: srw.run_report package. I have a problem with the lowest level
: report where no errors are reported but the report is generated
: as a blank page. When run in isolation, i.e. filling in the
: paramters manually, the report works perfectly well. Does
anyone
: have any ideas? Also, when passing more than one parameter, do
: you just have to use the concatenation operator ( -
Customized drill-down report cannot go to line item level (FGI4 and FGI1)
Hi Expert,
I created a customized drill-down report using New GL features, as follows:
FGI4 create form, with reference to form: 0SAPBLNCE-01
FGI1 create report for the form created.
After that I set some things like characteristic, variables, and output type.
When I execute the report, the data shown cannot be drill-down to line item level:
Goto > Line Item (this function is disabled).
Kindly advise why I cannot goto line item level, where I copy from standard form: 0SAPBLNCE-01, which ha sthe features of drill-down to line item level.
Thanks
sbmelHi sbmel,
For calling up a line item report in a drill down report you need to make the below settins:-
- You first have to generate the line item report with program RGRGENSI for your summary table.
- Then assign the generated line item report to the summary report.
Assiging the report is part of the 'Change drilldown report' function, which you reach by activating the characteristic selection field and then Extras -> Report assignment.
In the dialog box that appears, choose the 'Other report type' function and insert the line item report generated earlier, as an ABAP report
Regards,
Gaurav
Edited by: gka2707 on Jul 19, 2010 8:07 AM -
How can I activate drill down report for planned line items please urgent?
Hi Everyone,
Please suggest me how can i activate drill down report for planned line items in internal orders. S_ALR_87012993. Please suggest me, I'll award full points. I am unable to do it in client system, which has already line items. I tried in my sys with new config it is working.
Kind regards
Arvey.Hi
It is based on the reports attached in the Report Group - TCODE: GR53
In the Report Group screen
Press CONFIGURE This is to attach any Drill Down reports.
Press the Insert Line icon
As is the screen may be used to insert a Report Writer report group. To add an ABAP, press other report type
Double click on ABAP Reports
Enter the name of the ABAP and ENTER
<b>RCOPCA08 Profit Center: Plan Line Items</b>
VVR
Maybe you are looking for
-
Report of Open POs in SQM only for OUn
Hi All I need to have open PO report which will show OUn in SQM irrespective of watever unit is there in PO. For example in PO OUn can be EA, PC, KG, M etc but report should always shows the result in SQM for OUn. Thanks Yogesh
-
Dear friends, I have a problem in 9iAS. I use Report service to run reports in IE. There are some chinese characters in the reports. While i set the target format to HTML, the output is OK, While the format is PDF, the chinese chartacters are malform
-
[JS][ScriptUI] InDesign loses focus
Hi, may someone help me with my "focusing" problem? When I make a ScriptUI dialog and set a Window element (i.e. EditText) property to active, InDesign (application) loses its top-level hierarchy in MS Windows after "OK" or "Cancel". It can be demons
-
Jspdynpage font color and legend
Ineed to change color of font in jspdynpage application.Any idea 2) when i click on the column heading it should show a popup showing legend for what it stands for? Any help will be appreaciated,
-
McBook Pro Mac OS X 10.7.4 stuck on the white screen on shut down.
I would appreciate help on this. When choosing to shut down my MacBook Pro it closes everything and then gets stuck on the white screen. Unless I press continuously the on button it just stays there... Any ideas what the problem might be?