cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI import param as a table - example for cloud studio

janv7306
Active Participant
0 Likes
993

Dear experts!

Firstly please, can anyone share an example of BAPI call using a table as an importing parameter?

Secondly, can you please share a custom script of BAPI call with a table (as above)? Both examples should be for cloud studio.

Thank you very much.

Kind regards, JV

View Entire Topic
Jana_dK
SAP Mentor
SAP Mentor
0 Likes

Hi Jan,

Hereby an example we're using 🙂

importDataMapped is a specific type, which corresponds to the importing fields of the BAPI. In this case we have the Item & itemx table mapped with the data needed.

The custom script is mainly mapping all the data to the needed fields and adding them to the table.

sap is the "main" variable which contains every import field / table / structure. The output of the script is the type we created for this.

Kind Regards

Jana