cancel
Showing results for 
Search instead for 
Did you mean: 

Emp Details from SAP ECC to legacy system

Former Member
0 Kudos

Hi Experts,

We need to send Employees details from SAP ECC to legacy systems. Based on the Personnel Area the receiver will be determined.

For this senario we thought of using Proxy to file adapter.

Now the data conversion(from SAP tp Legacy format) can to done in following ways:

1. Extract the data from SAP and convert it in require format. Based on the Personnel Area determine the receiver and populate it in a field and send the data to XI Via Proxy method.

In ID, in Receiver determination based on the receiver field(populated in SAP) send that message to the respective receiver.

2. Extract the data from SAP and send it to XI Via proxy method. Do all the required mapping in XI-IR. In ID, based on the personnel number send the message to respective receiver.

Now my quesion is out of these two above mentioned ways which one is better and why?

Waiting for Experts reply,

Shwetambari.

Accepted Solutions (0)

Answers (3)

Answers (3)

deepak_shah
Contributor
0 Kudos

HI

i would prefer the Second option.

U can write a abap code or use Function module to fetch data from SAP and then pass it to XI via PRoxy(as this is new interface) and then using conditional receiver determination u can pass the file to appropriate receiver.

Former Member
0 Kudos

Mr. Singh,

See here the 2nd method i.e standard receiver determination is simple and easy to implement.In the standard receiver determination, we used XPath/context object to find out the Receivers in the Condition editor. But, with the use of XPath, the functionalities are limited. Using XPath become complex in case we have to get substring or do arithmetic operations etc. Moreover, more than one node cannot be used in evaluating conditions.

All these features can be incorporated using the enhanced receiver determination. The list of receivers can be determined dynamically at runtime, using a message mapping.

This enhancement is available from Support Package Stack 06 in PI 7.0 and also its equivalent package in XI 3.0, which is Support Package Stack 15 onwards.

Enhanced Receiver Determination

You use an enhanced receiver determination to have a mapping program determine the receivers of the message dynamically at runtime. Instead of creating the receivers in the receiver determination manually, you assign a mapping to the receiver determination and this returns a list of receivers at runtime.

How to config Enhanced receiver Determination:

First, maintain Database Table in SAP XI. Which contains several keys like Sender, Receiver, Process and then according to that key combination we perform a JCO call and fetch the values which gives us the correct receiver and interface.

Create a Data Type which will be having Two elements Service And Interface.

Now careate a message type and message interface for this data type. This will be your receiver.

Then use source payload and perform a message mapping between Sender Payload & this Message Mapping.

Use UDF and make a JCO call and fetch table entries for service and interface.

Then in Directory perform extended determination and use this mapping into it. The result will be Service & Interface.

Also check here for more details

http://www.saptechies.com/receiver-determination-enhancement/

Thanqs

Biplab

Reward if useful

Edited by: biplab das on Mar 14, 2008 12:39 PM

prateek
Active Contributor
0 Kudos

One of the factors for this decision would also be the technical availability of resource at ur end.

XI ideally should only hold the integration logic. But in case, the sender and receivers wants the business logic to be at the central location, then use first method

In case, it seems to be handled easily in mapping of XI< then go for 2nd method

Regards,

Prateek