Application Development 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: 

how to convert idoc status

Former Member
0 Kudos

I wrote a custom idoc function module for processing inbound idocs. After I process the idoc, it's status is showing yellow. I want to convert that to green (that is 53). How to do this? Is there any function module for this purpose? Can you gimme a sample code if you have one?

Thanks a lot,

Krishen

1 ACCEPTED SOLUTION

ferry_lianto
Active Contributor
0 Kudos

Hi Krishen,

There are two ways to post the IDoc.

1. If you setup the inbound partner profile (WE20) to be process by background job then you need to run standard program RBDAPP01 in order to post the IDoc with status 64.

2. If you setup the inbound partner profile (WE20) to be triggered immediately then the IDoc will be posted automatically to the application. No need to run program RBDAPP01.

Hope this will help.

Regards,

Ferry Lianto

Please reward points if helpful.

2 REPLIES 2

ferry_lianto
Active Contributor
0 Kudos

Hi Krishen,

There are two ways to post the IDoc.

1. If you setup the inbound partner profile (WE20) to be process by background job then you need to run standard program RBDAPP01 in order to post the IDoc with status 64.

2. If you setup the inbound partner profile (WE20) to be triggered immediately then the IDoc will be posted automatically to the application. No need to run program RBDAPP01.

Hope this will help.

Regards,

Ferry Lianto

Please reward points if helpful.

gopi_narendra
Active Contributor
0 Kudos

run the program RBDAPP01

Regards

- Gopi