Quantcast
Channel: SCN : Discussion List - Data Services and Data Quality
Viewing all 4237 articles
Browse latest View live

How to fill a table column with a value from other column of same table

$
0
0

Hi Experts,

 

Now this is something tricky and few possible things are not working out.

 

SCENARIO :

 

I have a table SFE_EXP_BODS_F. Suppose there are 5 columns in table :

 

1. DIVISION_NAME (varchar)

2. SPECIALITY_NAME (varchar)

3. CALDATE (date)

4. TIMES_EXPOSED (int)

5. PY_TIMES_EXPOSED (int) --> to be filled

 

CALDATE contains the value from 1 APR 2014 to 31 Mar 2016. (in blocks of month like 2014-04-01, 2014-05-01)

 

First four columns are coming from previous transformation but PY_TIMES_EXPOSED is getting calculated here in this query transform (via New output column).

 

LOGIC to be implemented for PY_TIMES_EXPOSED :

This column should get the same value as TIMES_EXPOSED column exactly 1 year back.

 

This means if a record is coming in this query transform with CALDATE = 2015-04-01, PY_TIMES_EXPOSED should get the value from TIMES_EXPOSED column of this table when CALDATE was 2014-04-01 and rest all fields value = present values of record.

 

If a record comes with CALDATE < 2015-04-01, then PY_TIMES_EXPOSED should be NULL because the data is from 01 APR 2014 onwards.

 

 

IMPLEMENTATION :

 

I tried devising a logic for this scenario and here's the mapping I used for PY_TIMES_EXPOSED in query transform :

 

ifthenelse(CALDATE > '2015-03-31',

sql('DRL_ORACLE_Prod', 'SELECT TIMES_EXPOSED from SFE_EXP_F_BODS where CALDATE = \'[add_months(Q_LOOKUP2.CALDATE, -12)]\'

AND DIVISION_NAME = \'[Q_LOOKUP2.DIVISION_NAME]\'

AND SFE_BRAND = \'[Q_LOOKUP2.SFE_BRAND]\'

AND SPECIALITY_NAME = \'[Q_LOOKUP2.SPECIALITY_NAME]\'

AND HQ_CODE = \'[Q_LOOKUP2.HQ_CODE]\'

AND CLASSIFICATION = \'[Q_LOOKUP2.CLASSIFICATION]\''), NULL)

 

Few other fields seen in above sql operation are just other dimension fields which needs to be matched to fetch TIMES_EXPOSED.

 

This mapping is not giving any error in validation and should have worked as per me but it is not working when the execution control reaches this query transform. 0 records are sent to target, which is after this query transform and job errors out. Error screen is attached. There's no ODBC connectivity issue.

 

 

Any workaround to achieve this functionality??? Please help me. It's very urgent.

 

Thanks a ton as always! Arun SasiDirk Venken


Job terminating after sometime due to RFC Communication Failure

$
0
0

Hi experts,

I am facing a scenario in which I am extracting data from BW system and loading to Oracle. It has 4-5 left joins. Left table has 1.7 million rows.

 

I have up and running RFC connection and the job execution starts properly. Problem is that it loads only 6 lakh records in approx 1300-1400 secs and then terminates. It gives the RFC Communication Failure error after loading particular no. of records or after running for a particular period of time. I am confused on this. Tried searching on google but my error is nowhere mentioned.

 

I need some urgent help on this. Please give your inputs. It would be highly appreciated. Here's the error :

 

SCN_Issue.JPG

 

 

Thanks in advance!

Access Violation - SAP Data Services 4.2

$
0
0

Hi,

 

We are getting access violation on table comparisons within SAP Data Services 4.2 since upgrading (datastores are SQL Server 2012, repo on SQL Server 2008). This is a simple table comparison to help generate delta tables and load full history table after extracting into staging area.

 

We find playing around with the degree of parallelism (DOP) has an effect, but we don't understand why these are appearing in first place as this is migrated code and worked fine before. WFs and DFs all run in parallel during this part of the job.

 

Re-running or changing DOP normally resolves issue.

 

Error Log:

(14.2) 03-25-14 08:18:54 (R) (3772:7324) SYS-170101: |Session JOB_Live_Insight_CRM_EXTRACTS_ONLY|Work flow WF_EXTRACTS|Work flow WF_EXTRACTS_1|Work flow New_WorkFlow3|Work flow WF_EXTRACTS_1A|Work flow WF_EXTRACTS_EVENTDB_CRM|Work flow WF_EXTRACT_EVENTDB|Work flow WF_EXTRACT_EVENTDB_DELTA|Work flow WF_Extract_EventDB_EU_Delta|Data flow DF_Extract_EventDB_EU_Events_Delta

                                                    System Exception <ACCESS_VIOLATION> occurred. Process dump option is off. Process is not dumped.

                                                    Call stack:

                                                    0x00000000801CEAFF, XLink_desc::getNewRow()+0015 byte(s),

                                                    d:\im_ds_4.2_sp_rel\src\dataservices\dataintegrator\codeline\code\src\core\xlink.cpp, line 0536

                                                    0x00000000801C06B2, XPort_desc::get_new_row()+0018 byte(s),

                                                    d:\im_ds_4.2_sp_rel\src\dataservices\dataintegrator\codeline\code\src\core\xport.cpp, line 0539

                                                    0x00000000811A4B61, XTran_mergesplit::split()+0129 byte(s),

                                                    d:\im_ds_4.2_sp_rel\src\dataservices\dataintegrator\codeline\code\src\xform\tran_mergesplit.cpp, line 0164

                                                    0x00000000811A4A7F, XTran_mergesplit::execute()+0095 byte(s),

                                                    d:\im_ds_4.2_sp_rel\src\dataservices\dataintegrator\codeline\code\src\xform\tran_mergesplit.cpp, line 0136+0015 byte(s)

                                                    0x00000000801A0040, XTran_desc::execute()+0448 byte(s),

                                                    d:\im_ds_4.2_sp_rel\src\dataservices\dataintegrator\codeline\code\src\core\xtran.cpp, line 0799

                                                    0x0000000080FE3D39, Rww_thread::main()+0249 byte(s),

                                                    d:\im_ds_4.2_sp_rel\src\dataservices\dataintegrator\codeline\code\src\rww\rww.cpp, line 0451

                                                    0x0000000000A1438E, RWThreadFunctionImp::run()+0126 byte(s)

                                                    0x00000000009FC184, RWRunnableImp::exec()+0372 byte(s)

                                                    0x0000000000A14643, RWThreadImp::exec()+0051 byte(s)

                                                    0x0000000000A15F59, RWThreadImp::_setTimeSliceQuantum()+0169 byte(s)

                                                    0x00000000749337D7, endthreadex()+0071 byte(s)

                                                    0x0000000074933894, endthreadex()+0260 byte(s)

                                                    0x0000000076CD652D, BaseThreadInitThunk()+0013 byte(s)

                                                    0x000000007717C541, RtlUserThreadStart()+0033 byte(s)

                                                    Registers:

                                                    RAX=0000000000000000  RBX=0000000005B0E9C0  RCX=0000000000000000  RDX=0000000000000009  RSI=0000000000000000

                                                    RDI=000000000A90F850  RBP=0000000002F41270  RSP=000000000D8CF590  RIP=00000000801CEAFF  FLG=0000000000010206

                                                    R8=0000000000000000  R9=000000000A93A7D0  R10=0000000000000016  R11=000000000D8CF540  R12=0000000000000001

                                                    R13=0000000005B0E978  R14=000000000A47B730  R15=000000001522C938

                                                    Exception code: C0000005 ACCESS_VIOLATION

                                                    Fault address:  00000001801CEAFF 01:00000000001CDAFF D:\BODS\Business Objects\Data Services\bin\acta.dll

                                                    ==========================================================

                                                    Collect the following and send to Customer Support:

                                                    1. Log files(error_*, monitor_*, trace_*) associated with this failed job.

                                                    2. Exported ATL file of this failed job.

                                                    3. DDL statements of tables referenced in this failed job.

                                                    4. Data to populate the tables referenced in the failed job. If not possible, get the last few rows (or sample of them) when

                                                    the job failed.

                                                    5. Core dump, if any, generated from this failed job.

                                                    ==========================================================

(14.2) 03-25-14 08:18:54 (E) (3772:7324) SYS-170101: |Session JOB_Live_Insight_CRM_EXTRACTS_ONLY|Work flow WF_EXTRACTS|Work flow WF_EXTRACTS_1|Work flow New_WorkFlow3|Work flow WF_EXTRACTS_1A|Work flow WF_EXTRACTS_EVENTDB_CRM|Work flow WF_EXTRACT_EVENTDB|Work flow WF_EXTRACT_EVENTDB_DELTA|Work flow WF_Extract_EventDB_EU_Delta|Data flow DF_Extract_EventDB_EU_Events_Delta

                                                    桔⁥祳瑳浥攠据畯瑮牥摥愠硥散瑰潩湡⁤慣湮瑯瀠潲散獳琠楨⁳捡楴湯桔獩洠獥慳敧挠湯

                                                    慴湩⁳潳敭椠瑮牥慮祳瑳浥搠瑥楡獬眠楨档栠癡⁥敢湥栠摩敤潦⁲敳畣楲祴晉礠畯渠敥⁤

                                                    潴猠敥琠敨映汵潣瑮湥獴漠⁦桴⁥牯杩湩污洠獥慳敧獡潹牵愠浤湩獩牴瑡牯琠獡楳湧愠

                                                    摤瑩潩慮牰癩汩来獥琠潹牵愠捣畯瑮.

 

Any suggestions welcome....

 

Regards,

John

Solution required for one ETL scenario in BODS

$
0
0

Hi

 

Can anyone help me in providing solution for the below scenario.

 

We have source data like this.

 

CountryCity
IndiaHyderabad          
India          Bangalore
IndiaMumbai
USASanjose
USANew york
USABoston
USA Los angeles

 

 

Now, we want output like below.

 

CountryCity
IndiaHyderabad,Bangalore,Mumbai
USASanose,New york,Boston,Los angeles

 

Can any one help us for this scenario with detailed steps/logic we need to implemented to achieve the above output.

 

 

Thanks,

Ravi kiran

No Data in SAP source Table

$
0
0

Hi All,

 

We have a strange issue in our project.

 

As part of our project we are extracting data from SAP BI, ECC, SRM source tables. We are extracting data from 4 tables in each system (i.e; BI, ECC, SRM) and table names and table structures are same in all the system.

 

We created data stores for all the system and imported tables.

 

Our issue is that we able to see data (View Data)  for all the tables from BODS but we are not able to see data for 1 table in all the systems. We able to only the structure but not the data and also no error is shown.

 

We don't understand why we are not able to view data only for this particular table in all the systems, but this table has data and we are able to view data in ECC, BI, SRM systems.

 

Can any one help us in this issue.

 

 

Thanks,

Ravi kiran.

How to create a Delta load in BODS based on Data selection in BW

$
0
0

Hi Guys,

 

Can anyone help me with the below query -

 

I have Sql database as my source and BW as my target for BODS jobs.

 

All my connections are working and could push data in BW successfully.

 

Now, I need to create a delta based on the date selection from Data Selection tab in BW.

 

ERDAT is the date field that is loaded in to BW structure and marked as selection enabled.

 

How do I use this field to define my delta?

 

BW person will select the dates manually or automate through ABAP code.

 

I need to pick the dates and run the load as per the date range.

 

Really appreciate any help on this!!!!

 

 

Thanks,

Shilpa

How to resolve the error : (BODI 300088) during the creation of Profiler Repository?

$
0
0

Hi All

      I was trying to create the Profiler repository in the "SAP Data Services Repository Manager", but it ended up with the following error:-

errro BODI-300088.png

Please provide a solution to this

Invalid value for date . How to solve

$
0
0

Dear Experts,

 

I am beginner in DS & monitoring jobs , RTs in production environment.

 

Today one of the production job had in warning status, below is the screen shot.

I had opened the Data flow DF_MDCT_TP_Pxx_Get_Data in DS Designer and I don't know next.

 

How fix this issue ?

 

DS.JPG

 

reg, Avinash


RT failed : Error = Empty file received.

$
0
0

Dear Experts,

 

one RT failed in production with below error.

after some time status became green, its working fine now.

I would like to know what is the reason for this issue ? how to avoid this in future ?

ds1.JPG

 

reg, Avinash

BODS sample project

$
0
0

Hi All,

 

where can i find the sample project documentation  of BODS.

 

-Theja

BODS JOB ERROR

$
0
0

Hi, I am getting the error in the job during run time only with the dataflow where using Table comparison and History, Map and Key generation transform.

 

Actually, source is oracle and target is teradata. The job had been working well before.

 

The actual problem is with dataflow above mentioned. Other jobs are running good with the same database ( teradata).

 

The mentioned dataflow works fine if I change target is oracle database.

 

The below error message is what I am getting

 

|Data flow DF_CHECK_BOFC_REJECT_RECORDS_IN_FIM|Loader FIM_JOB_RUN_PACKAGE_STATUS_FIM_JOB_RUN_PACKAGE_STATUS SQL submitted to ODBC data source resulted in error . The SQL submitted is . |Data flow DF_CHECK_BOFC_REJECT_RECORDS_IN_FIM|Loader FIM_JOB_RUN_PACKAGE_STATUS_FIM_JOB_RUN_PACKAGE_STATUS Execution of for target failed. Possible causes: (1) Error in the SQL syntax; (2) Database connection is broken; (3) Database related errors such as transaction log is full, etc.; (4) The user defined in the datastore has insufficient privileges to execute the SQL. If the error is for preload or postload operation, or if it is for regular load operation and load triggers are defined, check the SQL. Otherwise, for (3) and (4), contact your local DBA.

 

Please give me a solution ?

House Keeping activities

$
0
0

Hi Everyone - Searched the forum and googled it too but couldn't find an acute document on house keeping activities that needs to be done often on BODS 4.2 .

 

Thanks in advance for your valuable inputs.

 

Regards,

AJ.

Unzip and load the file.

$
0
0

Hello Experts ,


I have  requirement to process the .xml files and populate them into template tables which are in .zip file, i have the tried the below scripts to unzip the files but

they are not working. 


Script I have used -- exec('C:\\Program Files\\7-Zip\\7z.exe','x-D:\Tc1\fin.zip -oD:\Tc1');


So please how to unzip and process the xml file into template table.


Thanks & regards.

P.Srinivas

SAP BODS videos and ATL files

$
0
0

Hi All,

Where can I find SAP BODS videos and ATL files on all the topics.

Thanks in advance.

Issue while executing the JOB in BODS 4.2 SP6

$
0
0

HI Experts,

 

We are facing the issue while executing the JOBS in BODS 4.2

 

Environment of our server:

 

OS: Linux

DB Sybase

BODS version : 4.2 Sp6

 

Error Details:

16334160571200RUN-0581055/28/2016 10:00:50 AMError preparing to read <Query>: <Exception occurs when executing 'begin' method of the adapter operation with ID [1]. No files

 

 

16334160571200RUN-0581055/28/2016 10:00:50 AMwere found with names like C:\Users\XXX\Desktop/TCodesforIDOCS.xlsx. Make sure the Excel adapter is installed on

 

 

16334160571200RUN-0581055/28/2016 10:00:50 AMthe Job Server or make sure you mount the file directory in a shared folder to the Job Server on which the Excel adapter is

 

 

 

 

I have enabled the BOExcelAdapter and its running,Can you please help me in resolving the issue.

 

 

Thanks in advance

 

 

Thanks & regards

Teja


BODI-1241021 - SAP BODS No Job server is configured

$
0
0

Hi,

 

We recently installed  SAP BODS Designer on the client site but we have notice that the jobs server is indicating that it is not configured and provides the following statement;

 

No Job server is configured, Designer is using jobserver  (172.XX.XX.XX.XX:3010) is not responding BODI-1241021),

 

neither is the Profiler

 

I was hoping some one could provide some assistance on how to resolve both these  issues

 

We are running on Windows Server 2008 R2 Enterprise which is running against a MS SQL Server 10.50.1600.

 

Thanks again for help in advance.

How to get converted values from SAP tables and SAP Extractors

$
0
0

Hi Experts,

 

I'm trying to fetch data from SAP EKKN table. I'm getting unconverted values from the table whereas i'm looking for the converted values to be fetched by my BODS data flow.

 

Here is an example:

Field PS_PSP_PNR(WBS Element) has a unconverted value of '00000128'. When you fetch directly from EKKN table using BODS you get '00000128' where as when you view the same field value through SE16 in SAP you see it as 'TEST 20201'. I want to get this converted value through my BODS extractor.

SAP table Converted values.PNG

 

Can you please let me know if there is a way to do this. I'm uploading the data into a HANA data base.

 

 

Regards,

Samara

How can I call shell script program through BODS exec function

$
0
0

Hi,

 

I have created a shell script in BODS job server and I am using BODS 4.2 version.

Now I am trying to call the shell script using BODS exec function.

Can anyone help me about this.

 

 

my unix shell script name is - delete_markup.sh

Server Path  where I have written the shell script - /usr/BODS/script

 

Thanks & regards,

Kaushik Chakraborti.

If then Condition In bods

$
0
0

Hi All,

 

How to check if then condition in Bods.i need to check only one condition no need to check else condition.

if any one knows pls let me know.

 

ex:if(x(' '),'Y') no need of else condition.

 

Thanks.

Priyanka

BODS JOB ERROR

$
0
0

Hi, I am getting the error in the job during run time only with the dataflow where using Table comparison and History, Map and Key generation transform.

 

Actually, source is oracle and target is teradata. The job had been working well before.

 

The actual problem is with dataflow above mentioned. Other jobs are running good with the same database ( teradata).

 

The mentioned dataflow works fine if I change target is oracle database.

 

The below error message is what I am getting

 

|Data flow DF_CHECK_BOFC_REJECT_RECORDS_IN_FIM|Loader FIM_JOB_RUN_PACKAGE_STATUS_FIM_JOB_RUN_PACKAGE_STATUS SQL submitted to ODBC data source resulted in error . The SQL submitted is . |Data flow DF_CHECK_BOFC_REJECT_RECORDS_IN_FIM|Loader FIM_JOB_RUN_PACKAGE_STATUS_FIM_JOB_RUN_PACKAGE_STATUS Execution of for target failed. Possible causes: (1) Error in the SQL syntax; (2) Database connection is broken; (3) Database related errors such as transaction log is full, etc.; (4) The user defined in the datastore has insufficient privileges to execute the SQL. If the error is for preload or postload operation, or if it is for regular load operation and load triggers are defined, check the SQL. Otherwise, for (3) and (4), contact your local DBA.

 

Please give me a solution ?

Viewing all 4237 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>