on 04-14-2009 7:42 PM
Hi All,
How can I change the status of IDoc to 12 without processing with the programs RSEOUT00 and RBDMOIND programs, only with using the partner profiles. Help needed ASAP.
Thanks,
sreenivas.
-
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> only with using the partner profiles.
> sreenivas.
Only you want to change status of the IDoc use program RC1_IDOC_SET_STATUS
a®
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Then you need to use fm
call function 'MASTER_IDOC_DISTRIBUTE'
exporting
master_idoc_control = wa_edidc
tables
communication_idoc_control = i_edidc
master_idoc_data = i_edidd
exceptions
error_in_idoc_control = 1
error_writing_idoc_status = 2
error_in_idoc_data = 3
sending_logical_system_unknown = 4
others = 5.
then you want to change status
try to submit the above said program
a®
Hi Babu,
May be you didn't fully understand my question. I am developing a program to send the idoc to a external partner. for that I am using the Function Module MASTER_IDOC_DISTRIBUTE. It is creating the idocs in status 30. To send the idoc to partner, idoc need to be in status 12.
Now my question is, to send the idocs to status 12 without using those programs RSEOUT00 and RBDMOIND.
Thanks,
Sreenivas.
Srinivasulu,
After using the MASTER IDOC DISTRIBUTE FM, try to use the statement
commit work and wait.
Now, check the Idoc. Actually, whenever the Idoc gets created the status would be 30.
You need not use the programs that you mentioned to change the status to 12.
Status of the Idoc gets changed to 30 from 03.
03 status itself signifies that the Idoc is in middleware. So, it ultimately does the functionality of status 12.
Hope the explanation is crystal clear.
Thanks,
Babu Kilari
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.