Extract data from views
Hi friends,
Does anyone know how to extract data from views in a poduction system for e.g
TXW_ANLA
TXW_ANLB
TXW_ANLC
TXW_ASSCLA
Thanks.
kris
You could create a query in SQ00, create an InfoSet that uses the logical database "ADA".
Markus
Similar Messages
-
Hi friends,
Does anyone know how to extract data from views in a poduction system for e.g
TXW_ANLA
TXW_ANLB
TXW_ANLC
TXW_ASSCLA
Thanks.
krisHi;
[Query|http://help.sap.com/saphelp_erp2005/helpdata/en/f6/c39138e4a0341fe10000009b38f8cf/content.htm]
Below are the steps to create an infoset.
1. Go to transaction SQ02.
2. Create a Zinfoset. (give a name for infoset and click on create).
3. Select "Direct Read of Table" in the Data source tab and provide the name of the table (in your case BSEG).
4. In the next pop-up, Choose "Select all fields".
5. Save the infoset.
Now, you go to RSO2 and create a data source based on this infoset.
You need to Generate the infoset.
Hope this helps
Regards
Shashi -
How to extract data from generic view and function module
hi experts,
can anybody give me the steps to extract data from generic view and functon modules.
thanks and regards
venkathttps://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0f46157-e1c4-2910-27aa-e3f4a9c8df33
https://websmp103.sap-ag.de/~sapidb/011000358700007535452002
Hope it Helps
Chetan
@CP.. -
Extract Data from a View into multiple columns
fairly new sql person here, I have a question on extracting data from a View that I have created and formatting it in a way that the user needs.
My View has the following columns:
Account
Department
Budget
Spent
Values would be such as:
Account Department Budget Spent
1 A 1.00 1.00
1 B 2.50 1.45
1 C 3.00 4.00
2 A 4.00 1.00
2 B 2.00 1.00
What I'm wanting to do is extract the data out in the following format:
<dept> <account> 1 <account> 2
<budget> <spent> <budget> <spent>
A 1.00 1.00 4.00 1.00
B 2.50 1.45 2.00 1.00
C 3.00 4.00
basically dept as a column and then separate columns for each accounts budget and spent values going across
thanks!Search for pivot queries in this forum.
However, you need to have finite number of accounts in Account column, otherwise output will be, i must say, non-readable and the query to be written would be unrealistic. -
Anyone tried this - Extract data from HANA Live reuse views into BW?
Hello Experts,
I've read from this blog http://scn.sap.com/community/bw-hana/blog/2014/05/26/go-hybrid--sap-hana-live-sap-bw-data-integration that this scenario
> "Loading of data into BW using Reuse Layer of SAP HANA Live as data source (Extract data from HANA Live reuse views into BW)" is possible.
Does anyone has a step by step guide on how to do this? Can you please share?
Regards,
DaSaintHi DaSaint,
best to check the online documentation
Notes about transferring data from SAP HANA using ODP - Modeling - SAP Library
Best regards,
Andreas -
Unable to extract data from an AS/400 system.
Hello experts.
We are trying to extract data from an AS/400 system but not having any success until now.
I´ll write down you the stepts that we have followed until now:
1.- Create a DB Connect between both systems
2.- Create a Source System from AS400 in the workbench under DB Connect Directory
3.- Generate datasources from tebles specified in the schema of the connection
break point -
At this point, we had a problem with some tables with at least one fieldname containing character "Ñ".
After asking some possible solutions to SAP, the told us this is not supported, as the system can´t have any object with character "Ñ", so the transfer structure was unable to activate with this fields in the datasource.
--- end of brek point --
4.- After those issues, we´ve decided to implement, in another schema, views from those tables which had the fieldnames with that character "Ñ", changing them to an "N".
5.- We´ve created another source system with that schema, and user than can see that schema.
6.- To be able to see those views, in transaction RSDBC, we had to deactivate the two checkboxes in the first window ( Choose tables and Choose views) .
7.- Right afeter, we could generate correctly the datasources from this logical tables.
8.- We have designed the hole dataflow for this datasources and everithing went rigth.
9.- But wen we tried to execute the infopackage to extract data from those logic tables, we cannot get any registers. Acctualy the charge remains yellow after the job have finished.
Please, I would appreciate any help you could give us on this problem.
Thank you very much
Regards
JoaquinI´d like ti add something to this thread, and maybe clarify a littel bit the question.
The only way that the BW system recognizes those logical tables, through transaction RSDBC is checking out the two boxes on this transaction, "Select Tables" and "Select Views".
I don´t know haw these logical tables have been created, bus does this mean that the are not neither tables or views as BW understand them.
Please, if someone knows anythin about this, answer to this thread.
Thank you very much.
Joaquin Sobrido -
How can I join 3 tables while extracting data from SAP R/3?
I have 3 tables with the following columns
Emp table (emp)
emp_id
emp_name
emp_add
Dept table (dept)
dept_id
dept_name
dept_loc
Location table (loc)
loc_id
loc_name
Now. If I want to select data from loc_id = 10 and emp_id between 2000 and 3000
How to join these three tables while extracting data from R/3
join condition
loc.loc_id = dept.loc_id
and dept.dept_id = emp.dept_id
and loc.loc_id =10
and emp.emp_id between 2000 and 3000.
Could any one let me know the procedure to extract this data into BW system.Hi,
shouldn't your join condition be:
loc.loc_id = dept.DEPT_LOC
and dept.dept_id = ??
If you can join the three tables then create a generic datasource (RSO) based on a view (create your view with your join in SE11).
Enable the loc_id and the emp_id as selectable in the datasource so you can then select the values from a BW IPack.
hope this helps...
Olivier. -
Extracting data from Z-table from SAP R/3 to BW
Hi all
I want to extract data from a Z-table from SAP R/3 system to Bw system. Currently I am on BW 3.5. Since it is a Z table I dont have a standard extractor for it & I dont knw how to create it. Can anyone provide me with the step-by-step documentation of how to extract data from a non standard SAP table????Hi
You need to create Generic Datasource on the Z-Table you want to get data from
Go to RSO2 transaction to create generic datasource .
You need to give technical name of datasource under datasource type you want and click on create. Then you can give descrption and Application component under which u want see the datasource,
enter the z table name under view/ table and save.
here you can click on check boxes to make fields hidden or selection fields.
Regards
Ravi
Edited by: Ravi Naalla on Aug 25, 2009 8:24 AM -
How to extract data from a structure?(Data Dictionary)
Hi all,
This is regarding extracting data from a structure.
For Eg:if we want to extract data from a structure ADDR1_DATA,How will we do that in report programming?Structures on its own has no existence unless it s attached to a database table or view.when am using 'Where used List' on that structure also I am not getting any database tables or views.What can I do about this?
Thanking you,
anjalyHI Anjaly,
as you said structure does not have any value .. unless something is added to it..
So just use the structure to define the type of the sttructure you want..
Or to include it in your itab like..
data : Begin of itab occurs 0.
include structure ADDR1_DATA.
data i type i.
end of itab.
you cannot directly extract data from the structure ADDR1_DATA..
regards
satesh -
How to extract data from the fields present in two or three tables
Hi Experts,
I have a scenario where i have to extract data from the fields of different tables. e.g. let there 2 tables which have some number of fields . I want the data of 3 fields each from these 2 tables. How can i get that??
SamHi
You can create view in tcode se11..
here you include all tables from which you want to fetch the data..
you need to give selection condition here
eg..
say select empname from table A, select empadd from table B.. where empno(from A)=empno(from B)
(note that you dont need to write queries like this.. i have just given u the example)
After creating the view you can create datasource in RSO2..
Regards
Swati -
How to extract data from planning book
nu t apo. need help regarding how to extract data from planning book givn the planning book name , view name & some key figures.
Total Demand (Key Figure DMDTO):
o Forecast
o Sales Order
o Distribution Demand (Planned)
o Distribution Demand (Confirmed)
o Distribution Demand (TLB-Confirmed)
o Dependent Demand
Total Receipts (Key Figure RECTO):
o Distribution Receipt (Planned)
o Distribution Receipt (Confirmed)
o Distribution Receipt (TLB-Confirmed)
o In-Transit
o Production (Planned)
o Production (Confirmed)
o Manufacture of Co-Products
Stock on Hand (Key Figure STOCK):
o Stock on Hand (Excluding Blocked stock)
o Stock on Hand (Including Blocked stock)
In-Transit Inventory (Cross-company stock transfers)
Work-in-progress (Planned orders / Process orders with start date in one period and finish date in another period)
Production (Planned), Production (Confirmed) and Distribution Receipt elements need to be converted based on Goods Receipt date for projected inventory calculation.Hello Debadrita,
Function Module BAPI_PBSRVAPS_GETDETAIL2 or BAPI_PBSRVAPS_GETDETAIL can help you.
For BAPI BAPI_PBSRVAPS_GETDETAIL, the parameters are:
1) PLANNINGBOOK - the name of your planning book
2) DATA_VIEW - name of your data view
3) KEY_FIGURE_SELECTION - list of key figures you want to read
4) SELECTION - selection parameters which describe the attributes of the data you want to read (e.g. the category or brand). This is basically a list of characteristics and characteristic values.
BAPI_PBSRVAPS_GETDETAIL2 is very similar to BAPI_PBSRVAPS_GETDETAI but is only available from SCM 4.1 onwards.
For the complete list of parameters, you can go to transaction SE37, enter the function module names above and check out the documentation.
Please post again if you have questions.
Hope this helps. -
How to Extract data from a transaction..
Hi All
There are some transactions and report programs which are used daily to produce some results and the requirement is to extract that data into BW
so how can we extract information from a transactions and programs
Any help will be really appreciated and ofcourse rewarded ...
Regards
LisaYou can use the following methods
Method 1:
1> Create another ABAP program with logic to calculate all the fields, but instead of writing the result data to screenm, it should store it in a internal table and pass it to the extract structure.
2>Create a InfoSet query based on your ABAP program and use that InfoSet
3> Create a DataSource based on this InfoSet query and extract data from the DS to you ODS/Cube
In this method there is no Intermediate storage used.
Method 2:
1> Modify the report/transaction program to store the required data into a Transparent Table (u can create one from SE11) in addition to displaying on the screen.
2> Create a View on this transparent table (from SE11)
3> Create a DataSource on that view and extract data from that into your ODS/Cube.
Here, the required data is stored in the Table in addition to the DataTarget.
But, to implement either of these solution, you will need a decent ABAP knowledge. Else, it will give you a tough time!
Good luck!
Regards,
Sree -
Extracting data from dynamic forms
I am new to using Livecycle and see the advantages of using dynamic forms for collecting data. I have designed several dynamic forms which include rows with 6 to 9 text fields and may be completed with 10 to 100 rows. I have had to use text fields for collecting numeric information as many of the references start with zeros (003456).
Whilst Acrobat Pro provides for Livecycle dynamic forms to be enabled for Acrobat Reader filling and saving is extracting to Excel the best option available if you do not have the Enerprise version of Livecycle?
One problem I have in using Excel is that whilst the completed PDF documents capture the leading zeros, when I view the Excel spreadsheet the lead zeros have been lost. I have experienced this problem in importing Excel files into Access. To overcome this I usually create five lead rows with characters in all the fields that I want Excel to define as text - otherwise it processes them as numerics.
Any better ways of extracting data from a hundred or so dynamic forms?Hi,
your problem is not the exported data, it's Excel that drops the leading zeros by default.
You can use a custom pattern to keep the leading zeros.
0#### will display intergers with up to 5 places with a leading zero.
Value: Displayed Value:
012 012
12345 12345
0045 0045
Here an example video for telephone numbers.
http://www.youtube.com/watch?v=n4lGHTG0kCk -
Error Extracting data from a STRUCTURE in SELECT statement
Hi,
I have an SAP defined structure BIW_KNA1_S which has been enhanced with 2 fields (ZZS1 and ZZS2). I need to populate these 2 fields with data from the 2 SORT fields from ADRC table.
I tried the following code but i do not get any output. This piece of code is in a FORM statement from which i should return contents of table ITAB in the foll. code.
DATA ZS TYPE TABLE OF ADRC WITH HEADER LINE.
DATA ITAB LIKE TABLE OF BIW_KNA1_S WITH HEADER LINE.
FIELD-SYMBOLS: <FS> LIKE ITAB.
SELECT SORT1 SORT2 FROM ADRC INTO CORRESPONDING FIELDS OF TABLE
ZS WHERE ADDRNUMBER IS NOT NULL.
LOOP AT ITAB ASSIGNING <FS>.
IF ZS-ADDRNUMBER IS NOT INITIAL.
<FS>-ZZS1 = ZS-SORT1.
<FS>-ZZS2 = ZS-SORT2.
ENDIF.
ENDLOOP.
Since i did not get any output, I then added the foll. line of code before the LOOP statement.
SELECT * FROM BIW_KNA1_S INTO CORRESPONDING FIELDS OF TABLE ITAB
WHERE KUNNR IS NOT NULL.
When i execute this, i get the foll. error.
"BIW_KNA1_S is not defined in the ABAP dictionary as table, projection view or database view."
How to extract data from a structure BIW_KNA1_S using a SELECT statement.
Could someone help.
ThanksHi Roberto,
Ok. Let me explain my requirement more clearly. I don't want to write the code in include ZXRSAU02. In ZXRSAU02, i will have only PERFORM statement which will call the FORM statement depending on the name of the program.
Ex: PERFORM form_name ...tables i_t_data.
In this way, i don't need to make any changes in this file. I will only need to make the changes in the report where my Actual FORM code resides. In the ABAP report, i will have my FORM code which will return contents.
And this is the code which my FORM report will consist:
DATA ZS TYPE TABLE OF ADRC WITH HEADER LINE.
DATA ITAB LIKE BIW_KNA1_S OCCURS 10 WITH HEADER LINE.
FIELD-SYMBOLS: <FS> LIKE ITAB.
SELECT SORT1 SORT2 FROM ADRC INTO CORRESPONDING FIELDS OF TABLE ZS WHERE ADDRNUMBER IS NOT NULL.
LOOP AT ITAB ASSIGNING <FS>.
IF ZS-ADDRNUMBER IS NOT INITIAL.
<FS>-ZZS1 = ZS-SORT1.
<FS>-ZZS2 = ZS-SORT2.
ENDIF.
ENDLOOP.
But as you said, i will have some problems i suppose. Like if my ADRC has some 70 records and if there are 100 records in BIW_KNA1_S, then when i try to copy the fields from ADRC into ITAB (BIW_KNA1_S) i might have problems. I will get back to you once i clarify these things.
Thanks for your reply. -
Extracting data from ECC tables in BODS
Hello all,
I'm trying to extract data from ECC tables. I have created a data store and imported the necessary tables(FAGLFLEXT) that i will be using. I have used the table in a job as a source and tried to execute the job but i was only able to extract 28 records from the extractor when there are many more records present in the table and also when i view the data in BODS i can only see 28 records.
Plz help me in resolving this. How to extract the whole data?
Thanks in advance.The table layouts can be found in the [documentation for EPMA|http://www.oracle.com/technetwork/middleware/bi-foundation/epm-data-models-11121-354684.zip] . If this doesn't work, there are other options to export hierarchies to text files. You can use life cycle management or the [EPMA File Generator|http://docs.oracle.com/cd/E17236_01/epm.1112/epma_file_gen_user/launch.html].
Kyle Goodfriend
http://www.in2hyperion.com
Please make sure you assign your post as answered when an appropriate answer is provided (or helpful when applicable) so others benefit.
Maybe you are looking for
-
Getting value of parameter from request object
If i submit a form using button element of html form then i dont get name of the button element as Parameter of request object and hence its value. why and how? Thanks in advance
-
I accidentally bought the wrong package how do I get my money refunded?
-
I've a habit of renaming files with custom names. Thing is, I like to know what the original, camera-applied filename is so I can get back to the unaltered original if needed. LR will append the OR file numbers to a custom name on export, but what I'
-
Sharepoint 2013 Power View creation error
Hi all! I have a problem creating Power View from Power Pivot gallery. I've added a PowerPivot model to PowerPivot gallery When I try to create Power View report, there is a error occured Please see screenshot here: http://gyazo.com/ba05af4be04551166
-
EhP5 WDA ESS: Not able to marke fields as mandatory
Hello Community, currently I am customizing WDA ESS Scenarios on EhP5. I added some new fields in the method IF_FPM_GUIBB_FORM~GET_DEFINITION of the feeder class for the scenario. The method has also an EXPORTING Parameter for the field descriptions