I'm using an import structure to pass a date value from Java to the BAPI and I get an error. JCO_ERROR_CONVERSION in ... srtucture.setValue("03222004", "REQ_DATE_H");
Should I convert the string into a date type or is string type acceptable?
When you pass a date, you can either use a Java Date object or a string. In the latter case (which you use in your code), the format of the date needs to be YYYYMMDD.
Dig Deeper on SAP ABAP
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.