Skip to Content
avatar image
Former Member

RFC doesnt work when import parameter is passed from Jco


I am passing import parameter from JCO to RFC , however it doesn't work

Following are the code:

        JCoDestination destination = JCoDestinationManager.getDestination(DESTINATION_NAME2);

        JCoFunction function = destination.getRepository().getFunction("ZTEST_BAPI_SALES");


        if (function == null)

            throw new RuntimeException("ZTEST_SALES not found in SAP.");


       JCoParameterList ipl=function.getImportParameterList();


        try {





        } catch (AbapException e) {

            System.out.println("error in fetching data: "+e.toString());




        System.out.println(" Response: " + function.getExportParameterList().getString("RETURN"));

Pls help.


Asia Khan

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 04, 2015 at 10:46 AM

    Hi Asia,

    although the "doesn't work" issue is a very common one, I am afraid that no one is able to help you as there are so many different solutions to this issue. 😉

    Maybe you can be a bit more precisely what exactly doesn't work? What do you expect and what error/exception/output/wrong data do you get?

    Best regards,


    Add comment
    10|10000 characters needed characters exceeded