‎2011 Oct 03 11:32 AM
I created one Z function module which is RFC enabled and connected with BAPI object.
This has 3 import paramters which are structures. Out of which at a time, only one structure has to be given value for execution.
Initially I kept OPTIONAL check boxes unticked so all the 3 structures became MANDATORY automtically.
But when nonSAP system invoked this RFC, they were asked to fill the 3 structures.
So lateron I ticked OPTIONAL check boxes for all the 3 structures. Also released the FM and BAPI object.
But again same error is appreaing the nonSAP system asking all the 3 structues to be given some values. Whereas in SAP I have already made structures as OPTIONAL.
In SAP, i checked by calling this RFC function module in test program. It is working correctly, LIke we can pass value in one structure only and excute it successfully.
Kindly tell what is missing in this case ? Either from SAP side or non SAP or inface ?
Earnestly waiting for the anwer . Thanks in advance.
‎2011 Oct 03 11:35 AM
Hi,
Check at your Non-SAP side, you have to import defination of your RFC FM & check whether respective fields are marked optional.
BR,
Rahul
‎2011 Oct 03 11:35 AM
Hi,
Check at your Non-SAP side, you have to import defination of your RFC FM & check whether respective fields are marked optional.
BR,
Rahul
‎2011 Oct 03 12:06 PM
Thanks for your reply.
Non SAP side has no option for making import parameters OPTIONAL or MANDATORY.
‎2011 Oct 03 12:10 PM
HI Prashant,
Make sure that select the option check box for other two structures which is not mandatory.
Regards,
Madhu.
‎2011 Oct 03 12:15 PM
‎2011 Oct 04 3:32 AM
Prashant,
I am almost sure that Nothing more has to be done in SAP.
I have faced these issues several times due to lack of knowledge of non-SAP guys that How to fetch Latest Signature(Interface) of RFC from SAP. Ask them to REFRESH their RFC Object, clean their Cache and Re-build their RFC service.
If nothing works, Ask them to delete everything from their side for this RFC and Re-create FRESH and this problem should be resolved.
Regards,
Diwakar