cancel
Showing results for 
Search instead for 
Did you mean: 

How to Block T.code VA02

Former Member
0 Kudos

Hi Experts,

Iu2019m updating the data into table from a custom program using BAPIu2019s hence I want to block T.code VA02, while custom program was running. How to block VA02 code while running z-program in back end.

Thanks & Regards,

Kranthi.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

I am giving the code how to disable standard fields using user-exit.

u can disable fields in VA02 by using user exit MV45AFZB.

inside the user-exit write down this code.

if sy- tcode eq VA02.

call transaction VA03 and skip first screen.

leave to screen (screen number of VA03).

endif.

Former Member
0 Kudos

Thanks for your response Sandip & Ankur,

But If basis person do that thing it will completely block the va02 but my requirement is when the program was running at that time only it should block that t.code .After completion of that program VA02 should run successfully.For this we must use BAPI or Function Module.

Thanks & Regards,

kranthi

Former Member
0 Kudos

You can block a particular transaction via SM01. Go to SM01 and search for the T Code. Here you can block at Client Level.

Best Regards,

Ankur

Former Member
0 Kudos

Dear,

Please contact your Basis team. They will help you.

Regards,

Sandip