cancel
Showing results for 
Search instead for 
Did you mean: 

error in BAPI call using webdynpro

Former Member
0 Kudos

hi ,

am new to this webdynpro abap..so i was trying out sample tutorials from sdn..when i trigger a button click event in order to call bapi function..the error has be raisen..so give me a solution for this..kindly chk out this link..i was trying for this application..i did exactly as mentioned in this tutorial..

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/00545e6d-0679-2910-acab-8073c... [original link is broken]

in this second tutorial..bapi usage

error :

The following error text was processed in the system NSP : RFC Exception COMMUNICATION_FAILURE with Message RFC destination bapi Fm does not exist. Occurred

The error occurred on the application server w2gzmbks01_NSP_00 and in the work process 0 .

The termination type was: RABAX_STATE

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

If you get a communication failure error, the destination is either incorrect or not currently available. Or the mentioned function module does not exist in the system you have specified.

You can check running the function module independently in se37 and check if it works. In this case, it would not.

Regards,

Nithya

mohammed_anzys
Contributor
0 Kudos

Hi,

the problem seems to be because of the destination , i guess the RFC restination is not configured properly.

Thanks

Anzy

former_member196517
Contributor
0 Kudos

Hi ,

Please go to transaction SM59 --> ABAP connection and configure your system to be used.

Tell us if any problems...

Regards

Anuj goyal

Former Member
0 Kudos

Hi Anuj,

I ve a similar kind of issue at my end. I am trying to call BAPI_DOCUMENT_CREATE2 from a Webdynpro application(A2C/000) and using commit work. A new doc_number is very much created, even commit work returns no error.

But surprisingly i dont see this new record in the same destination (A2C/000).

this BAPI is already remote enabled (SE37)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Could you please check the Function Module / BAPI which you are calling is existing or not in SE37 by providing the function module name. Then check whether it is Remote enebled or not in the ATTRIBUTES tab in SE37.

Tell me the BAPI name i can help you.

Regards

Manas

Former Member
0 Kudos

I do not understand this behaviour ...

mohammed_anzys
Contributor
0 Kudos

Hi

The destination mentioned is incorrect.use the correct destination.I dont think its the problem with the webdynpro.

Thanks

Anzy