‎2011 Aug 22 3:59 PM
Hi Experts,
We created a program named ZBUS_MMPO_CSV and have a form CONVERT within it.
In NACE we assigned the top information to the output NEU for Special Function.
When we try to output the PO using the Special function NEU settings we get the error message :"Processing routine CONVERT in program ZBUS_MMPO_CSV does not exist".
The form has been declared as such:
FORM CONVERT USING RETURN_CODE TYPE ANY P_US_SCREEN TYPE ANY.
"CODE GOES HERE
ENDFORM.
When we remove the 'USING' clause we get an error that too many parameters are being sent... So we figured that the form was recognized. but with the 'USING' clause it claims that the form does not exist.
Any help would be appreciated!
<removed by moderator>
Thanks!
Chopra
Edited by: Thomas Zloch on Aug 22, 2011 5:03 PM
‎2011 Aug 22 4:06 PM
Hi
The interface of the form has to have 2 parameters, so it should be right yours, but not to delete USING
FORM CONVERT USING RETURN_CODE P_US_SCREEN.
Max
‎2011 Aug 22 4:12 PM
Hi Max,
Thank you for the reply,
But even using the same statement as yours (which is the same as mine without declaring the type) it does not work.
It still says: "Processing routine CONVERT in program ZBUS_MMPO_TO_CSV does not exist"
Maybe it has something to do with the Program type? should it be 'Executable progeram" ? or Module/Subroutine pool?
Still looking for anything that can point me in the right direction.
Thanks !
‎2011 Aug 22 4:25 PM
Hi
It has to be an Executable program or Pool Subroutine, but I think Module Pool should work fine: I means It has to be an executable program.
The system does the following call:
PERFORM (TNAPR-RONAM) IN PROGRAM (TNAPR-PGNAM) USING RETURNCODE
US_SCREEN
IF FOUND.(that's from RSNAST00) or something like that
Try to set a break-point in form PROGRAMM_AUFRUFEN of RSNAST00, I believe it should be called while printing PO
Max
Edited by: max bianchi on Aug 22, 2011 5:29 PM
‎2011 Aug 22 4:32 PM
‎2011 Aug 22 4:38 PM
@Max:
Thanks for the perform line from rsnast00. that should come in handy... I tried to put a break point on that line within rsnast00 but it never got hit.
@David:
I tried pretty much all of them and still no luck.
I am still getting "Processing routine CONVERT in program ZBUS_MMPO_CSV does not exist".
‎2011 Aug 22 4:52 PM
‎2011 Aug 22 5:34 PM
We get the print by going In me22n -> select the PO document -> Goto -> Messages -> output type (NEU), Medium (Special Function). We make it print immediately after save and save the document.
From there when we go back into the messages it has the red status. and looking at the log it give the processing routine error.
Thanks
Chopra
‎2011 Aug 22 6:01 PM
Hi
You need to run the print online in order to get the break-point, so try with ME9F
Max
‎2011 Aug 22 6:36 PM
Hi Max,
Thank you for the help. using debug I found out the cause of the issue.
The return code wasn't being updated properly thus causing it to fail every time.
it is no longer giving me that error message.
Kind Regards,
Chopra