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

SAP iRPA Pass value runtime to BAPI function

ad0601
Explorer
0 Likes
1,079

Hello everyone,

I am calling BAPI using the bot. The BAPI is working successful and producing desired result. I am hard-coding the values as custom data in BAPI-Table parameter.

However, I would like to fill up table by getting values from an excel sheet and then pass further to BAPI. When I use excel cloud link, I am getting the values and when I use activities like below it is not working,

For each <returnedvalues> <---- from excel sheet
[ BAPI table ]

How to add values in BAPI table from excel sheet? is there any other solution?

Regards,

ADR

View Entire Topic
ad0601
Explorer
0 Likes

ivan.mirisola yes sure.

I am getting data from an excel sheet to create PR as below:

I am getting data in returnedValues (output parameter)

After this I want to run a FOR EACH loop around returedValues and fill up BAPI table data Table_PR:

Now, I am hard coding the values since it is not able to find FOR EACH loop current member. So my excel returnedValues is of no use.

My table structure is:

capture2.png

I want to do:

For each (returnedValues)

append current member to Table_PR one by one.

This is not working.

So, how can i fill up the Table_PR?

Thanks in advance,

Regards,

ADR