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

Hyperlink for DMS

chetan_mishra
Participant
0 Likes
1,483

Hi,

I have to create a hyperlink for DMS document No. How can I do this.

I was told this can be done by calling transaction CV03N, but not sure to do this. Please help.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,308

Hi,

Since you want to create a hyperlink I assume you want to create a web-application? You could try and check out the BSP application CVAW_VIEW_DOCFILE and see how the http-links to the documents are built.

An alternative might be to retrieve the document directly from the content server using http commands to get it.

Regards

Martin

8 REPLIES 8
Read only

Former Member
0 Likes
1,309

Hi,

Since you want to create a hyperlink I assume you want to create a web-application? You could try and check out the BSP application CVAW_VIEW_DOCFILE and see how the http-links to the documents are built.

An alternative might be to retrieve the document directly from the content server using http commands to get it.

Regards

Martin

Read only

0 Likes
1,308

Hi,

I have been asked to use the below code:

set parameter id 'CV1' field '<value>'.

call transaction cv03n and skip first screen.

I have an ALV to display, how can I implement this, should I use it as below:

SET PARAMETER ID 'CV1' FIELD 'DOC_NO'.

CALL TRANSACTION 'CV03N' AND SKIP FIRST SCREEN.

PERFORM MAKE_COL3 USING 'DOC_NO' TEXT-028 '19' '20' 'T_DATA3'.

Please help

Read only

0 Likes
1,308

Hi,

Ok, so basically you want to show the document info record.

You can do it like you suggest, but I think you need to set the document type as well. That is you need to set parameter 'CV2'.

Best Regards,

Martin

Read only

0 Likes
1,308

Hi Martin,

Thanks for the help. I have also handled the CV2 parameter.

Will I have to use the SY-UCOMM to handle the user command or only the above code is sufficient?

Read only

0 Likes
1,308

I have used the following code to implement this:

CLASS LCL_EVENT_RECEIVER DEFINITION.

PUBLIC SECTION.

METHODS: HANDLE_HOTSPOT_CLICK

FOR EVENT HOTSPOT_CLICK OF CL_GUI_ALV_GRID IMPORTING E_COLUMN_ID.

ENDCLASS.

CLASS LCL_EVENT_RECEIVER IMPLEMENTATION.

METHOD HANDLE_HOTSPOT_CLICK.

PERFORM MOUSE_CLICK USING E_COLUMN_ID.

ENDMETHOD.

ENDCLASS.

FORM MOUSE_CLICK USING E_COLUMN_ID TYPE LVC_S_COL.

SELECT SINGLE DOKAR FROM DRAW INTO T_DOKAR WHERE DOKNR = E_COLUMN_ID.

SET PARAMETER ID : 'CV1' FIELD E_COLUMN_ID,

'CV2' FIELD T_DOKAR.

call transaction 'CV03N' AND skip first screen.

ENDFORM.

I get the field name instead of the value in "E_COLUMN_ID", and therefore the "CALL TRANSACTION" fails.

what am I doing wrong, please help...

Read only

0 Likes
1,308

Hi,

You should use the E_ROW_ID instead of the column id. Then you get the index of the selected row and with this you can get the DOKNR from the internal table you are using for your ALV list.

Regards,

Martin

Read only

0 Likes
1,308

Hi,

Did you manage to solve this issue?

/Martin

Read only

chetan_mishra
Participant
0 Likes
1,308

Hi Martin,

I solved this problem. Thanks a lot for your support.