Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to terminate IDOC processing ?

Former Member
0 Likes
1,085

Hi,

I have an Inbound IDOC scenario.

When the SAP-standard IDOC is triggered, it tries to update a Z-custom table using data in extension Z-segment.

If the update on Z-table fails, I wish to stop the stndard IDOC processing immediately and change the IDOC status to error.

How can I do it.

Is there any exit which can help me hat you guru know of.

Regards

RK

Hi,

I have an Inbound IDOC scenario.

When the SAP-standard IDOC is triggered, it tries to update a Z-custom table using data in extension Z-segment.

If the update on Z-table fails, I wish to stop the stndard IDOC processing immediately and change the IDOC status to error.

How can I do it.

Is there any exit which can help me hat you guru know of.

Regards

RK

3 REPLIES 3
Read only

Former Member
0 Likes
698

What IDOC message type are you using?

Read only

0 Likes
698

HI,

The logical message type is OILCRE( IS-OIL Vendor Master).

Regards

RK

Read only

Former Member
0 Likes
698

Hi

After all the segments are processed then there has to be an exit just before the application document posting. Here you can make an entry for the status record if there is any problem with the table update.

Regards

Shounak