Dear Community and Experts,
I'm facing the below error in the Automation, the automation is to create Sales document in ECC and I have used BAPI Action Group in the process.
The BAPI call steps parameters are set with variables to create a Sales Contract. I get the error as "TARGET_QTY" must be number, on the contrary the JSON field for TARGET_QTY do not accept any other format than numbers.
I have checked several times the data type I used for TARGET_QTY from declaration of Data Type, Decision parameters, Automation Parameters all are updated as Number. I'm not sure where this error is from, totally lost! If any of you have come cross such errors and solved please convey how you resolved. For those who faced similar issue and continue please add your comments too.I have another automation where I have hard coded data in to the BAPI call step, there it works fine.
Thanks and Kind regards,
I think there are two ways to address this:
1. In the Automation, for the Input Parameters, you can choose Custom Data and create the required fields with the required data types.
2. In the Overview screen, copy the automatically created BAPI Input Data Type and change the data type for that specific field and use that in the Automation Input parameters.
Please let me know the result.