Skip to Content
0
Former Member
Mar 26, 2009 at 11:26 AM

Pre-fill values in transaction ME21N

417 Views

Hello,

I have created a Z-program in which I have to determine several values related to a purchase order (po type, vendor, purchasing organization, purchasing group and item plant) and then call to transaction ME21N pre-filling those values in the initial screen.

I have made a call transaction but the only values I can pre-fill are po type and vendor, because the other fields are in subscreens and/or tabs that are not shown initially.

The aim is to leave the transaction in edit mode, not to create a PO, in order for the user to continue entering data to create the PO manually.

Can anybody give an idea about how to fill those fields? I'm looking for an user-exit or a badi from where I can give values to those screen fields.

Thanks in advance and regards,