cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a namespace and Datatype

former_member248450
Active Participant
0 Kudos

I am trying to create to a develop a small application which reads data from text file and loads a Ztable.

I am following this document.

http://sap-xi.com/sap-xi-scenario-soap-jdbc.html

Here I have created a software component and imported to Intergration repository.

The next step is create namespace.

Not sure how I do that. Do I have to create in SLD or can I do it in IR. Please let me now how to do it in IR.

Also, the tutorial is little bit different from what I am trying to do. Can anyone of you experts guide on the next steps in the Dev process.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

sunil_singh13
Active Contributor
0 Kudos

Raj,

We create namespace in IR. double click on the imported SWC u will find a table kind of space where u just enter the name of the namespace and after saving that u will find thet namespace got created under that software component.

Thanks,

Sunil Singh

former_member248450
Active Participant
0 Kudos

Sunil-

Thanks for your reply.

In my scenario, I have a text file on aix system with 5 fields. I have created a table in ECC system. Now , I am trying to poulate the data from this text file to the table Can you briefly describe the steps need to be done after creating name space.

Raj.

agasthuri_doss
Active Contributor
0 Kudos

Raj,

>I have a text file on aix system with 5 fields. I have created a table in ECC system

Creat a data type1 for 5 fields in for Source , Similarly create required data type2 in target structure, Create respective message type & message interface ( Oudbound for File , Inbound message interface for Table /Ecc ) then go for mapping and do the necessary configuration, Use File adapter for sender, Use Proxy code or Bapi to post the records in the ECC system.

Cheers

Agasthuri

agasthuri_doss
Active Contributor
0 Kudos

Raj,

The below link will give you an idea

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

/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy

/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy

/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit

Cheers

Agasthuri

former_member200962
Active Contributor
0 Kudos

The link you mentioned seems to be of SOAP --> XI --> JDBC.....while you are trying to do FILE --> XI --> BAPI/ RFC ..... so the configuration mentioned in the link may not help you to the full.

You need:

1 Data Type for FILE and create Message Type

Import the RFC into IR (under Imported Objects)

1 Outbound Async Messaeg interface for File

1 Inbound Async Messaeg Interface for RFC (this step is optional and can be skipped)

1 Mapping program.....and corresponding Interface Mapping.

I would suggest you search SDN for File to RFC scenaro.

Regards,

Abhishek.

Answers (0)