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

Execute only 1 idoc with RBDAPP01

Former Member
0 Likes
1,842

Hello guys,

we have an Inbound Idoc with execution in background.

Also we have a job executing every minute using program RBDAPP01. In our variant we have that packet size is 1 and no parallel because we want to avoid locks.

Sometimes the job is executing two Idocs.

Do you know why? Or do you know how to proceed to execute only one idoc in background job?

Many thanks in advance.

Regards,

Xavi.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,098

Hi,

You have to have the validate the input type of the FM taht will process you idoc.

Go to BD51 and set the "Input Type" for the FM to '1-Individual input'

Stephane

Hello guys,

we have an Inbound Idoc with execution in background.

Also we have a job executing every minute using program RBDAPP01. In our variant we have that packet size is 1 and no parallel because we want to avoid locks.

Sometimes the job is executing two Idocs.

Do you know why? Or do you know how to proceed to execute only one idoc in background job?

Many thanks in advance.

Regards,

Xavi.

3 REPLIES 3
Read only

Former Member
0 Likes
1,099

Hi,

You have to have the validate the input type of the FM taht will process you idoc.

Go to BD51 and set the "Input Type" for the FM to '1-Individual input'

Stephane

Read only

0 Likes
1,098

Hello guys,

Stephane,

in BD51 the FM is set to 1.

Sandra,

we have lock problems, if the program executes 2 Idocs that could give lock problems, and we want to know if it is possible that with every execution of the job with program RBDAPP01 only one idoc is executed.

Many thanks,

Xavier.

Edited by: Xavi Carb on Jul 29, 2011 8:50 AM

Edited by: Xavi Carb on Jul 29, 2011 8:51 AM

Read only

Sandra_Rossi
Active Contributor
0 Likes
1,098

Hi Xavi,

If I answer exactly to your question, I would say that's normal RBDAPP01 processes as many IDocs as there are (waiting for processing) in the system. A packet size is only used to improve performance, or must be 1 to avoid commit/recovery issues (especially when IDoc is processed by CTU).

I don't know how you could limit the number of IDocs processed by RBDAPP01, except by entering the IDoc number to be processed.

But I guess I didn't understand your question.

Sandra