Skip to Content
0
Nov 07, 2022 at 11:04 AM

ARCHIV_GET_CONNECTIONS_INT failing

179 Views

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.