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

can't execute with new t-code

Former Member
0 Likes
990

Dear Experts,

I copied FAGL_ACCOUNT_ITEMS_GL program. And then create new t-code for the paste customized program.

In new program, i can't execute with new t-code. but can execute from the program directly.

The following error occurs.

Error analysis

An exception occurred that is explained in detail below.

The exception, which is assigned to class 'CX_SY_PROGRAM_NOT_FOUND', was not

caught in

procedure "%_IX_INIT" "(FORM)", nor was it propagated by a RAISING clause.

Since the caller of the procedure could not have anticipated that the

exception would occur, the current program is terminated.

The reason for the exception is:

On account of a branch in the program

(CALL FUNCTION/DIALOG, external PERFORM, SUBMIT)

or a transaction call, another ABAP/4 program

is to be loaded, namely " ".

However, program " " does not exist in the library.

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

Please help me to execute with new t-code. Thanks All.

Regards,

Tra.

5 REPLIES 5
Read only

Former Member
0 Likes
863

hi ,

have u created tcode from se93 , if yes then while creating may be u have selected program and screen(dialog transaction)instead of program and selection-screen(report transaction) or vice versa , just after cliking on create button , so plz check and revert .

regards

ranjan

Read only

0 Likes
863

Hi Tra,

Please check you have copied the includes along with the main program.

Thanks and Best Regards,

Dinesh.

Read only

koolspy_ultimate
Active Contributor
0 Likes
863

HI,

I guess you copied the std program FAGL_ACCOUNT_ITEMS_GL using SE38,

So please try to do the same using se80 instead of se38.

se80 -> (repository browser) Program -> enter the program name and hit enter.

next right click on program name and select copy and complete the remaining procedure.

Hope it will be solved.

Regards,

koolspy.

Read only

Former Member
0 Likes
863

Check the original source code. It checks for the normal transaction (FAGLL03) in a number of places and also the original program name. If you want to copy a standard SAP program, you always have to check this.

Rob

Read only

Former Member
0 Likes
863

Thanks for all reply...

when I change transaction type from dialog to report type, the program runs well.

Thanks all.

Regards,

TRA