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

IDOC problem

Former Member
0 Likes
721

Hi ,

I am facing problem in IDOC.I have to send sales order data to XI system (outbound process) in the form of IDOC’s by message control method. Here using customized message type and Idoc type.

I defined new output type, so when I give this output type in the sales order and save it IDOC should able to created. But I am getting the error “No partner profiles (message control) maintained” .I checked in WE20, the Partner profiles has been maintained properly and all settings are fine.

This is the problem I am e facing and not able to find root cause of this error.

Kindly suggest.

Thanks and Reagrds,

Phani

5 REPLIES 5
Read only

dhruv_shah3
Active Contributor
0 Likes
589

HI,

You have to maintain partner profile for your both systems (inbound and outbound)in we20 in sending system.

And maintain the inbound(sender system) partner profile in the Receving system.

Regards,

Dhruv Shah.....

Read only

0 Likes
589

Hi..You have to maintain seting in NACE T Code ..Give partner number in Consition Records for particular output type..

Read only

varma_narayana
Active Contributor
0 Likes
589

Hi

For this new Output Type:

In the Sender R/3 system.

1) You have to Create the Condition records in Tcode NACE.

2) You have to assign message Control Parameters while Creating Outbound Partner profiles in Tcode WE20

Such as : Output type , Process Code.

Then it should work fine.

<b>reward if Helpful.</b>

Read only

Former Member
0 Likes
589

Hi...

Assign the funcion module in function group.

After check the WE64 in your own process code and funcion module, function group is there or not check it.

STEP BY STEP SETUP OF HANDLING INBOUND IDOCS

The various steps that need to be done to ensure that the inbound idoc gets processed correctly are as follows:

1) Ensure that the Receiving System has been assigned a Logical System Name. This is done in transaction BD54. In our case, our receiver system is SAPSERVER1

Also, maintain the Sender System. Our sender system is Kumar_TEST2.

2) Ensure that the receiver Logical System has been assigned to the proper client also. This is done in transaction SCC4

3) Create the idoc inbound function module in SE37. Assign it to a proper function

group. In our case, our Z Function Module is Z_IDOC_INPUT_STUD_CREATE and the function group is ZSTUD.

While creating a Custom Idoc Input Function Module, it is best practice to copy from existing standard Idoc Input Function Module and make changes to the source code.

Special attention needs to be paid to the Importing, Exporting and Tables Parameters. The interface is always going to be same for all Inbound Idoc Function Modules.

4) In the source code, we can loop thru the Data Records contained in the idoc. We can do the necessary validations and checks and accordingly post the document. Finally we have to populate the Status Record in the Status internal table. If Successful then it is 53 else 51.

5) Create an entry for this inbound function module in the transaction BD51.

6) In the transaction Code, link the above function module with the Correct Message Type and Idoc Type. If there is any enhancement to be used, put in the name of the enhancement also.

7) In transaction Code WE42, create the Z Process Code and link it to the Function Module and the correct logical message. In our case, Custom Process Code is ZSTU.

8) Set up the Inbound Partner Profile in the transaction code WE20.

9) Ensure that a copy of the distribution model is present on the Receiving system also.

Once the above steps have been done, we can create outbound idoc from Sending system and receive it here. Final status should be 53.

We can go and view the data has come into the Z Tables.

In our case Z table is ZSTUDENT.

Read only

paruchuri_nagesh
Active Contributor
0 Likes
589

hi

venkata phani

execute report RSECHK07 it will gives if any in consistences in your partner profiles

reward for use ful points

regards

Nagesh.Paruchuri