BTF editor

Hi,
Thomas Jung posted a weblog recently on the marvels of the "BTF editor". I've tried to find this new feature, but have failed so far. Could anyone provide me the menu path or transaction code to start this thing?
Sometimes the most beautifully complex and feature-full articles fail to mention the first fumbling yet mandatory steps; probably what my old maths teacher used to call "intuitive" to us bewildered students...
Trond

Do you mean where do i find the BSP application BTF_EXT_DEMO?
If yes go to transaction <b>SE80</b>-> from the dropdownlist box choose <b>BSP application</b> and in the input field type if <b>BTF_EXT_DEMO</b> and then click on the <b>display button</b>.
Does this answers your question or were you looking for something else?
Regards
Raja

Similar Messages

  • BTF Editor: Capturing Data

    I have a BSP application with a BTF Editor in it. Now, i have to get the data from BTF Editor in order to save it. I am not able to do it. Please help.
    <u>Here is the code i used in Input processing</u>
      data: s_docdata type BTFDOCUMENTDATA.
      data: editor TYPE REF TO cl_btf_bsp_editor.
      editor ?= cl_btf_bsp_manager=>get_data( request = request name = 'editor' id = 'btf1' ).
      IF editor IS NOT INITIAL.
        s_docdata-btf_doc = editor->document.
      ENDIF.
    let me know please how to get the Xstring text here.
    Thanks.
    Antonny

    Hi,
    Did you check these web logs:
    /people/thomas.jung3/blog/2004/12/15/bsp-developers-journal-part-xvi--using-the-btf-editor
    /people/thomas.jung3/blog/2005/04/21/bsp-btf-editor-example-non-model-view-controller
    /people/thomas.jung3/blog/2005/04/25/btf-in-the-real-world
    Eddy
    PS. Reward the useful answers and you will get <a href="http:///people/baris.buyuktanir2/blog/2007/04/04/point-for-points-reward-yourself">one point</a> yourself!

  • Performance Issue with BTF editor( BSP application when Calling in WD ABAP)

    Hi All,
    In one of the requirement, I am trying to call the BTF Editor From WD ABAP application.
    When i am trying to open the BTF Editor, it is taking time to load.
    Can any one help men on this ....What I need to do in BTF Editor / WD ABAP application to improve the performance.
    Thanks in Advance,
    Aneel

    These really aren't web dynpro abap questions.  Web Dynpro ABAP is just the frame around the BSP and you are really asking questions about the use of the BTF within BSP. I think these questions would be better suited to the BSP forum.  I will move this thread to that forum.  However before I do, I should warn you that such iFrame integrate is not recommended.  The iFrame is actually deprecated in 7.0 and 7.01 (but does return to support in 7.02).  You should note that the iframe has no session management and the BSP within the iFrame will have a separate user session from the surrounding Web Dynpro ABAP.  The recommendation for such integration is to use the Portal or the NWBC and integrate these ase two different iViews within one Portal Page.  In 7.02, you could also use the Page Builder and a URL CHIP to perform this integration.

  • BTF : Add Image in BTF editor in WebUI

    Hello Everyone,
    I have added a view as a assignment block in standard component, everything is working fine, the text gets added to the BTF editor, however, When i insert the image, it shows up as a empty box with nothing inside it.
    Although this is working in the standard mail component, i have noticed that the link which gets created when clicking on HTML code, when an image is added as
    <HTML><HEAD>
    <META content="text/html; charset=utf-8" http-equiv=content-type></HEAD>
    <BODY>
    <P>Test</P>
    <P><IMG alt="" src="/sap/bc/contentserver/810?get&amp;pVersion=0046&amp;contRep=CRMFILESYSTEM&amp;docId=535544E2AA367F60E10000000A3C2861&amp;compId=manoj.jpg&amp;accessMode=r&amp;authId=CN%3DKCL&amp;expiration=20140422112113&amp;secKey=MIH3BgkqhkiG9w0BBwKggekwgeYCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHATGBxjCBwwIBATAZMA4xDDAKBgNVBAMTA0tDTAIHIBMREyBRBTAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTQwNDIyMDkyMTEzWjAjBgkqhkiG9w0BCQQxFgQUt2vLLx6bbf5mUpbt09CcyczIugYwCQYHKoZIzjgEAwQuMCwCFE53hCWxhYgv0N2ky80blV7wcjRBAhQBWV41%2B1Gu9UpJmFWRqn68C2YB9w%3D%3D"></P></BODY></HTML>
    However, when I look at my code the link gets created like this
    <P>lets add<STRONG> picture of <FONT color=#009900>Manoj. </FONT></STRONG></P>
    <P><IMG alt=file://C:\Users\pradeep\Desktop\test.jpg></P>
    <P> </P>
    <P> </P>
    <P> </P></BODY></HTML>
    It seems like I am not able to add the image in the content server and fetch it again to display it in my view.
    here is my HTML code in the view
    <%@page language="ABAP" %>
    <%@extension name="btf" prefix="btf" %>
    <%@extension name="thtmlb" prefix="thtmlb" %>
    <%@extension name="thtmlbx" prefix="thtmlbx" %>
             <thtmlbx:btf id                 = "BTFEditor"
                         document            = "<%= s_documentdata-btf_doc %>"
                         height              = "400"
                         width               = "95%"
                         onClientInsertImage = "InsertImage_BTFEditor(id);"
                         onClientInsertLink  = "InsertLink_BTFEditor(id);"
                         sourceView          = "<%= sourceview %>"
                         secureInsertImage   = "X"
                         />
    So my question is, do we have to write separate code to add image, as i am set and getting the text successfully from the content server.
    Could someone please throw a light on this and help with some code logic.
    Regards,
    Pradeep

    Hi Hammad,
    You can do this by adding a text box to your landing page, right clicking it, and selecting "Edit Source". In the source code, you can specify the link of your image, like this:
    <img src="http://imageurlgoeshere.jpg">
    You'll need to make sure the dimensions of the text box are as big as or bigger than the dimensions of your image so the image doesn't get cut off.
    Hope this helps!
    Ida

  • Configure BTF editor

    Hi all,
    I can't run the BTF editor on a CRM system. I try to edit a email forms with this editor, but not run. Or I don't know how can I configure it.
    I can see the BTF test bsp page, but not the BTF integrated on GUI,
    how can I run this editor?
    thanks in advance,
    david

    have you seen this weblog
    /people/thomas.jung3/blog/2005/04/25/btf-in-the-real-world
    Regards
    Raja

  • BTF : Add Image BTF editor in WebUI

    Hello Everyone,
    I have added a view as a assignment block in standard component, everything is working fine, the text gets added to the BTF editor, however, When i insert the image, it shows up as a empty box with nothing inside it.
    Although this is working in the standard mail component, i have noticed that the link which gets created when clicking on HTML code, when an image is added as
    <HTML><HEAD>
    <META content="text/html; charset=utf-8" http-equiv=content-type></HEAD>
    <BODY>
    <P>Test</P>
    <P><IMG alt="" src="/sap/bc/contentserver/810?get&amp;pVersion=0046&amp;contRep=CRMFILESYSTEM&amp;docId=535544E2AA367F60E10000000A3C2861&amp;compId=manoj.jpg&amp;accessMode=r&amp;authId=CN%3DKCL&amp;expiration=20140422112113&amp;secKey=MIH3BgkqhkiG9w0BBwKggekwgeYCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHATGBxjCBwwIBATAZMA4xDDAKBgNVBAMTA0tDTAIHIBMREyBRBTAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTQwNDIyMDkyMTEzWjAjBgkqhkiG9w0BCQQxFgQUt2vLLx6bbf5mUpbt09CcyczIugYwCQYHKoZIzjgEAwQuMCwCFE53hCWxhYgv0N2ky80blV7wcjRBAhQBWV41%2B1Gu9UpJmFWRqn68C2YB9w%3D%3D"></P></BODY></HTML>
    However, when I look at my code the link gets created like this
    <P>lets add<STRONG> picture of <FONT color=#009900>Manoj. </FONT></STRONG></P>
    <P><IMG alt=file://C:\Users\pradeep\Desktop\test.jpg></P>
    <P> </P>
    <P> </P>
    <P> </P></BODY></HTML>
    It seems like I am not able to add the image in the content server and fetch it again to display it in my view.
    here is my HTML code in the view
    <%@page language="ABAP" %>
    <%@extension name="btf" prefix="btf" %>
    <%@extension name="thtmlb" prefix="thtmlb" %>
    <%@extension name="thtmlbx" prefix="thtmlbx" %>
             <thtmlbx:btf id                 = "BTFEditor"
                         document            = "<%= s_documentdata-btf_doc %>"
                         height              = "400"
                         width               = "95%"
                         onClientInsertImage = "InsertImage_BTFEditor(id);"
                         onClientInsertLink  = "InsertLink_BTFEditor(id);"
                         sourceView          = "<%= sourceview %>"
                         secureInsertImage   = "X"
                         />
    So my question is, do we have to write separate code to add image, as i am set and getting the text successfully from the content server.
    Could someone please throw a light on this and help with some code logic.
    Regards,
    Pradeep

    Sunenny,
    Yes, it would take something like that. Another option, although not any easier really, it to use the latest CKEditor.
    Regards,
    Dan
    Blog: http://DanielMcGhan.us/
    Work: http://SkillBuilders.com/

  • BTF Editor -disable buttons

    Hi ,
    I want to disable some standard buttons (like bold button) which were displayed in BTF editor toolbar.
    Are there any options to do it.. i have search the class cl_btf , cl_btf_editor  for this..but couldn't make out.
    Thanks,
    Sandy.

    Hi,
    you have to comment the lines:
      str = me->render_default_button( function = 'bold'            tooltip = '013     ' ).
      CONCATENATE html str INTO html.
    in method RENDER_DEFAULT_START of class CL_BTF_BSP_EDITOR.
    For do that you can copy the bsp extension btf into a custom one and then copy the handler class CL_BTF_BSP_EDITOR into a custom one editing the method

  • BTF Editor - where to find it?

    Hi,
    Thomas Jung posted a weblog recently on the marvels of something he calls the "BTF editor". I've tried to find this brand new feature, but have failed so far. Could anyone provide me the menu path or transaction code to start this thing?
    Naturally, help.sap.com does not come up with anything related to "BTF"... but that's as you would expect, or...?
    Trond

    > ...help.sap.com does not come up with anything
    > ... but that's as you would expect, or...?
    Of course, I am the first to admit that often there are bits and pieces of new features that are just not documented in the heat of the moment. These "trivial" aspects (from developer's viewpoint) are left for last and then forgotten. We fight against this everyday.
    But there is also another reason, which is equally, if not more, relevant for many of the situations we see. Due to "market driven" requirements (means we liked the ideas:), we are often forced to develop features into a specific service pack or another. Typical example design2003 and phtmlb library.
    But the documentation is closed in a very early stage, usually within the first few service packs. And thereafter it is never updated again. Even although we make changes in docs, these are only publishes with next major release.
    In case of this control, I do not know the true story, as it was developed by an expert in another group.
    bye, brian

  • BTF Editor Default Language

    Hi,
    I had issue with BTF Editor multi language.
    I set my default browser language as Japaneese.
    when I am adding text through the Keyboard, it is taking in English. But when I am trying to copy and paste the text in to the editor from other document (which is in Japaneese )... it is accepting in Japaneese language.
    Is there any spectific setting I need to set in the Browser / any code I need to add in the program.
    Thanks In advance,
    Aneel

    Hi Aneel,
    When you type the text in notepad what language it displays?
    I mean what is the layout of your key-board, if its English-US setting, you need to make changes to the same.
    How to achieve this?
    [changing language in windows (link outside SDN)|http://www.conversationexchange.com/resources/keyboard-language.php]
    Regards,
    Ravi

  • BTF Editor and pasting graphics

    When using the BTF Editor, it seems I can only paste pictures/graphics from my web browser and not from the clipboard. If I copy a picture on my harddrive it will not paste to the BTF editor. But if I copy a picture from the internet, it will paste to the BTF editor. Is this true or am I missing something?

    answered in this thread
    CL_GUI_TEXTEDIT and graphics
    Regards
    Raja

  • Compatibility of an editor made in javascript with WebDynpro

    Currently we are using a textarea for the content for the text of a chapter in an application. Of course end-users would like to have a rich text editor since the result is stored as PDF file, so since we use MVC and BSPs our first thought was to use the BTF editor but it seems that this editor is not planned to be replaced with an equivalent in WebDynpro.
    So we have found a nice editor called FCKEditor (see http://www.fckeditor.net/) done in JavaScript but with java integration possibilities, it is under LGPL open source license.
    So my question is, would it be compatible with WebDynpro ?

    but they say that you can integrate it with java:
    Installing FCKeditor in a JSP environment is quite easy:
    Unzip the Java Integration Library in a directory named "FCKeditor".
    Unzip the content of the FCKeditor release of your choice inside the "FCKeditor\web" folder.
    Then you have to create in tomcat (or any servlet container) a new context named "FCKeditor" that points to the previously created "FCKeditor\web" folder.
    Point your browser to http://domainName.ext/FCKeditor/_samples/index.jsp for the list of the samples.
    Usage
    Take a look at the test files and in the javadoc API provided in the distribution. Here is a simple example.
    First put this taglib definition at the top of the JSP page:
    <%@ taglib uri="http://fckeditor.net/tags-fckeditor" prefix="FCK" %>
    Then the tag:
    <FCK:editor
    id="EditorAccessibility"        //Unique name of the editor
        width="80%"                 //Width
        height="120"                //Height
        toolbarSet="Accessibility"  //Toolbar name
    >This is another test. <BR><B>The "Second" row.</B></FCK:editor>
    A more advance example, that show how to use the inner tags to overrides any of the settings specified in the config.js file:
    <FCK:editor id="EditorDefault" basePath="/FCKeditor/"
        styleNames=";Style 1;Style 2; Style 3"
        fontNames=";Arial;Courier New;Times New Roman;Verdana" >
        This is some <B>sample text</B>.
    </FCK:editor>
    Building
    Inside the files there is the source files for the tags (/src) and the ant build file (build.xml).
    The ant build file provides the following tasks:
    all: Clean build and dist directories, then compile
    clean: Delete old build and dist directories
    compile: Compile Java sources
    dist: Create binary distribution
    javadoc: Create Javadoc API documentation
    release: Create Release Distribution
    Plus some Tomcat managing tasks (to make this tasks work you need to copy inside the "web" folder the FCKeditor package):
    install: Create a web application pointing to the build directory
    reload: Recompile and reload the web application
    remove: remove the web application
    To start building the class you first need to modify the "catalina.home" property inside the build.xml, then type "ant dist" to compile, create the javadoc API description and generate the jar library to be copied in the WEB-INF.
    Or more easily, type "ant install" after setting the right username and password for the tomcat manager application.

  • Word Integration in BSP

    Hi Folks!
    Scenario: BSP must open a Word document, that is stored as an xstring in a transparent table on the SAP server where the BSP runs. Now the user can change the Word Document in his MS Word client. So far sounds not too difficult to implement. But now there comes my problem: The Word document changed by the user in his MS Word client must be stored in the transparent table on the SAP server again. Thus next time the user selects this document in the BSP he gets the changed version. How can I achieve this, how can my BSP talk with Word (open Word, hand over document to Word, get back changed document from Word, close Word) and then load the changed document up to the server again?
    Additional info: I work in a pure Microsoft environment on client side.
    I've read some threads and found out that I can use ActiveX and Javascript to handle this problem, but so far I did not find a real cookbook that I can use for my scenario. All scenarios I've found open a Word document and save it somewhere on a disk.
    Thanx for any hints!
    Regards,
    Volker

    i was trying various options for this.
    one of them (it works fine - but havent checked all scenarios like word doc with pic, etc) is using btf editor.
    while first time loading the document (as xstring) to database table. first open the document in the local machine, in word and save as .htm file.
    now use this file to store it in database (as xstring).
    once this is done , you can use this xstring as content for btf editor. and you can easily capture the edited content from the btf editor area and then load it back to database.
    for more info on btf editor check this weblog.
    /people/thomas.jung3/blog/2005/04/21/bsp-btf-editor-example-non-model-view-controller
    let us know how it goes.
    Regards
    Raja

  • ERecruiting : Smart form for Correspondence activities

    Dear Experts,
    I have a question regarding the corresponding activitiy smart form customisation.
    Till enhancement Package 3, we could customize the smartform in 2 ways
    HTML editor
    Changeable Letter Sections
    But in Enhancement package 4, there is only the changeable letter section option available. So, if we have implemented earlier using HTML editor, how will this be taken care for the changeable letter section.
    Should the smartforms be converted first ?
    Any info how the corresponding activities template is handled in Ehp4 will be very helpful.
    Many thanks,
    Sowmya

    Hi Sebastian/Sridhar,
    Thanks a lot for your inputs.
    I have a further question regarding the same topic.
    Client is not very happy with the editor which is currently available(Ehp4) to change the correspondence letters. There is limited formatting options(font change, colour change etc) which was available in the HTML editor in Ehp3.
    I understand this is because in the WD4A UI,it is based on the FormattedTextEdit element.
    In BSP, for the HTML editor, the BTF editor is used.
    My question would be,
    Can we still not use the HTML related smartform in EHp4. an idea would be to use a BSP page from the WD4A page to bring up the smartform in the BTF editor? Is this feasible when storing the changes to the smartform?
    Else, if we have to compulsorily convert the smartforms to changeable letter section, can i still somehow call the BTF editor through a BSP page & make and save the changes?
    From your experience, what seems like a doable solution?
    Thanks & Regards,
    Sowmya

  • HTML in adobe form

    I have a html string delivered by a ztable.
    I want to display this html string into my adobe form using the right formating
    Is it possible ?
    Thanks

    Dear Sebastian,
    I have gone through your threads. Its really good to know about the stuff you have mentioned. I have a similar kind of requirement here. I hope you can help me out...
    I've to display the Rich Text maintained in BTF Editor (It works like a ms word where we can maintain color,styles). Here the data will be stored in HTML format. I have to use this HTML data and convert the same to PDF using Adobe Live Cycle Designer. I have tried it using your info provided in threads...(I have created a base64 script object and wrote Java scripting in Initialize event) But didnt find any luck... Could you tell me the exact process how to pass the HTML data from driver program to Adobe Form.
    Regards,
    Mohammed Shukoor.
    Edited by: Mohammed Abdul Shukoor on Feb 14, 2011 9:34 AM

  • Correspondence in e-Recruiting with EhP4

    Hi,
    We are running ERECRUIT 604 SP3.
    I try to create any letter using standard SAP setup, e.g. returning forgotten password HRRCF_CS_EXA_NEW_PASSWORD (one of the simplest one), but the system always returns the same form - HRRCF_CS_IT_APPLICANT (or HRRCF_CS_APPLICANT - I cannot figure it out) - without regard to the setup in the table V77RCF_ACT2FORM.
    Up to EhP3 the table V77RCF_ACT2FORM was the place where it was possible to assign a required smartform, also the customized one, to the selected activity. Now I cannot find out where the assignment of form to the activities is done.
    Another issue in the new EhP4 is where and how to get an overview of the outstanding correspondence and mass-process it?
    Please, anyone has an answer?
    Best regards
    Beata

    Hello Beata,
    short version:
    use HRRCF_CS_IT_EXA_NEW_PASSWORD
    long version:
    the reason for you correspondence effect is just a wrong correspondence smartform customized for the activity. So V77RCF_ACT2FORM is the right place to look at. 
    E-Recruiting started with a correspondence change solution using the BTF editor. Later with 600 there came another solution using include texts. Up to E-Recruiting 600 EhP3 you can choose for simple correspondence and invitation which one you want to use. Therefore you have to set T77S0 RECFA INDCO switch and assign the correct document category to the activity category.
    With EhP4 this changes. Only the include text solution is now supported. But now it uses not only a plain text edit but an editor which allows formating of the include texts when changing them.
    As it is still the include text solution, the smartforms you use need the interface of the reference smartforms for this solution. These are HRRCF_CS_IT_APPLICANT for simple correspondence and HRRCF_CS_IT_APPL_INVITATION for invitations. If you use a smartform with a wrong interface the system sends the reference smartform instead (no idea why there is not an error message, probably a bad joke :o). So using HRRCF_CS_EXA_NEW_PASSWORD results in sending HRRCF_CS_IT_APPLICANT as it has the wrong interface, HRRCF_CS_IT_EXA_NEW_PASSWORD will work.
    for the other question:
    When everything was rebuild in WebDynpro SAP accidently "lost" some of the functionality from EhP3 and lower. Due to the huge demand of customers sap will bring the missing stuff with EHP4 SP4 as downgrade from EhP5. Part of it is the recruiter's work center, a dashboard for recruiters. According to the EhP5 documentation for the  HCM_ERC_CI_3 business function, this dashboard will include My Planned Activities and My Planned Correspondence Activities. So far I had no possibility to check if SP4 really has this (as this SP is not existing yet officially) but I could verify that a EhP4 SP4 system includes the business function HCM_ERC_CI_3 so it is highly probable that it is there.
    Best Regards
    Roman

Maybe you are looking for