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

Custom Status Message during idoc posting

Former Member
0 Likes
3,127

Hello All,

I am using FM IDOC_INPUT_ORDERS for inbound idoc processing and creation of sales orders.

My question is, is it possible to have custom information messages (Type I) ?

For example a custom information messages of a Zmessage class under status 53 in addition to standard ones.

Thanks

Pratik.

Hello All,

I am using FM IDOC_INPUT_ORDERS for inbound idoc processing and creation of sales orders.

My question is, is it possible to have custom information messages (Type I) ?

For example a custom information messages of a Zmessage class under status 53 in addition to standard ones.

Thanks

Pratik.

5 REPLIES 5
Read only

Former Member
0 Likes
1,810

Absolutely possible.

You just need to find the right an exit closest to your custom processing.

For example, if its at the very end of the process you can use the exit, EXIT_SAPLVEDA_005. You can simply append a new record to the status table ' DIDOC_STATUS' which is available in the exit.

The above is just an example. As stated earlier, you need to find the right exit for your process.

Thanks,

Vikram.M

Read only

0 Likes
1,810

Hello Vikram,

Actually I did it in the exit EXIT_SAPLVEDA_004.

But its not working. Not sure what's missing.

Thanks,

Read only

0 Likes
1,810

Pratik,

Did you check if the exit was called/reached?

If yes, did you check if a new record was appended to the status table after your code?

Would you be able to share your code within the exit and the debugger showing the new status record?

Thanks,

Vikram.M

Read only

0 Likes
1,810

Yes Vikram,

I did. Please check.

Read only

0 Likes
1,810

Pratik,

You need debug a little more......Check what happens to the status record after the FM(IDOC_INPUT_ORDERS) call is complete. If I remember correctly there is some code based on the workflow status variables.

Once you get to that point, you will have a better idea.

Thanks,

Vikram.M