cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

TRANSFER, PROBLEM if Network Address

Former Member
0 Likes
206

I am trying to transfer a file to the Network Address named : \\bhz-fls-nfs\MRVBH\SAP\Interfaces_DEV\HCM\KOFAX\HR_ADMISSAO\ , so i concatenate this address with the filename ( 100200023 ) and I use the following code:

OPEN DATASET p_arq FOR OUTPUT IN BINARY MODE.

   IF sy-subrc NE 0.

     RAISE erro_diretorio.

     RETURN.

   ENDIF.

TRANSFER iv_data TO p_arq.

   IF sy-subrc NE 0.

     CLOSE DATASET p_arq.

     RAISE erro_transferencia.

   ENDIF.

where p_arq is \\bhz-fls-nfs\MRVBH\SAP\Interfaces_DEV\HCM\KOFAX\HR_ADMISSAO\100200023

and iv_data is the content of file .

But, this create a file in the path ./  , named  \\bhz-fls-nfs\MRVBH\SAP\Interfaces_DEV\HCM\KOFAX\HR_ADMISSAO\100200023, i need to create a file named 100200023 in the folder  \\bhz-fls-nfs\MRVBH\SAP\Interfaces_DEV\HCM\KOFAX\HR_ADMISSAO\ how can i do that ?

Accepted Solutions (1)

Accepted Solutions (1)

NicoleGeischnek
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi,

I am not sure this is related to E-Recruiting or a more general ABAP question?

Regards,

Nicole

Answers (0)