Skip to Content
0
Oct 29, 2018 at 04:15 PM

SAPJco invoking BAPI_MATERIAL_DISPLAY

129 Views

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, iam getting the entry. Using debugger I found that,

My input is going as 00000000000010. And so returning response.

Dunno, how to handle this in a proper way in SAPJCO.

I had directly passed the value 00000000000010 from SAPJCo 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 SAPJCO