cancel
Showing results for 
Search instead for 
Did you mean: 

Copy BAPI structure to data type

Former Member
0 Kudos

Hello,

my integration scenario was HTTP-to-RFC

Due to some business changes I'd like to change it to HTTP-to-AbapProxy, and use all the mapping I had in RFC.

For this I want to create a data type with the same structure as my BAPI request structure with few custom fields in addition.

How can I copy a BAPI request structure into a data type?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

iaki_vila
Active Contributor
0 Kudos

Hi Kiryl,

What is your PI version?,

You can do this (From PI 7.1):

And later to import it like data type:

The problem is with the namespace, you can't import here because the RFC namespace is reserved for internal use only. You will need to change the namespace manually.

Regards.

Former Member
0 Kudos

Thanks. 

this is what I needed. didn't see this menu ...

Answers (1)

Answers (1)

tharaka_fernando
Contributor
0 Kudos

Hi Kyril,

If you want to directly to import BAPI into PI (ESR) then;

go to your SWCV and import BAPI from your ECC client . (Imported objects --> R.click on RFCs --> Import of SAP objects and then provice ECC connection details)

As above you can import BAPI to your PI program.

If you want to  to import BAPI into Proxy;

Go to SPROXY tcode and select your name space and you can import BAPI . ABAPPERS may do the coding part.



Thanks

Tharaka

Former Member
0 Kudos

Tharaka,

BAPI is already imported into ESR.

The question is how can I copy the whole BAPI request structure into a data type in ESR?