cancel
Showing results for 
Search instead for 
Did you mean: 

Importing BAPI with Import parameter Type Structure

Former Member
0 Kudos

Hi All,

I am importing BAPI as shown below:

FUNCTION ZTEST_BAPIOC.

*"----


""Local interface:

*" IMPORTING

*" VALUE(A1) TYPE ZLEVEL1 OPTIONAL

*" EXPORTING

*" VALUE(M1) TYPE CHAR10

*"----


Where ZLEVEL1 is Structure which contains many appended structures.

ZLEVEL1 (SAP SE11 Structure)

-ZLEVEL2A

-ZLEVEL2B

ZLEVEL2A (SAP SE11 Structure)

-ZLEVEL3A

ZLEVEL2B (SAP SE11 Structure)

-FIELD1

-FIELD2

ZLEVEL3A (SAP SE11 Structure)

-FIELD3

-FIELD4

But after importing BAPI in XI I can see only A1 as follows :

Structure--


Category---Type

ZTEST_BAPIOC------Element

A1--


Element----ZLEVEL1

For mapping to target I need whole structure on BAPI & ZLEVEL1.

<b>Please help how to Import Or Design Strucure of BAPI with Import parameters Type as Structures?</b>

Thanks & Regards

Accepted Solutions (1)

Accepted Solutions (1)

shailesh_mane
Participant
0 Kudos

Hello Umesh,

In your function module try using the TABLES tab for defining the structure ZLEVEL1 instead of using the IMPORT tab. This should solve your problem. Let me know.

Regards

Shailesh

Former Member
0 Kudos

Hi,

Thanks for Reply.

Actually User ID I used for importing BAPI having some missing authorization.

After getting Authorization I can see full structure of BAPI in XI.

Thanks & Regards

Former Member
0 Kudos

.

Answers (1)

Answers (1)

Former Member
0 Kudos

You should able to see the structure as u import , please check in the definition of BAPI whether some thing is missing ?

Vara

[PLEASE REWARD FOR POSTING]