Generate static HTML Report from Abap
Hello dear BW-gurus,
Let me explain our problem: we need a html report which contains the query-result (like the normal result table in a web-query) and all corresponding (BW)documents to that query or key figures. Also all key figures formulas should be in that document.
Up to now no problem: I use an own class which inherits from cl_rsr_xls_grid, take the p_string (the query result as html formatted string) and concatenate all the other Information like documents or formulas html-formatted to that string. From this string I can generate a file or can countinue processing.
But here is my problem: We need a link from the key figures in the result table to the documents or formulas of the key figures.
please take a look to the example document:
<b>Query result</b>
0Datefrom | KPI A | KPI B
01.01.06 | 1234 | 2345
02.01.06 | 3456 | 4567
<b>existing Documents</b>
Doc A
KPI = KPI A , Datefrom = 02.01.06 : "Content of Document A"
Doc B
KPI = KPI B , Datefrom = 01.01.06 : "Content of Document B"
--> In this example, there should be two <a hrefs>-links:
1. From 3456 to Doc A
2. From 2345 to Doc B
Anyone has an idea of how to get it working? Is the class cl_rsr_xls_grid completely wrong for that? Do I have to use a cl_rsr_www* class and cl_rsr_www_modify_table? And if so, how can I generate a sting or so with the cl_rsr_www* classes?
thanks in forward for your help!
O.Tl.
Hello dear BW-gurus,
Let me explain our problem: we need a html report which contains the query-result (like the normal result table in a web-query) and all corresponding (BW)documents to that query or key figures. Also all key figures formulas should be in that document.
Up to now no problem: I use an own class which inherits from cl_rsr_xls_grid, take the p_string (the query result as html formatted string) and concatenate all the other Information like documents or formulas html-formatted to that string. From this string I can generate a file or can countinue processing.
But here is my problem: We need a link from the key figures in the result table to the documents or formulas of the key figures.
please take a look to the example document:
<b>Query result</b>
0Datefrom | KPI A | KPI B
01.01.06 | 1234 | 2345
02.01.06 | 3456 | 4567
<b>existing Documents</b>
Doc A
KPI = KPI A , Datefrom = 02.01.06 : "Content of Document A"
Doc B
KPI = KPI B , Datefrom = 01.01.06 : "Content of Document B"
--> In this example, there should be two <a hrefs>-links:
1. From 3456 to Doc A
2. From 2345 to Doc B
Anyone has an idea of how to get it working? Is the class cl_rsr_xls_grid completely wrong for that? Do I have to use a cl_rsr_www* class and cl_rsr_www_modify_table? And if so, how can I generate a sting or so with the cl_rsr_www* classes?
thanks in forward for your help!
O.Tl.
Similar Messages
-
Generating an HTML report from two tabs.
Hi Guys, and sorry if the title is not clear.
My situation is like this: I have two tabs for two different conditions. In the first tab, I want generate part of my HTML report regarding the first tab. Then, in the second tab, I want add more details to my previous HTML report. Can this be done in LabVIEW 8.0? I appreciate any advice.
cheers and thanks!
MikeHello Gurdas,
I have not previously encountered this behavior when using the report generation toolkit to append images to a Word report. Can I assume that you are using the "Append Control Image to Report VI" to add these images to the Word report? With this VI you wire in a reference to each of the controls for which you are trying to export the image. I ask because I was able to successfully export images for graphs that I had not yet viewed on a tab control. Also, which version of LabVIEW are you using that you experience this difficulty?
One thing to consider may be execution order; when does data get written to graphs on each tab? Are you sure that an image append operation can never take place before data exists on a graph? If you have a small example VI that shows this behavior, that might help me to identify an easier workaround for you. I hope this information is useful for you. Thanks,
Mike D.
National Instruments
Applications Engineer
Message Edited by Duffman Says: on 02-13-2007 07:34 PM -
Generate an HTML file from a Report in ABAP
Good morning,
How I could generate an HTML file from a report.
Any Ideas... I have found the function WWW_ITAB_TO_HTML, but someone has the standar code and how use this function?
Thanks a lot,
Hernán RestrepoHi,
I am facing a similar problem.I did try using the function module WWW_ITAB_TO_HTML in the reoprt program, as I'm trying to generate a url from a report, but i'm not able to get the expected results. The code is given below. Could someone please try and help me resolve this issue.Thanks in advance.
DATA: emp_name TYPE char80.
DATA: it_itabex TYPE zdb_ex_tty,
it_emp TYPE TABLE OF zis_emp,
it_org TYPE TABLE OF zis_org,
it_pos TYPE TABLE OF zis_pos,
it_pos_alloc TYPE TABLE OF zis_pos_alloc,
it_res TYPE TABLE OF zis_res,
it_res_alloc TYPE TABLE OF zis_res_alloc,
ls_itabex TYPE zdb_ex_s.
DATA: lv_filename TYPE string,
lv_path TYPE string,
lv_fullpath TYPE string,
lv_replace TYPE i.
DATA qstring LIKE it_itabex OCCURS 10.
DATA: url(200), url2(200), url3(200), fullurl(200).
FIELD-SYMBOLS: <fs_emp> LIKE LINE OF it_emp,
<fs_org> LIKE LINE OF it_org,
<fs_pos> LIKE LINE OF it_pos,
<fs_pos_alloc> LIKE LINE OF it_pos_alloc,
<fs_res> LIKE LINE OF it_res,
<fs_res_alloc> LIKE LINE OF it_res_alloc.
Report Program to export data from database to Excel.
Populate all the tables that have to be exported.
SELECT * FROM zis_org INTO TABLE it_org.
SELECT * FROM zis_pos INTO TABLE it_pos.
SELECT * FROM zis_pos_alloc INTO TABLE it_pos_alloc.
SELECT * FROM zis_emp INTO TABLE it_emp.
SELECT * FROM zis_res_alloc INTO TABLE it_res_alloc.
SELECT * FROM zis_res INTO TABLE it_res.
Append the Column Header
CLEAR ls_itabex.
ls_itabex-ipp_pos_id = 'IPP Pos ID'.
ls_itabex-emp_name = 'Name'.
ls_itabex-dt_of_join = 'JoinedOn'.
ls_itabex-emp_status = 'Status'.
ls_itabex-org_name = 'Org'.
ls_itabex-prj_name = 'Project'.
ls_itabex-mgr_name = 'Line'.
ls_itabex-designation = 'Designation'.
ls_itabex-specialization = 'Specialization'.
APPEND ls_itabex TO it_itabex.
Append all the tables into one internal table
LOOP AT it_pos_alloc ASSIGNING <fs_pos_alloc>.
CLEAR ls_itabex.
ls_itabex-ipp_pos_id = <fs_pos_alloc>-ipp_pos_id.
READ TABLE it_emp ASSIGNING <fs_emp> WITH KEY emp_guid = <fs_pos_alloc>-emp_guid.
IF sy-subrc = 0.
CONCATENATE <fs_emp>-emp_fname <fs_emp>-emp_lname INTO ls_itabex-emp_name SEPARATED BY space.
ls_itabex-dt_of_join = <fs_emp>-dt_of_join.
ls_itabex-emp_status = <fs_emp>-emp_status.
ls_itabex-specialization = <fs_emp>-specialization.
ENDIF.
READ TABLE it_pos ASSIGNING <fs_pos> WITH KEY ipp_pos_id = <fs_pos_alloc>-ipp_pos_id.
IF sy-subrc = 0.
ls_itabex-designation = <fs_pos>-designation.
READ TABLE it_org ASSIGNING <fs_org> WITH KEY org_id = <fs_pos>-org_id.
IF sy-subrc = 0.
ls_itabex-org_name = <fs_org>-org_name.
ls_itabex-mgr_name = <fs_org>-mgr_name.
ENDIF.
ENDIF.
READ TABLE it_res ASSIGNING <fs_res> WITH KEY org_id = <fs_org>-org_id.
ls_itabex-org_name = <fs_org>-org_name.
APPEND ls_itabex TO it_itabex.
ENDLOOP.
url = 'http://testweb/scripts/wgate/zvw10a/!?~language=en'.
url2 = '&~OkCode(LGON)=LGON&login-login_user='.
url3 = '&vbcom-vbeln='.
CONCATENATE url url2 url3 INTO fullurl.
WRITE: /'Staffing Excel'.
CALL FUNCTION 'WWW_SET_URL'
EXPORTING
offset = 12
length = 10
func = fullurl
TABLES
query_string = qstring
EXCEPTIONS
invalid_table = 1
OTHERS = 2.
Thanks & Regards,
Preethi. -
Hi,
I ame trying to generate an html report with SQL/Plus, I have read some tutorial but I have not understood well how I can approach the issue.
Actually I have this report:
SET TRIMSPOOL on
SET PAGES 0
SET NEWPAGE 0
SET VERIFY OFF
SET FEEDBACK OFF
SET SPACE 0
SET ECHO OFF
SET MARKUP HTML Off
SELECT 'CENSIMENTO VARIAZIONE PRODOTTI'
FROM DUAL;
SELECT ''
FROM DUAL;
SELECT ''
FROM DUAL;
SELECT 'Evoluzione VAR'
FROM DUAL;
SELECT '--------------'
FROM DUAL;
SELECT ''
FROM DUAL;
SELECT RPAD('ISIN', 21, ' ')||' '||
RPAD('SGN', 4, ' ')||' '||
RPAD('VAR', 4, ' ')||' '||
RPAD('REF_DATE', 10, ' ')||' '||
RPAD('START_DATE', 10, ' ')
FROM DUAL;
SELECT RPAD('=', 10, '=')||' '||
RPAD('=', 3, '=')||' '||
RPAD('=', 3, '=')||' '||
RPAD('=', 8, '=')||' '||
RPAD('=', 9, '=')
FROM DUAL;
SELECT LPAD(TAB1.COD_ISIN, 12, ' ')||' '||
LPAD(TAB1.VAR_TRIMESTRALE_SGN, 3, ' ')||' '||
LPAD(TRIM(TAB1.VAR_TRIMESTRALE), 3, ' ')||' '||
LPAD(to_char(TAB1.DATA_TIMESTAMP, 'DD/MM/YYYY'), 11, ' ')||' '||
LPAD(to_char(TAB1.START_DATE, 'DD/MM/YYYY'), 11, ' ')
FROM SPR_ISIN_DSI_TO TAB1
INNER JOIN SPR_STATUS TAB2
ON TAB1.COD_ISIN = TAB2.ISIN
WHERE --TRUNC(TAB1.START_DATE) = TRUNC(SYSDATE)
--OR TRUNC(TAB1.END_DATE) = TRUNC(SYSDATE)
--AND
TAB2.DSITO_VAR = 'Y'
ORDER BY TAB1.COD_ISIN, TAB1.START_DATE DESC;
SELECT ''
FROM DUAL;
SELECT 'COLLEZIONE STATISTICHE: '
FROM DUAL;
--SELECT '================='
--FROM DUAL;
SELECT ' -Prodotti finanziari finanziari censiti: '||COUNT(COD_ISIN)
FROM SPR_ISIN_DSI_TO
WHERE END_DATE IS NULL;
SELECT ' -Prodotti finanziari aggiornati: '||COUNT(DISTINCT TAB1.COD_ISIN)
FROM SPR_ISIN_DSI_TO TAB1
INNER JOIN SPR_STATUS TAB2
ON TAB1.COD_ISIN = TAB2.ISIN
WHERE TAB2.DSITO_VAR = 'Y'
AND TAB2.NEW = 'N'
AND TAB1.END_DATE IS NULL;
SELECT ' -Nuovi prodotti finanziari censiti: '||COUNT(DISTINCT TAB1.COD_ISIN)
FROM SPR_ISIN_DSI_TO TAB1
INNER JOIN SPR_STATUS TAB2
ON TAB1.COD_ISIN = TAB2.ISIN
WHERE TAB2.DSITO_VAR = 'Y'
AND TAB2.NEW = 'Y'
AND TAB1.END_DATE IS NULL;
SELECT ' -Prototti. finanziari rimossi: '||COUNT(DISTINCT TAB1.COD_ISIN)
FROM SPR_ISIN_DSI_TO TAB1
WHERE TRUNC(TAB1.END_DATE) = TRUNC(SYSDATE)
AND NOT EXISTS (
SELECT COD_ISIN
FROM SPR_ISIN_DSI_TO TAB2
WHERE TAB2.END_DATE IS NOT NULL
AND TAB1.COD_ISIN = TAB2.COD_ISIN
);I would translate this in HTML.
I have begun to write this code:
set markup html on
head ' -
table {background: #eee; fone-size: 80% } -
th { background: #ccc: } -
td { padding: 0px; } -
spool result.html
PROMPT <H1>Censimento variazione prodotti</H1>
PROMPT <H2>Evoluzione var</H2>
set termout off
set pagesize 80
column TAB1.COD_ISIN 'Isin'
column TAB1.VAR_TRIMESTRALE_SGN 'Segno var trimestrale'
column TAB1.VAR_TRIMESTRALE 'Var trimestrale'
column TAB1.DATA_TIMESTAMP 'Data timestamp'
column TAB1.START_DATE 'Start date'
SELECT LPAD(TAB1.COD_ISIN, 12, ' ')||' '||
LPAD(TAB1.VAR_TRIMESTRALE_SGN, 3, ' ')||' '||
LPAD(TRIM(TAB1.VAR_TRIMESTRALE), 3, ' ')||' '||
LPAD(to_char(TAB1.DATA_TIMESTAMP, 'DD/MM/YYYY'), 11, ' ')||' '||
LPAD(to_char(TAB1.START_DATE, 'DD/MM/YYYY'), 11, ' ')
FROM SPR_ISIN_DSI_TO TAB1
INNER JOIN SPR_STATUS TAB2
ON TAB1.COD_ISIN = TAB2.ISIN
WHERE --TRUNC(TAB1.START_DATE) = TRUNC(SYSDATE)
--OR TRUNC(TAB1.END_DATE) = TRUNC(SYSDATE)
--AND
TAB2.DSITO_VAR = 'Y'
ORDER BY TAB1.COD_ISIN, TAB1.START_DATE DESC;
spool off
set markup html offBut when I try to execute this code I receive this error:
ORA-00900: invalid SQL statementBut, moreover I have another problem how can I insert in the html version this part of the old report:
SELECT 'COLLEZIONE STATISTICHE: '
FROM DUAL;
--SELECT '================='
--FROM DUAL;
SELECT ' -Prodotti finanziari finanziari censiti: '||COUNT(COD_ISIN)
FROM SPR_ISIN_DSI_TO
WHERE END_DATE IS NULL;
SELECT ' -Prodotti finanziari aggiornati: '||COUNT(DISTINCT TAB1.COD_ISIN)
FROM SPR_ISIN_DSI_TO TAB1
INNER JOIN SPR_STATUS TAB2
ON TAB1.COD_ISIN = TAB2.ISIN
WHERE TAB2.DSITO_VAR = 'Y'
AND TAB2.NEW = 'N'
AND TAB1.END_DATE IS NULL;
SELECT ' -Nuovi prodotti finanziari censiti: '||COUNT(DISTINCT TAB1.COD_ISIN)
FROM SPR_ISIN_DSI_TO TAB1
INNER JOIN SPR_STATUS TAB2
ON TAB1.COD_ISIN = TAB2.ISIN
WHERE TAB2.DSITO_VAR = 'Y'
AND TAB2.NEW = 'Y'
AND TAB1.END_DATE IS NULL;
SELECT ' -Prototti. finanziari rimossi: '||COUNT(DISTINCT TAB1.COD_ISIN)
FROM SPR_ISIN_DSI_TO TAB1
WHERE TRUNC(TAB1.END_DATE) = TRUNC(SYSDATE)
AND NOT EXISTS (
SELECT COD_ISIN
FROM SPR_ISIN_DSI_TO TAB2
WHERE TAB2.END_DATE IS NOT NULL
AND TAB1.COD_ISIN = TAB2.COD_ISIN
);I have found some tutorial but I do not succed to understand what I have to do.
I try to execute the previuos code in toad, for simplicity how can I obtain the html output in my window?
Thanks a lot, bye bye.Hi Abdujaparov,
To prevent your ORA-00900: invalid SQL statement, try putting the head option on the same line as set:
set markup html on head ' -
To execute in TOAD, execute as script by pressing F5 (Never tried with markup, though)
Regards
Peter -
How can I Generate two different reports from single execution of Test cases in NI teststand
Hi,
My requirement is to generate two different reports from NI teststand. One for the Logging of error descriptions and the other report is by default generated by the Teststand. How can i generate a txt file that contains error descriptions other than that mentioned in the default report?
Solved!
Go to Solution.Do you need to do that just for these two sequences but not for other sequences? I don't see a problem to use SequenceFilePostStepRuntimeError. Create this callback in both sequence files and configure them to log into the same file. SequenceFilePostStepRuntimeError callback is called after each step of the sequence file if it has runtime error. You can access the calling step error information via RunState.Caller.Step.Result.Error property. Take a look to attached example.
The "other way" is useful if you need to log errors not for every step of the sequence file, but for some of them. This is more complex, because you need to create a custom step types for these steps. For the custom step you can create substeps (post-step in your case) which will be executed every time after step of this type executed. Then, this is you job to determine if error happened in the step, acces to step's error information is via Step.Result.Error property.
Also, be aware that step's post-expression is not executed in case of error in the step.
Sergey Kolbunov
CLA, CTD
Attachments:
SequenceFilePostStepRuntimeError_Demo.seq 7 KB -
How to generate XML Publisher report from PLSQL Stored Procedure in APPS
Hi,
I have concurrent program of type PLSQL Stored procedure.I need to generate XML Publisher report from the same.I have changed the output of the concurrent program as "XML" but when I tried running it,the XML tags are not generated.Due to this I am unable to create the template.Its a urgent issue.
Please help me out .
Thanks in advance.
KaveriHi Kaveri
Sadly there is nothing magic about that output field. The only program type that you can flip it to XML and then magically get XML is for Oracle Reports. For plsql you will need to recode the plsql to generate XML rather than text that you have now.
You have some options, best option first:
1. Move the sql to a data template - check the user guide and blog for help or
2. Use SQL XML or XMLGEN (not great for large datasets) or
3. Use dbms_output.put_line and write the XML file manually - not performant at all
Regards, Tim -
How to cache a content item like a Static HTML Page from UCM to Coherence/C
Hi All,
How to cache a content item like a Static HTML Page from UCM to Coherence/Coherence Web?
ThanksHi,
Could you explain your use case in more detail?
It does not look like proper use of coherence to cache static content - it more suited for dynamic content like user session etc.
Adam -
Generate two xml reports from same execution
I need to generate a summary report and detail report from the same execution.
Detail report will record all the steps marked as Record result
Summary report to record only the steps that are of type Pass/Fail, Numeric Limit Test, MultiNumeric Limit Test and String test.
So far I have been able to generate two detail report from same execution and can save each report in separate folder.
How to get the data for summary versus detail report from the running sequence?
CLD,CTD
Solved!
Go to Solution.
Attachments:
ReportFolders.JPG 115 KBThanks for the approach.
I have created a sequence which recursively looks through the Parameters.MainSequenceResults and if StepType is one of the Test Types then displays in summary report.
On the summary report I also wanted to get the name of the subsequcenCall if that subsequence call contained a valid TestType for summary report. For example if subsequenceCall step has a Action and String type. I wanted it to display as shown in Image1.jpg below. Currently it displays as shown in Image2.jpg.
Attached is the recursive sequence that I am using.
CLD,CTD
Attachments:
GenerateSummaryReport.seq 8 KB
Image1.jpg 35 KB
Image2.JPG 140 KB -
Send BW query results as HTML email from ABAP program
I have published a code sample for sending BW query results as HTML email from ABAP program. if you have any questions or clarification, please post them here.
the same can be accessed from this link.
http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b7658119-0a01-0010-39a9-b600c816f370
Regards
Raja
Message was edited by: Durairaj Athavan RajaOK forget about my earlier post.
do the following changes.
declare the following variables:
data: xtext type standard table of solix .
DATA: atta_sub TYPE sood-objdes .
after the call of FM SCMS_STRING_TO_FTEXT add the following code.
CALL FUNCTION 'SO_SOLITAB_TO_SOLIXTAB'
EXPORTING
ip_solitab = text
IMPORTING
EP_SOLIXTAB = xtext .
and after the following statement
document = cl_document_bcs=>create_document(
i_type = 'HTM'
i_text = text
i_length = conlengths
i_subject = subject ).
add the following code
CALL METHOD document->add_attachment
EXPORTING
i_attachment_type = 'htm'
i_attachment_subject = atta_sub
i_att_content_hex = xtext.
now you will have results both in the body as well as attachment. (this is for test you can remove one of them )
Regards
Raja -
Does anyone know how to generate a html file from code in JSP without using a form, as i have one of those already. I don't want this page to appear, just exist.
ThanksYou can do like this:
File outputFile = new File("Publicacao.html");
FileWriter escrever = new FileWriter(outputFile);
escrever.write("<center><h1>Assunto:" + assunto + "</h1></center><br><center><h2>Titulo:" + titulo +"</h2></center><br><center><h3>Sub Titulo:"+subTitulo+"</h3></center><br>"+ conteudo +"<br>");
escrever.close(); -
Generating an html report based on table at sql 2005 db
Hi
I want to create an html report based on a table named inventory on sql server 2005 database.
first code used to generate an output report
try {
// TODO add your handling code here:
String s = "<html> <body> <table border=1><caption> Inventory Report </caption>";
s += "<tr><td>Item_id<td>item_name<td>Existing quantity</td><tr><td>3<td>4<td> <td>";
byte[] sb = s.getBytes();
FileOutputStream fs = null;
try {
fs = new FileOutputStream("D:\\Report\\Report.html");
} catch (FileNotFoundException ex) {
Logger.getLogger(mileshframe.class.getName()).log(Level.SEVERE, null, ex);
fs.write(sb);
fs.close();
} catch (IOException ex) {
Logger.getLogger(mileshframe.class.getName()).log(Level.SEVERE, null, ex);
Second jdbc code for connection and select all records in the table
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con = DriverManager.getConnection("jdbc:odbc:MerchandiseCon","sa","sql123#");
st = con.createStatement( );
ResultSet rset=st.executeQuery("Select Item_code,Item_Name,item_cost,item_quantity from Inventory");
String s="";
while(rset.next())
s+=(rset.getString(1)+"\t\t"+rset.getString(2)+"\t"+rset.getString(3)+"\t"+rset.getString(4)+"\n");
st.close();
con.close();
catch(ClassNotFoundException ex)
ex.printStackTrace();
catch(SQLException ex)
ex.printStackTrace();
} I want someone helps me to merge two codes into one code to generate an output html report.
thanks in advanceThis is my trial but not the desired result ,it's displayed the title and a line only
private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
String s = "<html> <body> <table border=1> <caption>Report title</caption>";
byte[] sb = s.getBytes();
FileOutputStream fs = null;
try {
// TODO add your handling code here:
try {
fs = new FileOutputStream("D:\\Report\\myeport.html");
} catch (FileNotFoundException ex) {
Logger.getLogger(NewJFrame.class.getName()).log(Level.SEVERE, null, ex);
fs.write(sb);
fs.close();
} catch (IOException ex) {
Logger.getLogger(NewJFrame.class.getName()).log(Level.SEVERE, null, ex);
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con = DriverManager.getConnection("jdbc:odbc:MerchandiseCon","sa","sql123#");
st = con.createStatement( );
ResultSet rset=st.executeQuery("Select Item_code,Item_Name,item_cost,item_quantity from Inventory");
while(rset.next())
s+=("<tr><td>"+rset.getString("Item_Code")+"</td><td>"+rset.getString("Item_Name")+"</td><td>"+rset.getString("item_cost")+"</td><td>"+rset.getString("item_quantity")+"</td></tr>");
try {
// TODO add your handling code here:
try {
fs = new FileOutputStream("D:\\Report\\myeport.html");
} catch (FileNotFoundException ex) {
Logger.getLogger(NewJFrame.class.getName()).log(Level.SEVERE, null, ex);
fs.write(sb);
fs.close();
} catch (IOException ex) {
Logger.getLogger(NewJFrame.class.getName()).log(Level.SEVERE, null, ex);
st.close();
con.close();
catch(ClassNotFoundException ex)
ex.printStackTrace();
catch(SQLException ex)
ex.printStackTrace();
} -
Using Crystal Report to create reports from ABAP
Hello,
We are currently using Jetform as the designer for our outputs like Invoice, Order confirmation, etc.....
We would like to switch to Crystal instead, but don't really know where to start from.
- We already have crystal on our B/W instance
- The additional need for Crystal is in R/3, and would be triggered trough ABAPs.
What I am looking for. I guess, is the equivalent to when:
we call up smartforms from ABAP using the generated function modules
we call up sapscript from ABAP using the predefine function call (write_form open_form close_form, etc)
we call up Jetform using special control code along with the data, sent to a jetform configured printer
=> What kind of call would we then make to send data to Crystal Reports place holder and print them?
=> What kind basis set-up is needed to have to comunication between Crystal and SAP established?
Thank you in advance for yours hintsHi,
You will likely be able to access the tables directly using the Opensql driver using Crystal Reports. I don't understand why you are assuming that an Infoset is necessary. Can you point me to the documentation that states that an Infoset is necessary?
In any case, if you want to create an Infoset, this is done in SQ02. You need to make sure that you belong to a user group in order for Crystal Report to see the infoset. -
How to generate a MSDS report from status GP (Generation possible) to RE
Hi EHS Goeroes,
I'm struggling with the Generation of the MSDS. I have done the following procedure and settings:
a) Create MSDS report (CG42)
b) Edit Generation Variant (CG2B)
Settings:
(I have assigned my template to the Generation Variant)
Generate manual request automatically: marked
Change Marks: 0
Initial release status: RE (released)
Version requirement: unmarked
Set historical automatically: unmarked
c) EHS > Specification Workbench > Report from Template (to test the design - display is correct and all phrases can be found)
d) EHS > Specification Workbench > Create new report
(report has been created succesfully and appears in Report Management).
e) EHS > Specification Workbench > Report Management:
MSDS_29 Material Safety Data Sheet for China World
Chinese Not Relevant Generation Poss. => generation possible.
Feedback affter clicking on Accept: You tried to carry out action 'Accept' on a report with status GP. However, this action is not allowed for reports with this status.
Feedback after clicking on Generate: You tried to carry out action 'Generate' on a report with status GP. However, this action is not allowed for reports with this status.
d) SE38 I have no jobs scheduled yet, so I run the following two programs to start the worklist manually, RC1AVGE1 and RC1AVGE2.
RC1AVGE1 - gave allot of feedback information regarding to changes and so on (first time I run it).
RC1AVGE2 - feedback: EHS: 'Worklist Generation for Reports - Selection for Check. - 0 reports to be checked were found'
From my understanding program RC1AVGE2 - should generate the MSDS.
e) WWI - monitor display (CG5Z):
100 @03\QNo background processes in client@ 5 SBR WWI-00000000000000000002 FREE RMDERKS
110 @03\QNo background processes in client@ 5 SBR WWI-00000000000000000063 FREE A132645
xxx SV001 @5B\QWWI server is active@ @02\QNo background processes on WWI server@
xxx SV003 @5C\QWWI server is inactive@ @02\QNo background processes on WWI server@
I checked if I had any jobs running in the background or has been finished, but it seems like it goes wrong here, the system does not generate a job for the generation of the MSDS_29. To be able to get the status of MSDS_29 to RE (Released).
Does anybody has an idea what I do wrong, or which settings might be incorrect? Futhermore, what are the further steps to issue the report in the SD module - report shipping?
Help is much appreciated!
Roy DerksHi Roy,
Check and activate the QWWI server for the second job wwi - 110. Try once to generate the MSDS.
I will revert back if i get information.
regards,
mahesh. -
How to generate Top sales report from SAP data ?
Hello experts,
I am completely a newbie to SAP BO , can any one guide me how to generate TOP sales of the year report from SAP data ?Hi David,
First Let me know the Source & Tools to involve.
Let me go with the generic approach:
If the source is BW, then you can create the logic in query designer designer and then you can incorporate the data into the dashboard or webi or crystal report whatever its.
If the source is sql or anyother DB then it can also be achievable in crystal or webi to write the logic in top 10 values by ranking then you can incorporate the data into the dashboard, but here you can limit the top or bottom values.
Hope this helps, please revert for more clarifications on this.
--SumanT -
Referencing static html pages from jsps...
Hi,
This is probably a very simple thing to solve, but I'm having problems with referencing
html pages from jsps under Weblogic.
I get Error 404 - not found, whenever I try something like this in a JSP...
<frame name="title" src="title.html" scrolling=no>
The title.html file has definitely been copied into my ear file, and yet it isn't
found. I can solve the problem by turning title.html into a jsp and registering
it in web.xml. But this seems like serious overkill with static content!!
Am I missing something really simple here?
I've worked it out - directory mistake...
Thanks,
Chris
"Matt Krevs" <[email protected]> wrote:
>it sounds like a relative pathing problem
>
>is title.html reachable if you enter its address in the browser?
>
>is title.html in the same directory as your jsp?
>
>perhaps you could post your web.xml file?
>
>"Chris Sceats" <[email protected]> wrote in message
>news:3d9c41b5$[email protected]..
>>
>> Hi,
>>
>> This is probably a very simple thing to solve, but I'm having problems
>with referencing
>> html pages from jsps under Weblogic.
>> I get Error 404 - not found, whenever I try something like this in
>a
>JSP...
>>
>> <frame name="title" src="title.html" scrolling=no>
>>
>> The title.html file has definitely been copied into my ear file, and
>yet
>it isn't
>> found. I can solve the problem by turning title.html into a jsp and
>registering
>> it in web.xml. But this seems like serious overkill with static content!!
>>
>> Am I missing something really simple here?
>
>
Maybe you are looking for
-
Filename in Save As dialog when saving PDF file
I have a web site serving up PDF files. Without going into details, the URLs of the PDFs are not just your basic URL but look simething like this: http://www.domain.com/WorkFlowApp/Clients/demo1/secure/Promo%20Cover%20Cool-MedH i.pdf?userId=55b64ad5-
-
Hi , I am having DSO in which data is coming from cube .In transformation ( Cube --> DSO ) Rule Type EQ "Direct Assignment & Aggregation EQ 'Overwite' & there is no Start & End routine present . Cube Data Planning Area Plant Country Customer Gr
-
Why Won't my updated version of iMovie open up??
Updated to iMovie 9.0.9, and now it will not open on my 2013 Mac Mini. It opens the iMovie window, says "Processing Event: New Event" then crashes and error reports, then when I click reopen it does the same thing. Would have included the error log h
-
Hi Experts, How can i capture multiple vendors for a particular purchase order in transaction MIRO through BADI Invoice_update.There can be a situatin where a particular purchase order can be linked to multiple vendors ( due to change in address), i
-
Control DHTML layer from flash
I am working on my portfolio site www.pandadesign.com and in the "book" section I want to call a DHTML layer with a flash button but alas I do not know how to do this...So here i am asking the Flash gods of the net for a little help.. alos i know the