Skip to Content
author's profile photo Former Member
Former Member

Update Routine

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 11, 2005 at 01:54 PM

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

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 11, 2005 at 01:24 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 11, 2005 at 02:12 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.