No getter method when used html:text

hi frnds,
this is the way i ve written-->
<html:text name="bdgtmastForm" property="publicity_code" size="5" maxlength="5">
but its giving me an error which seems irrelevent..
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Exception in JSP: /pages/admin/addbdgt.jsp:61
58: <tr>
59: <td width="50%" height="25"><strong><small><font face="Verdana">Publicity Code </font></small></strong></td>
60: <td width="50%" height="25">
61: <html:text name="bdgtmastForm" property="publicity_code" size="5" maxlength="5"></html:text>
62: <!-- <input type="text" size="5" maxlength="5" name="publicity_code"></td> -->
63:
64: </tr>
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handle JspException(JspServletWrapper.java:467)
org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:371)
org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:315)
org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
root cause
javax.servlet.ServletException: No getter method for property publicity_code of bean bdgtmastForm
org.apache.jasper.runtime.PageContextImpl.doHandle PageException(PageContextImpl.java:846)
org.apache.jasper.runtime.PageContextImpl.handlePa geException(PageContextImpl.java:779)
org.apache.jsp.pages.admin.addbdgt_jsp._jspService (addbdgt_jsp.java:89)
org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:328)
org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:315)
org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
root cause
javax.servlet.jsp.JspException: No getter method for property publicity_code of bean bdgtmastForm
org.apache.struts.util.RequestUtils.lookup(Request Utils.java:968)
org.apache.struts.taglib.html.BaseFieldTag.doStart Tag(BaseFieldTag.java:176)
org.apache.jsp.pages.admin.addbdgt_jsp._jspx_meth_ html_005ftext_005f0(addbdgt_jsp.java:577)
org.apache.jsp.pages.admin.addbdgt_jsp._jspx_meth_ html_005fform_005f0(addbdgt_jsp.java:184)
org.apache.jsp.pages.admin.addbdgt_jsp._jspx_meth_ html_005fhtml_005f0(addbdgt_jsp.java:116)
org.apache.jsp.pages.admin.addbdgt_jsp._jspService (addbdgt_jsp.java:82)
org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:328)
org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:315)
org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.23 logs.
Apache Tomcat/5.5.23
my bean class is--->
public String getPublicity_Code()
return(this.publicity_code);
why am i getting this error when i ve already declared publicity_code in the bean class????
regards,
a_joseph

hi guyz,
herz my jsp page for submiting the values,
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<html:html>
<head>
<title>Budget Master Administration</title>
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
<SCRIPT LANGUAGE="JavaScript" SRC="bscript.js"></SCRIPT>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
</head>
<body topmargin="0" leftmargin="0" bgproperties="fixed">
<div align="left">
<html:form action="/BdgtMastAction" name="bdgtmastForm" type="publicity.BdgtMastForm" method="get">
<table border="0" width="100%">
<tr>
<td width="100%" bgcolor="#DFDFFF" background="images/niceblue.gif"><font face="Tahoma"
color="#000000"><strong>B u d g e t   M a s t e r</strong></font></td>
</tr>
</table>
<div align="left">
<table width="60%" height="127">
<tr>
<td valign="top" width="50%" height="34"><strong><small><font face="Verdana"></font></small></strong></td>
<td width="50%" height="34"></td>
</tr>
<tr>
<td valign="top" width="50%" height="27"><strong><small><font face="Verdana">Branch</font></small></strong></td>
<td width="50%" height="27">
<!-- <input type=hidden name="option" value="new"> -->
<html:hidden name="bdgtmastForm" property="option" value="new"/>
<p>
<html:select property="branch" size="1">
<html:option value="Bombay"></html:option>
<html:option value="Ahmedabad"></html:option>
<html:option value="Madras"></html:option>
<html:option value="Bangalore"></html:option>
<html:option value="Calcutta"></html:option>
<html:option value="Hyderabad"></html:option>
<html:option value="Pune"></html:option>
<html:option value="Lucknow"></html:option>
<html:option value="Jaipur"></html:option>
<html:option value="Patna"></html:option>
<html:option value="Cochin"></html:option>
<html:option value="Chandigarh"></html:option>
<html:option value="Bhopal"></html:option>
</html:select>
</p>
</td>
</tr>
<tr>
<td width="50%" height="25"><strong><small><font face="Verdana">Publicity Code </font></small></strong></td>
<td width="50%" height="25">
<html:text name="bdgtmastForm" property="publicity_Code" size="5" maxlength="5"></html:text>
<!-- <input type="text" size="5" maxlength="5" name="publicity_code"></td> -->
</tr>
<tr>
<td width="50%" height="25"><strong><small><font face="Verdana">Annual Budget Alloted (<em>Rs</em>)</font></small></strong></td>
<td width="50%" height="25">
<!-- <input type="text" size="10" maxlength="10" name="budget"> -->
<html:text property="budget" name="bdgtmastForm" size="10" maxlength="10" ></html:text>
</td>
</tr>
</table>
</div>
<p align="left">
<html:submit value="Submit" property="thesubmit" onclick="everything(form)"> </html:submit>
</p>
<hr>
<strong><small><font color="#0080C0">
<p align="center">�</font><font color="#0080C0" face="Verdana">Response - Corporate
1998-1999</font></small></strong>
</html:form>
</div>
</body>
</html:html>
and the exceptions that im getting when clicked on submit
when i click on submit normally the javascript validation shud check for improper values,instead its getting submitted,and the below exceptions r the result..
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Column 'Publicity_Code' cannot be null
     org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:545)
     org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:486)
     org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
     org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
     org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Column 'Publicity_Code' cannot be null
     com.mysql.jdbc.SQLError.createSQLException(SQLError.java:931)
     com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
     com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)
     com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
     com.mysql.jdbc.Connection.execSQL(Connection.java:3256)
     com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1313)
     com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1585)
     com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1500)
     com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1485)
     org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
     publicity.BdgtMastAction.execute(BdgtMastAction.java:57)
     org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
     org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
     org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
     org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.23 logs.
Apache Tomcat/5.5.23

Similar Messages

  • No mnemonic or focus when using HTML for a components text

    When using HTML to set the text for a JLabel, JRadioButton or JCheckBox; mnemonics are never displayed and the outline depicting focus is never painted. Any ideas why? Any way of fixing this? Is it a known bug?
    JRadioButton radio1 = new JRadioButton( "<html>This is a test!</html>" );
    radio1.setMnemonic( KeyEvent.VK_T );
    radio1.setDisplayedMnemonicIndex( 8 );Thanks in advance,
    Jamie

    The accuracy of this response may vary depending on the look and feel you're using.
    The JRadioButton and, by virtue of being a subclass, JCheckBox are painted by the look and feel class. Those classes behave differently for HTML text. If the text property is HTML, that is there is a javax.swing.text.View that is responsible for rendering the text there is not even a call to paintFocus so the focus is never painted.
    Also, if there is no text the focus is not painted. This will happen if you create a JRadioButton with no String argument and use a separate JLabel with setLabelFor(Component) to associate it with the JRadioButton. The actual guts of the radio button never ever seems to show any indication of focus under any circumstances.
    I can only assume this is deliberate (rather than a bug) since there's fairly deliberate non-calling of methods and no provision for the focus indicator to be painted when there's no text associated with the JRadioButton or JCheckBox.

  • Can not print report when using HTML or DHTML

    Can not print report when using HTML or DHTML. When I open the report and click the print icon I get a small blank dialog box and then nothing. If I change to activex it works and I can print.
    Any Ideas?
    Thanks
    Jeff

    Hi,
    I did not come across this situation before. Did you apply any fix packs. Try to check whether its a issue which can be fixed by applying fix pack( try to check release notes of fix pack and see if they mentioned any thing about this).
    Thanks,
    SK.

  • When using the text to speech which vtml_speed value is the best?

    When using the text to speech function along with the VTML tag for speech (<vtml_speed>) what number provides the best rate for learning. I am currently trying to use this function to improve my computor generated speech for a project. I have been getting complaints that it is too slow, yet the default setting is too fast. Any advice out there?

    Hopefully nothing serious. Try a Safe Mode boot ...
    A Safe Mode boot takes a longer than a normal boot so be patient.
    Once you are in Safe Mode, click Restart from the Apple () menu.

  • HT201335 I can only get audio when using airplay through sky go on my apple tv on iphone 4

    I cn only get audio when using airplay through sky go on my apple tv on iphone4. Any ideas?

    Sky go is an app that does not support video AirPlay, not all apps do.

  • When using large text my lines overpal, how can I increase the line spacing?

    When using large text my lines overpal, how can I increase the line spacing?

    Press 'Ctrl + Enter' after the numbered item to insert blank space below it. If you press 'Enter', the next line will start with the next number. As long as you want to type lines without a numbering, press 'Ctrl + Enter' and type the line.

  • When using the text box( typewriter ) It appears black but when I click away it is a lighter grey. I am using Adobe Acrobat Pro 10.1.13

    When using the text box( typewriter ) It appears black but when I click away it is a lighter grey. I am using Adobe Acrobat Pro 10.1.13
    . How do I fix this? It never used to do that.@

    Hi cj0094,
    Please try changing the registry key HKCU\Software\Adobe\Adobe Acrobat\10.0\Annots\cAnnots\cfreetext_003_afreetexttypewriter and change the opacity back to 1. This should reset the color to black.
    Note: Please backup the registry before modifying it.
    Regards,
    Rave

  • My iPhone was getting hot when used or charging. Went to Apple in Portland, OR.Phone making random sound. Why??? How do I make it stop????

    My iPhone was getting hot when used or charging. Went to Apple in Portland, OR. I did a reset on the phone. My IPhone is now making a random sound. Why??? How do I make it stop???? I have turned off all notifications. I do not have life360 or Skype. I do have Facebook, WordsFree, ScrabbleFree, Pandora.

    I did the reset. I updated the iPhone to 6.0. The alert sound stopped for a while then started again. I had to go to notifications a few times to turn off some of the alerts and now I have peace, plus I learned more about the notifications. Thanks for your help. I did not need to go to the Apple Store.

  • I pad  get hot when using or charging what's wrong?

    my ipad gets hot when using & charging  - what's wrong/ also, the chrger gets hot enough that i unplug it

    Not normal. Take it to an Apple Store for evaluation.
    Make a Genius Bar Reservation
    http://www.apple.com/retail/geniusbar/
     Cheers, Tom

  • WHY THE IPHONE GETTING HOT WHEN USING 3G PLUS WITH DATa?, WHY THE IPHONE GETTING HOT WHEN USING 3G PLUS WITH DATA?

    why my iphone 4s getting hot when using 3g plus with data?
    then my phone left side speaker didnt work when i list songs?

    It is normal for the phone to get hot when your using data such as YouTube videos, streaming music etc.. And as for the left speaker not working, the left speaker is a microphone, the right one is for sound. Don't worry, everything your iPhone is doing is normal.

  • Trouble with my ipod getting hot when useing instagram app and also problems with my ipod closeing and returning to home screen unexpectedly?

    when i'm useing my ipod and i'm useing the instagram app. I feel my ipod starting to get really hot. i am also having problems useing app and them all a sudden closing on me and ipod will return to the home screen

    It is not unusual for the to get worm when using some apps.
    For the app problem see:
    iOS: Troubleshooting applications purchased from the App Store

  • Oracle Text: How to add/get stopwords list when using Oracle Text world lexer?

    I have a use case that we currently use Oracle Text World Lexer to index and search multilingual documents. As we know that World Lexer does the language auto detection. I would like to know the following questions:
    Is there anyway I can get the current document's language that Oracle Text detected?
    Is there anyway to get the language's stopwords list?
    Any thoughts and points will be appreciated.
    - Charles

    1. If you're using 12c, you can use ctx_doc.policy_languages. (https://docs.oracle.com/database/121/CCREF/cdocpkg011.htm#CCREF24102)
    2. If you want multiple stoplists based on each document's language, you have to use the multi-lexer. For world_lexer, there is one stoplist; since the stoplists are somewhat dynamic (you can add but not remove them), the most accurate way to fetch the list is using ctx_report.describe_index or ctx_report.create_index_script and parse the report.

  • Compiler errors when using dynamic text in a class

    I have created a MovieClip with a custom class that has a dynamic text field (called "textArea"), which I want to modify by the Component Inspector, as well as via a custom method using:
    textArea.text = newText;
    It works fine in all cases and there are no problems, but the compiler still wants to give me the error:
    1120: Access of undefined property textArea.
    The error doesn't appear when I remove the component parameters (so that it's just a normal MovieClip). It still works, even with the error, so I'm not sure why it wants to complain. Am I doing something wrong or is it just being bitchy?

    By defining them in the class and using the class name under component definition:
    [Inspectable(name="Text", type=String, defaultValue="")]
    public function set text(setText:String)
         textArea.text = setText;
    public function get text():String
         return textArea.text;
    A problem I run into is that the compiler errors prevent the parameters from being defined so I comment out every line that has to do with textArea, define the component, then uncomment them so that it'll work when it runs.

  • Photoshop CC 2014 Crashes Randomly when using the Text Tool...

    Since the most recent Photoshop update, CC 2014 has been extremely buggy and completely unstable on my Mac Pro, which is inexcusable from a paid service .  The most common crash for me occurs when I try to use the “text tool” or attempt to edit text (usually the color).  I am occasionally prompted with a window stating, “Could not complete your request because of a program error” and then Photoshop crashes seconds after.
    After the initial crash and Apple’s various prompts I usually go through 2-3 consecutive cycles of Photoshop attempting to open back up and crashing over and over again.
    I’ve attempted signing out and back in to my Creative Cloud as suggested in several threads, but that was unsuccessful in mitigating the crashing.  Is there a fix for this, other than uninstalling and reinstalling?  My studio has too many upcoming deliverables and deadlines to do a fresh install, so suggestions/solutions would be appreciated .
    Problem Report
    Process:         Adobe Photoshop CC 2014 [3736]
    Path:            /Applications/Adobe Photoshop CC 2014/Adobe Photoshop CC 2014.app/Contents/MacOS/Adobe Photoshop CC 2014
    Identifier:      com.adobe.Photoshop
    Version:         15.1.0 (15.1.0.148)
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [150]
    Responsible:     Adobe Photoshop CC 2014 [3736]
    User ID:         502
    Date/Time:       2014-08-18 14:39:11.590 -0700
    OS Version:      Mac OS X 10.9.4 (13E28)
    Report Version:  11
    Anonymous UUID:  D2E627F5-FA78-7D87-F2B5-7C57B55C541F
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x00000000deadbeef
    VM Regions Near 0xdeadbeef:
    -->
        __TEXT                 00000001022de000-0000000106ab5000 [ 71.8M] r-x/rwx SM=COW  /Applications/Adobe Photoshop CC 2014/Adobe Photoshop CC 2014.app/Contents/MacOS/Adobe Photoshop CC 2014

    Sorry for the lack of the report it was my first time reporting an error for software... Never had an issue before.
    I haven't experienced the crash via text tool since I posted the question, but the Photoshop is still constantly crashing at startup, but every time I try to enter the report I get the error: Please try again later.m5

  • Getting dump when using do_sum in alv field cat in the output of the report

    Dear Freinds,
                 Iam getting the alv report when i click on the segma field (Sum) on my salary
    field iam getting dump. and also if i try to print my alv output iam getting dump , only
    happening to my custom report.
    i have used the following code pleae correct me .
    This perform is used for Layout settings
      perform st_layout_build  using gs_layout.
    form st_layout_build  using  st_ls_layout type slis_layout_alv.
       st_ls_layout-no_input          = 'X'.
      st_ls_layout-colwidth_optimize = 'X'.
    st_ls_layout-zebra             = 'X'.
    st_ls_layout-detail_popup      = 'X'.
    endform.                    " st_layout_build
    Field Catalog details
    perform st_fieldcat_init changing gt_fieldcat.
    form st_fieldcat_init  changing  fp_i_fieldcat type slis_t_fieldcat_alv.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 1.
      ls_fieldcat-fieldname    = 'ORGUNIT'.
      ls_fieldcat-seltext_l    = 'Orgunit'.
    ls_fieldcat-no_out       = 'X'.
      append ls_fieldcat to fp_i_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 2.
      ls_fieldcat-fieldname    = 'ORGTEXT'.
      ls_fieldcat-seltext_l    = 'Orgdesc'.
    ls_fieldcat-no_out       = 'X'.
      append ls_fieldcat to fp_i_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-fieldname    = 'SALARY'.
      ls_fieldcat-seltext_l    = 'Salary'.
      ls_fieldcat-col_pos      = 3.
      ls_fieldcat-outputlen   = 15.
      ls_fieldcat-do_sum       = 'X'.
      ls_fieldcat-datatype     = 'CURR'.    "CURR
      append ls_fieldcat to fp_i_fieldcat.
    endform.
    Variant
      perform st_variant_init  using gs_variant g_repid.
    form st_variant_init   using  st_gs_variant type disvariant
                                 st_repid      like sy-repid.
      clear st_gs_variant.
      st_gs_variant-report = st_repid.
    endform.                    " st_variant_init
      g_repid = sy-repid.
      perform st_comment_build  using gt_list_top_of_page[].
    form st_comment_build  using   st_lt_top_of_page type slis_t_listheader.
      data: ls_line type slis_listheader.
    Listenüberschrift: Typ H
      clear ls_line.
      ls_line-typ  = 'H'.
    LS_LINE-KEY:  not used for this type
      ls_line-info = text-000.
      append ls_line to st_lt_top_of_page.
    endform.                    " st_comment_build
         call function 'REUSE_ALV_GRID_DISPLAY'
          exporting
             i_buffer_active        = 'X'
            i_callback_top_of_page = 'TOP_OF_PAGE'
            i_callback_program     = g_repid
            is_layout              = gs_layout
            it_fieldcat            = gt_fieldcat[]
           i_structure_name       = 'i_final'   "c_i_final "'objec'
           i_save                 = g_save
            is_variant             = gs_variant
          tables
            t_outtab               = fp_i_pyrol_final
          exceptions
            program_error          = 1
            others                 = 2.
        if sy-subrc ne 0.
          message e018. " Displaying the ALV GRID has failed
        endif.
    Please could any  one let me know why iam getting dump when iam clicking for total
    on my salary field.
    Regards
    latha

    Dear Chandu,
    my code iam giving in details
    types : begin of ty_output_data,
            staffno     type pernr_d,
            staffname   type emnam,
            grade       type stell,
            orgunit     type orgeh,
            orgtext     type hr_mcstext,
            psgroup     type trfgr,      " Pay Scale Group
            salary      type maxbt,       "PAD_AMT7S,
            rrefunded   type pad_amt7s,
            leavepay    type pad_amt7s,
            mshortfal   type pad_amt7s,   " Medical Shortfall
            echkshfal   type pad_amt7s,   " Execute checkup shortfall
            ofindeduc   type pad_amt7s,   " Other Finance Deduction
            mtyprem     type pad_amt7s,   " maternity premium
            vpbonus     type pad_amt7s,   " VP/Bonus
            gratuity    type pad_amt7s,   " Gratuity
            vpay        type pad_amt7s,   " Variable pay
            mallowance  type pad_amt7s,   " Meal Allowance
            overtime    type pad_amt7s,   " overtime
            other       type  pad_amt7s,  "  OTHER
            pfundeecon  type pad_amt7s,   " PFund Employee's Contribution
            banktrnsfer type pad_amt7s,   " Bank Transfer
            count       type i,
            end of ty_output_data.
    data : i_final         type standard table of ty_output_data.
    iam getting all my data in the internal table  I_FINAL.
    perform get_final_alv  using  i_final.
    form get_final_alv  using   fp_i_pyrol_final type ty_t_output_data.
    *local variable declarations
      data : l_v_idx      type sy-tabix.
    *local work areas
      data : l_wa_final type ty_output_data.
      g_save = 'A'.
    This perform is used for Layout settings
      perform st_layout_build  using gs_layout.
    Field Catalog details
      perform st_fieldcat_init changing gt_fieldcat.
    Variant
      perform st_variant_init  using gs_variant g_repid.
      g_repid = sy-repid.
      perform st_comment_build  using gt_list_top_of_page[].
      if not fp_i_pyrol_final is initial.
        delete adjacent duplicates from fp_i_pyrol_final comparing all fields.
        call function 'REUSE_ALV_GRID_DISPLAY'
          exporting
             i_buffer_active        = 'X'
            i_callback_top_of_page = 'TOP_OF_PAGE'
            i_callback_program     = g_repid
            is_layout              = gs_layout
            it_fieldcat            = gt_fieldcat[]
           i_structure_name       = 'i_final'   "c_i_final "'objec'
           i_save                 = g_save
            is_variant             = gs_variant
          tables
            t_outtab               = fp_i_pyrol_final
          exceptions
            program_error          = 1
            others                 = 2.
        if sy-subrc ne 0.
          message e018. " Displaying the ALV GRID has failed
        endif.
      endif.
    endform.                    " get_final_alv
    form st_layout_build  using  st_ls_layout type slis_layout_alv.
       st_ls_layout-no_input          = 'X'.
      st_ls_layout-colwidth_optimize = 'X'.
    st_ls_layout-zebra             = 'X'.
    st_ls_layout-detail_popup      = 'X'.
    endform.                    " st_layout_build
    form st_fieldcat_init  changing  fp_i_fieldcat type slis_t_fieldcat_alv.
      data: ls_fieldcat type slis_fieldcat_alv.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 1.
      ls_fieldcat-fieldname    = 'ORGUNIT'.
      ls_fieldcat-seltext_l    = 'Orgunit'.
    ls_fieldcat-no_out       = 'X'.
      append ls_fieldcat to fp_i_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 2.
      ls_fieldcat-fieldname    = 'ORGTEXT'.
      ls_fieldcat-seltext_l    = 'Orgdesc'.
    ls_fieldcat-no_out       = 'X'.
      append ls_fieldcat to fp_i_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 5.
      ls_fieldcat-fieldname    = 'STAFFNAME'.
    ls_fieldcat-no_out       = 'X'.
      ls_fieldcat-seltext_l    = 'StaffName'.
      append ls_fieldcat to fp_i_fieldcat.
       clear ls_fieldcat.
      ls_fieldcat-col_pos      = 4.
      ls_fieldcat-fieldname    = 'STAFFNO'.
    ls_fieldcat-no_out       = 'X'.
      ls_fieldcat-seltext_l    = 'StaffNo.'.
      append ls_fieldcat to fp_i_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 6.
      ls_fieldcat-fieldname    = 'GRADE'.
      ls_fieldcat-seltext_l    = 'Grade'.
      append ls_fieldcat to fp_i_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 3.
      ls_fieldcat-fieldname    = 'COUNT'.
      ls_fieldcat-seltext_l    = 'Headcount'.
      append ls_fieldcat to fp_i_fieldcat.
    if the field name is 'Salary' then do a sum on this field.
    IF  fp_fname = c_betrg.
        l_wa_fieldcat-do_sum    = c_x.
    ENDIF.
    NOTE : IAM GETTING PROBLEM IN THE BELOW SALARY.
    IAM JUST CHECKING ITSELF NOT ALLOWING ME TO EXECUTE
      clear ls_fieldcat.
      ls_fieldcat-fieldname    = 'SALARY'.
      ls_fieldcat-seltext_l    = 'Salary'.
      ls_fieldcat-col_pos      = 7.
      ls_fieldcat-outputlen   = 20.
      ls_fieldcat-do_sum       = 'X'.
      ls_fieldcat-datatype     = 'CURR'.    "CURR
      append ls_fieldcat to fp_i_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 9.
      ls_fieldcat-fieldname    = 'LEAVEPAY'.
      ls_fieldcat-seltext_l    = 'Leave Pay'.
      append ls_fieldcat to fp_i_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 10.
      ls_fieldcat-fieldname    = 'MSHORTFAL'.
      ls_fieldcat-seltext_l    = 'Med.Sfall'.
      append ls_fieldcat to fp_i_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 11.
      ls_fieldcat-fieldname    = 'ECHKSHFAL'.
      ls_fieldcat-seltext_l    = 'EX.Chckup.Sfall'.
      append ls_fieldcat to fp_i_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 12.
      ls_fieldcat-fieldname    = 'OFINDEDUC'.
      ls_fieldcat-seltext_l    = 'Oth.Fin.Deduction'.
      append ls_fieldcat to fp_i_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 13.
      ls_fieldcat-fieldname    = 'MTYPREM'.
      ls_fieldcat-seltext_l    = 'Mat.Premium'.
      append ls_fieldcat to fp_i_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 14.
      ls_fieldcat-fieldname    = 'VPBONUS'.
      ls_fieldcat-seltext_l    = 'VP/Bonus'.
      append ls_fieldcat to fp_i_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 15.
      ls_fieldcat-fieldname    = 'GRATUITY'.
      ls_fieldcat-seltext_l    = 'Gratuity'.
      append ls_fieldcat to fp_i_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 16.
      ls_fieldcat-fieldname    = 'VPAY'.
      ls_fieldcat-seltext_l    = 'Variable Pay'.
      append ls_fieldcat to fp_i_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 17.
      ls_fieldcat-fieldname    = 'MALLOWANCE'.
      ls_fieldcat-seltext_l    = 'Meal.Allowance'.
      append ls_fieldcat to fp_i_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 18.
      ls_fieldcat-fieldname    = 'OVERTIME'.
      ls_fieldcat-seltext_l    = 'Overtime'.
      append ls_fieldcat to fp_i_fieldcat.
        clear ls_fieldcat.
      ls_fieldcat-col_pos      = 19.
      ls_fieldcat-fieldname    = 'OTHER'.
      ls_fieldcat-seltext_l    = 'Other'.
      append ls_fieldcat to fp_i_fieldcat.
    pfundeecon
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 20.
      ls_fieldcat-fieldname    = 'P FUND EMPLOYEES CONTRIBUTION'.
      ls_fieldcat-seltext_l    = 'P.Fund.Emp.Contrib'.
      append ls_fieldcat to fp_i_fieldcat.
      clear ls_fieldcat.
      ls_fieldcat-col_pos      = 21.
      ls_fieldcat-fieldname    = 'BANKTRNSFER'.
      ls_fieldcat-seltext_l    = 'Payment'.
      append ls_fieldcat to fp_i_fieldcat.
    endform.                    " st_fieldcat_init
    form st_variant_init   using  st_gs_variant type disvariant
                                 st_repid      like sy-repid.
      clear st_gs_variant.
      st_gs_variant-report = st_repid.
    endform.                    " st_variant_init
    form st_comment_build  using   st_lt_top_of_page type slis_t_listheader.
      data: ls_line type slis_listheader.
    Listenüberschrift: Typ H
      clear ls_line.
      ls_line-typ  = 'H'.
    LS_LINE-KEY:  not used for this type
      ls_line-info = text-000.
      append ls_line to st_lt_top_of_page.
    endform.                    " st_comment_build
          FORM TOP_OF_PAGE                                              *
    form top_of_page.
      data: l_i_detailheader type slis_t_listheader.
    To get the header for ALV
      perform detail_header changing l_i_detailheader.
      call function 'REUSE_ALV_COMMENTARY_WRITE'
        exporting
          it_list_commentary = l_i_detailheader.
    endform.                    "top_of_page
    form detail_header  changing fp_i_detailheader type slis_t_listheader.
      data: l_wa_header       type slis_listheader,
            l_v_time         type slis_edit_mask,
            l_v_date         type slis_edit_mask,
            l_v_abkrs        type char5,
            l_v_pabrj        type char8,
            l_v_pagno        type char10.
    Local Constants
      constants: l_c_h type char1 value 'H',
                 l_c_1  type i     value '1',
                 l_c_edit type char10 value '__.__.____',
                 l_c_slash  type c value '/'. " constant for slash
    To display the report Header
      l_wa_header-typ = l_c_h.
    WRITE sy-repid TO l_wa_header-info LEFT-JUSTIFIED.
      write text-014  to l_wa_header-info left-justified.
      append l_wa_header to fp_i_detailheader.
      clear l_wa_header.
    To display the Page no
      l_v_pagno =   sy-pagno + l_c_1.
      l_wa_header-typ = c_s.
      l_wa_header-key = text-008. " Page No:
      l_wa_header-info =  l_v_pagno.
      append l_wa_header to fp_i_detailheader.
      clear l_wa_header.
    To Display the User ID
      l_wa_header-typ = c_s.
      l_wa_header-key = text-009. " User ID
      l_wa_header-info = sy-uname.
      append l_wa_header to fp_i_detailheader.
      clear l_wa_header.
    To Display the Date/Time
      l_wa_header-typ = c_s.
      l_wa_header-key = text-010. " Date/Time:
      l_v_time = sy-uzeit.
      l_v_date = sy-datum.
      write: sy-uzeit to l_v_time.
      write sy-datum to l_v_date using edit mask l_c_edit.
      concatenate l_v_date
                  l_c_slash
                  l_v_time into l_wa_header-info+0(25) separated by space.
      append l_wa_header to fp_i_detailheader.
      clear: l_wa_header, l_v_date.
    To Display the Report Description
      l_wa_header-typ = c_s.
      l_wa_header-key = text-011.                " Report Description
      l_wa_header-info = text-012.
      append l_wa_header to fp_i_detailheader.
      clear l_wa_header.
      append l_wa_header to fp_i_detailheader.
    endform.                    " detail_header
    I will be greatful if any one can please help me in removing me the dump.
    REGARDS
    LATHA.

Maybe you are looking for

  • When i want to call somwhone with my i-phone, i only hear the other person, if i press the loud-speaker. does anywhone know, how i can solve this problem

    what can i do, when i call someone with mit i-phone, i only hear the other person, when i press the loud-speaker button, does anyone know, how to solve this problem

  • Indesign Crashing with .indb Book file

    Hi, I'm having an issue with using the Book pallette crashing InDesign every time I try to edit it. I've found many people having crashing issues on Mac OSX and with exporting to PDF but can't seem to find an instance of crashes due to Book files. Ba

  • What Java software to use

    Hi, Can someone tell me what Java software to use so we can have an online store selling many products, with shopping cart and check-out? I believe victorias secret is using the Java technology. Can u tell me pls what specific software to use? Thank

  • Solaris 10 (6/06 SPARC) - Network install

    Hello all :) I downloaded the newest ISO, burned it. and tryed to execute the setup_install_server. it tries to find Boot directory (its linked to Boot -> ../../../s1) but the link is broken. in the X86 installation the link exists and not broken so

  • Artwork Has Vanished

    Hi, I'm having a bit of trouble with my iTunes Artwork going astray. Occasionally (every 2 months or so) when I start iTunes it throws a wobbler and will have to re-import all the songs into the database, and it then re-names the old one 'iTunes libr