How to Extract data from Cluster table and transperant table
Hello BW Experts ,
I want to extract the data from cluster table BSEG and a transperant table BKPF .
The primary fields are BELNR , GJHAR and BUKRS.
the fields of table BKPF to extarct is BUDAT and fields of BSEG table is HKONT , BSCHL , ZUONR and POSID.
I can not create a view over these two tables as BSEG is a Cluster table.
Please guide me.
Regadrs ,
Amol.
hi Amol,
take a look Sigg's weblog
/people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
you can use RSAX_BIW_GET_DATA_SIMPLE as sample, there specified import parameters
FUNCTION RSAX_BIW_GET_DATA_SIMPLE.
""Lokale Schnittstelle:
*" IMPORTING
*" VALUE(I_REQUNR) TYPE SRSC_S_IF_SIMPLE-REQUNR
*" VALUE(I_DSOURCE) TYPE SRSC_S_IF_SIMPLE-DSOURCE OPTIONAL
*" VALUE(I_MAXSIZE) TYPE SRSC_S_IF_SIMPLE-MAXSIZE OPTIONAL
*" VALUE(I_INITFLAG) TYPE SRSC_S_IF_SIMPLE-INITFLAG OPTIONAL
*" VALUE(I_READ_ONLY) TYPE SRSC_S_IF_SIMPLE-READONLY OPTIONAL
*" TABLES
*" I_T_SELECT TYPE SRSC_S_IF_SIMPLE-T_SELECT OPTIONAL
*" I_T_FIELDS TYPE SRSC_S_IF_SIMPLE-T_FIELDS OPTIONAL
*" E_T_DATA STRUCTURE SFLIGHT OPTIONAL
*" EXCEPTIONS
*" NO_MORE_DATA
*" ERROR_PASSED_TO_MESS_HANDLER
Similar Messages
-
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.. -
How to extract data from xml file and store that data inti data base table
Hii All
I have one table that table contains one column that column contain an XML file
I want to extract data from that XML file and want to store that extracted data into an other table.
That xml file has different different values
I want to store that values into table in diff diff columnsHi,
I am also facing the same problem.I have a .xml file and i need to import the data into the custom table in oracle database.
Can you please let me know if you know the solution how to do it in oracle apps.
Thanks, -
How to extract data from Hyperion essbase and load into essbase application
Hi Guru,
I want to extract data from hyperion essbase 1 application and then load to another application of hyperion essbase.
Can any one know,how to do this.
Please,suggest LKM and IKM that should be used for this.Thank you very much John,
I am using Report script method not your least like method(Calc script as you mentioned in your blog)...:)
I don't know how to check logs of essbase.
what is load rule and how to use that?
My ODI version is:10.1.3.6.2
One more think i want to ask you is i don't have hyperion planning as Technology in topology maneger in my ODI.
Though, in my oracledi\lib\scripts\xml directory, i have TECH_HyperionPlanning.xml
So,how to import technology to have this OR I need something else for this....
Edited by: Maulik Vadodariya on 16 Mar, 2011 3:51 PM
Edited by: Maulik Vadodariya on 16 Mar, 2011 4:11 PM
Edited by: Maulik Vadodariya on 16 Mar, 2011 4:14 PM
Edited by: Maulik Vadodariya on 16 Mar, 2011 4:14 PM
Edited by: Maulik Vadodariya on 16 Mar, 2011 4:15 PM -
How to extract data from cluster table
Hi, experts,
Here I want to extract change documents, which is from tables CDHDR(header) and CDPOS(line items). The problem is that CDPOS is a cluster table so that I can't create a view to develop a generic data source.
I have search on the forum and some one said generic data source based on function module was a choice, but I think coding FM is so complex, especially including delta implementation.
Could any one give me some advice? or give me some coding samples?
Thanks a lot!Dear Sam,
I would suggest you to have a look at the function module CHANGEDOCUMENT_READ u2013 you can use this function module as a core in the developed function module for generic extractor. Unfortunately, the suggested function module can not handle import parameters for field names, so the strategy which can be applied here is to use this function module to fill the internal table based on restrictions on object class and table name and then go through filled internal table and delete records which are not relevant for fields KOFIZ or ABRSPERR.
As for delta implementation, would you please advise if delta relevant field based on timestamp generated on date and time of the change document is sufficient for your needs? If so then you can use fields UDATE and UTIME to generate timestamp on them including the field containing generated timestamp to the extract table. Next step here is to choose this field as delta relevant field in the Generic DataSource maintenance (TCode RSO2).
Please inform me if this solution suits you or if you have any questions or concerns regarding it.
My best regards,
Vadim -
How to Extract Data from IT 0025 and Modify the layout for Printing
Hi All,
Query----> My client has a requirement to output the appraisal data in a given format from IT 0025. (The entire appraisal done for the employee)
I would like to know from where this data will be picked up is this data stored in some cluster table and how can we change the layout for printing in the desired format?
Note: PA and PD is Integrated. When we create appraisal in IT 0025 no record gets created in PA0025, in which table does the record gets created and how to retrieve the data?hello,
normally stored in pa0025.
are you using the old or new appraisal system?
if you are using the new one. its not stored in pa0025 it is done with relationships..
regards
stefan -
How to extract data from cluster of component levels?
I use harmonic analyzer function to read out the component levels cluster, which cotain data for channel 0 and 1
but have problem reading out the fundamental component for each channel ( array element 1). Pleas help.
Thanks
Solved!
Go to Solution.
Attachments:
extract comonent levels cluster.doc 33 KBUhhh.... you marked your reply as the accepted solution. Give yourself a cigar!!!!
Instead of using index, wire the array of clusters to a For Loop. Set indexing enabled on the input terminal. Then you can build an array of all the elements if you wish to handle it that way. You can get an output array for each element in the cluster. Not sure if this is desirable to you, just a thought.
Message Edited by tbob on 04-20-2010 03:46 PM
- tbob
Inventor of the WORM Global -
How to extract data from text file to database table
Hi ,
I am trying to upload data in text file to database table using GUI_UPLOAD function .what would be the program for that.
thanks in advance.Hi,
I don't think you have a standard sap program to upload data from file to database table...
Instead you can create a custom program like this..
DATA: T_FILEDATA(1000) OCCURS 0 WITH HEADER LINE.
DATA: T_ZTABLE LIKE ZTABLE OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = 'C:\TEST.TXT'
tables
data_tab = T_FILEDATA
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT T_FILEDATA.
T_ZTABLE = T_FILEDATA.
APPEND T_ZTABLE.
ENDLOOP.
MODIFY ZTABLE FROM TABLE T_ZTABLE.
COMMIT WORK..
Thanks,
Naren -
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 -
JDBC-XI-FILE scenario. How to extract data from more than one table in JDBC
Hi,
I was asked a question like in JDBC-XI-FILE scenario........ How to extract data from more than one tables (i.e from JDBC system) ?? What is the logic to do the same ??
I am not sure whether this is a valid question..........but any help in this regards is highly appreciated.
Regards
KumarHI,
Yes it can be possible ,please see the following links
JDBC Receiver with Oracle Stored Procedures
configuring jdbc adapter with multiple tables
RFC -> XI -> JDBC Scenario Updating Multiple Tables
/people/alessandro.berta/blog/2005/10/04/save-time-with-generalized-jdbc-datatypes
JDBC Adapter multiple Selects
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=jdbc%20with%20multiple%20tables&cat=sdn_all
Regards
Chilla.. -
How to extract data from info cube into an internal table using ABAP code
HI
Can Anyone plz suggest me
How to extract data from info cube into an internal table using ABAP code like BAPI's or function modules.
Thankx in advance
regds
AJAYHI Dinesh,
Thankq for ur reply
but i ahve already tried to use the function module.
When I try to Use the function module RSDRI_INFOPOV_READ
I get an information message "ERROR GENERATION TEST FRAME".
can U plz tell me what could be the problem
Bye
AJAY -
How to read data from cluster table.
Hi experts.
CDPOS --- "Change document items" ... is a cluster table.
how to select data from it into an internal table....
please help..
i will award points for every help.
thanks
saurabh.Hi Saurabh,
Use the foll. statement,
IMPORT <f1> [TO <g 1>] <f 2> [TO <g 2>] ... FROM MEMORY ID <key>.
For Eg,
IMPORT ITAB TO JTAB FROM MEMORY ID 'table'.
This code reads the internal table ITAB from the cluster "table" into the internal table JTAB.
Hope it helps. -
How to extract data from SAP 4.7 and upload data to SAP ECC 6.0
Hi,
How to extract data from SAP 4.7 and upload data to SAP ECC 6.0? Can i use BDC,BAPI,LSMW? Help me please.hi
good
both works not possible simultaneously.
If you want to do it in two separate task than you can use the GUI_UPLOAD function module to fulfill your requirement.
thanks
mrutyun^ -
How to fetch data from cluster tables
hi
i need to know how to fetch data from cluster tables please update me if any
i know that we cannot use joins in cluster table we use view etc
but i need detailed inforation on methods for fetching data from cluster tables
regards
NishantHi,
Check the following links
http://fuller.mit.edu/hr/cluster_tables.html
The specified item was not found.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0f46157-e1c4-2910-27aa-e3f4a9c8df33 -
How to extract data from custom made Idoc that is not sent
Hi experts,
Could you please advise if there is a way how to extract data from custom made idoc (it collects a lot of data from different SAP tables)? Please note that this idoc is not sent as target system is not fully maintained.
As by now, we would like to verify - what data is extracted now.
Any help, would be appreciated!Hi,
The fields that are given for each segment have their length given in EDSAPPL table. How you have to map is explained in below example.
Suppose for segment1, EDSAPPL has 3 fields so below are entries
SEGMENT FIELDNAME LENGTH
SEGMENT1 FIELD1 4
SEGMENT1 FIELD2 2
SEGMENT1 FIELD3 2
Data in EDID4 would be as follows
IDOC SEGMENT APPLICATION DATA
12345 SEGMENT1 XYZ R Y
When you are extracting data from these tables into your internal table, mapping has to be as follows:
FIELD1 = APPLICATIONDATA+0(4) to read first 4 characters of this field, because the first 4 characters in this field would belong to FIELD1
Similarly,
FIELD2 = APPLICATIONDATA+4(2).
FIELD3 = APPLICATIONDATA+6(2).
FIELD1 would have XYZ, FIELD2 = R, FIELD3 = Y
This would remain true in all cases. So all you need to do is identify which fields you want to extract, and simply code as above to extract the data from this table.
Hope this was helpful in explaining how to derive the data.
Maybe you are looking for
-
Hp pavilion dv6 3049tx recovery disc info needed...
i lost my 1st recovery dvd...can anyone please upload the 1st revovery dvd in any website? i need the 1st revovery dvd only for my dv6 3049tx. i have rest 5dvds...only my 1st dvd is lost. please help someone. NB - I bought the laptop last year Septe
-
No sound is coming from my HP pavilion dv5 laptop after automatic update
product name: HP pavilion dv5 laptop operating system: windows vista 32 bit home primium after automatic update no sound is coming from my laptop.internal speaker are also not working.also windows starting sound is not coming.i also installed the dr
-
I am running mac osx 10.7.2 on a macbook pro. I'm trying to export a pdf file with a password in preview v5.5.1. However, when I click on the check box next to the "encrypt" option, it just changed the grey color to a deeper grey and didn't ask me
-
I just received a new iPod Touch. It came with the Stocks app and a few others I'm not really into. How do I delete an app that is already on my iPod? There is no delete circle like there is on apps I have added myself. Thanks!!
-
Adobe premier pro cc Crashesh on startup !
Am using adobe premier pro cc , it was working fine until it oneday it crashed on startup with out any message. am using windows 8 , core i5 with 16 gb ram and lots of harddisk and nvidia gts 450. intalled premier pro cs6 works fine.. all my project