Hi,
I am currently working on a SAP Scritp for creating Transfer Orders (PS/WM modules).
In my scirpt, I have a Perform statement as follows u2013
PERFORM GET_WEMPFABLAD IN PROGRAM ZGETFORM
USING <AP-MATNR&
CHANGING &BGRP& .
In the Program ZGETFORM, the subroutine GET_WEMPFABLAD
> imports my LTAP-MATNR from the script,
> uses it for performing some Select queries,
> fetches another MATNR and sends it back to the script.
Iu2019m not sure in what format the MATNR is received in my program. I assume it comes with the u201Cdot-dashu201D format as u2013 000.0000.0000-00 (as in MARA table).
So Iu2019m doing an internal conversion using CONVERSION_EXIT_MATN1_INPUT and I get a 18 digit Material No. This MATNR Iu2019m using in certain Select queries and fetching another MATNR (which happens to be my Assembly no. for a Network). This Assembly no is also a MATNR and I need to send it back to my scipt.
So Iu2019m doing an external conversion using - CONVERSION_EXIT_MATN1_OUTPUT. The output also needs to be in the format u2013 000.0000.0000-00.
But the material no is not displayed on my script. Is there something else I need to take care of? Am I on the right track?
[ Note: ZGETFORM is not my driver program... ]
Thanks in advance,
Lakshmi