TagLib for HTMLB in Wizard

Hi all,
I have recently found out that there is a way to use the Eclipse wizards to add the <component-profile> tags fot HTMLB use in JSP. There is a file named portalappConfig.xml under <%INSTALL_PATH%>
\SAP\JDT\eclipse\plugins\com.sap.ep.applicationDevelopment.
If you add the following lines under <component-profile>:
<property name="tagLib">
     <defaultValue value="/SERVICE/htmlb/taglib/htmlb.tld"/>
     <mandatory value="false"/>
     <description>HTLMB tagLib necessary for HTMLB tags in JSP projects.</description>
</property>
Then you can use the "Add property in -> component-profile -> Add standard... -> tabLib" when opening the portalapp.xml in your application and selecting the "Components" Guide.
I also found out that there is a way to permanently add the taglib in the JSP template that the wizard creates for you. Just chande the second line of code in the file "NewJSPDynPage_JSP.xml" under <%INSTALL_PATH%>
\SAP\JDT\eclipse\plugins\com.sap.ep.applicationDevelopment\templates.
From:
<template>
To:
<template>&lt;%@ taglib uri= "tagLib" prefix="hbj" %&gt;
I hope this helps a lot of people having trouble when developing HTMLB applications in NWDS.
Best regards,
Ivan

Good info Ivan. Thanks..
Sending you virtual points for this..

Similar Messages

  • Errors in JSP file for htmlb code - CE 7.1

    Hi Experts,
    I am trying  created simple JSP dynpages application in NWDS 7.1 & CE 7.1.
    I am getting errors for HTMLB  code like:
    cannot find tag Library descriptor for tagLib
    In JSP page i wrote simple htmlb code like:
    <%@taglib uri="tagLib" prefix="htmlb"%>
    <htmlb:content id="myContext">
    <htmlb:page title="PageTitle">
    <htmlb:form id="myFormId">
    <htmlb:inputField id="inf1" type="String" width="125" visible="true"
    required="true" />
    </htmlb:form>
    </htmlb:page>
    </htmlb:content>
    {/code}
    For HTMLB libraries added 2 jar file in lib folder
    /PORTAL-INF/lib   com.sap.portal.htmlb.jar ; &   com.sapportals.htmlb.jar
    After adding set the Java build path for Library jar file also.
    In portalapp.xml -
    <?xml version="1.0"; encoding="UTF-8"?>
    <application>
      <application-config>
       <property name="startup" value="true"/>
        <property name="SharingReference" value="com.sap.portal.htmlb";/>
      </application-config>
      <components>
        <component name="Test_Jsp">
          <component-config>
            <property name="ClassName" value="com.Test_Jsp.Test_Jsp";/>
            <property name="ComponentType" value="jspnative"/>
            <property name="JSP" value="pagelet/Output.jsp";/>
          </component-config>
          <component-profile>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld";/>
          </component-profile>
        </component>
      </components>
      <services/>
    </application>
    {/code}
    Please any one help to correct this errors............
    Regards,
    Satya

    Hi,
    You need not add com.sap.portal.htmlb.jar and com.sapportals.htmlb.jar to /PORTAL-INF/lib as the classes will be available at runtime through com.sap.portal.htmlb SharingReference. So remove the htmlb jars from /PORTAL-INF/lib.
    Correct the value of tagLib property to /SERVICE/com.sap.portal.htmlb/taglib/htmlb.tld
    Deploy and check if this helps.
    I see alot of unnecessary semicolons in your portalapp.xml, I think you just added them inorder to be able to post them here.
    Regards,
    Praveen Gudapati

  • URI path for htmlb.tld

    Dear Experts
    I am woking in NWDS 7.1 and SAP-EP 7.1. In this environment I have to create and deploy a simple jspDynpage with htmlb tags.
    For that I have created a JSPDynpage component and a jsp page. In my jsp page I have witten the taglib directive as
    "<%@ taglib uri= "tagLib" prefix="hbj" %>"
    And in my portalApps.xml I have given the path for htmlb.tld as
    <component-profile>
                    <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
    </component-profile>
    The problem is, my application is not getting the tld file from the specified path in portalapps.xml.
    This code is working fine in  NWDS 7.0 and SAP-EP 7.0 environment.
    I am not sure if the path of the htmlb.tld file got changed in SAP-EP 7.1 or not, If so could you please give the correct path?
    Appreciate your response
    Thanks & Regards
    Shanmukha Rao Banisetti.

    hi,
    refer  this link
    /message/6473475#6473475 [original link is broken]
    mean while i check the possible areas to resolve the issue
    bvr

  • Is there any reference site for 'HTMLB'?

    Hi.
    I just curious about ALL attribute of HTMLB
    so looking for any API or reference site for HTMLB
    like 'http://msdn.microsoft.com/workshop/author/html/reference/elements.asp'
    this is just for HTML though.
    I will apprciate if show me link for any document too.
    thanks.

    check out these threads
    htmlb documentation
    Re: Documentation for the PHTMLB library
    Regards
    Raja

  • Tab index for htmlB controls for java

    Hi,
    How can we set the tab index for HtmlB Conrols for java.
    Thanks,
    Padmaja

    Hi Padmaja,
    I'd suggest you use the following:
    TabStrip myTabStrip = new TabStrip("myTabStrip");
    TabStripItem myItem = myTabStrip.addTab(1); <=== Tab index specified as 1
    Index position can be specified using the addTab(<index>) method.
    Regards,
    Divya

  • Any external tool for HTMLB tags

    Hi all,
    we are having macromedia dreamweaver software for html tags
    i.e. it is a ready made software to develop HTML page, simply we will drag and drop desired fields and code will be generated automatically. My question is that is their such any ready made software for HTMLB, so we can use it in developing BSPs application.....if there are any such software plz send me the link to download the software....i will be thank u by giving points...
    thanks,
    Ali.

    Hi.
    This eclipse tool might have some support for BSP.
    http://www.ceon.com.au/abapeclipse/features.php
    I havn't tested it myself, but screenshots show how BSP editing is done with a preview window and some code completion.
    Perhaps not as nice HTML editor as dreamweaver but much nicer for ABAP development.
    Regards, Mikael

  • Tutorial or manual for HTMLB tag

    Hello,
    have you e manual or tutorial that explain tags for htmlb language, for example htmlb:radiobutton mode.
    Regards
    Maria

    Hi maria,
    Yes i can tell you the steps where you can find the documentation of HTMLB ttags
    using SE80 -> Tag Browser -> BSP Extensions -> Transportable -> htmlb
    and also check the [link|http://www.sdn.sap.com/irj/sdn?contenttype=url&content=http%253a//forums.sdn.sap.com/thread.jspa%253fthreadid%253d35858]
    This is defintely solve ur problem
    Cheers,
    bhavana
    Edited by: Bhavana Amar on Sep 13, 2010 7:13 PM

  • Re:Using css for HTMLB ui elements

    Hi All,
    I have used css for html elements and i got it.But if i do the same for htmlb elements its not working.I have searched for many blogs and forums but i couldn't get it. Is there any procedure to apply the css for htmlb element.
    Thanks in advance

    Hi Margaret.,
    If u post this thread in web dynpro ABAP forum then u may get some use ful help..!! As per my concern., whatever u like go for tat, which will give u more work satisfaction.,  pls go through this link and post it there.,
    [Web DynPro ABAP Forum|Web Dynpro ABAP;
    Thanks & Regards
    Kiran

  • 'how to code for table control wizard in module pool program

    Hi Gurus,
    Please provide me a sample code of table control wizard...
    Thanks in advance!!!!
    Regards,
    Kranthi

    Hi Kranti,
    check this code... it should be helpful
    *& Module pool       Z_TABLE_CONTROL_WIZARD_DEMO                       *
    PROGRAM  z_table_control_wizard_demo             .
    DATA: BEGIN OF lt_vbak OCCURS 0,
           flag  TYPE c,
           vbeln TYPE vbeln_va,
           netwr TYPE netwr,
           kunnr TYPE kunnr,
          END OF lt_vbak.
    DATA: sfkunnr TYPE kunnr.
    *&spwizard: declaration of tablecontrol 'TCONTROL' itself
    CONTROLS: tcontrol TYPE TABLEVIEW USING SCREEN 9000.
    *&spwizard: lines of tablecontrol 'TCONTROL'
    DATA:     g_tcontrol_lines  LIKE sy-loopc.
    DATA:     ok_code LIKE sy-ucomm.
    *&spwizard: output module for tc 'TCONTROL'. do not change this line!
    *&spwizard: update lines for equivalent scrollbar
    MODULE tcontrol_change_tc_attr OUTPUT.
      DESCRIBE TABLE lt_vbak LINES tcontrol-lines.
    ENDMODULE.                    "TCONTROL_change_tc_attr OUTPUT
    *&spwizard: output module for tc 'TCONTROL'. do not change this line!
    *&spwizard: get lines of tablecontrol
    MODULE tcontrol_get_lines OUTPUT.
      g_tcontrol_lines = sy-loopc.
    ENDMODULE.                    "TCONTROL_get_lines OUTPUT
    *&spwizard: input module for tc 'TCONTROL'. do not change this line!
    *&spwizard: modify table
    MODULE tcontrol_modify INPUT.
      MODIFY lt_vbak
        INDEX tcontrol-current_line.
    ENDMODULE.                    "TCONTROL_modify INPUT
    *&spwizard: input modul for tc 'TCONTROL'. do not change this line!
    *&spwizard: mark table
    MODULE tcontrol_mark INPUT.
      DATA: g_tcontrol_wa2 LIKE LINE OF lt_vbak.
      IF tcontrol-line_sel_mode = 1.
        LOOP AT lt_vbak INTO g_tcontrol_wa2
          WHERE flag = 'X'.
          g_tcontrol_wa2-flag = ''.
          MODIFY lt_vbak
            FROM g_tcontrol_wa2
            TRANSPORTING flag.
        ENDLOOP.
      ENDIF.
      MODIFY lt_vbak
        INDEX tcontrol-current_line
        TRANSPORTING flag.
    ENDMODULE.                    "TCONTROL_mark INPUT
    *&spwizard: input module for tc 'TCONTROL'. do not change this line!
    *&spwizard: process user command
    MODULE tcontrol_user_command INPUT.
      ok_code = sy-ucomm.
      PERFORM user_ok_tc USING    'TCONTROL'
                                  'LT_VBAK'
                                  'FLAG'
                         CHANGING ok_code.
      sy-ucomm = ok_code.
    ENDMODULE.                    "TCONTROL_user_command INPUT
    *   INCLUDE TABLECONTROL_FORMS                                         *
    *&      Form  USER_OK_TC                                               *
    FORM user_ok_tc USING    p_tc_name TYPE dynfnam
                             p_table_name
                             p_mark_name
                    CHANGING p_ok      LIKE sy-ucomm.
    *&SPWIZARD: BEGIN OF LOCAL DATA----------------------------------------*
      DATA: l_ok              TYPE sy-ucomm,
            l_offset          TYPE i.
    *&SPWIZARD: END OF LOCAL DATA------------------------------------------*
    *&SPWIZARD: Table control specific operations                          *
    *&SPWIZARD: evaluate TC name and operations                            *
      SEARCH p_ok FOR p_tc_name.
      IF sy-subrc <> 0.
        EXIT.
      ENDIF.
      l_offset = STRLEN( p_tc_name ) + 1.
      l_ok = p_ok+l_offset.
    *&SPWIZARD: execute general and TC specific operations                 *
      CASE l_ok.
        WHEN 'INSR'.                      "insert row
          PERFORM fcode_insert_row USING    p_tc_name
                                            p_table_name.
          CLEAR p_ok.
        WHEN 'DELE'.                      "delete row
          PERFORM fcode_delete_row USING    p_tc_name
                                            p_table_name
                                            p_mark_name.
          CLEAR p_ok.
        WHEN 'P--' OR                     "top of list
             'P-'  OR                     "previous page
             'P+'  OR                     "next page
             'P++'.                       "bottom of list
          PERFORM compute_scrolling_in_tc USING p_tc_name
                                                l_ok.
          CLEAR p_ok.
    *     WHEN 'L--'.                       "total left
    *       PERFORM FCODE_TOTAL_LEFT USING P_TC_NAME.
    *     WHEN 'L-'.                        "column left
    *       PERFORM FCODE_COLUMN_LEFT USING P_TC_NAME.
    *     WHEN 'R+'.                        "column right
    *       PERFORM FCODE_COLUMN_RIGHT USING P_TC_NAME.
    *     WHEN 'R++'.                       "total right
    *       PERFORM FCODE_TOTAL_RIGHT USING P_TC_NAME.
        WHEN 'MARK'.                      "mark all filled lines
          PERFORM fcode_tc_mark_lines USING p_tc_name
                                            p_table_name
                                            p_mark_name   .
          CLEAR p_ok.
        WHEN 'DMRK'.                      "demark all filled lines
          PERFORM fcode_tc_demark_lines USING p_tc_name
                                              p_table_name
                                              p_mark_name .
          CLEAR p_ok.
    *     WHEN 'SASCEND'   OR
    *          'SDESCEND'.                  "sort column
    *       PERFORM FCODE_SORT_TC USING P_TC_NAME
    *                                   l_ok.
      ENDCASE.
    ENDFORM.                              " USER_OK_TC
    *&      Form  FCODE_INSERT_ROW                                         *
    FORM fcode_insert_row
                  USING    p_tc_name           TYPE dynfnam
                           p_table_name             .
    *&SPWIZARD: BEGIN OF LOCAL DATA----------------------------------------*
      DATA l_lines_name       LIKE feld-name.
      DATA l_selline          LIKE sy-stepl.
      DATA l_lastline         TYPE i.
      DATA l_line             TYPE i.
      DATA l_table_name       LIKE feld-name.
      FIELD-SYMBOLS <tc>                 TYPE cxtab_control.
      FIELD-SYMBOLS <table>              TYPE STANDARD TABLE.
      FIELD-SYMBOLS <lines>              TYPE i.
    *&SPWIZARD: END OF LOCAL DATA------------------------------------------*
      ASSIGN (p_tc_name) TO <tc>.
    *&SPWIZARD: get the table, which belongs to the tc                     *
      CONCATENATE p_table_name '[]' INTO l_table_name. "table body
      ASSIGN (l_table_name) TO <table>.                "not headerline
    *&SPWIZARD: get looplines of TableControl                              *
      CONCATENATE 'G_' p_tc_name '_LINES' INTO l_lines_name.
      ASSIGN (l_lines_name) TO <lines>.
    *&SPWIZARD: get current line                                           *
      GET CURSOR LINE l_selline.
      IF sy-subrc <> 0.                   " append line to table
        l_selline = <tc>-lines + 1.
    *&SPWIZARD: set top line                                               *
        IF l_selline > <lines>.
          <tc>-top_line = l_selline - <lines> + 1 .
        ELSE.
          <tc>-top_line = 1.
        ENDIF.
      ELSE.                               " insert line into table
        l_selline = <tc>-top_line + l_selline - 1.
        l_lastline = <tc>-top_line + <lines> - 1.
      ENDIF.
    *&SPWIZARD: set new cursor line                                        *
      l_line = l_selline - <tc>-top_line + 1.
    *&SPWIZARD: insert initial line                                        *
      INSERT INITIAL LINE INTO <table> INDEX l_selline.
      <tc>-lines = <tc>-lines + 1.
    *&SPWIZARD: set cursor                                                 *
      SET CURSOR LINE l_line.
    ENDFORM.                              " FCODE_INSERT_ROW
    *&      Form  FCODE_DELETE_ROW                                         *
    FORM fcode_delete_row
                  USING    p_tc_name           TYPE dynfnam
                           p_table_name
                           p_mark_name   .
    *&SPWIZARD: BEGIN OF LOCAL DATA----------------------------------------*
      DATA l_table_name       LIKE feld-name.
      FIELD-SYMBOLS <tc>         TYPE cxtab_control.
      FIELD-SYMBOLS <table>      TYPE STANDARD TABLE.
      FIELD-SYMBOLS <wa>.
      FIELD-SYMBOLS <mark_field>.
    *&SPWIZARD: END OF LOCAL DATA------------------------------------------*
      ASSIGN (p_tc_name) TO <tc>.
    *&SPWIZARD: get the table, which belongs to the tc                     *
      CONCATENATE p_table_name '[]' INTO l_table_name. "table body
      ASSIGN (l_table_name) TO <table>.                "not headerline
    *&SPWIZARD: delete marked lines                                        *
      DESCRIBE TABLE <table> LINES <tc>-lines.
      LOOP AT <table> ASSIGNING <wa>.
    *&SPWIZARD: access to the component 'FLAG' of the table header         *
        ASSIGN COMPONENT p_mark_name OF STRUCTURE <wa> TO <mark_field>.
        IF <mark_field> = 'X'.
          DELETE <table> INDEX syst-tabix.
          IF sy-subrc = 0.
            <tc>-lines = <tc>-lines - 1.
          ENDIF.
        ENDIF.
      ENDLOOP.
    ENDFORM.                              " FCODE_DELETE_ROW
    *&      Form  COMPUTE_SCROLLING_IN_TC
    *       text
    *      -->P_TC_NAME  name of tablecontrol
    *      -->P_OK       ok code
    FORM compute_scrolling_in_tc USING    p_tc_name
                                          p_ok.
    *&SPWIZARD: BEGIN OF LOCAL DATA----------------------------------------*
      DATA l_tc_new_top_line     TYPE i.
      DATA l_tc_name             LIKE feld-name.
      DATA l_tc_lines_name       LIKE feld-name.
      DATA l_tc_field_name       LIKE feld-name.
      FIELD-SYMBOLS <tc>         TYPE cxtab_control.
      FIELD-SYMBOLS <lines>      TYPE i.
    *&SPWIZARD: END OF LOCAL DATA------------------------------------------*
      ASSIGN (p_tc_name) TO <tc>.
    *&SPWIZARD: get looplines of TableControl                              *
      CONCATENATE 'G_' p_tc_name '_LINES' INTO l_tc_lines_name.
      ASSIGN (l_tc_lines_name) TO <lines>.
    *&SPWIZARD: is no line filled?                                         *
      IF <tc>-lines = 0.
    *&SPWIZARD: yes, ...                                                   *
        l_tc_new_top_line = 1.
      ELSE.
    *&SPWIZARD: no, ...                                                    *
        CALL FUNCTION 'SCROLLING_IN_TABLE'
             EXPORTING
                  entry_act             = <tc>-top_line
                  entry_from            = 1
                  entry_to              = <tc>-lines
                  last_page_full        = 'X'
                  loops                 = <lines>
                  ok_code               = p_ok
                  overlapping           = 'X'
             IMPORTING
                  entry_new             = l_tc_new_top_line
             EXCEPTIONS
    *              NO_ENTRY_OR_PAGE_ACT  = 01
    *              NO_ENTRY_TO           = 02
    *              NO_OK_CODE_OR_PAGE_GO = 03
                  OTHERS                = 0.
      ENDIF.
    *&SPWIZARD: get actual tc and column                                   *
      GET CURSOR FIELD l_tc_field_name
                 AREA  l_tc_name.
      IF syst-subrc = 0.
        IF l_tc_name = p_tc_name.
    *&SPWIZARD: et actual column                                           *
          SET CURSOR FIELD l_tc_field_name LINE 1.
        ENDIF.
      ENDIF.
    *&SPWIZARD: set the new top line                                       *
      <tc>-top_line = l_tc_new_top_line.
    ENDFORM.                              " COMPUTE_SCROLLING_IN_TC
    *&      Form  FCODE_TC_MARK_LINES
    *       marks all TableControl lines
    *      -->P_TC_NAME  name of tablecontrol
    FORM fcode_tc_mark_lines USING p_tc_name
                                   p_table_name
                                   p_mark_name.
    *&SPWIZARD: EGIN OF LOCAL DATA-----------------------------------------*
      DATA l_table_name       LIKE feld-name.
      FIELD-SYMBOLS <tc>         TYPE cxtab_control.
      FIELD-SYMBOLS <table>      TYPE STANDARD TABLE.
      FIELD-SYMBOLS <wa>.
      FIELD-SYMBOLS <mark_field>.
    *&SPWIZARD: END OF LOCAL DATA------------------------------------------*
      ASSIGN (p_tc_name) TO <tc>.
    *&SPWIZARD: get the table, which belongs to the tc                     *
      CONCATENATE p_table_name '[]' INTO l_table_name. "table body
      ASSIGN (l_table_name) TO <table>.                "not headerline
    *&SPWIZARD: mark all filled lines                                      *
      LOOP AT <table> ASSIGNING <wa>.
    *&SPWIZARD: access to the component 'FLAG' of the table header         *
        ASSIGN COMPONENT p_mark_name OF STRUCTURE <wa> TO <mark_field>.
        <mark_field> = 'X'.
      ENDLOOP.
    ENDFORM.                                          "fcode_tc_mark_lines
    *&      Form  FCODE_TC_DEMARK_LINES
    *       demarks all TableControl lines
    *      -->P_TC_NAME  name of tablecontrol
    FORM fcode_tc_demark_lines USING p_tc_name
                                     p_table_name
                                     p_mark_name .
    *&SPWIZARD: BEGIN OF LOCAL DATA----------------------------------------*
      DATA l_table_name       LIKE feld-name.
      FIELD-SYMBOLS <tc>         TYPE cxtab_control.
      FIELD-SYMBOLS <table>      TYPE STANDARD TABLE.
      FIELD-SYMBOLS <wa>.
      FIELD-SYMBOLS <mark_field>.
    *&SPWIZARD: END OF LOCAL DATA------------------------------------------*
      ASSIGN (p_tc_name) TO <tc>.
    *&SPWIZARD: get the table, which belongs to the tc                     *
      CONCATENATE p_table_name '[]' INTO l_table_name. "table body
      ASSIGN (l_table_name) TO <table>.                "not headerline
    *&SPWIZARD: demark all filled lines                                    *
      LOOP AT <table> ASSIGNING <wa>.
    *&SPWIZARD: access to the component 'FLAG' of the table header         *
        ASSIGN COMPONENT p_mark_name OF STRUCTURE <wa> TO <mark_field>.
        <mark_field> = space.
      ENDLOOP.
    ENDFORM.                                          "fcode_tc_mark_lines
    *&      Module  STATUS_9000  OUTPUT
    *       text
    MODULE status_9000 OUTPUT.
      SET PF-STATUS 'S9000'.
      SET TITLEBAR 'T9000'.
    ENDMODULE.                 " STATUS_9000  OUTPUT
    *&      Module  USER_COMMAND_9000  INPUT
    *       text
    MODULE user_command_9000 INPUT.
      CASE sy-ucomm.
        WHEN 'BACK' OR 'EXIT' OR 'CANCEL'.
          LEAVE TO SCREEN 0.
        WHEN 'DISP'.
          SELECT vbeln netwr kunnr INTO CORRESPONDING FIELDS OF TABLE lt_vbak
          FROM vbak
          WHERE kunnr = sfkunnr.
    *    LEAVE TO LIST-PROCESSING [AND RETURN TO SCREEN <nnnn>].
    *    By default, the dialog processor returns to the PBO processing of
    *    the screen from which the list processor was called. The optional
    *    addition AND RETURN TO SCREEN allows you to specify a different
    *    screen in the current screen sequence at whose PBO event you want
    *    to resume processing.
        when 'LIST'.
        LEAVE TO LIST-PROCESSING.
        WRITE:/ 'Time  :', SY-UZEIT.
        LOOP AT LT_VBAK.
        WRITE:/ LT_VBAK-VBELN,
                LT_VBAK-NETWR,
                LT_VBAK-KUNNR.
        ENDLOOP.
        WHEN 'SUBM'.
    *& You can call executable programs from other ABAP programs using the
    *& following statement:
    *& SUBMIT <rep>|(<field>) [AND RETURN] [<options>].
          SUBMIT z_submit_report VIA SELECTION-SCREEN AND RETURN.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_9000  INPUT
                                                     TABLE CONTROL WIZARD SE51 CODE
    PROCESS BEFORE OUTPUT.
    *&spwizard: pbo flow logic for tablecontrol 'TCONTROL'
      module TCONTROL_change_tc_attr.
    *&spwizard: module TCONTROL_change_col_attr.
      loop at   LT_VBAK
           with control TCONTROL
           cursor TCONTROL-current_line.
        module TCONTROL_get_lines.
    *&spwizard:   module TCONTROL_change_field_attr
      endloop.
    MODULE STATUS_9000.
    PROCESS AFTER INPUT.
    *&spwizard: pai flow logic for tablecontrol 'TCONTROL'
      loop at LT_VBAK.
        chain.
          field LT_VBAK-VBELN.
          field LT_VBAK-NETWR.
          field LT_VBAK-KUNNR.
          module TCONTROL_modify on chain-request.
        endchain.
        field LT_VBAK-FLAG
          module TCONTROL_mark on request.
      endloop.
      module TCONTROL_user_command.
    *&spwizard: module TCONTROL_change_tc_attr.
    *&spwizard: module TCONTROL_change_col_attr.
    MODULE USER_COMMAND_9000.
    regards
    padma

  • Withholding Tax for Document Generation Wizard

    Hi,
                              I have defined Withholding tax for my customers.When I try to create the A/R Invoices through Doc.Generation Wizard,the system is giving the error message-'Withholding tax is missing.'But I am unable to assign any W/Holding tax in the delivery.Can somebody give suggestions?
                   Thank u.
                    Regards,
                    Sekar

    Hi Sekar,
    I Reproduced the same scenario till delivery and used Doc. Gen wiz  as target document as A/R Invoice it worked fine.
    Settings BP and Item both we set to Witholiding tax Liable. The Invoice had withholdig tax amout added generated by the DGW.
    Could you check in for the list of BP in DGW (Document generation wizard)
    Business Partner --> Accounting tab --> Tax sub-tab --> WT taxes allowed and check if  you have one WT checked.
    Let meknow if this works.
    Regards,
    Rakesh

  • Sequence for tax payment wizard

    Hello experts
                  I want to make payment of  excise duty through tax payment wizard. For this sequence has to defined for each location in respect of various documents.For what all document i have to assign sequence numbering for excise.
    regards
    manoj

    hi,
    Sequence is used to mantain numbering series for exciable material for various locations.check below link for detailed information about sequence number
    https://websmp205.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_HIER_KEY=701100035871000529280&_OBJECT=011000358700000267942008E&_SCENARIO=01100035870000000183&

  • Any new requirements for LS publish wizard in VS2013 update 4?

    Hi!
    Since I have some troubles when trying to publish my upgraded app (SL Desktop OOB) to win2012 server IIS, and customer service of that specific provider couldn't help, I'm gonna try to ask here.. 
    So i have standard cPanel web interface, and in remote publish settings I allowed to use remote publishing.. now when I try to publish directly from LS I'm getting this error:
    Could not complete an operation with the specified provider ("content path")
    when connecting using the web management service.
    This can occur if the server administrator has not authorized the user for
    this operation.
    but after contacting their customer service they said that they gave me that permission, and also they CAN connect to specific server with same settings BUT from VS2012.. so I'm now buffled and don't know what to do.. I can manually import package to that
    server (using remote IIS manager which allows me to connect and to work on their server with SAME SETTINGS which are used in VS2013 LS publish wizard), but boy, I'm loosing twice more time just to do that procedure when importing package..
    any ideas? maybe its some hotfix around, something to install on their sever or my machine (just to notice that I was trying to publish from 2 different machines but with same VS2013 versions installed)..
    tnx in advance..
    Kivito
    Nobody expects the Spanish Inquisition! (M.P.F.C.)

    HI Kivito,
    According to the error message above, this issue is related to your service provider.
    You can also see the
    Diagnosing Problems in a Deployed 3-Tier LightSwitch Application for some methods to track down the problem.
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Set default file for htmlb:fileUpload ?

    I use htmlb:fileUpload to let the user select a file from the file system.
    Is it possible to write a start value into the textbox??
    For example, I'd like to write "C:\Windows\text.txt" into the inputField when the page is first shown.

    <i>> I'd like to write "C:\Windows\text.txt"</i>
    In short words: this is not allowed because it is not secure.
    Nobody but user itself can changer something in the file upload control.
    Consider the example
    <fileupload default="C:\Windows\passwords.etc">
    and autosubmit

  • JSP Taglib for RSS

    Just wondering if anyone else is having better luck - been working thru:
    http://developer.java.sun.com/developer/technicalArticles/javaserverpages/rss_utilities/
    Each time I try and parse an RSS file I get the following trace:
    <rss>
    <channel>
    <title>
    </title>
    <link>
    </link>
    <description>
    </description>
    </channel>
    <item>
    INFO: items does not exist or method signature is incorrect
    java.lang.NoSuchMethodException
    at java.lang.Class.getMethod0(Native Method)
    at java.lang.Class.getMethod(Class.java:888)
    at com.sun.cnpi.rss.handlers.DefaultElementHandler.startElement DefaultElementHandler.java:91)
    at com.sun.cnpi.rss.handlers.DocumentHandler.startElement(DocumentHandler.java:98)
    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1477)
    ... rest of stack trace.
    This is tried with 5 or 6 different RSS feeds (0.91 and 2.0) and with both crimson and the latest xerces parsers (stacktrace is the same apart from the parser specific parts - it's always in com.sun.cnpi.rss.handlers.DocumentHandler.startElement(DocumentHandler.java:98)
    It appears to be trying to call a method based on the fact that it has seen an items tag (which it hasn't - it's an item tag).
    The JSP:
    <%@ taglib uri="/rssutils.tld" prefix="rss" %>
    <rss:feed
    url="path-to-feed"
    feedId="intranetRT"/>
    <h2>"><rss:channelTitle feedId="intranetRT"/></a></h2>
    <rss:forEachItem feedId="intranetRT">
    <h3><a href="<rss:itemLink feedId="intranetRT"/>"><rss:itemTitle feedId="intranetRT"/></a></h3>
    <div class="item">
    <p><rss:itemDescription feedId="intranetRT"/></p>
    </div>
    </rss:forEachItem>
    Maybe of interest - all tried RSS streams work fine for various other RSS readers and return valid from 2 different validators.
    Hints anyone?

    I try using this tag library, and I get the following on my page:
    java.lang.ClassNotFoundException: com.cj.rss.objVariable
    as the root cause for this excemption:
    org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: com.cj.rss.objVariable
    Do I have a bad "path" set up somewhere? Here's my code:
    <%@ taglib uri="/WEB-INF/lib/taglib.tld" prefix="c" %>
    <html>
    <head><title>Java Feed</title></head>
    <body>
    <%-- <jsp:useBean id="beanInstanceName" scope="session" class="beanPackage.BeanClassName" /> --%>
    <%-- <jsp:getProperty name="beanInstanceName" property="propertyName" /> --%>
    <c:setFeed url="http://www2.theserverside.com/rss/theserverside-1.0.rdf" id="A"/>
    <p>Title:<c:getChannelTitle feedId="A"/>
    <p>Description:<c:getChannelDescription feedId="A"/>
    <c:forEachItem feedId="A">
    Link:<%=itemLink%>
    Title:<%=itemTitle%>
    Description:<%=itemDescription%>
    </c:forEachItem>
    </body>
    </html>
    It's pretty simple code, and I made sure that the library file (jar) and .tld file were in the /WEB-INF/lib directory, off of the "context" directory or "docroot". I guess I would have gotten a different error if they weren't there.
    Any thoughts as to why my server is having problems loading the object:
    com.cj.rss.objVariable
    It is in my rsstag.jar file. I confirmed it by opening it with WinZip. Here's the reference to it in the rssrag.tld file:
    <tag>
    <name>setFeed</name>
    <tagclass>com.cj.rss.setFeedTag</tagclass>
    <teiclass>com.cj.rss.objVariable</teiclass>
    <bodycontent>JSP</bodycontent>
    <info>parses rss feed</info>
    Any information would be greatly appreciated.

  • Thumbnail Image for Shopping Cart Wizard Catalog Link

    Hello all. Years ago, I added thumbnails of company logos to catalog call links in the shopping wizard. This was probably SRM 3.0 or so...I'm pretty sure I used "Path for Symbol for Service" in the Define External Web Services field. Now, with webdynpro, the documentation isn't changed at all. I think this is pointing to a folder from the old ITS. They wouldn't just let functionality just drop out like that would they? Anybody know how this might be easily done today? (SRM 7.0)

    Hello ,
    What catalog are you using  ? SRM-MDM?
    1165452 - SRM-MDM Catalog 2.0 SP04 Patch00 Release Note
    In this note you will find useful information about this new version
    of SRM MDM catalog 2.0, as well as the information about images /
    Hyperlinks.
    Summer

Maybe you are looking for