‎2006 Jul 11 7:30 PM
Hi
I'm trying to post inbound idocs using a custom FM and process code. I'm at the point of creating a partner profile for inbound direct processing. Now I have a confusion at this point. Suppose I have a sending system A and a receiving system B. Must the partner profiles of both systems be in each system? Please advise.
Thanks,
A.P
‎2006 Jul 11 8:33 PM
Hi A.P,
You need to change IDoc status from '51' to '64' in order to reprocess via your new custom FM.
Please use standard program <b>RC1_IDOC_SET_STATUS</b> (if available) or this FM to change IDoc status.
EDI_DOCUMENT_STATUS_SET
IDOC_STATUS_WRITE_TO_DATABASE
Once done then you can go to transaction BD87 or run program RBDAPP01 to repost the IDoc.
Hope this will help.
Regards,
Ferry Lianto
‎2006 Jul 11 7:42 PM
hi Abap,
Update inbound parameters of the Partner profile Transaction WE20
For the Logical system A for the message type update the partner profile
Update inbound parameters of the Partner profile Transaction WE20
For the Logical system b for the message type update the partner profile
Message was edited by: Priya
‎2006 Jul 11 7:53 PM
Hello Priya
I still don't understand. Let me make my situation more clear. Idocs are coming from T00 to DEV. So my question is do I have to set up partner profiles of T00 and DEV in both boxes.
thx,
A.P.
‎2006 Jul 11 8:03 PM
Hi A.P,
If system T00 is SAP system then you need to maintain both distribution model (BD64) and partner profile (WE20) for T00 and DEV system.
In T00 system, please setup as outbound processing and inbound processing in DEV system.
Hope this will help.
Let me know if you need further assistant.
Regards,
Ferry Lianto
‎2006 Jul 11 8:22 PM
Hello Ferry
I have a situation wherein I have some inbound idocs sitting in my DEV system. I am trying to move the data from the idocs to custom z-tables using a custom FM and process code. Now I have created the partner profile in DEV. Now how do I post the inbound idocs which have a status 51 and message "Function module not allowed" due to the previous FM assignment. My custom FM was not developed when the Idocs were sent from the other system. Any pointers to how I can post these idocs using my custom FM?
A.P.
‎2006 Jul 11 8:28 PM
If the partner is the same , just repost the IDOCs (BD87), it should trigger the new FM based on the changed partner profile.
‎2006 Jul 11 8:33 PM
Hi A.P,
You need to change IDoc status from '51' to '64' in order to reprocess via your new custom FM.
Please use standard program <b>RC1_IDOC_SET_STATUS</b> (if available) or this FM to change IDoc status.
EDI_DOCUMENT_STATUS_SET
IDOC_STATUS_WRITE_TO_DATABASE
Once done then you can go to transaction BD87 or run program RBDAPP01 to repost the IDoc.
Hope this will help.
Regards,
Ferry Lianto
‎2006 Jul 11 9:00 PM
Hey Ferry,
Thanks again. Will try the function modules.
Regards,
A.P.