cancel
Showing results for 
Search instead for 
Did you mean: 

BSP CVAW_DOCUMENT_DISPLAY Doesnu00B4t work

Former Member
0 Kudos

Hello, please can someone tell me if there are some Exaple BSP for showing an archived document in the Internet Exploerer ?

I found the application CVAW_DOCUMENT_DISPLAY, but it doesn´t work, because OBJECTS_OBJREF_NOT_ASSIGNED.

Thanks for help.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Benjamin,

Some settings are required in addition to the global settings to enable processing in the Web interface. You make these settings in Customizing (IMG) for Document Management in the activity Define Document Type for Web Applications. Once this is completed, the document types will be available via the dropdown.

Regards,

Zaeem.

athavanraja
Active Contributor
0 Kudos

Did you pass these values from DRAW table?

bc/bsp/sap/cvaw_document_display/document_display.htm?DOKAR=XXX&DOKNR=XXXXXXXXX&DOKTL=XXX&DOKVR=XX

Regards

Raja

Former Member
0 Kudos

> Did you pass these values from DRAW table?

>

> bc/bsp/sap/cvaw_document_display/document_display.htm?

> DOKAR=XXX&DOKNR=XXXXXXXXX&DOKTL=XXX&DOKVR=XX

>

> Regards

> Raja

Hello Raja,

Yes, i did so.

This is the URL

http://BSP.sap.adv:8000/sap(bD1kZSZjPTAxMA==)/bc/bsp/sap/cvaw_document_display/document_display.htm?DOKAR=BTG&DOKNR=10000000010&DOKTLl=001&DOKVR=00

The error occurs in

* get formated Doc_key
l_draw = pr_object_page->get_draw( ).
l_draw_newv = pr_object_page->get_draw_newv( ).

Line 16 in he Layout.

The Error say: <u>objects_objref_not_assigned</u><i></i>

athavanraja
Active Contributor
0 Kudos

can you place a HTTP break point in oninitialization event to see whether the execution goes into create object pr_object_page

exporting

pi_doknr = l_doknr

pi_dokar = l_dokar

pi_dokvr = l_dokvr

pi_doktl = l_doktl.

Regards

Raja

Former Member
0 Kudos

Hello, no it goes not into the CREATE OBJECT PR_OBJECT_PAGE

It goes from the

IF N = 0

direct to

ELSE

" status <> 3 and status <> 4 -> show success messages

athavanraja
Active Contributor
0 Kudos

i have not worked on these and basically checking out the code and analyzing the thing. It looks to be that CVAW_DOCUMENT_DISPLAY only works with CVAW_ENTIRE.

try calling CVAW_ENTIRE and see whether it works.

Regards

Raja

athavanraja
Active Contributor
0 Kudos

CVAW_DOCUMENT_DISPLAY gets called from CVAW_ENTIRE/directstart_page.htm page .

Regards

Raja

Former Member
0 Kudos

thanks, i also tried this, but here the application does not find documents

Former Member
0 Kudos

thanks, i also tried this, but here the application does not find documents