cancel
Showing results for 
Search instead for 
Did you mean: 

Using Perfrom in User exit

Former Member
0 Kudos

HI Gurus,

can u use perform in user exit , say for example i am enhasing a data source 2LIS_11_VAITM , can i use the PERFORM xxxxxxx.

FORM XXXXX.

SOME CODE .

....

ENDFORM.

When i am trying to do this is am getting error sating

" Incorrect nesting: Before the statement "FORM", the structure ,introduced by "LOOP" must be concluded by "ENDLOOP". - "

can any one suggest what is the probelm..

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Reddy,

It is better to sue a fn module rather than using a PERFROM in an user exit.

Bye

Dinesh

Former Member
0 Kudos

Hi,

Please check if you're used a LOOP somewhere and not closed it properly.

In any case its better to go with a Function module in a user exit.

Cheers,

Kedar