cancel
Showing results for 
Search instead for 
Did you mean: 

Update Routine

Former Member
0 Kudos

Hi Guys,

I am uploading data using DBconnect from a view in Oracle database of NON sap system. I am loadign data into ODS object. I have a info object ZC_DOCTYP and field name in view is DOCTYPE.

I have mapped it one to one in Transfer rules. I only want to Load data where DOCTYPE is only of value 98 to ODS .

I have created a START ROUTINE in update rules

DELETE DATA_PACKAGE WHERE /BIC/ZC_DOCTYP <> 98.

Can you please tell whether my routine is correct or not. But ZC_DOCTYP info object is not in my ODS object.THIS info object i have added to communication structure. I just want to use DOCTYPE for filtering.

Regards,

Baljit Singh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can also put the field needed in the infosources even if you don't need it in ODS.

Regards

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You idea will work out.Even though the ODS does not has the Object , you can refer it in Start routine if that object is available in Info source. But make sure that you have given that statement in a loop on DATA_PACKAGE .

With rgds,

Anil Kumar Sharma .P

Former Member
0 Kudos

Hi Baljit,

If you didn't have the field at ODS Object then there is no mapping will be exit for this filed with communication structure. Try to write start routine at transfer rule according to your business requirement...

Regards,

Phani Raj