cancel
Showing results for 
Search instead for 
Did you mean: 

Create a Data type like a structure

EdgarTabar
Participant
0 Kudos

Hi,

I want to use a structure (ex. rihequi) from sap for the definition of a data type.

Is it possible to import the structure in the ESR?

Regards

Edgar

Accepted Solutions (1)

Accepted Solutions (1)

nabendu_sen
Active Contributor
0 Kudos

Hi Edgar,

You can use DDIC structure as the tables parameters in a dummy RFC and try importing the RFC. Then you could be able to use the structure within PI ESR.

EdgarTabar
Participant
0 Kudos

Hi,

the way with the dummy rfc works!

Can I used the structure to create an abap proxy?

nabendu_sen
Active Contributor
0 Kudos

Hi Edgar,

Proxy structure needs to be created in PI only (Data Type, Message Type) and from SPROXY transaction of SAP system, you can generate the Proxy so that the structure will become available to SAP system. They can use this in their ABAP code. But your requirement is to use DDIC structure, not PI structure.

EdgarTabar
Participant
0 Kudos

Hi,

I have a scenario "abap-proxy to jdbc".

For the abap proxy I have to create data and message types in the PI (also a service interface).

In the sap system I can see the service interface with SPROXY transaction.

This is nit the problem.

The data type is very similiar to a structure in the sap system.

So I don't want to write the whole structure (with more than 100 fields) to create the data type.

I will do it in this way:

1. I create in the sap system a dummy rfc with the desired sturcture as tables parameters

2. I import the rfc in the PI

3. In the PI I found the structure in "imported objects"

4. for the service interface (abap proxy) i use the imported structure

5. I will create the Proxy in the sap system

Is this (4) possible?

0 Kudos

Yes...It's possible

Answers (1)

Answers (1)

Former Member
0 Kudos