cancel
Showing results for 
Search instead for 
Did you mean: 

XI Development

Former Member
0 Kudos

The scenario is that standard IDOC (PEXR2001) will be sent out to XI.

We are planning to create a new adapter which takes this PEXR2001 as an input

and output to and XML format.

In addition to the data present in PEXR2001, this output XML format requires other data from the R/3 system which are not present in the IDOC.

The crucial thing is that no development (eg. user exit ) can be done on the SAP R/3 side to enrich the IDOC or to create customized RFC.

<b>Question 1</b>

Is it technically possible to get specific data from R/3 into XI through the use of SAP standard RFC ?

<b>Question 2</b>

Is it technically possible to program the mapping in such a way that if an element is blank, it will call the necessary RFC in the SAP R/3 and pick up the data from the result return by RFC?

<b>Question 3</b>

In the event that the data we need cannot be retrieved using standard SAP RFC, is there any way we can get the data ?

<b>Question 4</b>

The use of an IDOC is not mandatory. IDOC is used here only because it is the only standard SAP format readily available (without development) that can be exported out of SAP into XI. Is this a correct observation ?

<b>Question 5</b>

What is the extent of XI customized development ? Is it only limited to adapter and mapping development or is will a developer be able to create new transactions and screens in XI ?

Thanks. Please refer to the questions when answering. I will reward points prompty.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

<b>Question 1</b>

Is it technically possible to get specific data from R/3 into XI through the use of SAP standard RFC ?

<b>Ans:</b> For specific data you have to create the custom RFC.

<b>Question 2</b>

Is it technically possible to program the mapping in such a way that if an element is blank, it will call the necessary RFC in the SAP R/3 and pick up the data from the result return by RFC?

<b>Ans:</b> If the element will be blank, then you will not be able to select the data from R/3. But in other way if you have some input from source (file) then by using <b>LOOKUP FUNCTION</b> you can retrive the data from R/3.

<b>Question 3</b>

In the event that the data we need cannot be retrieved using standard SAP RFC, is there any way we can get the data ?

<b>Ans:</b> Use Proxy (Inbound Proxy), Custom RFC & IDOC.

<b>Question 4</b>

The use of an IDOC is not mandatory. IDOC is used here only because it is the only standard SAP format readily available (without development) that can be exported out of SAP into XI. Is this a correct observation ?

<b>Ans:</b> Yes, you can say.

<b>Question 5</b>

What is the extent of XI customized development ? Is it only limited to adapter and mapping development or is will a developer be able to create new transactions and screens in XI ?

<b>Ans:</b> XI customized development means that you will be able to create only data extraction programs, IDOCs, RFCs & Proxies.

No screen or transaction designing is involved.

Regards,

Sarvesh

Former Member
0 Kudos

Hi Sarvesh,

Thanks for the quick reply.

Can you elaborate on

<b>Question 2</b>

<i>Is it technically possible to program the mapping in such a way that if an element is blank, it will call the necessary RFC in the SAP R/3 and pick up the data from the result return by RFC?</i>

<b>Ans:</b> <i>If the element will be blank, then you will not be able to select the data from R/3. But in other way if you have some input from source (file) then by using LOOKUP FUNCTION you can retrive the data from R/3.</i>

What exactly do you mean by some input from source, and what is lookup function ?

Shabarish_Nair
Active Contributor
0 Kudos

look into my reply ... the document i mentioned talks abt RFC lookup from XI.

Former Member
0 Kudos

Hi,

You can also use value mapping to avoid the multiple lookups (multiple hit) to the R/3 databse. Using value mapping performance can be increased.

For value mapping look the below link.

http://help.sap.com/saphelp_nw70/helpdata/en/13/ba20dd7beb14438bc7b04b5b6ca300/frameset.htm

<What exactly do you mean by some input from source, and what is lookup function ?>

For example if in your souce file material no is coming but the description field is empty (i.e. not present in the source file) then by using the material as input you can extarct the data from R/3 to get the mat desc by using lookup function.

I hope it is clear now.

Regards,

Sarvesh

Message was edited by:

Sarvesh Singh

Former Member
0 Kudos

Hi Sarvesh,

So I will be able to use the material number which is appearing in an element

as an input to a customized function written for the description element to pick up the description from R/3.

This lookup function will still ultimately use an RFC to get the data out of R/3 am I right ?

Former Member
0 Kudos

Exactly!

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

<i>Is it technically possible to get specific data from R/3 into XI through the use of SAP standard RFC ?</i>

In case there is already an RFC that gets <i>your</i> specific data R/3, you can do so.Otherwise you need to create a custome RFC.Same applies with the IDocs or you need to create Custom IDocs or else go for Proxies.

<i>Is it technically possible to program the mapping in such a way that if an element is blank, it will call the necessary RFC in the SAP R/3 and pick up the data from the result return by RFC?</i>

Dont know whether in a mapping program this can be done, but otherwise using JCo, a java code can achieve so.

<i>In the event that the data we need cannot be retrieved using standard SAP RFC, is there any way we can get the data ?</i>

Use custom RFC, or IDocs or RFC.

<i>The use of an IDOC is not mandatory. IDOC is used here only because it is the only standard SAP format readily available (without development) that can be exported out of SAP into XI. Is this a correct observation ?</i>

Yes, and this applies to both RFC or IDocs that are readily available and can be exported into XI.

<i>What is the extent of XI customized development ? Is it only limited to adapter and mapping development or is will a developer be able to create new transactions and screens in XI ?</i>

No customized screen can be created.Adapter Module Development,Java Mappings, XSLT Mappings etc are only possible.

Looking at the above scenario, creation of a new adapter which takes this PEXR2001 as an input is not required.

Additional output required for the target can be achieved by having multiple source and a single target.N:1 using BPM.

And any specific reasons that no development can be done on the SAP R/3 side.

Creating a customized RFC would be the best solution in case no standard RFC/IDoc exist.

Thanks

Former Member
0 Kudos

> Hi

>

> <i>Is it technically possible to get specific data

> from R/3 into XI through the use of SAP standard RFC

> ?</i>

> In case there is already an RFC that gets <i>your</i>

> specific data R/3, you can do so.Otherwise you need

> to create a custome RFC.Same applies with the IDocs

> or you need to create Custom IDocs or <b>else go for

> Proxies.</b>

Thanks MK. Just a question, what are proxies and how can they be used in this case ?

Shabarish_Nair
Active Contributor
0 Kudos

<i>The scenario is that standard IDOC (PEXR2001) will be sent out to XI.

We are planning to create a new adapter which takes this PEXR2001 as an input

and output to and XML format.</i>

>>

why a new adapter? you can use the Idoc sender to achieve the same.

http://help.sap.com/saphelp_nw04/helpdata/en/b9/c5b13bbeb0cb37e10000000a11402f/content.htm

<i>Question 1

Is it technically possible to get specific data from R/3 into XI through the use of SAP standard RFC ?</i>

>>>

in your case get the idoc directly into XI from SAP

<i>Question 2

Is it technically possible to program the mapping in such a way that if an element is blank, it will call the necessary RFC in the SAP R/3 and pick up the data from the result return by RFC?

Question 3

In the event that the data we need cannot be retrieved using standard SAP RFC, is there any way we can get the data ?</i>

>>

you can do a mapping lookup for sure.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-code-samples...

<i>Question 4

The use of an IDOC is not mandatory. IDOC is used here only because it is the only standard SAP format readily available (without development) that can be exported out of SAP into XI. Is this a correct observation ?</i>

>>

since u already have an existing idoc in sap, its better to utilize the same.

Former Member
0 Kudos

Hi Shabarish Vijayakumar,

Thanks for the quick reply.

Then link you have provided me for the mapping lookup is not accessible. Is there another link ?

Message was edited by:

Yupinto Ngadiman