on 11-07-2022 11:04 AM
Hi ,
I am using FM ARCHIV_GET_CONNECTIONS_INT to read data from content server ( ecc ) for migration files from ECC to S4 , but its faillig with eror sysbuc 1.
anyone have idea how to use this FM
below is my code
* read (selected) connections
call function 'ARCHIV_GET_CONNECTIONS_INT'
exporting
archiv_id = p_arc
NO_AUTH_CHECK = 'X'
tables
connections = l_connections
exceptions
nothing_found = 1
others = 2
.
if l_connections[] is initial.
write: / 'NO DOCUMENTS TO MIGRATE'.
else.
write: / 'DOCUMENTS TO MIGRATE'.
endif.
What "data" do you want to read with this function module?
"connections" means the files within one "document" (ARC_DOC_ID - one document can contain several connections) of the content repository (ARCHIV_ID), so you must pass the document ID.
Better use ARCHIV_GET_CONNECTIONS than the "INTernal" version, you'll have better chances to see the "external" version be kept in future versions.
Note that the SAP note 3239643 - Reports to migrate a content repository provides information how to migrate data from one content repository to another.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sandar Rossi,
Thanks for the response,
here i am not passing doc id instead passing archiv_id which is nothing but our content server repository name which resides in other old ecc system.
and i checked FM ARCHIV_GET_CONNECTIONS too and this FM called same FM INT inside it.
please suggest.
Thanks
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
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.