Scenario is as follows:
I have created screen variants and assigned to transaction variant for creating PO (ME21N). If I create a user group I can assign these to different users. However, this only allows me to accomplish the following:
User1 in Group -> custom transaction variant applied
User2 not in Group -> standard transaction variant applied
I need to do the following:
User1 creates PO of document type SCNB using ME21N -> custom transaction variant applied
User1 creates PO of any other document type using ME21N -> standard transaction variant applied
It is also a requirement that no Y/Z t-code be used; all must create PO through ME21N.
Is this even possible? How can this be accomplished? Any method that fulfils these requirements is ok (user exit, abap, basis, etc.). I would be really grateful for any help anyone can provide. Thanks.