cancel
Showing results for 
Search instead for 
Did you mean: 

SAPJco invoking BAPI_MATERIAL_DISPLAY

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

oppancs
Contributor
0 Kudos

Dear Jagadheeswaran,


"JCO_ERROR_SYSTEM_FAILURE: Screen output without connection to user" message means that the called function module is not RFC-enabled, so no connection is allowed to be processed.


You can gather hints from the SAP note (part 10):


1155884 - CTS+, "close coupling" configuration: Troubleshooting guide


and wiki:


https://wiki.scn.sap.com/wiki/x/kQAUGg


Best Regards,
Barnabás Paksi