‎2009 Nov 19 6:10 PM
Hi All,
I am writing BDC function module (RFC enabled BAPI ) which is finally using call transaction VB31. This BAPI is used by web application - java platform.
Very basic question - is it possible for web application to call RFC enabled BAPI which is calling any transaction?
Currently, web application can not be able to access the same. There is no authorisation or security issue. But would like to know is there anything special needs to be define in RFC bapi so that it can be access via web application.
Please note that there is another RFC BAPI which using simple select statement (NO BDC programming) and that can be used by web application.
Please help as this required.
Thanks,
‎2009 Nov 19 6:16 PM
Just given below statement i am using in RFC BAPI ....
CALL TRANSACTION 'VB31' USING wt_cbdc
MODE 'N'
UPDATE 'S'
MESSAGES INTO P_MESSTAB.
‎2009 Nov 19 6:16 PM
Just given below statement i am using in RFC BAPI ....
CALL TRANSACTION 'VB31' USING wt_cbdc
MODE 'N'
UPDATE 'S'
MESSAGES INTO P_MESSTAB.
‎2009 Nov 19 6:22 PM
Hello,
In general there is nothing special you will have to do even if you use BDC programming in a RFC. It should work without any problem just as it works for the BAPI using the select statement. Are you sure that your RFC with the BDC itself is working well in the SAP side by testing it in SE37?
Vikranth
‎2009 Nov 19 6:49 PM
You can call any RFC or BAPI from web application. If your RFC is not working fine, web page gives you error.
Regards,
Aparna Gaikwad
‎2009 Nov 19 6:55 PM
Hi Vikaranth / Aparna.....
RFC BAPI with call transaction is absoutlely working fine in SAP. But it can not possible to use via web application See below link.
http://help.sap.com/saphelp_nw04/helpdata/en/43/b46c4253c111d395fa00a0c94260a5/frameset.htm
So please let me know what other options i have now??
‎2009 Nov 19 7:17 PM
Hello Yogesh,
We used CALL TRANSACTION with BDC recording for creating vendors on various transactions in a RFC which will be called by a lotus notes application and its working well. The mode is background mode and we took care of error handling manually. There wasnt any problem. Not really sure what was the intent of the SAP help document asking not to use CALL TRANSACTION in a RFC
Vikranth
‎2009 Nov 19 8:19 PM
hi vikrant ,
could you please let me know what is UPDATE parameter u have used? any other parameter i am misssing?
CALL TRANSACTION 'VB31' USING wt_cbdc
MODE 'N'
UPDATE 'S'
MESSAGES INTO P_MESSTAB.