cancel
Showing results for 
Search instead for 
Did you mean: 

JCO Exception in Background calling

Former Member
0 Kudos

Hi,

i am trying to upload data using sap standard uplaod programs throug a java application using JCO.

Unfortunately these standard programs sometimes pops up with a info message and i am getting these exceptions for Suppressing unwanted SAP GUI screens from BAPI/RFC when calling them from external system in background

com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: Session 1: Special character for 'empty field' is /

at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeExecute(Native Method)

at com.sap.mw.jco.rfc.MiddlewareRFC$Client.execute(MiddlewareRFC.java:871)

at com.sap.mw.jco.JCO$Client.execute(JCO.java:2995)

at com.sap.mw.jco.JCO$Client.execute(JCO.java:2669)

at myJCoClient.myJCoClientCall(myJCoClient.java:95)

at myJCoServer$Server.handleRequest(myJCoServer.java:65)

at com.sap.mw.jco.JCO$Server.dispatchRequest(JCO.java:5409)

at com.sap.mw.jco.rfc.MiddlewareRFC$Server.nativeListen(Native Method)

at com.sap.mw.jco.rfc.MiddlewareRFC$Server.listen(MiddlewareRFC.java:1010)

at com.sap.mw.jco.JCO$Server.listen(JCO.java:5205)

at com.sap.mw.jco.JCO$Server.run(JCO.java:5139)

at java.lang.Thread.run(Thread.java:595)

i want to call these sap standard upload programs completely in backgroung through JCO.how can i do that??

how can i suppress info messages in standard programs when called externally???

any help will be appreciated...

thanks in advance

berry

Accepted Solutions (0)

Answers (1)

Answers (1)

gregorw
Active Contributor
0 Kudos

Hi Berry,

I've seen your reply to my Weblog. I think there must be some errors in your data. The Application you use wants a "/" for empty fields. Do you call a Batch Input? What Transaction do you call?

Regards

Gregor

Former Member
0 Kudos

Hi Gregor,

The Messages i am getting i.e. "Session 1: Special character for 'empty field' is /" is one of the GUI information messages that the standard SAP uplaod program is popping.

i want to suppress these messages when calling them through an external system so that they can be called in background.

The standard program is using the batch input method.

Thanks and Regards

Berry