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

F110 Background

Former Member
0 Likes
1,027

I am trying to run F110 by doing CALL TRANSACTION 'F110' after setting BDC values.

When I run it in foreground, the program seems to work fine but when I try to execute in background (since this program needs to be scheduled), it errors out on the CALL TRANSACTION line with a return code of 1001.

Any ideas on what can be done so that it runs properly when executed in the background? Some help would be much appreciated.

Thanks,

Ravi.

6 REPLIES 6
Read only

Former Member
0 Likes
859

There should also be an error returned. Can you let us know what it is?

Rob

Read only

0 Likes
859

Thanks for your response Rob.

The sy-subrc is 1001. The sy-msgnr is 255. If you can also tell me where to go and get the message associated with the message number that would be helpful. There is nothing in sy-msgv1 through sy-msgv4.

Thanks,

Ravi.

Read only

0 Likes
859

Also need the message class (message ID).

Rob

Read only

0 Likes
859

Message ID or message class is 00. Message type is A.

Read only

0 Likes
859

It's telling you that you have entered an invalid OK code.

Rob

Read only

former_member194797
Active Contributor
0 Likes
859

I think it should be easier with F110S, which is specially designed for background processing, but I never used it.