cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Form routine in program does not exist for medium 6(EDI)

Amey_Vishwasrao
Explorer
0 Kudos
514

I using Output type KNKS for goods movement and to generate an outbound IDOC using message type WMMBXY. Whenever I will post any goods receipt or cancel any generated Material Document that time it triggers my logic to generate an IDOC written inside BADI "MB_DOCUMENT_BADI~MB_DOCUMENT_BEFORE_UPDATE". 
In this BADI Implementation I am simple passing IDoc Control data and IDoc Data to FM "MASTER_IDOC_DISTRIBUTE".

When I click on POST button I am able to generate Material Document correctly also an IDoc is generating successfully. But when I display created Material document in MIGO and check Display output option I am getting an error "Processing routine UPDATE_DOCUMENT in program SAPLMIGO does not exist".

Amey_Vishwasrao_1-1729873811466.png

NACE Setting: 

Amey_Vishwasrao_0-1729873744883.png

How to skip this error? so that it will display an IDoc number in Output processing log.

Accepted Solutions (0)

Answers (1)

Answers (1)

Amey_Vishwasrao
Explorer
0 Kudos

@Sandra_Rossi 
No, NACE setting is not a standard one. I used program name SAPLMIGO because i am triggering Idocs using migo BADI. But we can not provide BADI method name as a Form Subroutine that’s why I am passing UPDATE_DOCUMENT (Just trying different combinations). 

And if I use standard setting of NACE for EDI then I am getting express document error.

Amey_Vishwasrao_1-1729883548062.jpeg

Amey_Vishwasrao_0-1729883459945.jpeg

 

 

Sandra_Rossi
Active Contributor
0 Kudos
Please don't post an answer for comments, asking or giving additional details. Answer is reserved to propose a solution. Instead, use Replies > Comment (on the question or on a proposed answer).
Sandra_Rossi
Active Contributor
0 Kudos
I have asked you a question in the comments below your question, to give details about the UPDATE TASK error (press Choose or run SM13).
Amey_Vishwasrao
Explorer
0 Kudos

@Sandra_Rossi 
I will be more than happy if anyone can answer on anyone of the error.

With express document error I am not able to generate Idocs. 

Sandra_Rossi
Active Contributor
0 Kudos
Please answer my request: express document is meaningless; what is important is why "update was canceled" -> to give details about the UPDATE TASK error, press Choose or run SM13. If you don't want to provide the information, good luck!
Amey_Vishwasrao
Explorer
0 Kudos

Hello @Sandra_Rossi 
I get bellow error message in SM13 for failure of Update_Task

Amey_Vishwasrao_0-1729940111342.png

 

Sandra_Rossi
Active Contributor
0 Kudos
Thank you. Don't you see again that there's more information to provide? There's a short dump. RV_MESSAGE_UPDATE is trying to call a subroutine (the short dump indicates its name) in the program RSNAST00, the subroutine exists but there are not enough parameters passed (PERFORM_TOO_MANY_PARAMETERS). I guess you are a developer, so you should be familiar to all this stuff, and I shouldn't ask you all these details one by one.
Amey_Vishwasrao
Explorer
0 Kudos

Hello @Sandra_Rossi 
Thanks for your help till now.
As I said before I am getting error in SM13 or short dump info in ST22 when I used standard NACE setting.
But if you try to read my question carefully, in that I have changed standard NACE setting. And for my customised NACE setting I am not getting any error in SM13 or any short dump in ST22.
Anyways thanks for the try.

Sandra_Rossi
Active Contributor
0 Kudos
You never mentioned a short dump. An update error may happen without generating a short dump. Anyway, I guess that now you have looked at the short dump, you are able to understand why it fails and solve.