cancel
Showing results for 
Search instead for 
Did you mean: 

Posting GR through VT02n

Former Member
0 Kudos

Hi all,

Can some one tell me how to declare forms in user exits...coz it gives short dump in the same include program and we need to have endfunction before the start of Form <formname>.

or

if we can call an external subroutine(I mean subroutine of another program) in a user exit after the commit work statement.

Please note that perform formname(programname) on commit work (level idx) is not working here...

Regards,

Raj

Accepted Solutions (0)

Answers (1)

Answers (1)

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

I have had this problem before as well, I create a subroutine pool program. Then in the user exit, I used the PERFORM <form> IN PROGRAM <program>. statement. It works good.

Regards,

Rich Heilman

Former Member
0 Kudos

Hi Rich,

I was able to call the perform of an external program but now the issue is I need to call this subroutine only after the commit work, but when I am trying to use perform form(progname) on commit...it gives me an error saying something like it is not possible to call an external program on commit...

so was just wondering if at all it is possible to call an external subroutine on commit...

any clarification in this regards will be greatly appreciated...

Regards,

Raj