cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI not working in Java Webdynpro

TimVDB92
Participant
0 Kudos

Hi,

My BAPI from SAP is working in Netweaver perfectly, but when I call the same with the equal parameters in Java webdynpro, no results.

I'm using following function: 'CVAPI_DOC_VIEW'.

Any idea why the BAPI is not working in Java Webdynpro?

Regards,

Tim


Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Tim,

AFAIK 'CVAPI_DOC_VIEW'  will work only in standard SAP Dynpro. Inside Webdynpro it is forbidden to save files in the background and using GUI class with execute, so you cannot use that Standard FM.

Check this thread .

Thanks

Katrice

TimVDB92
Participant
0 Kudos

You are right! My FM was indeed not available for Java Webdynpro.

Instead of using 'CVAPI_DOC_VIEW', I have used 'C_DESK_DOC_GET_URL'

This function is using the same import parameters and is available for JWD!

Thanks for your help!

Answers (2)

Answers (2)

junwu
Active Contributor
0 Kudos

debug first

Stefan-EA
Contributor
0 Kudos

Is the RFC remote enabled?