Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Processing routine CONVERT in program ZBUS_MMPO_CSV does not exist

Former Member
0 Likes
1,102

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

9 REPLIES 9
Read only

Former Member
0 Likes
996

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

Read only

0 Likes
996

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 !

Read only

0 Likes
996

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

Read only

0 Likes
996

If you check the standard one, they are subroutines-pools.

Read only

0 Likes
996

@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".

Read only

0 Likes
996

How do you get the print?

By transaction ME9F?

Max

Read only

0 Likes
996

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

Read only

0 Likes
996

Hi

You need to run the print online in order to get the break-point, so try with ME9F

Max

Read only

0 Likes
996

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