How to display link property : description

hi all
Im trying to display a link's description property in an iview.
How do i go about doing this?
Message was edited by: rinx

Hi Patricio
Can you explain this by uing code/an example..
Where do I put in LayoutSet in the following code?
From what Ive seen in documentation/weblog, I currently have the following code to retrieve a description property of a link:
IPropertyName propertyname = new PropertyName(IWcmConst.SAP_WCM_NAMESPACE,IWcmConst.PROP_DESCRIPTION);
IProperty property = resource.getProperty(propertyname);
if(property != null){
//description exists
description = property.getValueAsString();
}else{
description = "";
Namespace should point to the link, right?
How would I do this?
Say that I have links in folder path : /documents/quicklinks/financelinks
In financelinks contains links to different locations in portal eg. link to "finance standard document"
Link "finance standard document" has a description : "xx"
I want to get this description.
I very much need some urgent help.

Similar Messages

  • How to Display Item Property Description

    Hi
      In Sales Quotation lines i want to display the name of the item property on selecting item . How this can be achieved.
    Thanks

    Hi Sanju
          In Sales Quotation rows i enter item no , after entering item no i want property name should be displayed.
         I have defined properties
               Paper Roll
              Cotton Roll
              Licosys Roll
            Now if item is Cotton Roll only its Cotton Roll will be selected . In sales quotation i wanted if item is cotton roll then property cotton roll should be displayed .  It is not mandatory if item property is cotton roll , item name will be also like that .
         I am sorry if i am not able to explain correctly
    Thanks

  • How to display COMPANY CODE DESCRIPTION ON THE TOP LEFT OF PAGE

    How to display COMPANY CODE DESCRIPTION(Field BUTXT) ON THE TOP LEFT OF EVERY PAGE OF THE REPORT GENERATED.
       Actually I have collected BUTXT using
    'select butxt into table itab from t001 where bukrs = p_bukrs'
    where p_bukrs is the selection screen field.
    REQUIREMENT: Depending on what company code we give on the selection screen, corresponding company code description(butxt) should be displayed at the top left of every page. how would i display it in TOP-OF-PAGE EVENT.

    Hi
    It's very simple, but what is the need to use <b>into table itab</b> in your select query.
    Rather, define a variable
    data: v_butxt type t001-butxt.
    Select butxt into v_butxt from t001 where bukrs = pbukrs.
    TOP-OF-PAGE.
    write :/ v_butxt.
    Regards
    Surya.

  • How to display link content on the the same sharepoint page on click event

    "How to display link content on the the same sharepoint page on click event"
    Detail:
    we are using a document library where all html files are stored/uploaded.  we would like to display/open the html file on the same sharepoint page where all the files are listed.
    Thanks.

    Use jQuery and set the target to self to the anchor tag
    Regards,
    Sairam Avacorp Technologies

  • How to display system property in XML forms

    Hi
    We are using XML forms template for publishing news in KM. In the show form we got author field (a label in the form) which is mapped to system property createdby (PropertyReference = /Properties/default:createdby).But while displaying the form author is not getting populated. When I try to edit the form in XML forms builder in data model tab under properties node no property is visible. Nothing is shown up in properties even after reload option is selected from context menu of properties node.
    I cheked by manually editing PropertyReference to some other property (e.g. modifiedby) but nothing is showing up.
    Can you please suggest how the createdby system property can be shown in the xml form?
    Thanks & Regards
    Sudip

    Hi Sudeep,
    Please try to open the formbuilder in another machine and try to see the properties xml form design view.
    You can even directly can create a lable in show form and add the property name along with the nama space name.
    For default properties namspace is default.Create a lable UI element in show form and select the datasource property and add the property value in that.
    With we can show file related system generated properties in show form.
    Regards,
    Rudradev Devulapelli

  • How to display only the description of a combobox.

    Hi All,
    I have a combobox on a grid.
    The value of it, is the adresses of BP.
    Example :
                                        string sQuery = "SELECT CRD1.Address FROM CRD1 WHERE CRD1.AdresType='S' AND CRD1.CardCode='" + oGrid.DataTable.Columns.Item("U_IFC_PP").Cells.Item(pVal.Row).Value.ToString() + "'";
                                        SAPbobsCOM.Recordset oRec;
                                        oRec = (SAPbobsCOM.Recordset)SBO_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset);
                                        oRec.DoQuery(sQuery);
                                        SAPbouiCOM.ComboBoxColumn oCBB;
                                        oCBB = (SAPbouiCOM.ComboBoxColumn)oGrid.Columns.Item("U_IFC_ADR");
                                        while (!oRec.EoF)
                                            oCBB.ValidValues.Add(oRec.Fields.Item("Address").Value.ToString(), "");//, oRec.Fields.Item("Address").Value.ToString());
                                            oRec.MoveNext();
    When i click on the combobox, it's display the value and the description like this :
    value1 - Adr1
    value2 - Adr2
    i want to display only the description like the field "Ship To" in the folder "Logistics" in the Sales Order form.
    It is possible ?
    And what is the size limit of the parameter oCombobox.ValidValues.Add(ByVal Value As String, _
       ByVal Description As String _)
    Thanks for your response.
    Best Regards.
    Michael

    Hi Michael,
    actually you can't show only the description when you click into it.
    the lenght of the description is usually around 50.
    (but it depends also how long you made the value.)
    the best is to do it so:
    keep the value short with numbers
    and cut the description at 42 (to be on the safe side)
    lg David

  • How to get BP property description in query

    Hi,
    I need to retrieve the description of a BP property. I found the descriptions in the OCQG table, but can't figure out how to join this table with OCRD.
    I am trying to do something like this:
    SELECT T0.CardCode, T0.CardName, T0.QryGroup9, T1.GroupName FROM OCRD T0, OCQG T1
    Can I retrieve property descriptions some other way, or can anyone tell me how to join OCRD and OCQG (maybe there is some table in the middle)?
    Thanks,
    Johan

    Hi Mike,
    Sorry about the long long interval.
    I tried with the query you suggested, but slightly adapted (
    SELECT DISTINCT T0.QryGroup9, T1.GroupName FROM OCRD T0 LEFT OUTER JOIN OCQG T1 ON T0.GroupCode = T1.GroupCode
    ) but it only returns NULL for the descriptions.
    By now, I have also come across the need to find the description of item properties based on ItemCode. As far as I can tell the table with the descriptions is OITG. Again however again I can't seem to figure out how to join this table with OITM.
    In other words I need to do something like:
    SELECT OITM.ItemCode, OITM.ItemName, OITG.ItmsGrpNam FROM OITG SOMEHOW JOIN OITM ON SOMEHOW WHERE 'Y' IN (OITM.QryGroup1, OITM.QryGroup2, OITM.QryGroup3, OITM.QryGroup4, etc)
    Any help appreciated,
    Johan
    Edited by: Johan Hakkesteegt on Jun 3, 2008 9:26 AM

  • How to display links in the main page

    Here is a simple question from an EP beginner-
    I am working on a demo EP site for our company (EP 6.0 SP9).  After the user logs onto the Portal, I want to display a main page with standard Header and Nav bars, and then (in the inner page?) display a list of links to iViews.  The iViews are SAP transaction iViews and url iViews, most of which I have already created and they work fine in preview mode.
    The question is, how to I modify the main page to display the links and maybe a company logo?  Is this an addition to the framework page or something completely different?  In a previous life I created ASP/HTML/javascript pages so coding would not be a problem.
    Thanks in advance,
    Alan

    Hi Alan,
    If u want to display the iviews to a user you want to create  roles.
    First Create all the required iviews,then create pages. Add the iviews to the page. Create workset and add page to the work set. Then create roles and add the workset to the roles. Dont forget to set the Entry point property of role to YES.
    Go to User admin>> select the user to whom u want to show the iviews and assign the role u created to the user.
    Then log in as that user. The iviews will be displayed to the user.
    Regards
    gEorgE

  • How to display links in a text-field in Portal forms?

    In a database the content in a varchar2 field could include a link:
    'Shortname &lt;a ref="#" title="Full or long item name"&gt;Long name&lt;/a&gt;'
    In a Portal report this field is displayed like:
    Shortname {color:#0000ff}_Long name_
    {color}
    where the last part is a link. When pointing to this link with the mouse, the full item name is displayed. If this field is displayed in a Portal form, however, it is displayed exactly as written first:
    Shortname &lt;a ref="#" title="Full or long item name"&gt;Long name&lt;/a&gt;
    Could anybody tell how this field could be displayed as a link in Portal forms? The field itself does not need to be updated, it serves as an identifier for trailing fields in the details of a MD-form. If the long name should be displayed in the field, you would need to scroll horizontal to see the other details.

    Yes your point is clearer now. You wish to see an abridged form of a field data with the facility to see the full data when you hover on that data. just like what we see sometimes in hyperlinks.
    Both of the methods I told you work to display a modified data value* (without modifying them in the databse) and I floated them after testing. Have used slightly different functionalities in some applications a while back.
    To get the 'mouse hover' display, you may want to use the java-script event-handlers of the form elements.
    Both methods work with the premise that we do not want to change field data in DB; only displayed-data needs to be different.
    1. The idea to edit info using sql-queries or functions from default value attribute work is the main thing. how and what should we edit the data to produce is a plsql-coding problem. So for instance, for a data example like yours, the following works!
    assumption: the desired field is LINKS and is a column in PORTAL.TBL_TEST_FORMLINKS
    SELECT DECODE(LINKS, NULL,NULL,SUBSTR(LINKS,INSTR(LINKS,'>','1')+1, LENGTH(LINKS)-INSTR(LINKS,'<','2'))) FROM PORTAL.TBL_TEST_FORMLINKS
    If you need a different output or have a different requirement, then the example should be sufficient to guide you how to help yourself.
    2. The other case of javascript embedded html in an additional plsql code also works. One such example is this:
    <pre>
    BEGIN
    HTP.PRINT('<SCRIPT LANGUAGE="JavaScript1.1">
    // find the element you want to edit first;
    // hint: you may use this scheme and some basic jscript to extract the field LINKS : FORM_NAME.DEFAULT.LINKS.01
    // now use javascript to get its value; treat it to fit your requirement; and equate it back to the LINKS element;
    </SCRIPT>');
    EXCEPTION
    When Others THEN
    null;
    END;
    </pre>
    -- now follow my other instruction on FORM attributes in my second reply to see what you want to see.
    these hints should be more than enough for anyone familiar with these technologies.
    AMN

  • How to display Transaction Type & description ?

    Guys,
    I am using CRM 5.0. When I am in CRMD_ORDER Transaction and try to create a new order, I get a pop-up list to choose my transaction types. However it only displays the description of the transaction type and does not give me the transaction ID.
    Is there a way to display both in tow separate columns? For eg TSA  Telesales

    A.R.P,
    see if this helps.
    Click on <b>Customizing of local layout on the standard SAP toolbar. (last icon with green red blue vertical stripes) </b>
    From the context menu that opens, select the first option - <b> options </b>
    Go to the Expert tab and select the check boxes for :
    <b> Show Keys in All Dropdown list </b>
    <b> Sort Items by key </b>
    Then choose the apply push button and then the ok button.
    Julius

  • How do you link a drop down box to display content in read only field?

    For starters, I am a super novice at javascript, and I'm being asked to make some huge forms.
    For this form, I need to figure out how to display a corresponding description that I have typed up when a certain product is chosen in the read-only description field. Not only this, but the price of the product needs to also show up in the read-only price section. There are five different products to choose from.
    This has to be some big coding. I just don't have any javascript knowledge and it really confuses the heck out of me. :c
    Any help would be amazing. I don't want to have to abandon this project.

    For a text value you have to use a custom JavasScript. Where you place it and the code will depend upon when you want the value of the text field to change and how you have populated your combo boxes.

  • How to display URL images and URL link (html) from Smartforms?

    Hi Gurus,
    I'm having difficulty on how to display targeted URL images and URL link from the smartforms, after i sending it out as html mail. The mail i sent just can be preview as a plain text, which can't execute the html code that i put inside the smartforms itself. I follow a few step from this very useful blog.. Hopefully, you guys can give me some solutions or ideas on this.
    /people/pavan.bayyapu/blog/2005/08/30/sending-html-email-from-sap-crmerp -thanks to Pavan for his useful blog.
    My code is like this..
    <--- Start Code.
    FORM call_smartforms.
      DATA : lv_subject TYPE so_obj_des,
             lc_true(1) VALUE 'X',
             lw_control_parameters TYPE ssfctrlop,
             lw_output_options TYPE ssfcompop,
             lc_graphics(8) VALUE 'GRAPHICS',
             lw_xsfparam_line TYPE ssfxsfp,
             lc_extract(7) VALUE 'EXTRACT',
             lc_graphics_directory(18) VALUE 'GRAPHICS-DIRECTORY',
             lc_mygraphics(11) VALUE 'mygraphics/',
             lc_content_id(10) VALUE 'CONTENT-ID',
             lc_enable(6) VALUE 'ENABLE',
             lw_job_output_info TYPE ssfcrescl,
             lw_html_data TYPE trfresult,
             lw_graphics TYPE ssf_xsf_gr,
             lt_graphics TYPE tsf_xsf_gr,
             lv_html_xstr TYPE xstring,
             lw_html_raw LIKE LINE OF lw_html_data-content,
             lv_incode TYPE tcp00-cpcodepage VALUE '4110',
             lv_html_str TYPE string,
             lv_html_len TYPE i,
             lc_utf8(5) VALUE 'utf-8',
             lc_latin1(6) VALUE 'latin1',
             lv_offset TYPE i,
             lv_length TYPE i,
             lv_diff TYPE i,
             lt_soli TYPE soli_tab,
             lw_soli TYPE soli,
             lc_mime_helper TYPE REF TO cl_gbt_multirelated_service,
             lv_name TYPE mime_text VALUE 'sapwebform.htm',
             lv_xstr TYPE xstring,
             lw_raw TYPE bapiconten,
             lt_solix TYPE solix_tab,
             lw_solix TYPE solix,
             lv_filename TYPE string,
             lv_content_id TYPE string,
             lv_content_type TYPE w3conttype,
             lv_obj_len TYPE so_obj_len,
             lv_bmp TYPE so_fileext VALUE 'BMP',
             lv_description TYPE so_obj_des VALUE 'Graphic in BMP format',
             lc_doc_bcs TYPE REF TO cl_document_bcs,
             lc_bcs TYPE REF TO cl_bcs,
             lc_send_exception TYPE REF TO cx_root,
             lw_adsmtp TYPE lty_adsmtp,
             lv_mail_address TYPE ad_smtpadr,
             lc_recipient TYPE REF TO if_recipient_bcs,
             lc_send_request TYPE REF TO cl_bcs,
             lv_sent_to_all TYPE os_boolean.
      DATA : v_language TYPE sflangu VALUE 'E',
             v_e_devtype TYPE rspoptype.
      v_form_name = 'ZTEST_EMAIL'.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = v_form_name
        IMPORTING
          fm_name            = v_namef
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc = 0.
       break mhusin.
      ENDIF.
    starting here. ***
    Set title for the output
      lv_subject = 'Smartforms.'.
    Set control parameters to "no dialog"
      lw_control_parameters-no_dialog = lc_true.
    IF lw_service_subject-code = lc_fm1.
    *--- To get output device type
      CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
        EXPORTING
          i_language    = v_language
          i_application = 'SAPDEFAULT'
        IMPORTING
          e_devtype     = v_e_devtype.
      lw_output_options-tdprinter = v_e_devtype.
      lw_control_parameters-getotf = 'X'.
      IF sy-subrc = 0.
       break mhusin.
      ENDIF.
    Set output options
      lw_output_options-xsf        = lc_true.
      lw_output_options-xsfcmode   = lc_true.
      lw_output_options-xsfoutmode = 'A'.
      lw_output_options-xsfoutdev  = space.
      lw_output_options-xsfformat  = lc_true.
      lw_xsfparam_line-name  = lc_graphics.
      lw_xsfparam_line-value = lc_extract.
      APPEND lw_xsfparam_line TO lw_output_options-xsfpars.
      lw_xsfparam_line-name  = lc_graphics_directory.
      lw_xsfparam_line-value = lc_mygraphics.
      APPEND lw_xsfparam_line TO lw_output_options-xsfpars.
      lw_xsfparam_line-name  = lc_content_id.
      lw_xsfparam_line-value = lc_enable.
      APPEND lw_xsfparam_line TO lw_output_options-xsfpars.
    Get the smartform content
      CALL FUNCTION v_namef
        EXPORTING
          control_parameters   = lw_control_parameters
          output_options       = lw_output_options
    *pass other application specific parameters (eg order number, items ).
      IMPORTING
          job_output_info    = lw_job_output_info
      TABLES
          tt_tabh              = tt_tabh
          tt_tabb              = tt_tabb
          tt_tabf              = tt_tabf
      EXCEPTIONS
          formatting_error = 1
          internal_error   = 2
          send_error       = 3
          user_canceled    = 4
          OTHERS           = 5.
      IF sy-subrc = 0.
       break mhusin.
      ENDIF.
      lw_html_data  = lw_job_output_info-xmloutput-trfresult.
      lt_graphics[] = lw_job_output_info-xmloutput-xsfgr[].
      CLEAR lv_html_xstr.
      LOOP AT lw_html_data-content INTO lw_html_raw.
        CONCATENATE lv_html_xstr lw_html_raw INTO lv_html_xstr IN BYTE MODE.
      ENDLOOP.
      lv_html_xstr = lv_html_xstr(lw_html_data-length).
      CALL FUNCTION 'SCP_TRANSLATE_CHARS'
        EXPORTING
          inbuff       = lv_html_xstr
          incode       = lv_incode
          csubst       = lc_true
          substc_space = lc_true
        IMPORTING
          outbuff      = lv_html_str
          outused      = lv_html_len
        EXCEPTIONS
          OTHERS       = 1.
    *HACK THE HTML CODE GENERATED BY SMARTFORM TO MAKE THE
    *EXTERNAL IMAGES APPEAR AS <IMG> TAG IN HTML
      REPLACE ALL OCCURRENCES OF '<IMG' IN lv_html_str WITH '<IMG' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '/>' IN lv_html_str WITH '/>' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '</A>' IN lv_html_str WITH '' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '<' IN lv_html_str WITH '<' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '>' IN lv_html_str WITH '>' IGNORING CASE.
    CALL METHOD html_control - >load_mime_object
       EXPORTING
         object_id  = 'ZWN'
         object_url = 'ZWN.GIF'
       EXCEPTIONS
         OTHERS     = 1.
      REPLACE ALL OCCURRENCES OF lc_utf8 IN lv_html_str WITH lc_latin1.
    REPLACE ALL OCCURRENCES OF lc_utf8 IN lv_html_str WITH 'iso-8859-1'.
       break mhusin.
      lv_html_len = STRLEN( lv_html_str ).
      lv_offset = 0.
      lv_length = 255.
      WHILE lv_offset < lv_html_len.
        lv_diff = lv_html_len - lv_offset.
        IF lv_diff > lv_length.
          lw_soli-line = lv_html_str+lv_offset(lv_length).
        ELSE.
          lw_soli-line = lv_html_str+lv_offset(lv_diff).
        ENDIF.
        APPEND lw_soli TO lt_soli.
        ADD lv_length TO lv_offset.
      ENDWHILE.
      CREATE OBJECT lc_mime_helper.
      CALL METHOD lc_mime_helper->set_main_html
        EXPORTING
          content     = lt_soli
          filename    = lv_name
          description = lv_subject.
      LOOP AT lt_graphics INTO lw_graphics.
        CLEAR lv_xstr.
        LOOP AT lw_graphics-content INTO lw_raw.
          CONCATENATE lv_xstr lw_raw-line INTO lv_xstr IN BYTE MODE.
        ENDLOOP.
        lv_xstr = lv_xstr(lw_graphics-length).
        lv_offset = 0.
        lv_length = 255.
        CLEAR lt_solix[].
        WHILE lv_offset < lw_graphics-length.
          lv_diff = lw_graphics-length - lv_offset.
          IF lv_diff > lv_length.
            lw_solix-line = lv_xstr+lv_offset(lv_length).
          ELSE.
            lw_solix-line = lv_xstr+lv_offset(lv_diff).
          ENDIF.
          APPEND lw_solix TO lt_solix.
          ADD lv_length TO lv_offset.
        ENDWHILE.
        CONCATENATE lc_mygraphics lw_graphics-graphics text-001 INTO lv_filename.
        CONCATENATE lc_mygraphics lw_graphics-graphics text-001 INTO lv_content_id.
        lv_content_type = lw_graphics-httptype.
        lv_obj_len      = lw_graphics-length.
    *Add images to the email
        CALL METHOD lc_mime_helper->add_binary_part
          EXPORTING
            content      = lt_solix
            filename     = lv_filename
            extension    = lv_bmp
            description  = lv_description
            content_type = lv_content_type
            length       = lv_obj_len
            content_id   = lv_content_id.
      ENDLOOP.
      TRY.
          lv_subject = lv_subject.
          lc_doc_bcs = cl_document_bcs=>create_from_multirelated(
                   i_subject          = lv_subject
                   i_multirel_service = lc_mime_helper ).
        CATCH cx_document_bcs INTO lc_send_exception.
        CATCH cx_bcom_mime INTO lc_send_exception.
        CATCH cx_gbt_mime INTO lc_send_exception.
      ENDTRY.
    Create send request
      TRY.
          lc_bcs = cl_bcs=>create_persistent( ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
      TRY.
          lc_bcs->set_document( i_document = lc_doc_bcs ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
    Set-up email receiver
      lv_mail_address = '[email protected]'.
    TRANSLATE lv_mail_address TO UPPER CASE.
      TRY.
          lc_recipient = cl_cam_address_bcs=>create_internet_address(
              i_address_string = lv_mail_address ).
        CATCH cx_address_bcs INTO lc_send_exception.
      ENDTRY.
      TRY.
          lc_bcs->add_recipient( i_recipient = lc_recipient ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
    Send smartforms as HTML email
      TRY.
          lc_bcs->send( ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
      COMMIT WORK.
      WRITE:/ 'Mail sent'.
    ENDFORM.                    "call_smartforms
    End Code --->
    Thanks and Regards.

    1- put your images in a directory under the web app directory. Example: app/images/
    2- in your jsp, use: String file = application.getRealPath("/images/"); to get the images directory. See http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletContext.html#getRealPath(java.lang.String)
    3- it's not the right forum to post this kind of question. Post them in the JSP/Servlet JSTL forum instead

  • How to display message in Ajax Model pop-up extender/overlay on click of a link button

    I am dynamically create the link button using reapeter control and each link assign to different type of content.i want to show the content in  a overlay / Ajax modal pop-up extender. ( Content Type: Video/PDF/Text).
    I need to know how to display the content in overlay/Modal pop-up on click of the link button.

    Hi,
    According to your description, my understanding is that you want to display the content of Video/PDF/Text in a pop-up dialogue when clicking the link button.
    I suggest you can use the Jquery media plugin to open the file content in a pop up dialogue.
    Here is a detailed code demo for your reference:
    Jquery: Open PDF File in browser with Modal Popup using Jquery Media Plugin
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to display TEXT description from Documents tab of Product master in ISA

    Hi,
    We have product related PDF document attached with Product.
    I can access in CRM by Going
    Products--> Maintain Products.
    When I chose specific Product I can see Product related details.
    There are many tabs like "General", "Material", "Sales and Distributions", "Documents",  etc...
    "Documents" tab have 2 folders "Pictures" and "TEXTS".
    under "TEXT" folder we have PDF documents.
    it has short product name like "ASP009" and Description "ASP 009 Manual".
    When I click on any one I can see attached PDF document in Preview window in CRM.
    How I can access text description "ASP 009 Manual" on "ProductDetailsB2C.JSP" file.
    I want to display this "ASP 009 Manual" description on "ProductDetailsB2C.JSP".
    Is there any Standard Java class method available in ISA.
    I really appreciate any help on this and assign points to them for solution.
    Thanks in Advance.
    Ashish

    Here's the steps we use in our ProductDetailB2C.jsp (B2B uses same code in another file name I forget right now) to provide a link to our technical data sheets...this includes how to create a new document type in CRM as well as the code needed to display it on the ISA
    Step 1: Transaction OAC2, create Document Type example CRM_TECHDA
    Step 2: Transaction SPRO-> CRM -> Basic functions -> Content Management -> Define template for folders
    Step 3: Double click template PRODUCT_MATERIAL
    Step 4: Right-click Documents, Choose Create Folder
    (Make sure to input DOCUMENT TYPE(Properties TAB) = Step 1 value example CRM_TECHDA)
    Step 5: Add a new set of lines of code for each of the types of 'text' you have created to display as a link in the .jsp file(s), changing the CAPPED name to the appropriate name of your specific field below:
    <% if (currentItem.getAttribute("DOC_P_CRM_TECHDA") != null && !currentItem.getAttribute("DOC_P_CRM_TECHDA").equals("")) { %>
                   <tr>
                     <td colspan="2"><a href="<isa:imageAttribute guids="DOC_P_CRM_TECHDA,DOC_P_CRM_TECHDA" name="webCatItem" defaultImg="mimes/shared/no_pic.gif"/>" target="_new"><img src="<%=WebUtil.getMimeURL(pageContext, "b2c/mimes/images/pfeil_rechts_mit_rand_blau.gif") %>" alt="" border="0"> Technical Data Sheet</a></td>
                   </tr>
                   <% } %>
    Edited by: Mike Anecito on Jul 17, 2008 8:27 AM
    I forgot to add, that you could add the attribute information Sateesh talks about where we just use "Technical Data Sheet"
    on the third line of the code...we don't bother with the name of the file as you're needing since we had too many people
    naming them and the overall consistency was horrible.

  • How to display name of the table and the description and the table type

    Hi,
    Can you people tell me how to display the name of the table and the description and the table type (View, structure, etc...) used in the program.
    I want to display in a list.
    Kind Regards

    use this program
    TABLES : TSTC, tstct.
    TABLES : DD03l, DD02l.
    DATA : Program like sy-repid.
    DATA : BEGIN OF I_FINAL OCCURS 0,
    tabname LIKE dd02l-tabname,
    TABCLASS LIKE dd02l-tabCLASS,
    TEXT LIKE DD02T-DDTEXT,
    END OF I_FINAL.
    DATA : BEGIN of ITAB Occurs 0,
    name like dd02l-tabname,
    END OF ITAB.
    DATA : TCD(100) TYPE C.
    DATA : var1 LIKE dd02l-tabname.
    DATA : DESC LIKE TSTCT-TTEXT.
    selection-screen skip.
    SELECTION-SCREEN : BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
    PARAMETERS : r1 RADIOBUTTON GROUP r DEFAULT 'X'.
    Parameters : Tcode like sy-tcode.
    selection-screen skip.
    PARAMETERS : r2 RADIOBUTTON GROUP r.
    Parameters : Prog like sy-repid.
    SELECTION-SCREEN END OF BLOCK b2.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE text-001.
    select-options : Type for dd02l-tabclass .
    SELECTION-SCREEN END OF BLOCK B1 .
    at selection-screen.
    if r1 = 'X' and Tcode is initial.
    message e001(00) with 'Enter Transaction Code' .
    elseif r2 = 'X' and Prog is initial.
    message e001(00) with 'Enter Program Name' .
    endif.
    START-OF-SELECTION.
    if r1 = 'X'.
    Prog = ' '.
    select single * from TSTC where tcode = tcode.
    if sy-subrc = 0.
    program = TSTC-PGMNA.
    select single TTEXT from tstct into desc where tcode = tcode and SPRSL = 'E'.
    else.
    Write :/ 'Invalid Transaction Code'.
    exit.
    endif.
    elseif r2 = 'X'.
    Tcode = ' '.
    program = Prog.
    endif.
    CALL FUNCTION 'GET_TABLES'
    EXPORTING
    PROGNAME = Program
    TABLES
    TABLES_TAB = itab.
    if itab is initial.
    skip.
    skip.
    skip.
    skip.
    skip.
    WRITE :/40 'No Data Found' color 6 INTENSIFIED OFF.
    ELSE.
    PERFORM : categorize.
    endif.
    END-OF-SELECTION.
    LOOP AT I_FINAL.
    WRITE :/4 I_FINAL-tabname COLOR 2 INTENSIFIED OFF NO-GAP HOTSPOT ON, 35 I_FINAL-TABCLASS COLOR 2 INTENSIFIED OFF NO-GAP,
    50 I_FINAL-TEXT COLOR 2 INTENSIFIED OFF NO-GAP.
    ENDLOOP.
    AT LINE-SELECTION.
    TCD = SY-LISEL.
    var1 = TCD+3(30).
    set parameter id 'DTB' FIELD VAR1.
    call transaction 'SE11' and skip first screen.
    TOP-OF-PAGE.
    WRITE :/45 'TABLE DETAILS RELATED TO THE TRANSACTION CODE' COLOR 7 .
    WRITE :/2 'DATE : ' COLOR 1, SY-DATUM COLOR 1 INTENSIFIED OFF NO-GAP.
    WRITE :/2 'TRANSACTION CODE : ' COLOR 1, Tcode COLOR 1 INTENSIFIED OFF NO-GAP.
    WRITE :/2 'TCODE DESCRIPTION : ' COLOR 1, desc COLOR 1 INTENSIFIED OFF NO-GAP.
    WRITE :/2 'PROGRAM NAME : ' COLOR 1, PROGRAM COLOR 1 INTENSIFIED OFF NO-GAP.
    SKIP 1.
    WRITE :/1(140) SY-ULINE.
    WRITE :/4 'TABLE NAME' COLOR 5 INTENSIFIED OFF NO-GAP,35 'TABLE TYPE' COLOR 5 INTENSIFIED OFF NO-GAP,
    55 'DESCRIPTION' COLOR 5 INTENSIFIED OFF NO-GAP.
    WRITE :/1(140) SY-ULINE.
    *& Form categorize
    text
    --> p1 text
    <-- p2 text
    FORM categorize .
    SELECT dd02ltabname dd02ltabCLASS DD02T~DDTEXT
    FROM dd02l INNER JOIN DD02T ON dd02ltabname = dd02Ttabname
    INTO TABLE I_FINAL
    FOR ALL ENTRIES IN itab
    WHERE DD02L~TABNAME = ITAB-NAME AND TABCLASS IN TYPE AND DDLANGUAGE = 'E'.
    if sy-subrc <> 0.
    skip.
    skip.
    skip.
    skip.
    skip.
    WRITE :/40 'No Data Found' color 6 INTENSIFIED OFF.
    endif.

Maybe you are looking for

  • Excel sumifs and the powerpivot version help please

    very new to power pivot, can you help please? In an excel table I was able to do the following... =SUMIFS([GWP],[Date],[@Date],[PolType],[@PolType]) I have 60k rows where the above totals all GWP where the date & policy type match the individual reco

  • Teststand 4.0 log in password how to reset.

    Hello Teststand gurus, currently I'm using teststand version 4.0. I have set the administrator log in password for the past 2 weeks and I forgot the password. Is there any way to reset it? Thanks guys.  newbie here. Solved! Go to Solution.

  • $0.00 invoices coming up as owing?

    Hi there, We use the Unpaid invoices section to chase owing accounts but every $0.00 invoice (for replacements / samples) is showing which is getting annoying as we have been using BC for over a year. We can't delete the invoice as we need the stock

  • Creating spreadsheet from data files

    Why do I get the numbers in square brackets e.g. f[0].p1[0].Name[0], when I collate data using the 'Create spreadsheet from data files' command. I only want to export object names as column titles in Excel. This driving me mad!

  • Automatic word wrapping in context help window?

    Hello together I don't get the way how labview does the automatic word wrapping in the context help window. Does somebody know that? regards Woodi