on 10-10-2007 11:56 AM
Hi Experts,
Currently I am developing a BSP attachment page which allow user to upload, delete and display attachment. I am using ARCHIV_DISPLAY_META & ARCHIV_DELETE_META to display and delete an ArchiveLink record. I found that these functions are not working for BSP but working fine in an ABAP program. Am I using the correct function? Is there any other function you can suggest?
P/s: Points will be rewarded for useful answer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raja,
Thanks for the script. I tried to change the url to SAPR3://SAPR3CMS/get/300/Z1/DC76FCD23A6230F195750017A4ABB4B7/ but the ArchiveLink object is not showing. If I change the url to something like "myPage.htm" then it is working.
What I need is to open a ArchiveLink object with appropriate software. Example, If my url is a JPG object then the script will open a picture viewer and If it is a DOC object then it will open the object with MSWord.
Hi Raja,
I followed thread and I managed to get another type of URL which I think should be the correct URL. But I am now have another problem. When I execute the URL below in IE I got this message return to me. By right I should get my document shown? Any idea?
<a href="http://SAPRCDEV01.rgmi.idc/sap/bc/contentserver/300?get&pVersion=0046&contRep=Z1&docId=DC76FCD23A6230F195750017A4ABB4B7">http://SAPRCDEV01.rgmi.idc/sap/bc/contentserver/300?get&pVersion=0046&contRep=Z1&docId=DC76FCD23A6230F195750017A4ABB4B7</a>
<i>Signature Required: ContRep. Z1, DocId DC76FCD23A6230F195750017A4ABB4B7, DocProt rcud, AccessMode r</i>
Anyone can help?
I am getting below message everytime when I want to show my archive object url.
<i>Signature Required: ContRep. Z1, DocId DC7ECC38CFC1C9F195750017A4ABB4B7, DocProt rcud, AccessMode r</i>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try to use this function 'ARCHIV_DELETE_META' and set the flag into 2.
CALL FUNCTION 'ARCHIV_DELETE_META'
EXPORTING
AR_OBJECT = DOC_TYP
DELETE_FLAG = DEL_FLAG
OBJECT_ID = OBJC_ID
SAP_OBJECT = OBJECT
IMPORTING
ALL_CONNECTIONS_DELETED = OK_STATUS
EXCEPTIONS
ERROR_CONNECTIONTABLE = 01
ERROR_PARAMETER = 02.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE 'W' NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
EXIT.
ENDIF.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.