Skip to Content
0
Former Member
Dec 12, 2011 at 07:52 AM

A question about writting subroutine in user exit

37 Views

Hello Expert,

I want to enhance the user exit USEREXIT_SOURCE_DETERMINATION, which is used in VA01.

Since my logic is a little bit complext, I maybe have to write 1,000~2,000 code lines. Fortunately, I find Some of the code lines can be reused. So I want to encapsulate these lines in one subroutine and call it in different places. This should be able to decrease the code lines greatly.

But, unfortunately, I can't find where I can write the subroutine. Can any expert tell me where to write my subroutines in the case?

Thanks in advance,

Best Regards, Johnny.