Skip to Content
0
Nov 28, 2006 at 10:18 PM

Call Transaction/Submit issues with ME57

246 Views

Hi all -

I have a requirement where I need to call ME57 from another program. Theoretically simple, right? Here are the issues I'm encountering.

I can't pass purchase requistion number (parameter ID 'BAN') when using CALL TRANSACTION. It just ignores it. I have no problem passing purchasing group (parameter ID 'EKG'), but requisition number just gets ignored.

I can get around this by defining a variant, and then using the SUBMIT ... USING SELECTION-SET command. The problem with this solution is that when I execute the program RM06BZ00, the sy-tcode value is not ME57, so it dumps me into display mode (AKA ME56) and I can't find a change/display button.

Does anyone know:

1) Why I can't use certain paramter ID's with ME57?

2) How I can call ME57 (not ME56) with the SUBMIT command?

Thanks in advance.

Bryan