cancel
Showing results for 
Search instead for 
Did you mean: 

How to send the idoc to 12 status, without processing with RSEOUT00 and RBD

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

-

former_member194669
Active Contributor
0 Kudos

> only with using the partner profiles.

> sreenivas.

Only you want to change status of the IDoc use program RC1_IDOC_SET_STATUS

Former Member
0 Kudos

Hi ,

I didn't mean changing of only the status. I need to send the idoc to the partner, without using the programs RSEOUT00 and RBDMOIND programs.

Thanks,

sreenivas.

former_member194669
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Yes I created the IDocs using this FM only. But I need to send the idocs to port without using the above programs.

Thanks,

sreenivas.

babu_kilari4
Active Contributor
0 Kudos

Hi,

Use the transaction WE19.

Note: Any Question related to Idocs should be posted in Data transfers section of ABAP Development.

Thanks,

Babu Kilari

Former Member
0 Kudos

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.

babu_kilari4
Active Contributor
0 Kudos

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