Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to perform subroutine form in an include program?

Hi all,

I would like to perform an external subroutine form residing in an include program from a customer function user exit. I tried using the following code, but it dumps:

PERFORM <form name> IN PROGRAM (lv_program)

TABLES <a> <b> USING <c>.

In the dump analysis I see that "Program <include name> is type I and therefore cannot be generated" and "The current ABAP/4 program attempts to call the program <include name> but this program cannot be executed. Therefore,the current program had to be terminated. "

If the include can't be generated, is there another way or method I could directly call the form without needing to copy the standard code to an own function or form?

Best regards,

Mikko

Tags:
Former Member
Former Member replied

Hello Mikko,

U need to provide with the main program name instead of include then it wil not give a dump or error. Find the main program name and use it.

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question