jco

"NOT_SUPPORTED_BY_GUI" Exception in JCo

We are having a BAPI that uploads the specified document to SAP. The BAPI accept three parameters: ID, FILE_LOC and FOLDER_NAME. And I'm setting the values as follows in the JCo code: JCO.ParameterList paramList = function.getImportParameterList(); paramList.setValue("101XS1", "EXTERNAL_ID"); paramList.setValue("tmp", "FOLDER_NAME"); p...

JCo | How to iterate column wise

The data from SAP is returned as a JCo.Table. However, we don't want to display ALL the columns in the VIEW. So, what we have done is, we have created a file called display.xml which has the JCO.Table columns to be displayed. The display.xml is converted to a List and each field is verified if it is present in the display list(see the c...

How can SAP tRFC server tell client through JCo that function has been carried out?

SAPs "Transactional RFC Technical Description" document (release 4.0, see http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/ee6bca90-0201-0010-5792-d9693e2eac83?QuickLink=index&overridelayout=true ) says in section Transactional RFC on page 6: "Finally, the server tells the client, that the function has been carried ...

RFC for remote call transaction in SAP

How do I call the SAP report (for example RSPARAM) with help JCo? What RFC may be used to remotely call SA38 transaction with RSPARAM (e.t.c.) as parameter and then return results for later work ? ...

GLAccount Information - Simulate BAPI_INCOMINGINVOICE_CREATE

I am currently working on an application that posts invoices to SAP using Java/JCo. I am using BAPI_INCOMINGINVOICE_CREATE for the purpose and it works perfectly fine. Now I have an additional requirement to preview the GL Account distribution of the gross amount (credits and debits) before confirming the transaction through BAPI_TRANSA...

Building JCoServer without Properties-File

Hello, I got another JCo-related question and hopefully finding help. With JCo you can easily build up a connection like it is explained in the example sheets which came with the JCo-library. Unfortunately, the only way building a connection is handled with a created property file. It wouldn´t be that bad, if there wasn´t any sensible d...