Additional Blogs by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
16,490

In this document, i would like to show link between sap document and opentext archive server.

Let take an example :

I would like to have information of SAP object ID 00001925250100 which is a Doc Type ZCS_ATTCHT of object type KNB1.

With transaction OAC3 (table  TOAOM_C), we get the cont Rep on which document is stored (F6) and we can see the table which is use to make link between SAP doc and opentext doc (TOA03):

ObjectTypeDoc. TypeLCont.Rep.IDLinkRetent.Period
KNB1ZCS_ATTCHTXF6TOA03120

table which use to link SAP doc and arch doc for doc type ZCS_ATTCHT is TOA03. We can see the name of content repository F6. This content repository must exist in archvie server:

In TOA03, we get number of archive doc (ARC_DOC_ID):

MANDT
SAP_OBJECT
OBJECT_ID
ARCHIV_ID
ARC_DOC_ID
AR_OBJECT
AR_DAT
DEL_DATE
RESERVE
100KNB100001925250100F6529CB3EFA7ED0FE0E10080000A7E7B6EZCS_ATTCHT03.12.201303.12.2023PDF
100KNB100001925250100F652A442C4B5D23110E10080000A7E7B6EZCS_ATTCHT09.12.201309.12.2023PDF
100KNB100001925250100F652A517D4E96C1D70E10080000A7E7B6EZCS_ATTCHT10.12.201310.12.2023PDF
100KNB100001925250100F652A60E47DFFD3110E10080000A7E7B6EZCS_ATTCHT10.12.201310.12.2023PDF

In order to know information in archive server, we can use SQL statement on Archive server database (need TOA03.ARC_DOC_ID= DS_DOC.DOCIDSTR)

select * from IXDS.DS_DOC WHERE DOCIDSTR

IN (

'529CB3EFA7ED0FE0E10080000A7E7B6E',

'52A442C4B5D23110E10080000A7E7B6E',

'52A517D4E96C1D70E10080000A7E7B6E',

'52A60E47DFFD3110E10080000A7E7B6E',

'52F7D186C46139C0E10080000A7E7B6E');

                                                                                                                                                                        

DOCIDNODOCIDSTRDIRSDIRNODOCDATEMODDATEOLDVOLDOCTYPEARCHIVENORETENTION
54317061
529CB3EFA7ED0FE0E10080000A7E7B6E747400
54317061
1386049475
1386049475
1
88
0
54463738
52A442C4B5D23110E10080000A7E7B6E748912
54463738
1386585410
1386585414
1
88
0
54493522
52A517D4E96C1D70E10080000A7E7B6E749231
54493522
1386671133
1386671133
1
88
0
54493314
52A60E47DFFD3110E10080000A7E7B6E749228
54493314
1386668259
1386668259
1
88
0
55840029
52F7D186C46139C0E10080000A7E7B6E712662
55840029
1392045090
1392045092
1
88
0

select * from IXDS.DS_COMP WHERE DOCIDNO IN (SELECT DOCIDNO FROM IXDS.DS_DOC WHERE DOCIDSTR

IN (

'529CB3EFA7ED0FE0E10080000A7E7B6E',

'52A442C4B5D23110E10080000A7E7B6E',

'52A517D4E96C1D70E10080000A7E7B6E',

'52A60E47DFFD3110E10080000A7E7B6E',

'52F7D186C46139C0E10080000A7E7B6E'));

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

DOCIDNOCOMPSNAMECOMPONENTVOLID1VOLID2VOLID3NOTYPEVERSIONCOMPDATECLENGTHPROTVERSFLAGSBLOBIDNOLOC1LOC2LOC3PLENGTH
54317061
DATA.;1data
8
0
10
1
1386049475
79593
2
0
79593
54463738
DATA.;1data
8
0
10
1
1386585410
79593
2
0
79593
54493522
DATA.;1data
8
0
10
1
1386671133
79593
2
0
79593
54493314
DATA.;1data
8
0
10
1
1386668259
79593
2
0
79593
55840029
DATA.;1data
8
0
10
1
1392045090
79593
2
0
79593

select * from IXDS.DS_ARCH  WHERE ARCHIVENO='88';

        

ARCHIVENOARCHIVEIDMAPPEDID
88
F6

select * from IXDS.DS_VOLID WHERE VOLID='8';

                      

VOLIDVOLNAMEVOLTYPEBASEDIRCAPACITYPERCENT1STATUS
8
Buffer_TEST_001HDSK/EXTALPOOL/LEA/TEST
0
2
16
5 Comments