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: 

Check a condition and then put the transaction as read-only

Former Member
0 Kudos

Hello people,

I need to make a check in Purchase Order (ME21N and ME23N), so that when the user enter in transaction, I will check if the invoice was registered and then put the purchase order in "read only" state.

How do you suggest me to do it?

Loop at screen? Is there a state flag to set?

Thanks a lot!!!

2 REPLIES 2

vinod_vemuru2
Active Contributor
0 Kudos

Hi,

I didn't get your requirement correctly. When using ME21N, your purchase order is not yet created. What is the meaning of set the T-code in display mode only for the PO? ME23N is already display only T-code. If you are refering to ME22N, then probably you can think of a custom T-code where you can call ME22N/23N based on the check.

Thanks,

Vinod.

Former Member
0 Kudos

.