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

RFC For IDoc outbound processing

Former Member
0 Likes
1,019

I am creating an RFC for BDC for call transaction we19

input as : idoc number

and output:-.. iDoc Outbound processing done

so:-

I go to we19> give iDoc Number (say, some number for ALEREQ01), and execute> click on Outbound processing-->click enter -->enter

in this way, I can process any iDoc from SAP system to outbound.

I want to create RFC for the same.

Problem:-

when i am executing that RFC, and when I check the iDoc status in we05, that iDoc shows status as Idoc ready to dispatch( its in yellow color).. Its not showing green color and not saying that IDoc passed OK

when I try manually ,I see the status green..OK..successfully

Any idea why I am getting this problem??

Is there any problem in my BDC recording?..but when I run that recording for Process, i dont see any problem,it executes successfully.. but when I copy the Code from BDC and make a RFC using that code, its giving problem as mentioned.

8 REPLIES 8
Read only

Former Member
0 Likes
902

Hi Ankit,

Theorotically it should work.... but I'll suggest not to use BDC here. What you can do is,

1. You have Idoc number..Right?

2. Read control record from EDIDC and data record from EDID4.

3. Then call Master_idoc_distribute.

4. This will again distribute the same IDoc with same control and data record as a new one. It will be same as WE19 , but without WE19.

Please check and confirm.

Regards,

Audy.

Read only

0 Likes
902

Audumbar,

You are whowing the bets way to process, and for that I need to knwo ABAP more.. and am not a very experienced ABAP programmer..need to recollect ABAP coding for that.. so as of now I want to go for SHDB way..

Thanks for yours help!

Read only

Former Member
0 Likes
902

Hi

u just call the program RSEout00.

Regards,

Vinsa.R

Read only

0 Likes
902

Hi Vinsa, this program is for what?

Shoild I include thsi program in my existing created RFC module?

Does it process the yellow marked IDocs?

Read only

0 Likes
902

and..

is there any way to call thsi report in my RFC? or I need to copy the code in Fucntion Module?

Read only

0 Likes
902

Thanks Friends..

I found teh transaction for that.. ITs we14.. transaction for RSEOUT00.. so I am using two recordins in one RFC

Read only

former_member404244
Active Contributor
0 Likes
902

Hi Ankit,

When u r doing RFC chk the target system is active or not,when u r sending the idoc.

regards,

nagaraj

Read only

0 Likes
902

Hi Nagaraj,

target system is active, I checked it.

Please suggest soemthing else.

Thanks!