cancel
Showing results for 
Search instead for 
Did you mean: 

Strange behaviour of program RC1_IDOC_SET_STATUS

Former Member
0 Kudos

Hi Experts,

when I change the idoc status from 51 to 68 for inbound idocs , using the program RC1_IDOC_SET_STATUS, it works fine when i dont CHECK teh box TEST in the selection screen, and when i do so,, i don see the status change in we02/05.

Why does it behave so?

What is the fuction of the TEST check box? what does it do/signify?

Any Body out there???

Arnab

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I guess the TEST button has no practical usibility! Thanks to all!!

Former Member
0 Kudos

As the name says, it's for testing ;o)

So when you check it the prog is executed in a test mode and does not really chenge the status. This way you can do a test and make sure no errors happen during execute.

Former Member
0 Kudos

Kai,,

many thanks for the reply.

You said :

So when you check it the prog is executed in a test mode and does not really chenge the status. This way you can do a test and make sure no errors happen during execute.

But then if i execute the program in test mode.... what experience am I gaining???I mean it is a 3 step prosess, 1. we put the name of prog in se38 and trigger it, 2. we get a selection screen where we put necessary details like idoc name, messege type and check / uncheck TEXT button, and then execute it,. In the 3. step, we get a messege 1/ 0 idocs converted,, so i mean this test thing really looks a unwanted application, really does not do me any benifit!!

pls correct me!!!

Regards,

Arnab,

Former Member
0 Kudos

Well, at least you get the message: 1/ 0 idocs converted. It shows that no runtime error or other problem will occure - due to wrong IDoc content, format, corrupt data, ... - in case you execute the prog in "real" mode.

Additionally you may consider, that the prog was not really designed for end-users. It was maybe desiged as a sub-prog where the programmer wanted to do a frist check before real execution ;o)

Kai

former_member181962
Active Contributor
0 Kudos

Hi Arnab,

I have just checked the ABAP code and you are right.

It just doesn't serve any major purpose.

At the most, it will give you the number of IDOCs that can be changed in the range of idocs that you have given.

Regards,

Ravi Kanth Talagana