Error while executing Invoke SAP BAPI /CASWW/QM_CIF_CCI_MODIFY with ET_BAPIRET parameter

Hello everyone! I need your help in solving the below issues:

I am trying to automate SAP via RFC (Remote Functional Calls) and the Function Module is /CASWW/QM_CIF_CCI_MODIFY and this is my first time using SAP BAPI in UiPath

Problem 1) I don’t find the input parameter IT_ITEMS via which the data of Fields to be passed that needs to be written into the SAP system (which is the sole purpose of this automation) :frowning_face:

And the available Parameters are 4 as shared in the screenshot.
Please feel free to suggest the proper way to use this for achieving the requirement.

Problem 2) I get the issue with data type error with ET_BAPIRET parameter as below Output Error screenshot. I am actually supplying a variable of list as mentioned in the activity itself.

unnamed

Problem 3) I am not able to use Export Parameters option as well, it throws the below pop up while saving the .xlsx file

Note: I am supplying empty variables for all these 4 parameters

Since this is my new first post, i could only attach 1 screenshot. I will try to add remaining in replies

MicrosoftTeams-image (5)

@ordo

unnamed (1)

@StefanSchnell

hi @hima.chandana

The issues above are not easy to answer. It is very SAP specific and not really UiPath specific.

I would start with this video to learn more about BAPI automation and step-by-step guide:

Second, I would recommend to use some of UiPath ready to go accelerators

Example here: https://www.youtube.com/watch?v=YJ8mcy-Ci04

This should help to solve the first issues. Start with something small based on example above and then move into your specific example

Best regards, Lev

Thanks @LevKushnir for the support. As suggested in the first video here which provides the 3 pre-requisites for running SAP BAPI smoothly, I have got all covered but still see the ET_BAPIRET parameter data type cast to DataTable issue (the first screenshot in the above query) ! Especially I have got the imports in the Main of the xaml to read parameter of BAPIRET2 type

along with SAP .Net connector, BAPI package in-place.

Hi @hima.chandana,
which version of UiPath.Excel.Activities and which version of UiPath.SAP.BAPI.Activities are you using?
Is this a custom BAPI you try to call?
For the parameter export, please check if there is any of the characters mentioned in the error message used in the parameter name or the short text describing the parameter. This may cause the problem.

For your variable list_ET_BAPIRET, which type is this?