Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Table in BAPI Return Value

Former Member
0 Kudos
189

Dear Experts,

I have developed a Remote Enabled Function Module in SE37.

In this, I will be calling a program name of some report which will give multiple columns as output.

Based on the selection criteria, Output fields may increase or decrease in Number.

Initially i have developed a structure for few fields and used it in the BAPI :- FYR- Please find the attachment in the discussion.

It is working fine for few fields as i created a static structure and used it as Associate Type in the BAPI.

So, Please tell me how to pass Dynamic Associated type in the BAPI as i have many fields displayed in the output based on different selection criteria.

Please do the needful.

1 REPLY 1

SharathYaralkattimath
Contributor
0 Kudos
57

Hello,

No option other than adding all the possible fields in the ZBAPI structure,

we cannot add dynamic table type or TABLE TYPE ANY in RFC FM.

Thanks,

Sharath