cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with sender IDoc scenario

Former Member
0 Kudos

hi experts..,

when i create message Interface for a Outbound Idoc my scenario is not working.

if i use idoc directly instead of message interface its working properly

And in Interface Determination if i gv interface mapping we are gting errors and without mentioning interface mapping in Configuration its is working fine

can any one explain me what is the reason for my two questions

thx in advance

john wesly

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi John,

Is this Problem Solved??

Regards

Seshagiri

Former Member
0 Kudos

ya..

my TL has solved that problem..

thx for responding to my messages..

thx

Former Member
0 Kudos

Hi John,

Can you please let us know the solution and Close the Thead

Regards

Seshagiri

venkatanarayana_vagu
Active Participant
0 Kudos

As seshagir expalined in goo manner.

And also when you are using the IDoc meta data you do not require to create Message interface and interface in interface mapping. The IDoc it self will be consider as Interface and interface mapping

Former Member
0 Kudos

Hi John

IDOC and HTTP are the only two adapter which resides on ABAP stack rest all adapters reside on JAVA stack

For IDOC and HTTP there is no need of communication channel because these uses ICF service and can directly connect to Integration server without using any communication channel.so no need of configuring adapter.

thats why u are facing this issue

hope it may clear you now

regards

Sandeep

If helpful kindly reward points

Former Member
0 Kudos

my question is not abt CC and Adapter...

my question is that if i create Mes.INteface for Idoc my scenario is not workin....and if i use IDoc directly instead of MI its working what is the reason....

thx...

Former Member
0 Kudos

i wanna use same IDoc for many scenario's so i need to create different Message interfaces for the sane IDoc....

so With MI my IDoc scenario is not ot working,....its working if i use Idoc directly

u got my point i think so..

thx..

Former Member
0 Kudos

Hi,

When u work with IDOC u do not need to create the Message interface,message type and data type.

Directly use the same in Message mapping and interface mapping.

It will work then.

chirag

Former Member
0 Kudos

Hi,

Here the thing is we have to use the IDOC name itself as the Interface.

We shldnt create separate Interface to this.

When we triggered the IDOC from SAP R/3, basically the IDOC Adapter( Internally while sender side) will look for the corresponding IDOC Interface name. If it didnt identify means it will fail here.So when we use the IDOC name then only we will get succeed.Otherwise it will fails

Regards

Seshagiri

Former Member
0 Kudos

hi...

i wana use same idoc for two different interfaces in same SWC..

if i use idoc directly...whn i trigger idoc the message will go to two receivers at a time ...so now suggest me hw can i use

thx

can u explain me..

agasthuri_doss
Active Contributor
0 Kudos

Hi,

>i wana use same idoc for two different interfaces in same SWC..

The Business system / Business Service will be different is it

Regards

Agasthuri Doss

Former Member
0 Kudos

Hi,

Send your IDOC to the receivers on condition based,

Place the condition in Receiver determination to send it to particular receiver based on the Business System/Service

Use the interface det to call the particular Interface and corresponding interface mapping based on the condition

Example:

in the IDOC structure if one field say some TCode is present

then if you can say that field can carry either 1 or 2 means

If 1 comes means route it to Receover1

If 2 comes means route it to Receiver2.

This is an example only

Regards

Seshagiri

Former Member
0 Kudos

its not the problrm with Bussiness system or configuration...

but for 2 sceanrios i hv to use same Idoc

if i gv Idoc name in Message INterface..

once if i trigger the message will go to two receivers..

iam not using multti receivers from single idoc as a single scenario..

this is for two different scenarios..

Former Member
0 Kudos

Hi,

I will explain one example by taking one IDOC

we have ORDERS05 Idoc and we are using the same Idoc for two scenarios

Scenario1 -


IDOC---File( FTP Server)

Scenario2----IDOC-JDBC

Now let us assume that we have configured two scenarios.

If we trigger the IDOC Orders05 from SAP R/3 means

1) The Idoc will be triggered and it will reach to XI.

Now your doubt is which Receiver will be take place and to be executed.

This time the problem my come or may not come, let it be like that.

If your requirement is like the above mentioned thing means

1) We can develop a single scenario like

IDOC-------File( FTP Server)

-


JDBC

Here what we have to do is when the idoc comes to xi we have route the Idoc to the particular receiver based on some condition in Receiver Determination

And one more thing is in mapping also if we have two mappings then we can use Interface determination based on condition which interface mapping to be execute.

I hope this clears yor doubt

Regards

Seshagiri

Former Member
0 Kudos

HI,

you can use the same Idoc in different interfaces.There is no need of creating interface mapping.If u trigger the Idoc , based on the mapping the idoc to particular receiver , the message goes to that receiver only.and u will also define that particular receiver in the reciever determination.So the idoc goes to the particular receiver only.It doesnot go to the other receiver.