Display Two Report IN ONE
hi Expert,
how to display two report in one please help me .
Regards,
Hamad
Hi,
Refer the sample code:
CLEAR w_event.
w_event-name = slis_ev_top_of_page.
w_event-form = 'TOP_OF_PAGE'.
APPEND w_event TO i_events1.
CLEAR w_event.
w_event-name = slis_ev_top_of_page.
w_event-form = 'XTOP_OF_PAGE'.
APPEND w_event TO i_events2.
DATA: lv_repid LIKE sy-repid.
lv_repid = sy-repid.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
EXPORTING
i_callback_program = lv_repid
i_callback_user_command = 'USER_COMMAND'
i_callback_pf_status_set = 'PF_STATUS'.
*-- Vendor Schedule List
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
it_fieldcat = i_field_cat1
is_layout = w_lay_out1
i_tabname = '<I_TABLE>'
it_events = i_events1
TABLES
t_outtab =<b> <i_table>.</b> Data for Report 1
*-- Error Lsit display
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
it_fieldcat = i_field_cat2
is_layout = w_lay_out2
i_tabname ='I_ERROR'
it_events = i_events2
TABLES
t_outtab = <b>i_error[].</b> - Data for report 2
w_print-reserve_lines = 2.
w_print-no_print_listinfos = c_x.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
EXPORTING
is_print = w_print.
ENDFORM. " f0504_create_list
*-- Top of Page
FORM top_of_page.
WRITE: sy-title.
ENDFORM.
FORM xtop_of_page *
FORM xtop_of_page.
WRITE: 'Error Records'.
ENDFORM.
Reward points if this Helps.
Manish
Similar Messages
-
Run two report in one Excel sheet1 and sheet2
Hi all;
I want to have my one report in sheet1 and another one in sheet2 when I opened my excel sheet. How can I perform this two report in one excel sheet. I can copy the report and paste but then there would be no drill down or other functionality.
thank. you.Hi Krishma,
You can save this workbook to your PC and email it to your user. They need to open the workbook (with Bex running in Excel). When they click the refresh button they system will prompt them to log on (if they are already not logged in) and then the queries will be executed.
Hope this helps... -
Hao to display two lines in one Graph
Hi, I want to display two lines in one graph in different color , what should I do? Thanks.
Hello Carlos,
the help window for a waveform graph/chart only mentions "single plot
with waveform datatype". To get more plots on one graph you have to
build an 2D-array of points. Just look at the help window!
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
Display two lines under one column in ALV
Hello Friends,
I have a situation... i need to display two or three lines under single column in ALV report.
example:
col1 col2 col3 col4
AAA 10 456.78 TEST PURPOSE HBDFJEHBEJBE EBDF B EFH
EDEHFKHEKFHEKJCFEKJFHKEJHFKEHFEFJK
DJFHGCGD
AAA 20 121.78 TEST PURPOSE HBDFJEHBEJBE EBDF B EFH
BBB 10 11.78 TEST PURPOSE HBDFJEHBEJBE EBDF B EFH EJ
EFKBEJF KEFHEKJFHEJ KFEHKE HFKEH
MEFBHEJFB EFBEJ EFGJEGF JEGFEGEKJE KEFHK
EFKEFEKLKL
Anyone has idea?
Thanks in advance
Regards
RaghuHi,
You can do this by doing some additional coding..
Ex..
** Let's assume you are using the internal table t_output for displaying the ALV...
** and t_final contains the data..t_text which contains the multiple lines texts...for the
** column col4...
DATA: s_output LIKE LINE OF t_output.
DATA: v_flag TYPE xfeld.
LOOP AT t_final INTO s_final.
* Clear the work areas.
CLEAR: v_flag,
s_output.
* Move all the data.
MOVE ls_final TO s_output.
LOOP AT t_text WHERE col1 = s_final-col1.
* First time move all the columns to the output internal table...for the rest of the records
* just populate the col4..
IF v_flag IS INITIAL. " For the first time.
s_output-col4 = t_text-text. " Move the text.
APPEND s_output TO t_output.
v_flag = 'X'.
ELSE.
clear s_output.
s_output-col4 = t_text-text. " Move the text.
APPEND s_output TO t_output.
ENDIF.
ENDLOOP.
* IF there is no text found just append the output internal table with blank col4.
IF sy-subrc <> 0.
APPEND s_output TO t_output.
ENDIF.
ENDLOOP.
Hope the example is clear...
Thanks
Naren -
How to display two waveforms in one waveform chart?
hellow!anyone can tell me how to display two waveform together in one waveform chart? thanks!
Hello,
An easy way to tell how to make multi-plot charts and graphs is to hold your mouse over the chart/graph terminal on the block diagram and make sure Context Help (Help >> Show Context Help) is enabled. This screen will tell you how to connect the indicator for a multiple-plot display.
You might want to take a look at my attached screenshots of a working multi-plot chart.
Hope this helps!
Liz F
National Instruments
Attachments:
Multi-plot_chart.bmp 902 KB -
Hi,
I have region and I want to add two reports to this region, every report has diffrent query
can I do this in Apex ??
Thanks for all.
Best Regards.
Mohd.This can be done in several different ways:
1. the way it was done in my demo application
2. modifying region templates and making the regions to appear beside / below each other in order to look as one
3. using HTP.p to create your own region / reports manually.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
------------------------------------------------------------------------------ -
Joining Two Reports in one Detail Section
Post Author: NewITGuy
CA Forum: Crystal Reports
Hello I am working with Crystal Reports XI, I have two reports that I want to see it I could join together on one report. The closest example I can give is :
Customer Order table is Linked to Purchase order Table- This report shows all items on order for the customer with expected delivery. These are two tables.
Then
Customer Quote table- This report just shows all quotes for items to be purchased in the future.This is one table.
I would like to join these two reports to show our customers what is on order along with what is currently being quoted.
Thanks in advance for your help!!Hi,
Assuming you want to have two, or more, reports that look like a single report, then see: Re: Questions about reports
Andy -
Display two reports in ALV grid
Hi,
i have written a program to display a list from a table in ALV grid control...can someone tell me how to display 2 reports side by side in the same screen.
thanks in advance...See the simple example :
REPORT z_alv_block_list.
Type-pools
TYPE-POOLS: slis.
Data declarations.
DATA: BEGIN OF t_vbak OCCURS 0,
vbeln TYPE vbeln,
bstnk TYPE vbak-bstnk,
erdat TYPE vbak-erdat,
kunnr TYPE vbak-kunnr,
END OF t_vbak.
DATA: BEGIN OF t_vbap OCCURS 0,
vbeln TYPE vbeln,
matnr TYPE vbap-matnr,
netpr TYPE vbap-netpr,
waerk TYPE vbap-waerk,
kwmeng TYPE vbap-kwmeng,
meins TYPE vbap-meins,
END OF t_vbap.
DATA: t_fieldcatalog1 TYPE slis_t_fieldcat_alv.
DATA: t_fieldcatalog2 TYPE slis_t_fieldcat_alv.
DATA: v_repid TYPE syrepid.
DATA: s_layout TYPE slis_layout_alv.
DATA: v_tabname TYPE slis_tabname.
DATA: t_events TYPE slis_t_event.
start-of-selection event.
START-OF-SELECTION.
v_repid = sy-repid.
Get the fieldcatalog for the first block
PERFORM get_fieldcat1 CHANGING t_fieldcatalog1.
Get the fieldcatalog for the second block
PERFORM get_fieldcat2 CHANGING t_fieldcatalog2.
Get the data for the first block
SELECT vbeln bstnk erdat kunnr UP TO 10 ROWS
INTO TABLE t_vbak
FROM vbak WHERE vbeln > '0060000100'.
Get the data for the second block
SELECT vbeln matnr netpr waerk kwmeng meins UP TO 10
ROWS
INTO TABLE t_vbap
FROM vbap WHERE vbeln > '0060000100'.
init
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
EXPORTING
i_callback_program = v_repid.
First block
v_tabname = 'ITAB1'.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = s_layout
it_fieldcat = t_fieldcatalog1
i_tabname = v_tabname
it_events = t_events
TABLES
t_outtab = t_vbak.
Second block
v_tabname = 'ITAB2'.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = s_layout
it_fieldcat = t_fieldcatalog2
i_tabname = v_tabname
it_events = t_events
TABLES
t_outtab = t_vbap.
*Display
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
FORM GET_FIELDCAT1
Get the field catalog for the first block
FORM get_fieldcat1 CHANGING lt_fieldcatalog TYPE
slis_t_fieldcat_alv.
DATA: s_fieldcatalog TYPE slis_fieldcat_alv.
Order number
s_fieldcatalog-col_pos = '1'.
s_fieldcatalog-fieldname = 'VBELN'.
s_fieldcatalog-tabname = 'T_VBAK'.
s_fieldcatalog-ref_tabname = 'VBAK'.
s_fieldcatalog-ref_fieldname = 'VBELN'.
APPEND s_fieldcatalog TO lt_fieldcatalog.
CLEAR s_fieldcatalog.
Customer purchase order.
s_fieldcatalog-col_pos = '2'.
s_fieldcatalog-fieldname = 'BSTNK'.
s_fieldcatalog-tabname = 'T_VBAK'.
s_fieldcatalog-ref_tabname = 'VBAK'.
s_fieldcatalog-ref_fieldname = 'BSTNK'.
APPEND s_fieldcatalog TO lt_fieldcatalog.
CLEAR s_fieldcatalog.
Creation date.
s_fieldcatalog-col_pos = '3'.
s_fieldcatalog-fieldname = 'ERDAT'.
s_fieldcatalog-tabname = 'T_VBAK'.
s_fieldcatalog-ref_tabname = 'VBAK'.
s_fieldcatalog-ref_fieldname = 'ERDAT'.
APPEND s_fieldcatalog TO lt_fieldcatalog.
CLEAR s_fieldcatalog.
Customer
s_fieldcatalog-col_pos = '4'.
s_fieldcatalog-fieldname = 'KUNNR'.
s_fieldcatalog-tabname = 'T_VBAK'.
s_fieldcatalog-ref_tabname = 'VBAK'.
s_fieldcatalog-ref_fieldname = 'KUNNR'.
APPEND s_fieldcatalog TO lt_fieldcatalog.
CLEAR s_fieldcatalog.
ENDFORM.
FORM GET_FIELDCAT2
Get the field catalog for the second block
FORM get_fieldcat2 CHANGING lt_fieldcatalog TYPE
slis_t_fieldcat_alv.
DATA: s_fieldcatalog TYPE slis_fieldcat_alv.
Order number
s_fieldcatalog-col_pos = '1'.
s_fieldcatalog-fieldname = 'VBELN'.
s_fieldcatalog-tabname = 'T_VBAP'.
s_fieldcatalog-ref_tabname = 'VBAP'.
s_fieldcatalog-ref_fieldname = 'VBELN'.
APPEND s_fieldcatalog TO lt_fieldcatalog.
CLEAR s_fieldcatalog.
Material number
s_fieldcatalog-col_pos = '2'.
s_fieldcatalog-fieldname = 'MATNR'.
s_fieldcatalog-tabname = 'T_VBAP'.
s_fieldcatalog-ref_tabname = 'VBAP'.
s_fieldcatalog-ref_fieldname = 'MATNR'.
APPEND s_fieldcatalog TO lt_fieldcatalog.
CLEAR s_fieldcatalog.
Net price
s_fieldcatalog-col_pos = '3'.
s_fieldcatalog-fieldname = 'NETPR'.
s_fieldcatalog-tabname = 'T_VBAP'.
s_fieldcatalog-ref_tabname = 'VBAP'.
s_fieldcatalog-ref_fieldname = 'NETPR'.
s_fieldcatalog-cfieldname = 'WAERK'.
s_fieldcatalog-ctabname = 'T_VBAP'.
APPEND s_fieldcatalog TO lt_fieldcatalog.
CLEAR s_fieldcatalog.
Currency.
s_fieldcatalog-col_pos = '4'.
s_fieldcatalog-fieldname = 'WAERK'.
s_fieldcatalog-tabname = 'T_VBAP'.
s_fieldcatalog-ref_tabname = 'VBAP'.
s_fieldcatalog-ref_fieldname = 'WAERK'.
APPEND s_fieldcatalog TO lt_fieldcatalog.
CLEAR s_fieldcatalog.
Quantity
s_fieldcatalog-col_pos = '5'.
s_fieldcatalog-fieldname = 'KWMENG'.
s_fieldcatalog-tabname = 'T_VBAP'.
s_fieldcatalog-ref_tabname = 'VBAP'.
s_fieldcatalog-ref_fieldname = 'KWMENG'.
s_fieldcatalog-qfieldname = 'MEINS'.
s_fieldcatalog-qtabname = 'T_VBAP'.
APPEND s_fieldcatalog TO lt_fieldcatalog.
CLEAR s_fieldcatalog.
UOM
s_fieldcatalog-col_pos = '6'.
s_fieldcatalog-fieldname = 'MEINS'.
s_fieldcatalog-tabname = 'T_VBAP'.
s_fieldcatalog-ref_tabname = 'VBAP'.
s_fieldcatalog-ref_fieldname = 'MEINS'.
APPEND s_fieldcatalog TO lt_fieldcatalog.
CLEAR s_fieldcatalog.
ENDFORM. -
Display two fields in one single cell in a BEx report.
In a BEx 7 query, we need to display 'First name' and 'Last name' in one cell/column called "Name". The 'First name' and 'Last name' are two different info objects in the multiprovider on which the query is built. These are navigational attributes for Char - Employee. The entire flow is in 7.0 version.
Any pointers to how this can be done in the query designer?
Thanks.Hi,
Follow the following steps:
1. Create a Variable and in General Tab Set Processing By As Customer Exit.
2. Now go to CMOD & Write the following code doing some custom changes specific to your requirement:
WHEN "Variable Name"
"Here you can write a code to select the value from Infocube table and Loop it in a work area"
Loop it_tab INTO wa
concatenate S_date s_tstmp into s_val_new separated by space.
l_s_range-low = s_val_new.
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
APPEND l_s_range TO e_t_range.
END LOOP
Note: l_s_range is a structure and holds a single line whereas E_T_range stands for internal table and have multiple values . in customer exit (used for variable ) holds the derived value for the variable .
You can go to query and there u can drag this Characteristic on which you created this custom exit variable -
Report Painter - Display two characteristics on one line in lead column
I have a requirement to produce a Report Painter report to display values by Cost Centre and Cost Element.
The requesting user wants to see the Cost Centre AND Cost Element keys displayed on each row of the report, to allow for manipulation in Excel.
I have no problem grouping Cost Element within Cost Centre or vice-versa, but am not aware of any way of displaying both key values on each row in the lead column (or anywhere else).
Has anybody done this?Hi Robin,
the request is not unusual. However, report painter does not allow for two key columns or a key column combining two characteristics. You might consider using SAP Query (with table COEP or COSS/COSP for aggregates) if you do not want to resort to developing the report in ABAP.
Regards
Nikolas -
Plant abroad - when use tax indicator? Two reporting countries one invoice
Hi!
My customers has its head office (company code) in Sweden. It has plants abroad and we have activated this function. Now the sellers in Sweden have been on business trip in both Sweden and in Australia (where we have plant abroad). They have used their master card and now the invoice from the bank has arrived and my customer wonders what tax indicators should be used when posting the invoice (with travel costs both in Sweden and Australia). My questions are:
-Should we use only swedish tax indicators (rep. country Sweden) on all costs on the invoice, both from Sweden and from Australia? Or should I use different tax indicators, since the customer is VAT registered in both countries?
-Does plant abroad only regards shipping material to and from the plant in Australia? Or can other costs that appears when having travelling costs within the country also be reprted with Australian tax indicators (reporting country Australia)? If it it so, how can I post an invoice with tax indicators with different reporting countries in one transaction in fb60?
Thank you very much in advance!
Best Regards, ÅsaHello,
Could you please tell me the solution for the same as I am having some similar situation.
Thanks. -
Oracle Reports : one query - two reports?
Help, please, Oracle Reports 10g.
I have a query, need to make two reports in one. They are similar, just couple parameters are different, say, entreprise type and region;
How do I display these two reports in one? I tried to make parameters as placeholders, package variables, put an trigger on outer frames for reports. parameters do change their values but just the same report displays twice. where is the trick?
Thank youThe way I have done this in the past was to create 2 master frames, 1 for each report and then put conditions on each frame as to when it is to appear. Hope this helps..
-
Two tabular reports on one page
Hello,
I've a page with master an two different detail regions.
For both detail regions I need a tabular form.
The first is no problem. Because the second one cannot be created automatically by ApEx I created the region with the buttons (other names) and the processes manually.
When I press the button "add" in the second tabular report region the empty column is added to the first tabular report region. The same problem I have with the "Delete" button.
Is there generally no possibility to place two tabular reports on one page?
Thanks in advance
Regards
UlrikeI have a similar need, where I would like to display two reports within different regions on the same page. Both reports would be linked to a Form, such that the desired row could be edited. If the user clicks on a row within region A then it would go to one form for editing that row, and if the user clicks on a row within region B then it would go to a seperate Form for editing.
I wondered if I could use two "Forms with Reports" and then create a third page that references these to pages through an I-Frame. Hopefully, when I clicked on a row within the I-FRAME everything would navigate to the proper form with the proper row. Is this feasible, or is there a better approach that I should consider? -
Combine Two Crystal Report In One Report
Hi
I made a two crystal report in that two report i used subreport
I want to combine this two report.
that is i have to make multilevel crystal report.
when i Combine this two report
the subreport which is contain in that two report is not import.
so how can i import this two reports in one.Hi,
When you combine two reports, you can only have one subreport working directly. Then other subreport has to be recreated in the new report.
Thanks,
Gordon -
Two half report in one A4 size.
I have a report. the preview of that report is half of A4 size. so i want to show two reports in one A4 size.
How to do this?
Thanks and regards,
Skud.You have to combine your two reports to one report, sharing the same layout.
Maybe you are looking for
-
Printing pdf files in xcelsius drop-down
I have a series of .pdf files that are associated to Drop-down selectors in an Xcelsius 2008 dashboard. Is there a way to allow the user to print a pdf file based on a selection in a drop down. Or, worse case, offer a static drop down box to be pop
-
G6-1322sl IDT Audio Driver for Win 8.1 X64 VEN_111D&DEV_7605
Hi, i'm searching for a driver working on my pc with win 8.1 X64 , unfortunatly, i have tested a lot of driver: sp60042 sp63997 sp59620 sp63555 But no one works for my pc, driver is installed but still no audio.
-
hello there My HP model CP 1215 wont print on my laptop the laptop is a gigabyte and has windows XP installed It works well with all my other HP printers I see from forums that this is a common problem with this model. do you have a driver update whi
-
After I open and read an email using my mail app, how do I get back to the email app to open an read others. I am closing the email open, going back to the home screen and reopening the mail app every time. There's got to be a better way to do this
-
HeadPhones for Apple TV?
I am wondering if anyone knows how I can use Headphones with Apple TV. I currently have a headphone set for my Sony HDTV. However, it does not work with Apple TV. Is there any waya round this?