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

Abort from an R/3 extractor so that Delta time stamp on R/3 won't change

There is a condition which is occuring in the R/3 extractor and it is sending corrupted data to BW.We need to log the record info to a table and exit out of the extractor at that point so that delta will be a failure and time stamp is not changed,

So that after investigating the wrong data , we can rerun the delta.

Here is the sequence of calls to this exit.

Extractor (Based on FM) -> user exit for this extractor to enhance -> function module to lookup some cd.

I will be checking for cd = ' ' in the above function module and if it is empty I will log the record data into a table and I need to exit out of this entire extractor so that the delta will be set as failure and the delta timestamp on the R/3 side won't change.

There are couple of options I think like 1.Exit , 2.Leave Program, 3. Abort etc.Kindly let me know which one best fits the above requirement of making the delta a failure.

Thanks

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 18, 2007 at 06:44 PM

    Use MESSAGE statement with appropriate message type to exit the program.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      It is working fine except the delta time stamp is being reset eventhough the request status in BW is set to failed.Idealy when the delta request fails the Delta time stamp should not be set.Am I correct.

      I am using "MESSAGE E001(00) with i_dvlh-matnr".Do I ned to use any other error code.

      Thanks

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.