Create a Generic Data Source and deploy a webservice on a domain using WLST
Hello for everyone,
I usually create generic data sources and deploy webservices on a wls domain by using the Administrator Console. I wonder if you can pass me a script sample to do this task by using WSLT. On the other hand, if you can pass me a "quick start" guide about WLST, this would be very helpful.
Additionally, may I be able to create groups, application roles and users to a domain by using WLST?
Thanks for your help.
You can use standard infoobjects as well..
You can create a view on those R/3 tables and use this view for creating a generic datsource in RSO2 transaction..
Check the below pdf for delta in generic datasources
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
Similar Messages
-
Error While Creating The Generic Data Source.
Hi Gurus,
I am trying to create a Generic Data Source (ZGG_TEST) on a View (ZV_TEST1)
View as Follows:
Table1 has the Following Fields
Field Type
MANDT CLNT
RECNO NUMC
STATUS CHAR
LMODF CHAR
Table2 has Fields
Fields Type
MANDT CLNT
RECNO NUMC
PHCOS QUAN
MATNR CHAR
EQSFS QUAN
MEINS UNIT
In Table2 under Currency and Quantity Field tab
For Field PHCOS The Reference table is MSEG and Reference Field is MEINS
For Field EQSFS the Reference Table is MSEG and reference field is MEINS
View Description
Tables:
Table1
Table2
MSEG
Join condition For the View is
TABLE2-MANDT=TABLE1-MANDT
TABLE2-RECNO=TABLE1-RECNO
TABLE2-MANDT=MSEG-MANDT
TABLE2-MATNR=MSEG-MATNR
The Problem is While saving the Data Source it is Giving an Error as Follows
Invalid extract structure template ZV_TEST1 of DataSource zgg_test
Message no. R8359
Diagnosis
You tried to generate an extract structure with the template structure zgg_test. This operation failed, because the template structure quantity fields or currency fields, for example, field PHCOS refer to a different table.
Procedure
Use the template structure to create a view or DDIC structure that does not contain the inadmissible fields.
Please help me In Solving this Issue
Thanks in advance
Santoshn Table2 under Currency and Quantity Field tab
For Field PHCOS The change Reference table to TABLE2 For Field EQSFS the change the Reference Table to TABLE2
ref field MEINS ...
This works ..
Priya
Edited by: Priya on Dec 31, 2007 1:30 PM -
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 -
Create a ReportingServices data source and upload to a data connection library
I have installed reporting services 2012 in SharePoint 2013 integrated mode. I need to create a report data source and upload it to a data connection library using
C#.
As I know it uses the ReportingServices2010 class but I cannot explore a reporting server url.
There is a ReportingServices2010.asmx file in the 15 hive though.
Also it works fine when I manually set the data source.Hi,
The following materials would be helpful:
Inserting Data Connections into a SharePoint Library
https://social.technet.microsoft.com/Forums/en-US/df79dce5-fd92-4506-af4e-11127cb0d655/inserting-data-connections-into-a-sharepoint-library?forum=sharepointdevelopment
Programmatically exporting reports from SQL 2012 Reporting Services
http://stackoverflow.com/questions/12199995/programmatically-exporting-reports-from-sql-2012-reporting-services
Report Server Web Service Endpoints
http://msdn.microsoft.com/en-us/library/ms155398(v=sql.110).aspx
Best Regards
Dennis Guo
TechNet Community Support -
I added 0AMOUNT in generic data source and in rsa3 i am seeing the data ..b
i added 0AMOUNT in generic data source and in rsa3 i am seeing the data ..but i am not seeing any data in target table..
what would be the causeHi,
I guess you mean the target table in BW, correct?
First replicate your DSource in BW
Open your TRules. In tab Transfer structure/Datasource locate your field in the right pane (should be greyed, not blue); move it from to the left (to the transfer structure); reactivate and reload.
You should now see the field in your PSA table.
hope this helps...
Olivier. -
BAM Data Source and deployment setting in weblogic
like In db adapter we need to create datasource and deployment plan in weblogic. what I want to know is this same process is valid for BAM adapter also? If yes, what we will specify in baam data source (What configuration i need to give).
one more thing i noticed that, Outbound connection pool option is also not coming under BAM configuration
Please help!!
Thanks,hello,
For BAM related settings are out of the box in web-logic server,here below points are describes steps to setup the Datasource whatever you call;
1. In the Settings for oracle-bam-adapter page, select the Configuration tab, and then the Outbound Connection Pools tab.
2. Configure the connection factory interface that you intend to use in Oracle JDeveloper, by expanding the appropriate Group and Instance target and clicking the Java Naming and Directory Interface (JNDI) name.
3. To configure the connection factory for RMI-based calls, click to expand the oracle.bam.adapter.adc.RMIConnectionFactory group and select the JNDI name that the user uses in Oracle JDeveloper. The eis/bam/rmi connection factory is provided out of the box.
4. To configure the connection factory for SOAP-based calls, click to expand the oracle.bam.adapter.adc.SOAPConnectionFactory group and select the JNDI name that the user uses in Oracle JDeveloper. The eis/bam/soap connection factory is provided out of the box.
Hostname : local host (host name of BAM server)
Instance Name: ADCServer1 (default for RMI)
Password : welcome1 (password of BAM server)
Port Number : 9001(port number of BAM server)
Username : weblogic (user name of BAM server)
5. after saving it need to re-deploy OracleBAMAdaper, In deployments select OracleBAMAdapter click Update button.
I hope these steps are helpful.
PS Outbound connection pool option is also not coming under BAM configuration -- for this check BAM server is running or not or any other BAM server installation or ect.
Thanks
Siva Sankar
TechDemocracy -
Hello Guru's
My requirement is to get the total labour costs in BEx analyzer.So i need to create custom DS for that. But i am not sure about the FICO tables which are having the Labour info..
I'm having the GR10 report from R/3 sidepls look at the document. But i am not sure about the report, how that built,and giude me on the report.
Please help on this to going forward.Hi,
There are COOM data source which may suits your needs.
please check data source
0CO_OM_WBS_6
0CO_OM_WBS_3
Base tables are COSP and COSS.
Check about coom data source, if not suitable then go for custom data source.
About table cross verify with your source team.
Thanks -
Error while creating Generic data source using FM
Hi Experts,
I try to create a generic data source using the Function Module via the transaction RSO2. I got the following error messages.
" Das Einheitenfeld CURR des Feldes ZPKZA1 der DataSource ZBWN_DS_POLPOSP ist ausgeblendet"
" Das Einheitenfeld CURR des Feldes ZPKZA2 der DataSource ZBWN_DS_POLPOSP ist ausgeblendet"
" Das Einheitenfeld CURR des Feldes ZPKZA10 der DataSource ZBWN_DS_POLPOSP ist ausgeblendet"
"The unit field CURR of the field ZPKZA1 of the DATA SOURCE ZBWN_DS_POLPOSP is not visible/ stopped/ hide".
for all 10 fields of type CURR.
How shall i handle this issue..........any suggestions please........
thanks in advance
cheers
sailekhaHi,
Are your CURR fields refereded to a currency field of your structure?? Maybe the problem is that the field containing the currency is refered to other table/structure and it has to be one of your structure fields.
Hope this helps,
Regards,
Carlos. -
How to create generic data source in R/3
hi experts !
i m a beginner in BIW.
i wan to create a generic data source in my R/3 system. since there exists a Z table which i want to use in designing an infocube in my BI system. please someone help me how should i begin with doing it ?
thanx in advance
akankshaAkanksha,
Here am providing you with a scenario when we go for Generic Datasource and also the steps to create a Generioc DS:
We can create datasource based on View, Table, SAP Query or ABAP Query, and Function Module.
Scenario for Generic Datasource.
One of the Manager who using reports wanted to have the report which will him the list customers and sales document numbers created by them.
In this case we can use of VIEW where kna1 and vbak tables were combined in the View definition or else u can say that ABAPer had given the required view.
How to create the generic Datasource.
Goto RS02, select the Transactional Data, it will takes us to the next screen, where we need to give application component name say SD (01), then give the name of the Datasource that u wanted, select view and give the view name. Below that field we need give 3 descriptions. Then save and activate the datasource.
Go back to the RSA6 screen transport it to BW system. Replicate the DS.
Hope it helps..
Assign Points if it helps
Regards,
Gattu -
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, -
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 -
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 -
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 -
Duplicate records in generic data source
Hello,
We have created a generic data source using a database view joing two tables MARA and MBEW.
When we run the view in our DEV server, we get perfectly fine data. Now when run the same view in QA, we get duplicate records.
Is it any thing to do with the CLIENT as in QA, we have 2 clients with same data.
MARA MANDT = MBEW MANDT
MARA MATNR = MBEW MATNR
This is what I mention in JOIN Conditions.
Hope I could explain my issue properly. Please HELP !
AbhishekPlease check the possibility of Multiple records for a given material in MBEW,as same material can be in multiple valuation areas
More over you will be executing extraction in one client so it is very unlikely that you see data of the other client
In dev normally we do not have good data to test so it seems like design is correct in dev
Maybe you are looking for
-
My Macbook pro monitor died!
Hi, I have a Macbook Pro (mid 2010). Yesterday i conected it to a videobin. After that the monitor is not working anymore, when i conected to my television i can see everythin thru the tv, but it doesnt show in the monitor. Any ideas?
-
Need help on combo box problem
hi , i have two combo box..... eg..c1,c2 i retrieved data from database to display it in combo box c1.now my problem is using the selected value from combo box c1 i have to display the respective value in c2.. eg. if Product type=injection (in combo
-
SOA Demo: worklist application doesnt show the created task!
I dont know why but after creating task that doesn´t show to be aproved on work list! I cant see any kind of error... What can be done?
-
Image files no longer appear as "icon preview"
Previously I could view all my .png image files in the "icon preview" mode in Finder. I must have accidently changed some setting where I can no longer view .png files in the "icon preview" mode. I just get the generic .png icon to appear in finder.
-
So i bought a book on ITunes, but i don't know how i can read it?
So I bought a book in the ITunes Store on my Macbook, but i don't know how to read it?