Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Urgent Query regarding BAPI

former_member404244
Active Contributor
0 Likes
839

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
811

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

7 REPLIES 7
Read only

Former Member
0 Likes
811

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

Read only

naimesh_patel
Active Contributor
0 Likes
811

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

Read only

Former Member
0 Likes
811

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

Read only

Sandeep_Panghal
Product and Topic Expert
Product and Topic Expert
0 Likes
811

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.

Read only

Former Member
0 Likes
812

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

Read only

Former Member
0 Likes
811

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

Read only

former_member404244
Active Contributor
0 Likes
811

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