cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a Test Scenario ( XML Processing -> put data into a TABLE )

Former Member
0 Kudos

Hi there,

i work a lot with XI. But i never created a scenario from the Scratch.

So i want to learn more about XI and create my own Scenario in our Test XI Machine.

What i want to do is...

i have a Folder /test/

I want to put a XML File in there:

Test.xml

The content in the XML File should looks like this:

<test>

test1

</test>

<name>

bjoern

</name>

So i want that the Engine comes and take the XML File and Process it. The Data in the XML File should be written in a Table in ABAP System of the XI.

Table. ztestxml

So is there a Tutorial with that i can work?

Or a blog or anything else?

Thanks for your help.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

solved

former_member206760
Active Contributor
0 Kudos

Hi ,

your scenario can be implemented as a File - > Xi -> RFC scenario.

1. keep in mind that the file needs to be placed on a shared folder in XI system only where u will have to use NFS in the sender file adapter or from a FTP server which is pingable from your XI server.

if you are using FTP server u will need the IP adrress of the same port will always be 21 and Uid / pwd also is required

2. RFC here is a FM in ABAP which will take the data from XI and then pussh it in the table in XI

in the receiver RFC channel you will have to define the RFC destination / SID / Client etc

where RFC destination in XI should be created such that it points to itself

Former Member
0 Kudos

Hi

Just to recap.

- XIs way of working is different to your understanding (of directly updating tables)

- This can be achieved by XI, but in parts, by different methodology.

- Considering your situation and scenario, the best at this moment to do is a File to RFC

- where the BAPI deals with all R/3 related activities.

so first ensure, that there is a BAPI which does the task independantly in R/3

Invoke this BAPI from XI, when you get the trigger (by the file coming into XI)

hope this link helps you, step by step. I shall update this post if I find more suitable blog/information

https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file-rfc-file(Without%252bBPM)

https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file-rfc-file%2528without+bpm%2529

Regards

Vishnu

Former Member
0 Kudos

Thanks,

this Wiki Looks nice.

Hope you find more of this

Former Member
0 Kudos

Just a little Question for point 1.

Step1: Import RFC

Connect to the backend system and import the BAPI - BAPI_COMPANY_GETDETAIL

What i have to do here?

Edited by: bjoern bayerschmidt on Feb 26, 2009 9:15 AM

Former Member
0 Kudos

Hi

It is not necessary to use the same BAPI, (but if you dont have any of your own BAPIs)

these are steps in Integration Repository (design)

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/4a/576d219c340844aaa12ce9bbc2c3ee/frameset.htm

Regards

Vishnu

former_member192295
Active Contributor
0 Kudos

Hi,

We can do your requirement is different ways, depending on your requirement choose configuration interfaces like FILE to PROXY or FILE to RFC etc.

Former Member
0 Kudos

Hello,

whats the differences between this?

And how can i know what i have to use?

I described what i want to do.. This sould only be a test scenario..

former_member192295
Active Contributor
0 Kudos

Hi,

Depending on data flow need to choose requirement either proxy (high volume data) or RFC (low volume data). These are only ways to push data to XI tables. Any other ways let me know.