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

Partner profiles

Former Member
0 Likes
978

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
916

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

7 REPLIES 7
Read only

Former Member
0 Likes
916

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

Read only

0 Likes
916

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.

Read only

Former Member
0 Likes
916

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

Read only

0 Likes
916

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.

Read only

0 Likes
916

If the partner is the same , just repost the IDOCs (BD87), it should trigger the new FM based on the changed partner profile.

Read only

Former Member
0 Likes
917

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

Read only

0 Likes
916

Hey Ferry,

Thanks again. Will try the function modules.

Regards,

A.P.