Field Selection in Generic Data Source
HI Gurus,
I created a Generic Data Source for Text master data upload and checked language key as selection so that I can use this field in Info Package on BW side to upload data for a perticualr language. I dont see any field in Data Selection tab of Info package.
Any help in this regard?
Thanks
Hi Raj;
This is standard procedure...when you have checked the selection on your datasource; you should be able to see the field in your Infopackage. Try to see if you have others column also got checked for example: hide column for this field; if it is uncheck it. Also after you have done this change make sure you save the datasource and replicate it in BW side. Try to crate also a new Infopackage ...just in case.
Hope this helps.
BK
Similar Messages
-
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. -
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. -
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 -
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 -
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 -
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 -
Generic Data Source and InfoPackage Data Selection
Hello, I'm trying to extract data from a generic data source (composed of a view joining 4 tables) using the Data Selection Criteria in an infopackage. Sometimes the selection criteria is ignored and more data is pulled than expected. The number of selectable items in the generic data source has been reduced (in case this was an issue) and for a short time the infopackaged pulled the expected number of records. Then another change was made to the generic data source and the problem returned. In any case, the transported generic data source does not work in the target system either. I'm not sure what is causing this to happen. Any ideas??? BW 3.5.
Regards,
Sue
Message was edited by: Sue and Enrique
Ramesh PHi,
Some of the datasources will not have default Infopackages for them.You can create the infopackages according to the requirement.There is no big deal for creating Infopackages.You can go ahead creating them.
Regards
Karthik -
Selection in the Generic Data Source does not work
Hi gurus,
I have some problem with the selection in the Generic Data Source.
I have created a view as a base of a Generic Data Source.
This view is based on several table; i.e.: VBUK-VBELN (Sales Order number), VBAP-ERDAT (creation date of Sales Order), VBAP-POSNR (Sales order item), VBAK-BSTNK (Customer Purchase order number).
In the view, some join conditions have been defined: VBUK-VBELN = VBAK-VBELN, VBUK-VBLN = VBAP-VBELN.
I want to extract the Sales Order number, Sales order item and Customer Purchase order number for the Sales order created on the previous year.
On the Generic Data Source, I select VBELN (Sales order number) and ERDAT (creation date of sales order) as selection.
However, when I run the extractor checker (RSA3) on this Generic Data Source, the selection does not work at all, i.e.:
eventhough I restricted the Sales order number and/or the creation date of sales order, the generic data source ignores the selection criteria and extract ALL data.
Does anyone ever have similar problem? Did I miss some step in the Generic DAta Source creation? How to fix this problem?
Thanks a lot in advance.
Best regards,
FenHi Fen,
Just check what is the output you get for the same selection for the view you created.
Bye
Dinesh -
How to get Delta field while going for a generic data source
Hi all,
We want to create a generic data source for tables involving MSEG,MKPF,SER03,OBJK and EQU by creating a view on these tables.
fields we are mapping are ...
MKPF MSEG SER03 OBJK EQUI
MBLNR MBLNR MBLNR
MJAHR MJAHR MJAHR
ZEILE ZEILE
OBKNR OBKNR
Can any help us out in finding/creating a delta specific field,so dat we do deltas in BW after initial initialisations?
Thanks all,
DougHI
Try to use some time characterstic.
Generic data will support the following delta's.
Time stamp
Calender day
Numeric Pointer(for exmple doccument number,counter etc)
regards,
Chandra. -
Regarding: Loading data from R/3 To BI for a Generic Data source
Hi Every,
Need Help Urgent
I had created a Generic data source with function Module as the data source, in Rsa3 it is working fine.
1-> I had replicated the data source to Bi then i had created a info package and then I executed the same. when it is getting the data and it is show in the request monitor (Number of records ) but the status is not changing from Yellow to Green.
Status in Step by step analysis is every step is green Except "Data selection successfully finished ?" (RED)
2-> Then I had seen the Back ground job in Source system which is executing still. I waited for it for a long time but nearly 30 min.
(I had done Steps one and 2 number of time by activating replicating the data source and so on, but still their is no change in it)
3-> Then I had canceled that back ground job with the help of BASIS (as i feel that it is something going wrong).
4-> I feel that their is some thing wrong in the Code of Extractor.
Please Help...............
""Local Interface:
*" 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
*" VALUE(I_REMOTE_CALL) TYPE SBIWA_FLAG DEFAULT SBIWA_C_FLAG_OFF
*" 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 ZBI_MATGRIR OPTIONAL
*Need to get the data only for two Gl account which are fro material purchase while MIGO
*G/L Account Numbers: 0010502001 0010502002
data: E_T_DATA1 type table of ZBI_MATGRIR.
RANGES: R_BUKRS FOR BSIS-BUKRS,
R_BUDAT FOR BSIS-BUDAT,
R_GJAHR FOR BSIS-GJAHR,
R_HKONT FOR BSIS-HKONT.
DATA: L_S_SELECT TYPE SRSC_S_SELECT.
STATICS: S_S_IF TYPE SRSC_S_IF_SIMPLE,
S_COUNTER_DATAPAKID LIKE SY-TABIX,
S_CURSOR TYPE CURSOR.
*Declare
TYPES: BEGIN OF TY_FAGL,
RBURS TYPE FAGLFLEXA-RBUKRS,
RYEAR TYPE FAGLFLEXA-RYEAR,
DOCNR TYPE FAGLFLEXA-DOCNR,
BUZEI TYPE FAGLFLEXA-BUZEI,
DOCLN TYPE FAGLFLEXA-DOCLN,
PRCTR TYPE FAGLFLEXA-PRCTR,
SEGMENT TYPE FAGLFLEXA-SEGMENT,
END OF TY_FAGL.
DATA: GT_FAGL TYPE TABLE OF TY_FAGL,
GS_FAGL TYPE TY_FAGL.
IF I_INITFLAG = SBIWA_C_FLAG_ON.
CASE I_DSOURCE.
WHEN 'ZFI_GL_M4'.
WHEN OTHERS.
IF 1 = 2. MESSAGE E009(R3). ENDIF.
this is a typical log call. Please write every error message like this
LOG_WRITE 'E' "message type
'R3' "message class
'009' "message number
I_DSOURCE "message variable 1
' '. "message variable 2
RAISE ERROR_PASSED_TO_MESS_HANDLER.
ENDCASE.
APPEND LINES OF I_T_SELECT TO S_S_IF-T_SELECT.
Fill parameter buffer for data extraction calls
S_S_IF-REQUNR = I_REQUNR.
S_S_IF-DSOURCE = I_DSOURCE.
S_S_IF-MAXSIZE = I_MAXSIZE.
APPEND LINES OF I_T_FIELDS TO S_S_IF-T_FIELDS.
ELSE.
Data transfer: First Call OPEN CURSOR + FETCH
Following Calls FETCH only
First data package -> OPEN CURSOR
IF S_COUNTER_DATAPAKID = 0.
Fill range tables BW will only pass down simple selection criteria
of the type SIGN = 'I' and OPTION = 'EQ' or OPTION = 'BT'.
LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'BUKRS'.
MOVE-CORRESPONDING L_S_SELECT TO R_BUKRS.
APPEND R_BUKRS.
ENDLOOP.
LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'GJAHR'.
MOVE-CORRESPONDING L_S_SELECT TO R_GJAHR.
APPEND R_GJAHR.
ENDLOOP.
LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'BUDAT'.
MOVE-CORRESPONDING L_S_SELECT TO R_BUDAT.
APPEND R_BUDAT.
ENDLOOP.
*GRIR Inventory (RM/Stores/Spares/FG) 10502001
*GRIR Services & Others Payable 10502002
R_HKONT-SIGN = 'I'. "i_t_select-sign.
R_HKONT-OPTION = 'BT'." i_t_select-option.
R_HKONT-LOW = '0010502001'.
R_HKONT-HIGH = '0010502002'. "i_t_select-high.
APPEND R_HKONT.
Determine number of database records to be read per FETCH statement
from input parameter I_MAXSIZE. If there is a one to one relation
between DataSource table lines and database entries, this is trivial.
In other cases, it may be impossible and some estimated value has to
be determined.
OPEN CURSOR WITH HOLD S_CURSOR FOR
SELECT BUKRS
AUGBL
ZUONR
BELNR
GJAHR
BUZEI
BUDAT
HKONT
BLART
MONAT
BSCHL
SHKZG
DMBTR
WAERS
FROM BSIS
INTO TABLE E_T_DATA
WHERE BUKRS IN R_BUKRS
AND GJAHR IN R_GJAHR
AND BUDAT IN R_BUDAT
AND HKONT IN R_HKONT.
Fetch records into interface table.
named E_T_'Name of extract structure'.
FETCH NEXT CURSOR S_CURSOR
APPENDING CORRESPONDING FIELDS
OF TABLE E_T_DATA1
PACKAGE SIZE S_S_IF-MAXSIZE.
IF SY-SUBRC <> 0.
CLOSE CURSOR S_CURSOR.
RAISE NO_MORE_DATA.
ENDIF.
DELETE E_T_DATA WHERE BLART NE 'WE'.
SELECT BUKRS
AUGBL
ZUONR
BELNR
GJAHR
BUZEI
BUDAT
HKONT
BLART
MONAT
BSCHL
SHKZG
DMBTR
WAERS
FROM BSAS
into table E_T_DATA
WHERE BUKRS IN R_BUKRS
AND GJAHR IN R_GJAHR
AND BUDAT IN R_BUDAT
AND HKONT IN R_HKONT.
FETCH NEXT CURSOR S_CURSOR
APPENDING CORRESPONDING FIELDS
OF TABLE E_T_DATA
PACKAGE SIZE S_S_IF-MAXSIZE.
append LINES OF e_t_data1 TO E_T_DATA.
DELETE E_T_DATA WHERE BLART NE 'WE'.
ENDIF. "First data package ?
DATA: F_YEAR TYPE BKPF-GJAHR.
DATA: F_PERI TYPE BAPI0002_4-FISCAL_PERIOD.
IF E_T_DATA[] IS NOT INITIAL.
SELECT RBUKRS
RYEAR
DOCNR
BUZEI
DOCLN
PRCTR
SEGMENT
FROM FAGLFLEXA
INTO TABLE GT_FAGL
FOR ALL ENTRIES IN E_T_DATA
WHERE RYEAR = E_T_DATA-GJAHR
AND DOCNR = E_T_DATA-BELNR
AND RLDNR = '0L'
AND RBUKRS = E_T_DATA-BUKRS
AND BUZEI = E_T_DATA-BUZEI.
WHERE RYEAR = E_T_DATA-GJAHR
AND DOCNR = E_T_DATA-BELNR
AND RBUKRS = E_T_DATA-BUKRS.
AND DOCLN = E_T_DATA-BUZEI.
ENDIF.
LOOP AT E_T_DATA.
IF E_T_DATA-SHKZG = 'H'.
E_T_DATA-DMBTR = E_T_DATA-DMBTR * -1.
ENDIF.
CLEAR: F_YEAR.
CALL FUNCTION 'BAPI_COMPANYCODE_GET_PERIOD'
EXPORTING
COMPANYCODEID = E_T_DATA-BUKRS
POSTING_DATE = E_T_DATA-BUDAT
IMPORTING
FISCAL_YEAR = F_YEAR
FISCAL_PERIOD = F_PERI.
DATA: V_DOC(6) TYPE C .
CLEAR: V_DOC.
V_DOC = E_T_DATA-BUZEI.
IF V_DOC IS NOT INITIAL.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = V_DOC
IMPORTING
OUTPUT = V_DOC.
ENDIF.
aS PROFIT center is not updated in all the lines in Bsis
READ TABLE GT_FAGL INTO GS_FAGL WITH KEY RYEAR = E_T_DATA-GJAHR
DOCNR = E_T_DATA-BELNR
RBURS = E_T_DATA-BUKRS
BUZEI = E_T_DATA-BUZEI.
IF SY-SUBRC = 0.
E_T_DATA-PRCTR = GS_FAGL-PRCTR.
E_T_DATA-SEGMENT = GS_FAGL-SEGMENT.
ENDIF.
*As we are using the amount DMBTR in which the amount
*will be in company code currency that is Local currency
*group currency always in the main company code currency.
CONCATENATE F_YEAR '0' F_PERI INTO E_T_DATA-FISCPER.
MODIFY E_T_DATA. " from gs_bsis transporting dmbtr fiscper.
CLEAR: E_T_DATA.
ENDLOOP.
S_COUNTER_DATAPAKID = S_COUNTER_DATAPAKID + 1.
ENDIF.Hi,
Please check the log of same jobs for last week and check is today its taking more time,also check with basis is their any backup initited at same time.
Moreover until the background job failed automatically its difficult to imagine what is the exact issue.
Thanks, -
Extraction, Flat File, Generic Data Source, Delta Initialization
Extraction, Flat File, Generic Data Source, Delta Initialization
I have couple of questions regarding data extraction.
1. If you have Data Source a Flat File e.g. Excel file I know that you have to create Data Source at BW side. How do you upload updates, by selecting Delta Update when executing next Data Load? Do you ever u201Cconvertu201D this Excel file into Application Tables to become SAP Source
2. Can you please give me example of situation where you had to create Generic Data Source? What is difference between Time Stamp, Calend. Day and Numeric Pointer. Which one is most common to select?
3. I read somewhere that Generic Data Source does not have Setup Table. I thought that you have to have Setup Table in order to load transaction Data otherwise you will lock the Application Tables. Where am I going wrong im my thinking please?
4. What are steps in terms of IP before, under and after Delta Initialization. I belive that you can do two ways:
Full Update - Initialize Delta Process (without Data Transfer) u2013 Delta Update or
Initialize Delta Process (with Data Transfer) u2013 Delta Update
Am I right? What is most common method and why?
5. If you want to add a filed in Data Source after 6 month using it, you want to do it without re-init Delta Queue. You add field in RSA6, then provide info for ABAP to populate new filed (info u2013 name of Data Source, Extract Structure, field added, name of Application Table which contains the field). How does it work now as there is no SetUp table it has been deleted after Initialisation? How does Delta Queue know that it is going to receive data which has been expanded by one field or it may does not need to know at all?
THANKSSSSSSSSSsHi,
1. If you have Data Source a Flat File e.g. Excel file I know that you have to create Data Source at BW side. How do you upload updates, by selecting Delta Update when executing next Data Load? Do you ever u201Cconvertu201D this Excel file into Application Tables to become SAP Source
Once you create Datasource for A flat file extraction then it is file source system specific hence you cont change to Application table source Data source
In info package you can change the source as application server instead of desktop no need to change the DS
2. Can you please give me example of situation where you had to create Generic Data Source? What is difference between Time Stamp, Calend. Day and Numeric Pointer. Which one is most common to select?
When we don't find any standard extractor then we can go for Generic(if i want information sales along with finance information in a data source then generally we dont get standard one hence we can go for generic DS)
Check the below link for More about generic DS .
http://wiki.sdn.sap.com/wiki/display/BI/Generic+Extraction
for Delta capturing you can use
Timestamp(if the table has time stamp filed so it can stamp the last changed record in that table hence it is easy to get delta based on the time stamp)
Calday- (If the table doesn't have the Timestamp filed then search for Calday where you can stamp the delta based on the date when documents are changed )
Numericpointer : If the table doesn't above both then we go for this option where you can the numeric value change stamp )
3. I read somewhere that Generic Data Source does not have Setup Table. I thought that you have to have Setup Table in order to load transaction Data otherwise you will lock the Application Tables. Where am I going wrong im my thinking please?
Generic datasource nothing but we extracting data directly from the database table without any interface between the application/systems
4. What are steps in terms of IP before, under and after Delta Initialization. I belive that you can do two ways:
Full Update - Initialize Delta Process (without Data Transfer) u2013 Delta Update or
Initialize Delta Process (with Data Transfer) u2013 Delta Update
Am I right? What is most common method and why?
Correct
5. If you want to add a filed in Data Source after 6 month using it, you want to do it without re-init Delta Queue. You add field in RSA6, then provide info for ABAP to populate new filed (info u2013 name of Data Source, Extract Structure, field added, name of Application Table which contains the field). How does it work now as there is no SetUp table it has been deleted after Initialisation? How does Delta Queue know that it is going to receive data which has been expanded by one field or it may does not need to know at all?
Once you add the new field to structure(DS) you will get the data as on date onwards not historical data hence what is the concept of setup table ( delta records come from the Delta Que not from the setup table )
If you want histaric data to new field then you need to setp table deletion ...etc...
Hope it is clear..
Regards,
Satya -
FUNCTION MODULE CREATION FOR GENERIC DATA SOURCE
Hi BI gurus,
I am creating function module for generic datasource. For that I followed below mentioned steps
Steps
1. Created s structure with the fields that needed.
2. Created FM by copying the standard Function module
" RSAX_BIW_GET_DATA_SIMPLE " and Give a New name starting With
Y or Z .
3. IN SE37 ->Your Function module name -> Change, In table tab given structure
name by deleting the associated type given in E_T_DATA .
And inserted the required code given below
PROGRAM 'ZHU_BALANCE'.
*& Report ZHU_BALANCE
TABLES: VEKP, VEPO.
DATA: BEGIN OF T_DISPLAY,
DATE LIKE SY-DATUM,
EXIDV LIKE VEKP-EXIDV,
LGORT LIKE VEPO-LGORT,
WERKS LIKE VEKP-WERKS,
END OF T_DISPLAY.
DATA: ITAB_DISPLAY LIKE TABLE OF T_DISPLAY.
DATA: WA_ITAB_DISPLAY LIKE LINE OF ITAB_DISPLAY.
SELECT VEKPEXIDV VEPOLGORT VEPO~WERKS
INTO CORRESPONDING FIELDS OF TABLE ITAB_DISPLAY
FROM VEKP AS VEKP INNER JOIN VEPO AS VEPO
ON VEKPVENUM = VEPOVENUM
AND VEKPWERKS = VEPOWERKS
WHERE VEKP~VSTEL = SPACE
AND VEKP~VEGR1 = '401'
AND VEKP~VPOBJ = '12'
AND VEKP~STATUS = '0020'
AND VEPO~VEPOS = '000001'.
LOOP AT ITAB_DISPLAY INTO WA_ITAB_DISPLAY.
WA_ITAB_DISPLAY-DATE = SY-DATUM.
MODIFY ITAB_DISPLAY FROM WA_ITAB_DISPLAY TRANSPORTING DATE.
ENDLOOP.
WRITE:/ 'DATE', 20 'EXIDV', 40 'LGORT', 60 'WERKS'.
ULINE.
LOOP AT ITAB_DISPLAY INTO WA_ITAB_DISPLAY.
WRITE:/ WA_ITAB_DISPLAY-DATE, 20 WA_ITAB_DISPLAY-EXIDV , 40 WA_ITAB_DISPLAY-LGORT, 60 WA_ITAB_DISPLAY-WERKS.
ENDLOOP.
While checking the function module its populating the syntax error as
THE TYPE SRSC_S_IF_SIMPLE IS UNKOWN. (Though this is commented in program)
So pls suggest
Regards,
prafulhi indira,
thanx for ur reply we have created the funcion module successfuly it is also showing the output correct. But when we put that function module in the generic data source and try to extract data in RSA3 it shows the correct output of function module but with the msg ' 0 entries found in customer enhancement' and therfore zero records in the display list.
is there any correction or steps to be followed in data extraction
pls suggest
regards,
praful -
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
Maybe you are looking for
-
Print in Character Mode on Dot Matrix Printer
Dear All, When we print any reports from SAP to Dox Matrix printers it comes in graphic mode. So it will take too much time to print and print is also not readable. Same I want to print in Character mode (Simole reports where graphics are not involv
-
How to place a file on application server in crm?
Hi, How to place a file from presentation server to application server in crm?, is ther any tcode or fm to do this one? Thnaks,
-
HT4623 I can't update my iPhone because a message sais that is already update
I can't update my iPhone because a message sais that is already update
-
How to import a album with multiple artists in the one album?
How do I import a album with multiple artists as the one album. Everytime I try to do this it does not collate it into one album, the other artists come up seperatley, also if this is possible can you set so that it works automatically everytime? Ho
-
Error delivery address in PO trigged by saved SO
I find delivery address in PO trigged by SO, it is not crorrect. At present, delivery address in PO is the address of Plant not the ship to party address existing in SO. Because of third party sales, vendor will send goods to customer directly accord