‎2006 Jun 30 12:51 PM
Hello everybody,
What is the inbound function module for IDoc type INFRECMASS01?
I tried IDOC_INPUT_INFREC (as for IDoc INFREC01), but I got the following message (B1 044): Incorrect function module IDOC_INPUT_INFREC called up
Thanks in advance
Roland
‎2006 Jun 30 1:21 PM
Hi Roland,
Please chcek your partner profile setup (WE20) perhaps it was not configured properly.
Hope this will help.
Regards,
Ferry Lianto
Please reward points if helpful.
‎2006 Jun 30 12:52 PM
‎2006 Jun 30 12:55 PM
There is only one entry INFR which refers to IDOC_INPUT_INFREC (which did not work). It does not distinguish between INFREC01 and INFRECMASS01.
Any other ideas?
‎2006 Jun 30 12:58 PM
You can get FM for idoc type and message type from WE57.
Regds
Manohar
‎2006 Jun 30 1:00 PM
I want to enter the correct function module at WE57, that's why I need to know it.
‎2006 Jun 30 1:14 PM
The only difference between INFRECMASS01 and INFREC01 is that repitition of the same segments. However, the standard function module is hardcoded with IDOC type INFREC01, so if you want to use the MASS IDOC copy the standard one and put in the logic to loop around and process the info records one by one.
There is no standard funtion that can process mass idoc of the info record.
Regards,
Ravi
Note: Please mark the helpful answers
‎2006 Jun 30 1:18 PM
Is there a way to use ME18 to create type INFREC01 messages instead of INFRECMASS01?
‎2021 Nov 22 2:49 PM
‎2006 Jun 30 1:09 PM
Hi Roland,
IDoc type INFRECMASS01 is used usually for outbound.
You can use standard program RBDSEINF (ME18) to generate purchasing info record IDoc via FM MASTERIDOC_CREATE_REQ_INFREC.
For inbound, please use IDoc type INFREC01 instead.
Hope this will help.
Regards,
Ferry Lianto
‎2006 Jun 30 1:14 PM
Thanks.
For many other message types (customers, material, etc.) I can create IDocs with transactions similar to ME18. I can import those IDocs easily into the target system.
However, the IDocs I created with ME18 produce the mentioned error message on importing. Where is my mistake?
best regards
Roland
‎2006 Jun 30 1:21 PM
Hi Roland,
Please chcek your partner profile setup (WE20) perhaps it was not configured properly.
Hope this will help.
Regards,
Ferry Lianto
Please reward points if helpful.
‎2006 Jun 30 1:28 PM
Thanks Ferry!
After changing the outbound message type at the partner profile, it did work!