is there any way i can call RFC in SAP and point to the IDOC in a folder.
becuase sometimes i need to send larger IDOC( 35 MB ) .
at present iam following below steps
I think you can try write the following code in a java service and then directly invoke a module by giving the necessary parameters.
Something like this !
/********************************/
Values rfcParameters = new Values();
// The parameters required for the function module that you are calling
rfcParameters.put(āIDOC_NUMBERā,idocNumber);
rfcParameters.put(āSTATUSā, status);
rfcParameters.put(ā$rfcnameā, rfcName);
When I used outboundRFC I am getting this - " com.sap.mw.jco.JCO$Exception: Port āā does not exist in the table of port descriptions" . Any idea how to resolve this ?
Try Puting PATHNAME with its value in the parameters and see whether its working or not.
Something like -
Values.put(āPATHNAMEā, āPath Of the Documentā);