Application Development and Automation 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: 
Read only

Create a custom tcode for VF01

Former Member
0 Likes
681

Hi,

My user requirement is

Need to create a new transaction (for example ZVF01) that will allow a user to create an invoice without being able to change or add any data. The same validations on preceding documents should be the same as for the standard invoice creation with VF01, and the data in the invoice should be determined as per existing processes.

So i can create the zvf01 using transaction variant. But what are all functions should i disable? My user is not clear with this.

So for creation of invoice without being able to change or add any data, which buttons should i disable in the vf01 screen?

Ezhil

4 REPLIES 4
Read only

Former Member
0 Likes
603

Most importantly you dont have to create a Z-transaction for the functionality that u want to achieve.

There are ample User-exits available through which u can control the behavior of screen fields and prevent user from modifying data.

Explore on this front.

Revert if u need more.

Read only

0 Likes
603

Thanks for your suggestion

But my user wants a new ztcode so that he can prevent some particular user from changing the data.

Ezhil

Read only

0 Likes
603

Why would u want to create a z-tcode when the code that u will write in z-tcode to prevent particular user from modifying data, the same code can be put in the standard t-code.?

Explain your problem more accurately so that we may suggest the alternatives to you.

Read only

david_lees
Product and Topic Expert
Product and Topic Expert
0 Likes
603

Hi,

I would echo the earlier comments however it sounds like you can probably do what you want to do using transaction variants/creating a variant transaction:

http://help.sap.com/saphelp_nw04s/helpdata/EN/7d/f639fb015111d396480000e82de14a/frameset.htm

Take a look at transaction SHD0.

Regards, David