Incorrect/Inconsistency ECM PDF Filename retrieve by SAP program

Hi All,

We encounter an issue of inconsistency ECM PDF Filename retrieve by SAP program.

Issue : 1 of 20 Print out will able to encounter retrieve wrong PDF Filename by SAP program - Refer to Figure 1 - How to print PDF File by SAP Program

Sample code used

LOOP AT gt_response_headers INTO gs_response_headers WHERE line CS 'content_filename'.
SPLIT gs_response_headers-line AT ':' INTO gv_url file_name.

LOOP AT gt_response_headers INTO gs_response_headers WHERE line CS 'content-disposition'. "A002
SPLIT gs_response_headers-line AT '"' INTO gv_url file_name2.

**get the content into the expport parameter
doc_cont = lo_http_client->response->get_data( ).

Figure 1 - How to print PDF File by SAP Program

Thanks in advance.

Tagged: