Merge Fields in Word Templates are still showing after replaceing procedure

Hi all,
we are using CRM 7.0 and we are using the BAdI CRM_OFFICE_TEMPLATE_BADI to replace the Merge Fields which are placed in Word  Template!
Normaly it works very fine, but in some cases if there is no value to fill into the merge field, the merge field is shown like it is created in the template.
In most of the other cases the not replaced merge field is not shown in the created document.
Does anybody has got the same issue? If yes, how do you solve it?
Every answer is very welcome!
Best regards
Michael

Hi Michael / Carsten,
I have some problems in implementing CRM_OFFICE_TEMPLATE_BADI. I have redefine method for get_attributes :
method IF_EX_CRM_OFFICE_TEMP_BADI~GET_ATTRIBUTES.
  DATA: ls_attr TYPE CRM_KW_TEMP_ATTR,
        lt_attr TYPE CRM_KW_TEMP_ATTR_TAB.
*  IF iv_wsname = 'ZTESTQUO001'.
    ls_attr-NAME = 'CustomAddr'.
    ls_attr-DESCRIPTION = 'Custom Address'.
    INSERT ls_attr INTO TABLE lt_attr.
    ct_attributes = lt_attr.
*  ENDIF.
endmethod.
and redefined method get_values also:
  DATA: ls_val TYPE CRM_KW_TEMP_VALUE,
        lt_val TYPE CRM_KW_TEMP_VALUE_TAB.
*  IF iv_wsname = 'ZTESTQUO001'.
    ls_val-NAME = 'CustomAddr'.
    ls_val-VALUE = 'Sudirman Street 20' .
    INSERT ls_val INTO TABLE lt_val.
    ct_values = lt_val .
*  ENDIF.
The field has shown when I click "Call BADI" on Document templates, but I couldn't click CustomAddr field (no hyperlink in it). could you explain to me what steps are wrong ? How to make this field shown in the schema structure in Microsoft Word 2007 ?
Your help is greatly appreciated.
Thank you.
Agus

Similar Messages

  • I have removed some ADM templates from group policy but are still showing in RSOP

    I removed some old custom ADM templates from group policy but they are still showing up when I run RSOP.MSC.
    How do I get RSOP.msc not to show these old custom ADM templates?  I'm not able to find what I'm looking for in my searches. 

    Hi,   
    Even you remove these custom ADM templates, the policy settings configured by these custom ADM templates still exist. We can try to import these ADM templates again then un-configure
    the policy settings set by these custom ADM templates. After refreshing the policy settings, we can delete the custom ADM templates.
    Best Regards,
    Erin
    Thanks.  That almost works.  When I import a new updated template with a different name but with some of the same settings, the old template shows up again.

  • Items have been goods issued in R/3 but are still showing as Not GId in APO

    2 products have been goods issued and the delivery is complete in R/3 but are still showing as Not Goods issued in APO.Please suggest.

    Hi Usman,
    Could you please let me know which table did you refer to find out the status of an order i.e., whether the order line has been Goods Issued or not?
    Thanks,
    Babu Kilari

  • HT4993 Deleted Contacts are still showing when compossing a TXT.

    I have deleted several contact or updated there phone numbers. The deleted and old phone numbers are still showing when I send a text message. I have cleared all information from my synced accounts. I do not understand why this is so complicated. I have read online that this is an issue and do not understand why Apple does not fix this. I cant wait do dump this phone and go back to Google.

    I have exactly the same issue - ex girlfriends, old bosses, previous numbers long update all still show up. As far as i can tell from all the other forums kicking around the only way to do it is to reset to fatory settings and set your phone up again as a new iPhone and there is NO WAY i'm doing that.
    I can't believe they haven't fixed it yet...maybe the new OS will sort it
    iPhone 5   64gb   OS 6.4.1

  • Iphone has deleted calender events but they are still showing on hotmail

    I have the Iphone 4 running on IOS6. I don't know if it has anything to do with the update but I have noticed all my calendar events have disappeared on my phone! I have not changed any settings on my phone for this to happen. Luckily, I can see that the events are still showing when I log into hotmail and click on calendar. Here is what my settings currently show:
    Default Calendar is set to Hotmail
    Sync = 'All Events'
    Under Hotmail Accounts Calendars is Turned On
    Mail Days to Sync - No Limit
    Icloud Calendars is turned off. I have never Synced my Calendar to Icloud, I have tried switching this on but not much happened.
    Any help would be much appreciated.

    Ok I've actually been able to answer my own question. I went into Calendars then clicked on the Calendars tab in the top left hand corner. For some reason 'All Hotmail' was not ticked only the 'All on My iPhone' tab, so as soon as I clicked 'All Hotmail' all my events now show! Yeahhhhh boi!

  • My laptop crashed and i lost my recovery key. All my bookmarks are still showing up on my android samsung galaxy 4. How can I recover my recovery key?

    My laptop crashed and i lost my recovery key. All my bookmarks are still showing up on my android samsung galaxy 4. How can I recover my original recovery key? I tried deleting my account and creating a new one as suggested but now I get a sync error saying the recovery keys don't match. Also is there a way to export my bookmarks from my mobile device?

    If you have lost your recovery key then unfortunately there is nothing to do, it can be regenerated but that will cause all data in sync to be deleted. You could try syncing your phone, then disconnecting it from sync, create a new sync account and connect your phone to send the data to that account, but there is a potential for the data to be lost there as well. sorry.

  • HT201442 error 3194 appears still even after replacing host file...need a solution....

    error 3194 appears still even after replacing host file...need a solution....

    Have you also checked your security software to ensure required ports are not being blocked?
    http://support.apple.com/kb/TS3694#communication

  • I had a book on my iPad 2 and now it says there is an error on the page and there are no words, although it still shows up on my iPhone fine

    I had a book on my ipad 2 and all of a sudden it's saying there's an error on the page and all the pages are blank. It still shows up fine on my iphone. Any ideas how to get it back on my ipad without rebuying it?

    As long as it is still available in the store then you can re-download it for free - you will need to delete it from iBooks on your iPad before you can try re-downloading it. You could also try copying it from your iPhone to your computer's iTunes via File > Transfer Purchases (assuming that it's not already on there), and then sync it to the iPad.

  • Unable to Preview barcode font fields in Word Template Builder PDF Preview

    I have searched for solutions to this problem but did not find anything that I have not tried. I have IDAutomation Barcode fonts installed and am using the Word template builder v10.1.3.4 Build 129. My Templates work fine in EBS, but I cannot Preview in a PDF, any fields that are formatted with my barcode or MICR fonts. I have created an xdo.cfg file as per the documentation and placed it in C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\config. I can successfully preview in an RTF, but not a PDF. Any suggestions?
    Here is my xdo.cfg file:
    <config version="1.0.0" xmlns="http://xmlns.oracle.com/oxp/config/">
         <!-- Properties -->
         <properties>
              <!-- System level peoprties -->
              <!-- PLEASE SELECT A VALID TEMPFILE DIRECTORY!!! -->
              <property name="system-temp-dir">E:\Temp</property>
              <!-- PDF compression -->
              <property name="pdf-compression">true</property>
              <!-- PDF security -->
              <property name="pdf-security">false</property>
              <property name="pdf-open-password">user</property>
              <property name="pdf-permissions-password">owner</property>
              <property name="pdf-no-printing">true</property>
              <property name="pdf-no-changing-the-document">true</property>
         </properties>
    <!-- Font setting -->
         <fonts>
              <!-- Windows Wingdings font -->
              <font family="Wingdings" style="normal" weight="normal>
              <truetype path="C:\WINDOWS\Fonts\WINGDING.ttf" />
              </font>
              <!-- GnuMICR font -->
              <font family="GnuMICR" style="normal" weight="normal>
              <truetype path="C:\WINDOWS\Fonts\GnuMICR.ttf" />
              </font>
              <!-- IDAutomationC39L -->
              <font family="IDAutomationC39L" style="normal" weight="normal>
              <truetype path="C:\WINDOWS\Fonts\IDAutomationC39L.ttf" />
              </font>
              <!-- IDAutomationC39M -->
              <font family="IDAutomationC39M" style="normal" weight="normal>
              <truetype path="C:\WINDOWS\Fonts\IDAutomationC39M.ttf" />
              </font>
              <!-- IDAutomationC39S -->
              <font family="IDAutomationC39S" style="normal" weight="normal>
              <truetype path="C:\WINDOWS\Fonts\IDAutomationC39S.ttf" />
              </font>
              <!-- IDAutomationC39XL -->
              <font family="IDAutomationC39XL" style="normal" weight="normal>
              <truetype path="C:\WINDOWS\Fonts\IDAutomationC39XL.ttf" />
              </font>
              <!-- IDAutomationC39XS -->
              <font family="IDAutomationC39XS" style="normal" weight="normal>
              <truetype path="C:\WINDOWS\Fonts\IDAutomationC39XS.ttf" />
              </font>
              <!-- IDAutomationC39XXL -->
              <font family="IDAutomationC39XXL" style="normal" weight="normal>
              <truetype path="C:\WINDOWS\Fonts\IDAutomationC39XXL.ttf" />
              </font>
              <!-- IDAutomationHC39L -->
              <font family="IDAutomationHC39L" style="normal" weight="normal>
              <truetype path="C:\WINDOWS\Fonts\IDAutomationHC39L.ttf" />
              </font>
              <!-- IDAutomationHC39M -->
              <font family="IDAutomationHC39M" style="normal" weight="normal>
              <truetype path="C:\WINDOWS\Fonts\IDAutomationHC39M.ttf" />
              </font>
              <!-- IDAutomationHC39S -->
              <font family="IDAutomationHC39S" style="normal" weight="normal>
              <truetype path="C:\WINDOWS\Fonts\IDAutomationHC39S.ttf" />
              </font>
              <!-- IDAutomationHC39XL -->
              <font family="IDAutomationHC39XL" style="normal" weight="normal>
              <truetype path="C:\WINDOWS\Fonts\IDAutomationHC39XL.ttf" />
              </font>
              <!-- IDAutomationHC39XS -->
              <font family="IDAutomationHC39XS" style="normal" weight="normal>
              <truetype path="C:\WINDOWS\Fonts\IDAutomationHC39XS.ttf" />
              </font>
              <!-- IDAutomationHC39XXL -->
              <font family="IDAutomationHC39XXl" style="normal" weight="normal>
              <truetype path="C:\WINDOWS\Fonts\IDAutomationHC39XXL.ttf" />
              </font>
         </fonts>
    </config>
    Thank for any assistance.
    Regards,
    Donn

    The fonts settings did not show up properly. Here is an example inside comments:
              <!-- IDAutomationHC39S -->
    <!--     <font family="IDAutomationHC39S" style="normal" weight="normal> -->
    <!--     <truetype path="C:\WINDOWS\Fonts\IDAutomationHC39S.ttf" /> -->
    <!--     </font> -->
    The font family, name, and path have been checked thoroughly.
    Thanks,
    Donn

  • Deleted videos from iphoto but they are still showing up in the finder?

    I deleted all of my videos from iPhoto and moved them to an external hard drive because I wanted to free up some space on my MacBook Air.  The files are no longer visible in the iPhoto application, but for some reason, when I look at the storage space on my computer, it is still showing that I have 8GB of movies on my computer.  If I search in the Finder, it is showing that a lot of these videos that I deleted from iPhoto are still in a "Masters" folder in iPhoto.  I am confused, though, because if I open iPhoto, the videos are not in there.  I want these video files to be deleted for good - can I just go in to the "Masters" folder in the Finder and delete them there?  I've read not to delete anything from iPhoto in the Finder, though. So, getting very frustrated because I'm not sure why these files aren't fully deleted off my computer. Any suggestions?

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • The templates are not showing up after I select them???

    the templates on pages are not showing up after I select them....unless I highlight the entire page and select a particular colour.  That leaves all the colours in the photo off.  Any help would be so very helpful.   

    CeraG - It will help to answer if you supply your system version, pages version and if you lately have done anything to the computer (installing, uninstalling etc)
    I think you have forgotten to do a Software update or it could also be a font problem but more info from you is needed!

  • TS3274 My daughters ipad has stopped downloading new apps, we tried to download some new ones this week and they are just showing as "waiting", we deleted all her games to see if it was a memory issue but they are still showing as waiting.

    We have tried to download some new free games for my daughter this week, there are three which are just showing as "waiting" and not downloading at all and its been almost a week.
    I deleted all her previous games thinking it might somehow free them up but it has not helped.
    please help i am getting nagged!

    If there are multiple apps trying to download at once, only one can download at a time and the rest say "Waiting" until it is then their turn. Try this. Double tap the icon of the Waiting app, and it should resume the download.
    How to Solve the Problem of An iPad App Download Stuck on “Waiting”
    http://ipadacademy.com/2012/06/how-to-solve-the-problem-of-an-ipad-app-download- stuck-on-waitinghttp://ipadacademy.com/2012/06/how-to-solve-the-problem-of-an-ipad-app-download- stuck-on-waiting
    How To Get Rid Of Your iPad App Download Frozen Problem
    http://www.sidelineapple.com/how-to-get-rid-of-your-ipad-app-download-frozen-pro blem-and-not-lose-years-of-your-life-video/http://www.sidelineapple.com/how-to-get-rid-of-your-ipad-app-download-frozen-pro blem-and-not-lose-years-of-your-life-video/
    iTunes: How to resume interrupted iTunes Store downloads
    http://support.apple.com/kb/ht1725http://support.apple.com/kb/ht1725
    Another thing to try - Turn the iPad Off & then back ON.
    If that doesn't work:
    •  Log out of your iTunes store account.  Go to Settings > Store > Sign Out Then press the Home button.
    • Then press and hold the Home and Sleep buttons simultaneously and don't release them when it brings up the Turn Off screen; keep holding them until the Apple logo appears.
    • After restart, the Waiting should be gone.
     Cheers, Tom

  • HT2371 After going to general, international, language, my language is set in English but my apps are still showing up in Japanese. How do I get them to English

    The names of my apps are in Japanese. How do I get them to read English. I have gone to settings, general,international, language and it is set in English. How do I fix this

    To clarify Settings > General > International > Language is set to English?
    and Settings > General > International > Keyboard > includes the English keyboard?
    When you are on your Home screen is Settings called 'Settings' in english?
    what are the things that are still in Spanish?

  • IPhoto still showing after upgrading to photos

    Hi,
    i've upgraded to Photos (Yosemite 10.10.3), however iPhotos is still showing as well as Photos. Is there anyway I can remove this? I've tried to via the 'App Cleaner' program, however iPhoto is shown as locked? It just seems stupid to have it taking up room on my drive when its obsolete!

    iPhoto still works and will not interfere with the new Photos.  If you have the space, I would hold on to it for a while till you are completely satisfied with Photos. There are many "issues" that  have been reported.
    If you really want to delete it, go to your Applications folder and select the app.
    Go to it's 'info' panel by clicking  Cmd-i
    When the panel opens, click on the lock in the bottom right hand corner; this will ask for your computer password to unlock the panel.
    Click on the plus sign. This will open another window that will allow you to add yourself to the "Name" list in the info panel.
    Select your name.
    Go to the info panel and set your "Privilege" to Read & Write
    Click on the Lock.
    You should now be able to Cmd-Delete the file.

  • Carrier sign still showing after wiping and reloading OS?

    Hello dear users, In my thread of "application installation issues", it seems to be determined that my carrier who I got the phone from, is blocking the install of applications as I get a 910 error, application authorization failure, when i try to install an application from: www.blackberry.com/screenreader/ After some searching, I've come across BBSAK, which I use to wipe the phone and reload the oS. I've also come across the tool "vendelete" which deletes the vendor.xml files. So I do the following: 1. uninstall the original carrier OS from pc. 2. Install OS from different carrier to pc. 3. Use vendelete to get rid of the xml files which it says no xml files were found. 4. Use bbsak to wipe the oS. 5. reload the OS. But when the phone boots up, it still shows the sign of the carrier which I don't want, so i presume nothing has been updated? since when I try to install the application again, I still get the 910 error. What am i doing wrong here? Help would be much appreciated. Regards,
    Solved!
    Go to Solution.

    Pith wrote:
    Hello,
    Ok, is there anything else that is not being wiped apart from the splash screen?
    I mean anything else that would be the cause for not being able to get passed the 910 error? apart from the IT policy which was mentioned.
    Actually, the IT Policy is another thing that is not removed by other Wipe methods, nor is it removed when you install a different carriers OS to the BB. See this for the proper IT Policy removal process:
    KB18998 How to reset the BlackBerry smartphone to factory defaults
    If, when you do this, you take a backup first, then you MUST NOT do a wholesale restore afterwards...if you do, the IT Policy will dutifully be put back on. You must do a selective restore of only those specific databases that you require, being 100% certain to EXCLUDE from the restore any that deal with the IT Policy:
    KB03974 BlackBerry smartphone database list
    Also, see this for the official document from RIM regarding the 910 error.
    KB12230 "Download Failed: 910 Application authorization failure" appears on the BlackBerry smartphone when installing an application
    From all of your symptoms, a latent IT Policy on board the BB could be the root cause of everything, so I recommend you use the above methods and truly cleanse your BB of the IT Policy. I think I'd suggest the following steps, just to be sure that things are truly clean...also insert plenty of reboots of your PC...not just restarts, but full power down reboots. Also, it is advised that you be logged into the PC on an account with full admin rights. Further, under Vista/Win7, use the "Run As Administrator" option for everything.
    1) Remove all device OS update packages from your PC (add/remove programs)
    2) Cleanly uninstall the RIM Desktop Software:
    KB02206 How to perform a clean uninstall of BlackBerry Desktop Software
    Some have reported that manually cleansing the registry of all keys related to RIM, BB, and Puma to also be helpful
    Others have reported the use of a registry cleansing tool to also be helpful
    Still others have reported the use of your original PIM (e.g., Outlook, NOTES, etc.) installation CD, running the "repair" process, to be helpful in some situations
    3) Get a fresh download of the RIM Desktop Software:
    http://us.blackberry.com/apps-software/desktop/
    4) Download (to your PC) a fresh copy of your currently installed (on your BB) device OS package from your carrier (if it's not the original carrier, then you know already to delete all copies of VENDOR.XML after installing to the PC):
    http://na.blackberry.com/eng/support/downloads/dow​nload_sites.jsp
    5) Install the Desktop Software to your PC
    6) Install (also to your PC), the device OS package
    7) If you need a backup from the BB, take a full one now:
    KB23680 Backup BlackBerry smartphone data using BlackBerry Desktop Software 6.0 to 7.0
    8) Perform the ResetToFactory
    KB18998 How to reset the BlackBerry smartphone to factory defaults
    9) If you want a different OS on the BB, then remove the OS Package from your PC and install the one you desire onto your PC (but not yet to your BB)...again, remove VENDOR.XML files if the package is not from the BB's original carrier.
    10) Use BBSAK to wipe the BB and then load the OS to the BB
    11) If you took the backup in step 7, use that as source for a selective restore, including only the databases you require and excluding all databases that have anything to do with the IT Policy:
    KB10339 How to use BlackBerry Desktop Software to restore data to a BlackBerry smartphone from a backup
    12) Now see if you can proceed with installing apps
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

Maybe you are looking for

  • IMac G5 froze and now it wont boot? Help!

    I have iMac G5, its 3 years old. I was playing a game and all of sudden it froze. -First tried to resarted the computer, it wont boot up and there was no sound. -Secondly, I manage to reboot, but it gave me the gray with Apple Logo and did not reach

  • XML parsing in EJB

    I am using WLS 7.0. XML Message is passed to Session EJB. EJB needs to process the XML. How can we pass the XML to a parser class or so and check Well-Formedness and Validate against a XML schema respective to the XML. Any examples, sample code would

  • Special Chars do not display at XML import

    Hi there. Here is the situation: I am importing external data (only text) from a XML file, but when I type a "%" (percentage char) in XML it does NOT display in the SWF... why ?? What is the best practice to achieve this ? Thanks in advance,

  • Instance stuck in OBPM 10GR3

    Hello all, We have a problem with one of our processes. There is an instance which is stuck in one of the Interactive activities waiting for someone to login and execute it. The person who was suppose to execute it has left the organization. Now we h

  • Dynamic Re-size of Canvas

    I have a tab canvas and a stacked canvas displaying in the same window. When I re-size the window I want to adjust the viewport size so I can see more of the fields on the canvas (without having to scroll). What is the best way to do this? Canvases 1