cancel
Showing results for 
Search instead for 
Did you mean: 

Partner Role wrong

Former Member
0 Kudos

Hi

My Scenario is like this.

Sync HTTP -> XI BPM -> Async Idoc ->Async Idoc -> XI and back to HTTP client.

When the Idoc is received in R/3 the Partner Role is 'CR' And not SP as expected.

When looking in SXI_MONITOR the message is correct with <SNDPFC>SP</SNDPFC>

Idoc adapter has check in Apply Control Record and Take Sender/Receiver.

Any Ideas

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Henrik,

I have an interesting fact with me about the checkbox "Apply control record values" which you can set or not.

1. We don't set the checkbox:

a)Since we do not want to fill the control record ourself we can Disable the EDI_DC40 segment

b)Now the control record will be filled with those parameters:

TABNAM, SNDPOR, MANDT, DOCNUM, DOCREL, RCVPOR, ARCKEY, SERIAL, MESTYP, IDOCTYP, CIMTYP

SNDPRN, SNDPRT, SNDPFC, RCVPRN, RCVPRT, RCVPRT, STATUS, DIRECT OUTMOD, CREDAT, CRETIM

and they will have values like described on help.sap.com.

2.We set the checkbox.

a)If you read the documentation you may see this:

"If you have not set the Apply Control Record Values from Payload indicator

in the receiver IDoc adapter, the fields are filled as follows...."

but this is only half of the truth:)

b) You can see that if you mark the checkbox you're also not able to fill those fields. because IDOC adapter changes them and uses the standard values as when you don't set that checkbox.

c)That means that the only values you're allowed to change are those:

MESCOD, MESCFT, TEST, EXPRSS, STD, STDVRS, STDMES, SNDSAD, SNDLAD, RCVSAD, RCVLAD, REFINT, REFGRP

You are not allowed to change other values ,as those values are changed by IDOC adapter itsself using standard value .

I hope it will help you .

**Pls: Reward with Points if helpful **

Regards,

Jyoti

Former Member
0 Kudos

Hi Jyoti

The Application consultant in this scenario has demanded that the Partner Role must be SP.

Can It be true that I'm not allowed to change that?

And why is it set to CR - Forwarding Agent.

Former Member
0 Kudos

Hi Henrik,

I can give some suggestions

1) Check the mapping related with senarion and also test it

2) And also check the partner given in T C "WE20"....

if u have some more info abt error .........plz provide

Reward points if helpful

Regards

SaiGanesh

Former Member
0 Kudos

The mapping you say?

It works. Otherwise the output shown i sxi_monitor would not show the correct control record I gues?

WE20 . partner profile exists. If i resend the Idoc with we19 and changes the Partner Role to SP It works.

Can U specify what to look for in WE20 when you say check the partner?

Regards HP