‎2006 Nov 29 12:02 PM
Hi Folks,
Can we write BDC in a BAPI to update the data.I have created one BAPI and inside that BAPI i have used BDC (call transaction method) to update the database.It's updating correctly.
but my query can we use BDC in a BAPI,Will it create any problem in future.Please let me know the outcome ,if we use BDC in BAPI....
Regards,
nagaraj
Message was edited by:
nagaraj kumar nishtala
‎2006 Nov 29 12:10 PM
Hi Nagaraj,
If you are sure that there aren't any bapis doing the same thing as the transaction for which you have done the bdc, you can do it.
Provided, you don't run it in All screen /error mode.
Please don't mind , even my name doesn't match with your list.:)
REgards,
Ravi
‎2006 Nov 29 12:06 PM
that is not the right way to do ?
In BAPI u have/can use FMs which will meets ur requirement.
please dont mind , i am not in that required user's list.
Regards
Prabhu
‎2006 Nov 29 12:07 PM
Hi Nagraj,
Ofcourse you can use BDC in the BAPI.
I don't know about the probelm for which you have created this development. But, if you are creating BDC to post the documents than there is no need for the BAPI to make cover of the BDC.
Regards,
Naimesh
‎2006 Nov 29 12:08 PM
Hi,
yes it would. because you are making the bapi again screen dependent rendering it non universal. It would need updations whenever the screen number or the screen program names change.
hope that helps.
santhosh
‎2006 Nov 29 12:10 PM
HI,
U can we write BDC in a BAPI to update the data.But if u have to just update the data that can be done only via BAPI.
‎2006 Nov 29 12:10 PM
Hi Nagaraj,
If you are sure that there aren't any bapis doing the same thing as the transaction for which you have done the bdc, you can do it.
Provided, you don't run it in All screen /error mode.
Please don't mind , even my name doesn't match with your list.:)
REgards,
Ravi
‎2006 Nov 29 12:12 PM
hi
we can do bdc in a fn. module and convert in to bapi.... but it is not advisible generally .......
(do release the fn. module and add it in the bapi explorer so that it is available outside sap)
regards,
aswin
‎2006 Nov 29 12:16 PM
Hi prabhu and ravi,
Iam extremely sorry.please don't mind....U all give nice suggestions and replies that i know.Sorry i shouldn't have posted like that.....really iam shameful for this..
Thanks for the replies.here i have used BAPI becoz standard BAPI's not met my requirement and it is related to EP.thats why i have to create my OWN bapi....
hoping good replies and answers from all of my SDN friends..
once again sorry.
Regards,
Nagaraj