Skip to Content
0
Former Member
Mar 16, 2007 at 08:44 PM

MIRO using user exit EXIT_SAPLFYTX_USER_001

440 Views

We are using user exit EXIT_SAPLFYTX_USER_001 for both ME21N and

MIRO. ME21N works fine in that we added an item number field to I_INPUT_USER and it populates with the current item number on the po so we are able to get the gl account from EKKN. The problem is for tcode

MIRO. The data in the I_INPUT_USER is all header data. There is no material number, qty, item number, etc. So we cannot go back to the po/item to get the gl account number to pass to vertex. I used note 302998 to try and add fields EVRPT and EVRTN to the I_INPUT_USER but they are not populated and when I look at KOMP those fields are also blank there.

For MIRO the I_INPUT_USER-KPOSN always has a value of 999999 where for ME21N it has the actual item that it is processing on the po. I have looked and tried multiple OSS notes and nothing seems to work. It seems that the MIRO transaction will only pass header data to vertex. Any help is greatly appreciated!!!! thanks - deb