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

load program not found

Former Member
0 Likes
6,133

Hi ALL

When I try to run transaction AFAR or AJRW in the BACKGROUND the job overview shows the status as cancelled. The description says LOAD PROGRAM NOT FOUND.

The dump points to an include LSBAL_DISPLAY_BASEF02.

<b>IT says</b>

<i> Possible reasons:

a) Wrong program name specified in an external PERFORM or

SUBMIT or, when defining a new transaction, a new

dialog module or a new function module.

b) Transport error

b) Transport error</i>

* load generated program
  PERFORM load IN PROGRAM (i_s_prof_int-progname).

* point to some main fields
->  macro_assign:
    'G_DISPLAY'          <g_display>,
    'G_CONTEXTS'         <g_contexts>.

Im working on SAP release 640.

Ive tried to find some relevant notes also but none of them solve the error.

The main programs are:

AFAR -> RAAFAR00

AJRW -> RAJAWE00

Need help ....

Thanks & Regards,

Navaneeth

1 ACCEPTED SOLUTION
Read only

andreas_mann3
Active Contributor
0 Likes
3,152

hi,

1) set a break-point on:

PERFORM load IN PROGRAM (i_s_prof_int-progname).

and check which porgram-name is shown at runtime

and search for this program and perform.

if you don't find - create an oss-note

what i can imagine - that it's a program, which should be generated at runtime - but wasn't gen. because of a syntax error!

Andreas

Message was edited by: Andreas Mann

8 REPLIES 8
Read only

andreas_mann3
Active Contributor
0 Likes
3,153

hi,

1) set a break-point on:

PERFORM load IN PROGRAM (i_s_prof_int-progname).

and check which porgram-name is shown at runtime

and search for this program and perform.

if you don't find - create an oss-note

what i can imagine - that it's a program, which should be generated at runtime - but wasn't gen. because of a syntax error!

Andreas

Message was edited by: Andreas Mann

Read only

christian_wohlfahrt
Active Contributor
0 Likes
3,152

Hi Navaneeth!

There is a dynamic call, which needs correct program in variable i_s_prof_int-progname.

Obviously this is filled different (or not at all) in background run.

Set a break-point and try to find out, how this field is filled. Maybe you get a hint, why this might be different in background.

Hope this will help you,

Christian

Read only

0 Likes
3,152

Hi Christian and Andreas,

I set the break point there and debugged it, but it does not go to that point. I get thrown out before reaching that point.

i.e. when I give the print parameters and set the format.

Thanx & Regards,

Navaneeth

Read only

0 Likes
3,152

Hi Navaneeth!

Did you try update debugging? Maybe this part is executed in an update task.

Otherwise online/background version are really running different!

Regards,

Christian

Read only

Former Member
0 Likes
3,152

Hi Christian and Andreas,

Thanks for the HELP.

Ive taken it up with the Customer and asked him to post a message to SAP.

Thanks and Regards,

Navaneeth

Read only

0 Likes
3,152

Hi, I've the same problem, did you found the solution?

Thanks & Regards

Read only

0 Likes
3,152

I also have the same problem. Solution very gratefully received.

Thanks,

James.

Read only

0 Likes
3,152

For those who hit this problem in NW2004s system, we were on SAP_BASIS SP08 and experienced this problem. SAP_BASIS SP10 fixes the problem but you can just apply OSS note 935344 if you don't want to apply all the patches, and this will also resolve this problem.

James.