Skip to Content

How can I save a flat file generated from SAP ABAP on SAP BPC 10?

May 29, 2017 at 09:37 PM


avatar image
Former Member


I have a program in SAP ABAP, the program creates a flat file on the same server but when i wants search the file on EPM, I can't find the folder host.

When I search the host that I view in the tx AL11 (\ROOT\WEBFOLDERS\DATAMANAGER\DATAFILES\) I can not find this host in the Server Aplication.

How can I save this file on Server Aplication and view this file on the EPM of SAP BPC 10?

I have a host on Server Aplication: /root/interfaces/folder

And SAP BPC have on Host to file: /root/webfolders/datamanager/datafiles/

thanks experts!

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
avatar image
Former Member Jul 03, 2017 at 10:05 PM

Use the method cl_ujf_file_service_mgr->put_document_data_mgr

DATA:   ls_user TYPE uj0_s_user,
 ls_appset TYPE ujf_doc-appset,
 lv_docname TYPE ujf_doc-docname,
        gcl_objeto TYPE REF TO cl_ujf_file_service_mgr,

lv_append = 'X'.
ls_user-user_id = sy-uname.
ls_appset = 'APPSET_NAME'.

 is_user = ls_user
 i_appset = ls_appset
 r_manager = gcl_objeto ).

CALL METHOD gcl_objeto->put_document_data_mgr
 i_docname = lv_docname
 i_append = lv_append
 i_doc_content = lt_dm_rec.
10 |10000 characters needed characters left characters exceeded