Print Preview: SAP GUI showing updated text, CRM UI not showing updated text

Hello,
can anyone please help me with "Print Preview" button in CRM UI:
In the CRM UI when a certain data is changed on the document, a note on the document is updated with changes in data. When pressing the "Print Preview" button the generated PDF is not showing an updated text. If i run the SmartForm directly in SAP GUI after the data change, the generated PDF shows an updated text. If i reload the CRM UI (close the browser and run the CRM_UI transaction) the "Print Preview" shows an updated text.
What should i do, that the Print Preview in the CRM UI would also show an updated text (without reloading the CRM UI) ?
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'.
   CALL FUNCTION '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.
   CALL FUNCTION 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.
SAP gurus, please help

I figured the solution:
In the Code Initialization of my interface (SFP transaction) i had to initialize the buffer:
   CALL FUNCTION 'INIT_LOAD_TEXT_BUFFER'
     EXPORTING
       EXCL_ID       = ls_stxh-tdid
       EXCL_LANGUAGE = ls_stxh-tdspras
       EXCL_NAME     = ls_stxh-tdname
       EXCL_OBJECT   = ls_stxh-tdobject
     EXCEPTIONS
       NOT_FOUND     = 1
       OTHERS        = 2.
This way the text is loaded from the updated note every time a "Print Preview" button is pressed.

Similar Messages

  • HT204053 my mac is updated but icloud is not showing up in my system preferences...

    my mac is updated but icloud is not showing up in my system preferences, only MobileMe which looks like it charges a fee.  Are icloud and mobileme the same? i thought they were different.  if they are different why can't i see icloud on my mac?

    Your Mac is 3 versions of OS X out of date, current release is 10.9.1, minimum required for Lion is 10.7.4, you have 10.6.8.
    Download 10.9.1 (Mavericks) from the App Store

  • Ancient Aliens is not updating.  The new shows in season 6 are not showing up.  Please advise

    Ancient Aliens is not updating.  The new shows in season 6 are not showing up.  Please advise

    Sorry about that... Thanks in advance for your help
    Actually Itunes has now started picking up all the shows again. But I would still like to know why we had the issue. Any ideas? Thanks
    In itunes http://itunes.apple.com/us/podcast/cycling-360-media/id431852609
    Feedburner feed pointing to itunes http://feeds.feedburner.com/Cycling360
    Feed pointing to feedburner http://www.cycling360media.com/?feed=rss2

  • Adobe bungled the LR CC update. Download does not show % status. Worse...

    Adobe bungled the LR CC update. Download does not show % status. Worse, getting from LR download is funky. Too many hoops from Lightroom update. #SMH

    So glad I did not download LR CC, With all the problems with CC I'm thinking I won't renew, just go back to using LR5 and Photoshop CS6.

  • Msi Live Update....not Show The Last Driver

    Hi
    whe MSI Live Monitor (MSI Live Update 3), search.. not show, the last driver...and bios....
    I have a G4MX460-VTP
    and the driver in the MSI Live Update is:
    Online Ver. 4403 (MSI Version)
    but when visit the MSI webpage (http://www.msi.com.tw/program/support/driver/dvr/spt_dvr_detail.php?UID=154) the last driver is:
    Nvidia driver 45.32 for Win2000/WinXP/Server2003 OS
    and in the Nvidia webpage is 50.16.....
    and the same happend with the VGA Bios...
    y fix my vga cad update the VGA bios....but...this update don't show in the Live Update 3
    How fix it???
    thanks

    Do not update the VGA BIOS unless you have a good reason to. It is not like a motherboard.
    Go to  nVidia Drivers if you want the latest drivers.
    Live Update may not have been updated OR the version reported by the Live Update utility has been tested successfully with that card. Newer drivers sometimes cause problems with older cards. The only way to know for sure is got to the nVidia site and try the latest.

  • HT1384 My ipod nano 3rd generation, when connected by usb, does not show up in itunes, does not show up on my computer, does not seem to charge by the wall charger. It just has a black screen. Any ideas for me?

    My ipod nano 3rd generation, when connected by usb, does not show up in itunes, does not show up on my computer, does not seem to charge by the wall charger. It just has a black screen. Any ideas for me?
    I've run diagnostics. Can't find device. I've tried resetting. The toggle has been turned on and off.

    Cable works fine on my other iPod. Reset by pressing menu and center button together for 6-10 seconds. Left it to charge for many hours. Started acting up while running. Suddenly the music stopped playing but my Nike + was still working for the rest of my run. Took it straight it home and plugged it in to the wall to recharge since the battery was fairly low. Looked like it recharged ok but then screen went blank and now does it not show up on iTunes, does not seem to recharge by the wall charger (apple wall charger plugged into a surge protector in India). I have turned the hold switch off and on many times.
    Sounds like a repair issue, which is not easy to do in India :(

  • Device Show in My Computer But Not Show in itunes

    My iPod Shuffle Disconnect During The Restore Process And Now Device Show in My Computer But Not Show in itunes.Please Help Me.to Solve This problem>

    Does it say that it works with iOS devices (iPhone, iPod touch or iPhone)? iOS devices have a different format/file system than other iPods.

  • On Windows 7, CS6 all products, but especially need help with ID.  Fonts that are showing in other applications are not showing in ID.

    on Windows 7, CS6 all products, but especially need help with ID.  Fonts that are showing in other applications are not showing in ID.

    The ID Program folder will be relevant to your OS...
    I took a shot and right clicked on my Scripts Samples, choose reveal in Explorer and opened up the ID Program folder.
    As shown, there is a Fonts folder.
    Drag/Copy/Paste fonts to this folder.

  • How do i get my contacts to show up because they will not show up when i go to my contacts

    How do i get my contacts to show up because they will not show up when i go to my contacts?

    Within Contacts, tap Groups at top left. Make sure all contact groups are checked to show, then tap "Done" at top right.

  • TS3059 My question is i was updating a game it got update half then due to low battery my iphone get switch of now i am trying to update my game is not geting update so what should i do pls tell me ..?

    My question is i was updating a game it got update half then due to low battery my iphone get switch of now i am trying to update my game is not geting update so what should i do pls tell me ..?

    See: Resolve iOS update and restore errors - Apple Support
    That error usually means that your computer antivirus is blocking the update.
    It can also mean that your phone was jailbroken, or your computer was used to jailbreak some iOS device in the past.

  • Downloading a dmg file shows in activity but does not show in downloads folder

    downloading a dmg file shows in activity but does not show in downloads folder

    Maybe
    iOS: Unable to import photos to computer
    Did it show before?
    If you connect to another PC does the iPod show up in My Computer?
    Have you installed only camera or scanner programs on your computer?

  • My iPhone adobe reader for iOS6 is stuck in update state and will not complete updating any ideas?

    My iPhone 4 adobe reader for iOS6 is stuck in update state and will not complete updating should I uninstall and reinstall the app?

    The update process is handled entirely by iOS and unfortunately, there isn't anything the Reader can do during this process to prevent "stuck updates". Generally, we don't recommend uninstalling unless you have to because uninstalling will delete all of the PDF's in your documents!
    Here are some steps that work for most users:
    1.       Make sure wifi and/or cellular data are turned on       
    2.       Test to be sure your internet connection is working by opening safari and browsing to a website (like www.adobe.com).
    3.       Single tap the app’s icon on the home screen and it will pause the download. Now go back to the iTunes Apps store, switch to the “Updates” screen and click “Update” to resume the download.
    4.       If this doesn't work,  go to Settings -> iTunes & App Stores and tap the Apple ID to sign-out. Restart the iPad, go back to Settings -> iTunes Apps Store and sign-in. Tap the waiting icon to update the app.
    Please let me know if this helps!

  • What can i do when my iphone activition screen show connect to itunes and not show wifi

    what can i do when my iphone activition screen show connect to itunes and not show wifi

    You also are not showing any cellular service. Have you contacted your provider regarding that? Regarding your WiFi, do you have wifi turned on in settings? Did you get your phone to show up in iTunes on your computer? I think we are dealing with several issues since you said that you have a message on your phone to connect to iTunes and you don't have cellular service.

  • Problem while printing from SAP GUI for HTML

    Hello,
    We are trying to print a delivery confirmation from the portal using SAP GUI for HTML. We have followed note 771683 to do this. However we are facing the following problems:
    1) The print action(PDF creation) is not triggered until the user performs some action
    2) the PDF that is created is corrupted(does not open)
    In order to correct this we tried to implement note 957292. However, the changes to the object FRONTEND_PRINTPOLL_FRONT_REQUEST.HTM mentioned in this note created problems. So we decided to do the changes to this object manually. But we see that the SAP note doesn't contain any information on changes that should be implemented for this object.
    Question:
    Is the note 957292 only way to solve the printing(PDF) problem? If not, how can we trigger the automatic creation of the PDF and remove the error from the PDF file?
    If yes, any idea what is causing the problem during the note implementation?
    We are on NW2004s - EP7.0 SP10
    ITS 7.0
    Thanks in advance.
    Regards,
    Reena

    Hi,
    configure printer in SPAD  , no setting for JAVA GUI
    check note
    605467:SAPscript/Smart Forms: Print preview in SAP GUI for Java
    634158      SAPscript/Smart Forms: Print preview in SAP GUI for Java (2)
    1024624 SAPscript/Smart Forms: Print preview in SAP GUI for Java (3)       
    regards,
    kaushal
    regards,
    kaushal

  • Printing from SAP GUI for JAVA on linux

    Hi All,
    What are the settings to be made in SPAD for printing from sapgui for java on linux ?
    We are using SAP GUI for JAVA 700 .
    Regards,
    Vinod

    Hi,
    configure printer in SPAD  , no setting for JAVA GUI
    check note
    605467:SAPscript/Smart Forms: Print preview in SAP GUI for Java
    634158      SAPscript/Smart Forms: Print preview in SAP GUI for Java (2)
    1024624 SAPscript/Smart Forms: Print preview in SAP GUI for Java (3)       
    regards,
    kaushal
    regards,
    kaushal

Maybe you are looking for