Quantcast
Channel: SCN: Message List - CRM UI Print Preview not showing updated text
Viewing all articles
Browse latest Browse all 10

Re: CRM UI Print Preview not showing updated text

$
0
0

Hi Christophe,

 

i did some additional testing:

If i run the SmartForm in SAP GUI, the PDF shows new data.

 

Steps:

1.) First run of the SmartForm in SAP GUI

2.) Change of data in CRM_UI

3.) Delete the document's note and save the document --> a new note gets generated

4.) Second run of the SmartForm in SAP GUI --> PDF shows new data

 

 

So there is a difference of "Print Preview":

- SAP GUI works correctly

- CRM_UI does not work correctly

 

 

Im thinking it could be a problem with the parameters SFPDOCPARAMS and SFPOUTPUTPARAMS, that are used when calling the SmartForm FM. The parameters are set as this:

 

   ls_outputparams-nodialog = 'X'.
   ls_outputparams-getpdf = 'X'.
   ls_outputparams-connection = 'ADS'.

   CALLFUNCTION'FP_JOB_OPEN'
     CHANGING
       ie_outputparams = ls_outputparams
     EXCEPTIONS
       cancel          = 1
       usage_error     = 2
       system_error    = 3
       internal_error  = 4
       OTHERS          = 5.

   ls_docparams-country = 'SI'.
   ls_docparams-langu = sy-langu.

 

   CALLFUNCTION lv_name
     EXPORTING
       /1bcdwb/docparams  = ls_docparams
       I_HEADER_GUID      = ls_orderadm_h_wrk-guid
     IMPORTING
       /1bcdwb/formoutput = ls_formoutput
     EXCEPTIONS
       usage_error        = 1
       system_error       = 2
       internal_error     = 3
       OTHERS             = 4.

 

 

 

What do you think ?


Viewing all articles
Browse latest Browse all 10

Latest Images

Trending Articles



Latest Images

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