Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10665

HRFORMS_CALL_PDF using form_object_list

$
0
0

hi,

 

Im trying to call the FM HRFORMS_CALL_PDF using an hrform ref table but i only get the pdf from one of the hrforms. My code is parcilally this:

 

lo_hrform             TYPE REF TO object,
lt_hrform_list        like TABLE OF lo_hrform


(...)

loop on pernr.

(...)

     CALL FUNCTION 'HRFORMS_CALL_PERNR'
              EXPORTING
                form_object        = lo_hrform


     append lo_hrform to lt_hrform_list.

endloop.

(...)

CALL FUNCTION 'HRFORMS_CALL_PDF'
         EXPORTING
"          form_object = lo_hrform
            form_object_list = lt_hrform_list

IMPORTING
           pdf_xstring = ls_pdf

(...)


Ls_pdf always return the pdf belonging to only one of the hrform. The lt_hrform_list seems to have all the several hrforms inside. Even if i call 'HRFORMS_CALL_DISPLAY'

     IMPORTING

     FORM_OBJECT_LIST  = lt_hrform_list'

i can see all the hrform pdfs. Can anyone help me understand this?


Viewing all articles
Browse latest Browse all 10665

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>