SAP BAPI Element Name of container metadata unknown

Hello Communit,
How are you all?

I have created the project structure that follows

Sequence DataBase Creation the automation execute a Excel Application Scote and a ReadRange activite for all worksheet. To create this Excel data base, I have used the BAPI structure exported by the UiPath

And create some a sequence for Check Null values in DataTable and DataRow. The resolt of the automation is an error, that follows

image

Does someone have any tips? Did someone have the same issue?

Thanks

I’m having a very similar error “BAPI_SALESORDER_CHANGE: Element b of container metadata unknown”. Did you ever find anything out.

@jbeaver

Hello Jerry,
you want to access to a parameter with the name b of the RFM BAPI_SALESORDER_CHANGE which doesn’t exists. Replace your Invoke SAP BAPI activity with a new one which calls the same BAPI and let us know your results.
Which version of UiPath.SAP.BAPI.Activities do you use?
Best regards
Stefan

Hi @StefanSchnell,

On a similar note, kindly please help me resolving the following issue.

Execution stopped unexpectedly : \nMessage:Element Name of container metadata BAPIBUS1006_CENTRAL unknown \nStackTrace: at SAP.Middleware.Connector.RfcContainerMetadata1.NameToIndex(String elementName)\r\n at SAP.Middleware.Connector.RfcDataContainer1.SetValue(String name, Object value)\r\n at UiPath.SAP.BAPI.ConnectionService.SapConnectionService.SapConnectionService.SetInputParams(ICollection1 dataTables, IList1 arguments, IRfcFunction function)\r\n at UiPath.SAP.BAPI.ConnectionService.SapConnectionService.SapConnectionService.ExecuteApi(String apiName, ICollection1 dataTables)\r\n at UiPath.SAP.BAPI.Activities.InvokeSapBapi.<>c__DisplayClass26_0.<Execute>b__0(SapBapiTelemetryOperation operation)\r\n at UiPath.SAP.BAPI.Telemetry.TelemetryServiceBase.Operation[T](String operationName, String activityId, Func2 method, String bapiName)\r\n at UiPath.SAP.BAPI.Activities.InvokeSapBapi.Execute(CodeActivityContext context)

BAPI_BPCONSUMER_CREATE: Element Name of container metadata BAPIBUS1006_CENTRAL unknown

SAP Application Scope: Element Name of container metadata BAPIBUS1006_CENTRAL unknown

Regards,
Rama Krishna Dokina

Hi @Rama_Krishna_Dokina

Did you ever solve this issue?
I have a similar case with another BAPI, and I can’t find how to solve it…

Regards,
Jonas

Hi @Garrh,

Can you please let me know error that you are facing.

Hi @Rama_Krishna_Dokina,

The error message below is the one I am getting.
“Execution stopped unexpectedly :
Message:Element Column1 of container metadata /MDS/REQUEST unknown
StackTrace: at SAP.Middleware.Connector.RfcContainerMetadata`1.NameToIndex(String elementName)”

I found out today that it is related to that the column names are not being imported to the invoke BAPI workflow.

I am using the “Register” Accelerator from the UiPath Marketplace as the main workflow, invoking the custom workflow created with my BAPI.
If I create a manuel DataTable with header + rows, I am getting it to run properly.

Just solved this, and it is a bit embarrassing…
It seems like my “InputDataSheet” had a phantom column being imported to the workflow, resulting in trying to look up “Column1” when parsing the input to the BAPI.

Deleted all columns after my last one, and I was able to run the workflow.