Application Development 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: 

Doubt in include MV45AFZZ

Former Member
0 Kudos

Hi,

Can I use a subroutine(perform) with in the USEREXIT_MOVE_FIELD_TO_VBKD .

I have repeated lengthy code, which needs to call atleast 2 times. So wanted include the code in Perform.

Can I include form, endform with in the include MV45AFZZ.

Pls suggest.

Rgs,

Priya

1 ACCEPTED SOLUTION

Sridharnekkanti
Active Participant
0 Kudos

you can create subroutine in this include. it will not impact any where. That subroutine you can call in USEREXIT_MOVE_FIELD_TO_VBKD

2 REPLIES 2

Sridharnekkanti
Active Participant
0 Kudos

you can create subroutine in this include. it will not impact any where. That subroutine you can call in USEREXIT_MOVE_FIELD_TO_VBKD

nirajgadre
Active Contributor
0 Kudos

Hi,

1. you can write the subroutine in side this include

2. you can also write a separate program and right the required logic in side this in the preform function.

and then call this perform in the USEREXIT_MOVE_FIELD_TO_VBKD.

PERFORM subroutine name IN PROGRAM Program name using required table using and changing parameters.