Urgent: Add field in generic data source
Hi,
Could anyone please help me out in resolving the issue to add field from different table in generic datasource.
How can I add it in R/3 data source when a function module was created in ABAP to generate fields from PLPO table?
Whatz the changes has to be done at BW side to map the added field?
<u>Requirement</u>
1) Need one more field in the extractor. Field name is PLAS-LOEKZ. Initially client wanted me to add PLPO-LOEKZ which I added, now he needs the same fields from both the table (PLAS and PLPO).
2)The name of the extractor/structure is ZBW_ROUTINGS_OPERATION
3)Now, we need to add this field (LOEKZ from PLAS) in the function module as well. FM name is: Z_BW_ROUTE_OPERATION_EXTRACTOR. This will be in a SELECT query. We need to add this field in the SELECT statement.
Testing will be done in following steps
1) Go to Transaction RSA3.
2) Enter the data source Z_BW_OPERATION_ATTR(not sure about the name though, but it should end with OPERATION_ATTR)
3) Enter the following details:
EXTTY I
PLNNR 50000032
PLNTY N
4) Now execute (F8) the transaction.
5) Click on Display List
6) In the output, we should be able to see these 2 columns(PLAS-LOEKZ) and (PLPO-LOEKZ)
Please send your valuable suggestions to resolve the issue ASAP as its damn urgent.
Hi,
Here is an overview of the solution -
Use T.Code SE11> ZBW_ROUTINGS_OPERATION. Add your new field (PLAS-LOEKZ) to this table, check, save, activate. Edit your function module, SE37> Z_BW_ROUTE_OPERATION_EXTRACTOR and add your code to look up the correct value of this field LOEKZ from the table PLAS, check, save, activate. (Note that SAP provides a sample function module you can use as a template and customize for your requirements. This sample function module is RSAX_BIW_GET_DATA_SIMPLE.)
Your Generic DataSource Z_BW_OPERATION_ATTR is already created, you dont have to change any settings here. Just regenerate it in RSO2. Now test the extraction for the DataSource in RSA3.
Hope this helps
Sandeep
Similar Messages
-
Currency field in Generic Data Source
Hi All,
I have a case here, where i have few Amount field in my Generic Extractor which is based on a table ZXXX.
Now the key figures have 0currency appended in theie currency tab which is coming from table ZYYY, now while saving the data source is giving error that the extract structure is not proper, reason being the base table has no currency field and the kf's need to have one currency field to assign to it which is coming from some other table.
One sloution is create an FM based extractor, but we dont want that.
Can any one suggest any work around without any FM or View??
Thanks,
Neha.if your table have currency field with different reference table and field mean
you have to create view
Diagnosis
You tried to generate an extract structure with the template structure eg:XXXX(table). This operation failed, because the template structure quantity fields or currency fields, for example, field XXXX(fileld) refer to a different table.
Procedure
Use the template structure to create a view or DDIC structure that does not contain the inadmissable fields.
1.Create the view
2.Add the currency field and currecy key field also
3.Create the generic data source in RSO2
Regards,
G -
More than one field in generic data source
Hi All,
We wanted extract Allocation data for the sales order from R/3 to BW. I am not able to find proper data source for it... there are two datasources..we wanted afs specific datasource
2LIS_11_V_ITM : Sales-Shipping Allocation Item Data
2LIS_11_V_SCL : Sales-Shipping Allocation Schedule Line
But its not reflecting allocated quantity at all...
So we decided to create generic data source.. but there is one problem for some allocation ARUN is initial.. so i cann't use ARUN as delta field... can i use comination of Sales order no,Item and Schedule line number as delta field....
Because in RSO2 i can define only one field as delta specific field....
How to proceed ???
Regards,
Viren.Hi,
If you decided to use generic data source, make sure that, U'll have to take only
one filed as a delta, I suggest, you take any date field rather than the value fields
it may be created date/change date and so on so forth..
Regards,
Pattan. -
Issue with Safety Upper limit for CALDAY Field for Generic Data Source
Hi,
I have given Upper limit as 1 for Calday field of one of the Generic Data Sources.
I have got a doubt here.If today's load got failed and I will rerun the load next day.So Will that new run captures all 2 days records.
Can any one advise me on this.
Regards,
K.Krishna.Hi,
A one-day upper safety interval determines that an extraction run today, only fetches records up to yesterday (if the pointer has the day before yesterday date, the extraction comprises from the day before yesterday to yesterday). This is meant to avoid missing records that were about to be persisted in the database when the delta extraction is running but whose date was determined in memory before the delta started.
If pointer has today date value and you want to load data from today and yesterday, you should use a lower safety interval. Take into account that this could reload data previously extracted. Therefore, only InfoProviders with overwritting features (DataStores or InfoObject master data) should be used as targets of this extractions.
You can find further details at:
http://help.sap.com/saphelp_nw04/helpdata/en/37/4f3ca8b672a34082ab3085d3c22145/content.htm
I hope this helps you.
Regards,
Maximiliano -
Time Stamp Delta field for Generic Data Source
Hi Experts,
I have a requirement to create a Generic Data Source based on view. This view on PA0006 and PA0105 tables.
Will you please suggest me which field i have to take as delta field.
Thanks In Advance.Also, make sure that whenever a new record is created in those tables, field AEDTM is getting updated with system date else you will miss new records in delta unless there is a change in those newly created records.
Regards,
Gaurav -
Urgent ---- loading error through Generic Data Source
Hi, Bi Gurus
I am trying DATA MARTING i.e. I wanna extract data from RSMONICTAB nd RSREQDONE tables of BW(3.5) into a ODS in same BW(3.5)
means from tables RSMONICTAB and RSREQDONE tables I created a view
with required fields
then I created Generic data source on it.
--> I created coresponding Inoobjects --> ODS.
-->I loaded this ODS from that Generic datasource.
And I am getting this error?????????????????????
what to do???????????????????????????????????????
Error Message
Error message from the source system
Diagnosis
An error occurred in the source system.
System response
Caller 09 contains an error message.
Further analysis:
The error occurred in Service API .
Refer to the error message.
Procedure
How you remove the error depends on the error message.
Note
If the source system is a Client Workstation, then it is possible that the file that you wanted to load was being edited at the time of the data request. Make sure that the file is in the specified directory, that it is not being processed at the moment, and restart the request.Hi,
thanx again
I did as u said (loading upto PSA).
job's Status in SM37 FINISHED, Duration 8 seconds.
<b>JOB LOG</b>
Job started 00 516
Step 001 started (program RSBATCH1, variant &0000000004563, user ID CHAKRAVARTYS) 00 550
Start InfoPackage ZPAK_AVA2JBPAT43JP7DYC87X6CFAD RSM1 797
Synchronized transmission of info IDoc 1 (0 parallel tasks) R3 414
tRFC: Data Package = 0, TID = , Duration = 00:00:02, ARFCSTATE = R3 038
tRFC: Start = 2007.10.11 01:29:13, End = 2007.10.11 01:29:15 R3 039
InfoPackage ZPAK_AVA2JBPAT43JP7DYC87X6CFAD created request REQU_CWHVP35OSN90MVCAOSB2JNUWC RSM1 796
Job finished 00 517 -
Timestamp field in Generic data source
Hi ,
I need , what field we used as a TimeStamp in Generic Data source. and also can any body explain how to set timestamp delta , in Generic & Co_PA data sources.please. If any body gives right answer I will assign points to them.
thanks.Hi Leela,
Pls chk this link:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d3219af2-0c01-0010-71ac-dbb4356cf4bf
how to ...gds
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
1. Time stamp - The field is a DEC15 field which always contains the time stamp of the last change to a record in the local time format.
2. Calendar day - The field is a DATS8 field which always contains the day of the last change.
3. Numerical pointer - The field contains another numerical pointer that appears with each new record
http://help.sap.com/saphelp_nw04s/helpdata/en/37/4f3ca8b672a34082ab3085d3c22145/frameset.htm
*pls assign points, if info is useful*
Regards
CSM Reddy -
Delta field in generic data source
Hi,
in my data source we contain fields are :
clent,data record number,material,production planning item,sector,G/L account,chart of accounts,recordmode,base unit of measure
from above fields which field was i have to keep in generic delta ?Ok Ramakrishna,
I could see its a custom data source by looking at the fields you have mentioned..
But you need one date field or time field..on which u want to do delta..
How will you post the data to BW ,ie. based on what field?
Characteristics like Sales Number, Invoice Number,etc which holds unique and increasing value every time are used as Numeric Pointer.
But one problem with this Numeric pointer you cant update the existing records because for every transaction you have to give a Unique numeric pointer value -
Delta field for generic data source based on view EKBE
Hello,
I am creating a generic datasource based on table EKBE. Can anyone please tell me what field should I use for delta. Is it BUDAT(Posting Date in the Document) or CPUDT(Day On Which Accounting Document Was Entered).
Thanks for the help.
PraveenHello Ajeet Singh,
Thank you very much for the reply.
I will go ahead with CPUDT.
BUDAT is the date which can be changed. I can change the date in system and chances are it will not pick in delta.
CPUDT is the date on which document was created/changed.
Thanks,
Praveen -
Delta On CALDAY Filed for Generic Data Source
Hi,
I have enabled delta option on CALDAY Field for Generic Data Source.
I thought of giving Safety Interval for Upper Limit as 1 and Safety Interval for Upper Limit as ZERO.Would you please advise me on this, This fetches all delta data?.
Would you please advise me on this.
Thanks and Regards,
K.Krishna Chaitanya.Hi Krishna,
If your delta enabled field is Date then try this,
Safety Interval Upper Limit Calend. Days
Safety Interval Lower Limit 1 Calend. Days
Then test your delta, will get good result.
I created 4 GDS with this safety interval and working fine for me.
regards,
Kiran -
Generic data source with float field possible?
Hello,
when creating an generic data source using a view with a float field I get error R8359 (extract structure: You tried to generate an extract structure with the template structure .... This operation failed, because the template structure quantity fields or currency fields, for example, field ... refer to a different table.).
I changed the data element from ATFLV to e.g. FLOAT but it did not help.
SAP hint 335342 deals with this issue, but I just want to use the float number without the unit.
Is this possible or do I need to write a function module?
Best regards
ThomasHi,
you could try to add the unit table and field to your view. When saving the datasource in RSO2, you can choose to hide these fields if you don't want them extracted into BW.
Regards,
Øystein -
Hello BW Experts...!
I need to create a Generic Data Source out of a table called VBSEGK... I was trying in the usual way with RSO2 , but when I press save button after entering the Table name the following error is coming:
" Invalid Extract Stucture Template VBSEGK of Data Source ZPARK_01"
and when I click on the error message its showing
Diagnosis
You tried to generate an extract structure with the template structure VBSEGK. This operation failed, because the template structure quantity fields or currency fields, for example, field DMBTR refer to a different table.
Procedure
Use the template structure to create a view or DDIC structure that does not contain the inadmissable fields.
VBSEGK is a standard table , so I cant change the Table structure. Can any one give me some idea of how to create Data source with this table ASAP ASAP please....
Please ask me questions if you didnt get this...
thanksHi Harish,
Please check OSS note 335342.
Symptom
The creation of a generic DataSource which is extracted from a DDIC view or a transparent table terminates with error message R8359:Invalid extract structure template &2 of Datasource &1
Other terms
OLTP, DataSource, extractor, data extraction, generic extractor
Reason and Prerequisites
The problem is caused by a program error.
Solution
The table or view used for extraction must have currency and unit fields within the field list of the table/view for all currency and quantity key figures.Otherwise the consistency of the extracted data cannot be ensured.To make the generation possible, check whether all key figures of your table refer to unit fields that are within the field list.If this is not the case, there are two possibilities:
1. A table is used for extraction.
Create a view in which you have a currency / unit field contained in the view for each key figure. The currency / unit field from the table must be included in the view to which the key figure actually refers.
Example:
Field WKGBTR of table COEP refers to the unit field WAERS of table TKA01. In a view that contains field COEP-WKGBTR, table TKA01 and field WAERS must be included in the field list.
If the currency or the unit a key figure refers to is not located in a table but in a structure, the key figure has to be removed from the view and read via a customer exit (see below). Structures cannot be included in a view.
ATTENTION!! Often the key of the table in which the referenced unit is located, does not agree with the key in the table with the corresponding key figure. In this case, the join condition of both tables is not unique in the view definition, that means for each key line of the table with the key figure, several lines of the table with the unit may be read: the result is a multiplying of the number of lines in the view by a factor corresponding to the number of lines that fit the key figure, in the unit table. To be able to deliver consistent data to a BW system, check whether the unit of the key figure in question should always have a fixed value. If yes then you can determine that in the view definition via 'GoTo -> Selection conditions'. If no, then you must proceed as follows:
a) Remove the key figure from the view
b) Define the DataSource
c) Enhance the extract structure by key figure and unit for each append (Transaction RSA6)
d) Add the key figure and the unit in a customer exit
2. A view is already used for the extraction
If it is not possible to obtain a unit of measure from a table on which the view is based, the unit field must be deleted from the field list.
A note in relation to the upward compatibility of BW-BCT InfoSources: BW-BCT 1.2B was not yet able to check units and currency fields. For this reason, it is possible that InfoSources which were defined in the source system as of BW-BCT 1.2B must be redefined as of 2000.1 in the manner described above. However, checks are absolutely essential for the consistency of the extracted data.
Regards,
Praveen -
Generic Data Source Creation (Very Urgent)
Hi Friends,
I am getting errors while i am creating Generic Data source using Table "ECMCT" .This table contains all fields which is required for my Data Source.
---> I gave <b>ECMCT</b> table in "Extraction from DB view " but when i click save its showing error message "INVALID EXTRACT STRUCTURE TEMPLATE ECMCT OF DATASOURCE ZFI_ECMCT(is name of my data source)".
> I created Function Module using this Table.
In Function Module "Tables tab"
i gave "ITAB LIKE ECMCT".
In "Source Code tab"
i gave "SELECT * FROM ECMCT INTO TABLE ITAB".
In RSO2 "Extraction Using Function Module"
i gave FM name and Extract Structure name as ECMCT. After clicking save its showing ERRORS:
1) ZFI_ECMCT(is my data source name) : Tables parameter E_T_DATA for Extractor ZFI_CONSOLIDATION(is my Function module)
2) Units field CURR1 for feild HSLVT of datasource ZFI_ECMCT is hidden.
3) ......................................HSL01.....................................................
4)........................................HSL02...................................................
;etc.
Could u anybody suggest me where i am doing wrong. This is very very urgent for me.
Thanks,
Mani.Hi,
For " Extraction Using Table" the system does not create an extract structure automatically if the Amount field (type CURR) and currency key field (type CUKY ) are in different tables . Hence u create a View of the data table and the reference table (Say PA0002 and T001) wherein, include all the fields from PA0002 and just the referenced fields from T001 so that all the fields come under the view.
But if the above solution is not possible say for ex. if the key fields don't match , then u should go for function modules.
Regards -
Dear all experts,
i am extracting generic data source
while doing it, it is saying as the table which i have selected in the screen SE11 has not activated
can anybody please tell solution...
its very urgent.
points will be assigned to your help.....
regards
vinayDear Kalpana M ,
can you please tell, how to activate tables..
i m using makt and mara.... and i have created view on them.
how to activate these tables.
plz reply, its very urgent.
regards
Vinay -
Delta field not enabled for selection in generic data source
Hi
I have created a generic data source for the table VBFA....and for the delta pick up i have put the delta option as CALDAY on the field ERDAT...and i have selected that field for the selection option. but after i made it delta enabled the selection option got disabled.
Now when i check the info package delta selection tab that date column is not apperaing.
But when i have to run the info package for the first i dont want all the data as it has a huge set of data.
I wanted to take only this months data.
So is there any option to be set to enable this selection in info package.
please suggest.
Regards
ShilpaHi there,
That's the stardard behaviour. If you use delta based om ERDAT, that field won't be available for selecting.
You could for example try to build a view over VBFA, and let the field ERDAT there and another field, for example ZERDAT (that is just another alias for ERDAT). Create the delta based onyour view over the field (ERDAT), but you can still control the restrictions over the extractore with your ZERDAT.
I don't know if this is possible, this is only an assumption.
Another option could be first to create an extractor based on the table VBFA but without delta, that field ERDAT would be available. Do your full data restricting it, and after that, change your datasource to use deltas based on ERDAT. It will be unavailable than, but since you've already loaded previous full data, you could than use your delta like it is. But here, remember, your deltas will bring new and change data based on ERDAT. If it brings delta based on changed data over ERDAT to a record that you didn't brought over your full (only some data), it will be incorrect records.
Also just an assumption, did not try it.
Diogo.
Maybe you are looking for
-
Couldn't log into SAP System (message 00264) after SAP_BASIS update
Hello, we performed SAP_BASIS update to SAPKB70023 and get a problem with logon into a SAP system with message 00264 (Status &2 of the user interface &1 missing). We have a 64-bit non-Unicode system on Solaris/SPARC/Oracle and Kernel level 333. We tr
-
Why can I open some of my student iMovies, but not others. All have been saved as mp4 files.
-
Newsletter Template / Page set up for print
Hi, I'm in the process of creating a template for a newsletter, and am not sure how best to start with formating this template so it will be suitable for sending to a printers for a run of about 500 copies each time. The newsletter will be A4 in size
-
ID-Error: Interface Mapping Not Found
Hi, While doing the test configuration in Integration Directory, i'm getting the below errors, after pasting in the payload area & after executing step by step: Sender Agreement Also, once when i'm adding message interface to interface mapping in Int
-
CTR1_GATE pin defaults to output?
My goal is to count pulses connected to CTR1_SOURCE using the Frequency Measurement VI. I've noticed that when I connect the CTR0_OUT to CTR_GATE the CTR0_OUT goes high but the VI indicates a timeout condition. I believe this to mean that counter 1 d