Skip to Content
0
Dec 07, 2009 at 12:09 PM

Sending Data from R/3 to Java and Java to SAP

140 Views

Dear All,

I am working on a scenario in which I have to send data from sap system to Non-SAP system (Java System).

Now one way is that I made a RFC in my SAP system and Java can call it using JCO adapter. But In this case I am not able to understand how to go another way,means how to capture data or messages from Java.

Secondly I have searched and found that IDOC can help me lot in this process ,I am new to IDOCS but through R & D , I have made the IDOC and done the following steps:-

1. Segment Creation (WE31)

2. IDOC Types (WE30)

3. Message Type (WE81)

4. Linking Message type and IDOC type (WE82)

5. Create Distribution Model (BD64)

Now I am struck on 5th step , I am not able to distribute model when I distribute it I get the following Error

Target system AII_00_800 RFC destination for synchronous communication (message type SYNCH)

Partner profile LS AII_00_800 SYNCH does not exist

Generate partner profile

or specify outbound partner profiles for message type SYNCH

Target system JAVASYS RFC destination for synchronous communication (message type SYNCH)

Partner profile LS JAVASYS SYNCH does not exist

Generate partner profile

or specify outbound partner profiles for message type SYNCH

JAVASYS is the logical system I created using SALE and ALL_00_800 is already there in LS.

I am not able to understand that my receiver system is NON SAP system so do I have to create logical system for it , and I have IDES system as sender system with only one client 800, what are all the configuration I have to do on SAP side.

I am also not able to understand where I will write my code to fetch data based on the input provided by NON SAP system as I will have to design IDOC for both Inbound and Outbound processes.

Kindly help me out, thanks in advance