cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC_AAE issue in sap pi 7.31 single stack

former_member191435
Contributor
0 Kudos

Hi Folks,

I am working on IDOC to file interface.

Normally we dont create service interface for IDOC. But some cases I created Service interface for IDOC and testing the interface but its not working ... when we are pushing IDOCs from ECC message are getting struck... My port and partner profiles everything is same.

Here my Question is can we use service interface for sender IDOC.......  Please clarify ..... it will give namespace confict but is there any way to use IDOC in service interface.

Thanks,

Enivass....

Accepted Solutions (1)

Accepted Solutions (1)

former_member191435
Contributor
0 Kudos

I am closing this thread ...

Here is my response ... it is working like below

http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/03/25/requestresponse-bean-for-idocaae-...

Thanks,

Sreenivas

Answers (4)

Answers (4)

sunil_singh13
Active Contributor
0 Kudos

Seenu,

Have you considered calling the Webservice through Mapping lookup?

Idoc -> Webservice call through Mapping lookup -> File

Thanks,

Sunil Singh

former_member191435
Contributor
0 Kudos

Hi

My main query is how to use standard adapter modules in idoc_aae adapter.

Cheers,

Enivass

former_member191435
Contributor
0 Kudos

Can anyone anyone help me on this issue....

Thanks,

Seenu

nabendu_sen
Active Contributor
0 Kudos

Hi Seenu,

Try with the below solution....expose your IDoc as Web Service and use SOAP at sender side. Please find the below blog:

http://scn.sap.com/people/martin.dejl2/blog/2011/10/19/soap-for-idoc-demystified

former_member191435
Contributor
0 Kudos

Hi Nabendu,

Can you please elaborate ... I am getting little bit confusion ...

Thanks for your time

Seenu

nabendu_sen
Active Contributor
0 Kudos

Hi Seenu,

As per my above solution you can publish your IDoc as WSDL from SAP, that means a Web Service. You need to upload the WSDL in your ESR as an External Defintion, create Response Structure what SAP is expecting to get back and use SOAP as your Sender Adapter instead of IDoc adapter. Use RequestResponseBean and ResponseOnewayBean in your Sender SOAP adapter. Thats it.

former_member191435
Contributor
0 Kudos

Ok I will finalize the case now please correct me if I am wrong.

1. Create 1 soap Sender communication channel.

2. create 1 receiver soap Communication channel.

3. Create 1 receiver communciation channel for final response.. which i mention in adapter module.

In Sender soap I need to use request and response oneway bean right.....

Thanks,

Seenu....

Former Member
0 Kudos

Hi,

Though I am not sure with Java IDoc_AAE adapter but for ABAP IDOc adapter i have created service interfaces and they worked fine for me w/o any issues...

check your scenario by creating the service interface of IDoc as async ..rather than sync ..so that you can get to know whether the issue is with connection from ECC or with the service interface Mode...

Gud Luck and dont forget to share your resuls here...

HTH

Rajesh

former_member191435
Contributor
0 Kudos

Hi Rajesh,

If I used IDOC Asynchronous with service interface it is not reaching to PI. Messages are struck in SM58 of ecc showing an error as Bean IDOC_INBOUND_ASYNCHRONOUS error... if i used without service interface same communication channel is working fine....

Please provide information to solve this issue.

Thanks,

Seenu

Former Member
0 Kudos

Suprisingly...idoc data not received when service interface has been created in PI 7.31

Not sure whether the below thread can help in your case...

Check once http://scn.sap.com/thread/2145105...though it is for PI 7.3..

Cross check the service interface created once...else raise OSS message...

HTH

Rajesh

former_member191435
Contributor
0 Kudos

Hi Rajesh,

Can you please let me know, how u have configured that interface... please let me know the steps..

Thanks,

Seenu

Former Member
0 Kudos

I have created in earlier versions of PI and not in PI 7.31

so best option is to raise OSS message ...

Rajesh

former_member184789
Active Contributor
0 Kudos

Hi,

Maybe you are already going ahead with the solution suggested by Nabendu, but still I want to tell you that if you try to create a service Interface for IDoc at sender side, it will not work. This happens because in the ICO, the name of the outbound service Interface (the one created for IDoc) does not match the name of the IDoc. We had tried it recently & faced exactly the same error. We also had the same requirement which we tried to fulfill with request response bean.

former_member191435
Contributor
0 Kudos

Hi All,

Here is my response ... it is working like below

http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/03/25/requestresponse-bean-for-idocaae-...

Thanks,

Sreenivas

former_member184789
Active Contributor
0 Kudos

Thanks a lot for the blog..

nabendu_sen
Active Contributor
0 Kudos

Hi Seenu,

We use Service Interface for IDoc for IDoc Packaging (Enhance the IDoc occurrence from 1-1 to 0-Unbounded). Other than this, there should not be any requirement for IDoc Service Interface. But if you also define IDoc SI, there should not be problem.

http://scn.sap.com/community/pi-and-soa-middleware/blog/2005/12/04/xi-idoc-bundling--the-trick-with-...

former_member191435
Contributor
0 Kudos

Hi Nabendu,

Thanks for your reply....

Here what is my query is I want to pick data from ecc and send to webservice and response needs to be save in fie.

So, I make service interface for sender and make it as synchronous .... and used requestreponse bean in idoc_aae sender channel...

but it is not picking data from ecc....

Thanks,

seenu

nabendu_sen
Active Contributor
0 Kudos

Hi Seenu,

Executing IDoc for Synchronous communication is really not a good way, Go for Proxy communication. To make IDoc Synchronous, you have to do lot of out of box configuration which is not a best practice. But RequestResponseBean should work with IDoc_AAE. Are you also using ResponseOnewayBean?

Check the below blog for configurations:

http://scn.sap.com/people/william.li/blog/2011/05/04/configuring-pi-730-java-idoc-adapter

Check below for making Async communication to Sync:

http://wiki.sdn.sap.com/wiki/display/HOME/Using+Request+Response+Bean+Module+in+FILE+Adapter

former_member191435
Contributor
0 Kudos

Hi Nabendu,

Thanks for your reply....   Due to some client requirement we are not going to proxy. But please let me know what are the out of box configuration we have to use........

I used responseoneway bean also .... that modules work fine for file adapter also...

Please let me know the configuration its urgent for me...

Thanks in advance

Seenu