I was trying to invoke BAPI_MATERIAL_DISPLAY
functional module from SAP JCo, This is how I pass my input parameter.
function.getImportParameterList().setValue("MATERIAL", "10");
From my program output I got
The material 10 does not exist or is not activated.
If I execute BAPI_MATERIAL_DISPLAY
using SAP logon, I am getting the entry. Using debugger I found that my input is going as 00000000000010
. And so returning response.
I don't know how to handle this in a proper way in SAP JCo.
I had directly passed the value 00000000000010
from SAP JCo and this time I got an error,
com.sap.conn.jco.JCoException: (104) JCO_ERROR_SYSTEM_FAILURE: Screen output without connection to user.
Hope SAP is opening a popup. Let me know how to solve both the issues in SAP JCo.