SAP report into BI
Hi All
I have customised Report in SAP with Ztcode. My requirement is I have to extract the same data into BI what are possible ways.
Thanks in advance
Vani
Hi,
R/3 : I assume this report is bulit on around different tables , if you want to extract the data for this:
1. Go to RSO2 - create a datasource
2. Use "transaction data"
3. Use the method "function module" - use as template RSAX_BIW_GET_DATA_SIMPLE
4. Create a new function module with the coding from your ABAP program
5. Create a strucure, that you want to copy to BW.
BW
1. Replicate a datasource
2. Create a infocube/DSO.
3. Infopackage, Transforamtions then DTP. ( Load data)
4. Design the BI Report in BEX and run the report.
Step by step procedure for generic extraction delta
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
Generic Extraction via Function Module
/people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
Regards
CSM Reddy
Similar Messages
-
Save a the output of a SAP report into Html
Hi , I have a SAP report which in MM to determine pro rate factor of oil & water for the given combination of plant, storage location, material, period and year . When we run the report it produces a report which can be printed and signed by managers, I wnat to save this to N drive automatically for future use just incase something goes wrong .So I want to save this automatically in html in the N drive, how do I do that please.
Thanks
AaravHi ,
try this
USE THE FM
CALL FUNCTION 'WWW_HTML_MERGER'
EXPORTING
template = rep_template
IMPORTING
html_table = html[]
CHANGING
merge_table = merge_table[]
EXCEPTIONS
OTHERS = 1.
I think this will convert the output into HTML format.
So in the HTML[] you will have the data.
NOW upload this data into the N drive.
I got this code from
include FGRWEF98B_F98_BATCH_OUTPUT_CLO.
Check this include .
Regards,
Venkatesh. -
Extracting a Report from SAP Spool into a Useful Excel 2010 Format
Hi All,
Extracting a Report from SAP Spool into a Useful Excel 2010 Format. I'm currently running the following report in SAP and would like the
ability to set this report up as a recurring report running weekly and
subsequently access this report in a useable Excel 2010 format without
much data manipulation. Can you please assist me. Below, I've tried to
provide an example of what I'm encountering. Thanks, beforehand for
your assistance.
Here goes:
Step one: Run 62 Report in SAP S_P99_41000062- Material List Price and
Inventory
Step 2. Select stored Variant "Weekly KPI", ok. Enter the enter the
desired company code and period I want thre report to run for and update
the currency, if necessary. Having input my desired criteria, I believe
I can either execute immediately, run in the background, preset to run
at date in the future. For this example let's just execute, immediately.
This is where the difference originates. Given, I run this report
immediately, I'm able to simply extract the result to Excel via the list
selection noted in the tool bar below. The result is a data friendly
excel 2007 report is automatically generated.
Export to Excel via list:
Select save and Excel 2007 opens automatically:
That said, the method outlined above works perfectly fine if you want
the report immediately. Now let go back and run the exact same report
with exceptoin of running it in the background and having to retrieve it
from the Spool (SP01) uisng my user ID. Given the report generated in
the background, I would now access the report via the spool and make
the following selections:
SP01 + execute to see my report
I would hit the sunglasses to see the actual report, then want to
extract this report to Excel by selecting the export option.
I would at this point select spreadsheet and be given an option to save
the spreadsheet to local file. However, upon trying to open the
spreadsheet I will receive an error messageindicating that the format is
different than that which the file I am currently trying to open it
with. I'm currently running Excel 2010 on my computer. The currency
format and other issues arrise with this extract. Please help.
Thanks,
Chowadary.Update to Latest GUI.
Use List -> Export -> Spreadsheet to get the output to excel.
I remember in ALV max length allowed is 1023 characters and the max no of columns supported is 90. Issue occurs when row size of exported data gets more than 1023 character. (This includes if Long/Medium Header Text used ) If it exceed 1023 character the columns splits and moves to next row.
Check your fieldcatog for header lengths.
-Satya -
My question is that How to add a report into the SAP-SCRIPT .
by using PERFORM ......ENDPERFORM
I don't know how to used it .Hi Sandeep,
Please check this link
http://help.sap.com/saphelp_40b/helpdata/en/d1/803279454211d189710000e8322d00/content.htm
http://www.allinterview.com/showanswers/37425.html
Calling ABAP Subroutines: PERFORM
You can use the PERFORM command to call an ABAP subroutine (form) from any program, subject to the normal ABAP runtime authorization checking. You can use such calls to subroutines for carrying out calculations, for obtaining data from the database that is needed at display or print time, for formatting data, and so on.
PERFORM commands, like all control commands, are executed when a document is formatted for display or printing. Communication between a subroutine that you call and the document is by way of symbols whose values are set in the subroutine.
Syntax in a form window:
/: PERFORM <form> IN PROGRAM <prog>
/: USING &INVAR1&
/: USING &INVAR2&
/: CHANGING &OUTVAR1&
/: CHANGING &OUTVAR2&
/: ENDPERFORM
INVAR1 and INVAR2 are variable symbols and may be of any of the four SAPscript symbol types.
OUTVAR1 and OUTVAR2 are local text symbols and must therefore be character strings.
The ABAP subroutine called via the command line stated above must be defined in the ABAP report prog as follows:
FORM <form> TABLES IN_TAB STRUCTURE ITCSY
OUT_TAB STRUCTURE ITCSY.
ENDFORM.
The values of the SAPscript symbols passed with /: USING... are now stored in the internal table IN_TAB . Note that the system passes the values as character string to the subroutine, since the field Feld VALUE in structure ITCSY has the domain TDSYMVALUE (CHAR 80). See the example below on how to access the variables.
The internal table OUT_TAB contains names and values of the CHANGING parameters in the PERFORM statement. These parameters are local text symbols, that is, character fields. See the example below on how to return the variables within the subroutine.
From within a SAPscript form, a subroutine GET_BARCODE in the ABAP program QCJPERFO is called. Then the simple barcode contained there (u2018First pageu2019, u2018Next pageu2019, u2018Last pageu2019) is printed as local variable symbol.
Definition in the SAPscript form:
/: PERFORM GET_BARCODE IN PROGRAM QCJPERFO
/: USING &PAGE&
/: USING &NEXTPAGE&
/: CHANGING &BARCODE&
/: ENDPERFORM
/ &BARCODE&
Coding of the calling ABAP program:
REPORT QCJPERFO.
FORM GET_BARCODE TABLES IN_PAR STUCTURE ITCSY
OUT_PAR STRUCTURE ITCSY.
DATA: PAGNUM LIKE SY-TABIX, "page number
NEXTPAGE LIKE SY-TABIX. "number of next page
READ TABLE IN_PAR WITH KEY u2018PAGEu2019.
CHECK SY-SUBRC = 0.
PAGNUM = IN_PAR-VALUE.
READ TABLE IN_PAR WITH KEY u2018NEXTPAGEu2019.
CHECK SY-SUBRC = 0.
NEXTPAGE = IN_PAR-VALUE.
READ TABLE IN_PAR WITH KEY u2018BARCODEu2019.
CHECK SY-SUBRC = 0.
IF PAGNUM = 1.
OUT_PAR-VALUE = u2018|u2019. "First page
ELSE.
OUT_PAR-VALUE = u2018||u2019. "Next page
ENDIF.
IF NEXTPAGE = 0.
OUT_PAR-VALUE+2 = u2018Lu2019. "Flag: last page
ENDIF.
MODIFY OUT_PAR INDEX SY-TABIX.
ENDFORM.
Best regards,
raam -
How to include a report into the SAP-SCRIPT
plz tell me
How to include a report into the SAP-SCRIPT
ASAPcreat a z report like this....................
REPORT zmmgl_picklist1.
TABLES : likp,ltap,ltak.
data : lv_NUM1 type c .
data : lv_NUM type c.
*& Form get_data1
text
-->IN_DATA text
-->OUT_DATA text
FORM get_data1 TABLES in_data STRUCTURE itcsy
out_data STRUCTURE itcsy.
READ TABLE in_data WITH KEY name = 'LTAP-VBELN'.
lv_NUM = lv_NUM1 + 1.
out_data-name = 'lv_NUM'.
out_data-value = lv_NUM .
APPEND out_data.
endform.
*& Form get_data
This form is to read details from LIKP *
-->IN_DATA text
-->OUT_DATA text
FORM get_data TABLES in_data STRUCTURE itcsy
out_data STRUCTURE itcsy.
READ TABLE in_data WITH KEY name = 'LTAK-VBELN'.
Select single bldat from likp into likp-bldat where lgnum = ltap-lgnum.
out_data-name = 'LIKP-BLDAT'.
out_data-value = likp-bldat.
APPEND out_data.
READ TABLE in_data WITH KEY name = 'LTAK-VBELN'.
Select single vstel from likp into likp-vstel where lgnum = ltak-lgnum .
out_data-name = 'LIKP-VSTEL'.
out_data-value = likp-vstel.
APPEND out_data.
READ TABLE in_data WITH KEY name = 'LTAK-VBELN'.
Select single kunnr from likp into likp-kunnr where lgnum = ltap-lgnum.
out_data-name = 'LIKP-KUNNR'.
out_data-value = likp-kunnr.
APPEND out_data.
ENDFORM. "get_data.
after this go to the script editor......
/: perform get_data in program zmmgl_picklist1.
/: using <ap-vbeln& (Reference field.this field should be there in both program and script.....)
/:changing &likp-bldat&
/:changing &likp-vstel&
/:changing &likp-kunnr&
\[removed by moderator\]
Regards
Anbu
Edited by: Jan Stallkamp on Jun 10, 2008 2:26 PM -
Regarding conversion of PDF Reports into .XLS or .XLSX format report in SAP MII
Hi,
Is there any way out within the scope of SAP MII to convert PDF Reports into .XLS or .XLSX formatted output.
It is possible to convert PDF Reports into .CSV format through SAP MII, but I am not sure about .XLS format.
Can anyone help me doing this?Hi Sue,
I would like to assist! I just reached out to you directly. It will come from: [email protected]
Let's see what we can figure out!
Kind regards, Stacy -
How to connect Webi Report into SAP Portal?
Dear Gurus,
i would like to connect Webi Report into SAP Portal.
Could you please give me the steps to follow to acheive that requirement or send me some documents?
ThanksPlease check the wiki below.
http://wiki.sdn.sap.com/wiki/display/BOBJ/IntegrationofBOEXI3.1intotheSAPEnterprisePortal+7.x -
Include Movement Type into FBL3N and NA into MB51 (SAP report).
Hi SAP Gurus,
1.Is this possible to Include Movement Type into FBL3N, if You guys know that pls let me, what are the steps require.
2.Enhancement to existing SAP report, t-code:KOB1 to include standard cost, std quantity, actual cost, actual quantity by part details and assembly part number in SE & SR document type
Guys please help on this.Hai
i thought u require the layout which give report like FBL3n ,not in standard lyout which u insert field.
then go path in clude it required field
Financial accounting /genaral ledger accounting/gl accounts/line items/display line item. where u may go for new field to
insert like by new entries..not only for gl,u may search for ap,ar, also get this type configuration for respective path.
clear -
Automation of "pulling SAP report data" into BW
Hi,
I need to upload standard SAP R3 report data into BW at the end of every month.
I'm looking for something like this. Is this possible?
--> run SAP R3 report automatically
--> save the report into a CSV file
--> save the file onto a application server
--> if successful, raise an event & schedule a process chain to load CSV file into ODS.
Please remember that, i can't use any standard extractors as this report is complicated.
I can't even use generic extractors as it is not a single table but many tables (I can't even create joins out of the tables to get the report).
Appreicate any help on this.Hi Hari,
Your approach looks reasonable. I see no problems with that.
But still look at the possibility of using the report program code to create a generic function module extractor.
Bye
Dinesh -
RFKABL00 SAP Report - Display Changes to Vendors
Hi
Report: RFKABL00 SAP Report - Display Changes to Vendors
In R3, we can run this report either from:
1) SE38 or
2) "Change Vendor: Initial Screen" (i.e. FK02) -> Environment-> Account Changes-> All Fields-> Environment-> Multiple Display.
it shows all the updates dates & who changed the information, i wanted to use these info into my Program. but don't know what table its using to fetch update date & time and changed fields. LFA1 has only recent change.
Can anyone have some idea what table i can use for these change History.
Thanks...Hi,
Check table CDHDR and CDPOS for object class KRED.
Please let me know if you require further help.
Regards,
Ganesh Sawant -
How to copy standard SAP report to a Z report?
Hi All,
Guys, I have a requirement to copy an standard SAP report and make some changes to it. Please let me know how to copy a standard SAP report as a Z report. Is there any simple way or will I have to open the source code and copy it into the new Z program? If that is the case, how will I copy the screens and related PBO/PAI events?
Please provide me a step-by-step solution.
Thanks & Regards,
MadhurHello Madhur,
As Raja had said, yuo could just copy the program from SE38. But just remember a few points:
1. If the standard report is being used in some other programs, then there's no way you can make your Z-report get used in all such instances. I suspect that you may not want to do that anyways, but just in case.
2. Just also check out if the standard report you're talking about has any INCLUDE programs within it. If there are too many standard INCLUDEs in the main report, then you might have to decide whether you need to copy all of them too, or let them be as they are.
3. You are likely to have some problems with the text-elements and translation that may have been maintained for the original report.
I have experienced some problems with respect to the second and third points in the past, so it is worth it to be a bit careful.
Regards,
Anand Mandalika.
Regards,
Anand Mandalika. -
Looking for Standard SAP report
Hello forum,
Can some one tell me if there is a standard SAP report that would compare or can be used to compare a delivery order with a sales order and show the changes made in terms of quantity? I am looking for the report name
Thanks in advance,
KHello,
Can some one tell me if there is a standard SAP report that would compare or can be
used to compare a delivery order with a sales order and show the changes made in
terms of quantity? I am looking for the report name
I think your requirement can't be met with standard functionality. The best way to for mapping this requirement would be to create a Custom Report involving two below things.
Use the program which is called when we access Sales Order --> Environment --> Changes.
Use the table for delivery item level LIPS for Quantity comparision.
Kindly try out this approach and let us know if any further issues comes into picture.
Regards,
Sarthak -
SUBMIT and return the value of that report into internal table
Dear all,
I have a requirement. I want to submit a report and return the value of that report into my internal table.
How to do this.
Pl. guide.Hi Vidhya,
Below links from SAP help will resolve your issue.
http://help.sap.com/saphelp_nw04/Helpdata/EN/fc/eb3bde358411d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3bd1358411d1829f0000e829fbfe/content.htm
Edited by: Harsh Bhalla on Jan 2, 2010 11:54 AM -
Please help with following query on Extracting the non-sap Data into BW.Please advice the full documentation on Loading,Transforming,Reporting for NON-SAP data into BW .
Essentially, the Third party tool provides a matrix for maximizing either profit or revenue (volume) for each loan product offering depending upon the bank's goals. For example, at the car dealership, the salesman inputs the price of car, the loan term, your FICO score, income etc and the tool calculates an interest rate for your loan based upon the bank's goals at the time. The tool has a Java front end and C++ on the back
Will assign points on reply and appreciate your helpAshley
There are different ways of doing this. One way is down load third party data into Flat file and then upload into BW using flat file extraction.
Other option is load data using DB connect. please see this link for DB connect
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/2f0fea94-0501-0010-829c-d6b5c2ae5e40
Hope this helps
Thnaks
Sat -
Reg: Download report into Excel file
Hi All,
While downloading the ALV report into excel file(System -> List -> Save -> Local file) or (List -> Export -> Local file), i cannot download full report in to excel. Even though the report contains just 200 rows(I can able to download about 90 lines).
Some reports can able to download all the data, even the report is very big. Currently I am blind to solve, anyone can help me to solve this issue.
Thanks in advance.The most elegant way of downloading ALV display data to EXCEL is displaying the excel in the SAP GUI screen itself. Select "Excel in Place" and then save it from there. Before that you need to let the VB script of SAP know as trusted macro. This is done by opening a blank excel file then go to Tools > options > Security > Macro Security > Trusted Publishers (tab) > (check) Trust access to Visual Basic Project. This activation is one time activation. Once you do this you can see ALV display exactly like in normal ALV with all the colors fields etc.
Maybe you are looking for
-
I am looking for an app that allows one of my students to use her ipad as a second monitor. I have tried some already, but I don't want her to have control over the desktop. She would be using it to help her see as her eyesight is very poor.
-
Exchange rate differences not posted in paralel currency
Hi gurus, I have a difficult one. I have the followign situation: 1) We are using CLP for Local Currency (pesos chilenos) 2) We are using USD for Local 2 Currency (group) 3) We have implemented the Material Ledger (USD currency) W
-
Dears, I have the problem that documents of specific reporting countries do not appear on the EU sales list. Allthough the related tax codes are flaged with the EU code "1" as well as the reportig country. Thanks for your help Regards
-
Hi, I have an issue in report painter-GR55. Our report in report painter will show planed / actual cost, planed /actual quantity. Our material cost planing is done from cost activity of the project builder. Whereas in the report output , some materia
-
my ipod is reconized in itunes but the songs and apps aren't! i can't sync it with out losing all my data!