Application Development 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: 

Idocs?!? Outbond and Inbond Idocs??

Former Member
0 Kudos

Hi Gurus,

I've some doubts about idocs...

My client has a requirement in order to integrate Sap with other foreign system, and has adopted the solution Java Caps + Idocs. I've been reading some documents about Java Caps and idocs, and as far as i know the creation of the Idoc it's done via RFC, this is, every time that the RFC is called from the other system , do its procedure, creates and sends the idocs.

Well my doubt starts here... Is it possible to send the Idoc to other system without order from the other system? Can i create the Idoc and sent it directly to the other system without action from the other system ?

Thanks in Advance,

Regards,

João Martins

1 ACCEPTED SOLUTION

former_member183924
Active Participant
0 Kudos

Hi Joao,

I think it is not possible that you can push the IDoc into the external system.

We have an EDI System connected to our SAP ERP and what I know is, when you create an IDoc in SAP and you can see it with a green light in WE02, that just means that SAP could assimilate this one fine. Now it is somewhere in a "queue" or "area". The next step is to trigger this area via the RFC by your external system. If the RFC is setup fine (SM59). For example we use a TCP/IP connection with an registered serverprogramm. In the RFC destination you can set the valid Program ID which one is allowed to pickup the IDocs...

hope it helps a bit.

regards,

Steffen

3 REPLIES 3

former_member183924
Active Participant
0 Kudos

Hi Joao,

I think it is not possible that you can push the IDoc into the external system.

We have an EDI System connected to our SAP ERP and what I know is, when you create an IDoc in SAP and you can see it with a green light in WE02, that just means that SAP could assimilate this one fine. Now it is somewhere in a "queue" or "area". The next step is to trigger this area via the RFC by your external system. If the RFC is setup fine (SM59). For example we use a TCP/IP connection with an registered serverprogramm. In the RFC destination you can set the valid Program ID which one is allowed to pickup the IDocs...

hope it helps a bit.

regards,

Steffen

Former Member
0 Kudos

Hi,

Thanks for your reply Steffan.

For what i understanded it's that i can actually create the idoc before the RFC be called, but the only way to reach the destination it's the host call the RFC. Is that it?

My client requirent it's that after an Workflow event, we have to send an field value thru idocs to the external system. Guess the only way it's the external system running as a thread, fork, calling the RFC and waiting to receive the idoc.

Once again thanks your reply.

Regards,

João Martins

0 Kudos

Hi João,

> For what i understanded it's that i can actually create the idoc before the RFC be called, but the only way to reach the destination it's the host call the RFC. Is that it?

Yes, that's how I understand the IDoc and RFC thing.

Yes we realized it like you described it. The external system triggers the SAP-IDoc-pool every 5 minutes to catch the new IDocs and process the data. But I cannot say anything about the external server program to you, because I didn't wrote it (this one has done an external company... )

Point Recognition Program at SDN

thanks, regards

Steffen