Not able to validate the xml document against DTD using SAX

Hi ,
i am not able to validate xml document against its DTD using SAX parser even after setting setValidating = true. even if the file is not correct according to DTD , it is not throwing any exception. what could be the reason.? please help..
kranthi
this is the code sample i used.
SAXParserFactory factory = SAXParserFactory.newInstance();
factory.setValidating(true);
     try {
factory.newSAXParser().parse(new File("sample.xml"), handler);
     } catch (SAXException e) {
     e.printStackTrace();                         System.exit(2);
     } catch (ParserConfigurationException e) {
e.printStackTrace();
}

Hi karthik
Thanks for your response
Actually iam a beginner in java coding hence struggling to come up with the things
I tried putting your code and onserver side i see it is returning 09:12:17,234 INFO [STDOUT] [root: null]
actually the same program i wrote in java
and the same method i was calling from the main
and it is working fine and the xml document is getting displayed one important thing to be noted here is that the factory.newDocumentBuilder().parse(new File(filename));is returing XmlDocument
and the printing takes place
but the in same method public static Document parseXMLFile(String filename, boolean b) in servlet
the line factory.newDocumentBuilder().parse(new File(filename)); is returning DeferredDocumentImpl
and this creating problem , had it returned XmlDocument
i would have printed the elements one one
but as it is returning deferredimpl
iam unable to print the elements
could you please tell me why factory.newDocumentBuilder().parse(new File(filename)); is returning DeferredDocumentImpl
in servlets but in plain java pogram it is returing XmlDocument
Thanks
Bhanu

Similar Messages

  • Not able to see the material documents against the status of GMPS

    Hi,
    Although the PM order has the status of GMPS(Goods Movement Posted) in IW33.No material document is seen against the Order under the order type :Preventive Maintenance.

    Sumit Mohan,
    Maybe someone changed the configuration (see above).
    Let us know the results so we can exclude it from our investigations...
    PeteA

  • BI Publisher: not able to see the xml data after creating a data model

    I am learning BI publisher and trying to create a report data model
    I created a new data model from the report tab, use query builder, able to see the results. Then i save it and try to launch XML view from clicking View .
    I am getting unexpected exception, not able to see the XML view .
    in the server console i got servlet exception, here is one of the line
    com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303
    Edited by: joysaha123 on Mar 17, 2010 6:07 PM

    Hi karthik
    Thanks for your response
    Actually iam a beginner in java coding hence struggling to come up with the things
    I tried putting your code and onserver side i see it is returning 09:12:17,234 INFO [STDOUT] [root: null]
    actually the same program i wrote in java
    and the same method i was calling from the main
    and it is working fine and the xml document is getting displayed one important thing to be noted here is that the factory.newDocumentBuilder().parse(new File(filename));is returing XmlDocument
    and the printing takes place
    but the in same method public static Document parseXMLFile(String filename, boolean b) in servlet
    the line factory.newDocumentBuilder().parse(new File(filename)); is returning DeferredDocumentImpl
    and this creating problem , had it returned XmlDocument
    i would have printed the elements one one
    but as it is returning deferredimpl
    iam unable to print the elements
    could you please tell me why factory.newDocumentBuilder().parse(new File(filename)); is returning DeferredDocumentImpl
    in servlets but in plain java pogram it is returing XmlDocument
    Thanks
    Bhanu

  • Not able to attach the scanned document with Interaction Record in SAP-CRM

    Hi Experts,
    I have a scanned document and I am trying to attach it with Activity in Interaction Record.
    I maintained the document ID refering to scanned document in table TOA01 with interaction record guid; however the attachment gets displayed in SAP-CRM GUI but i am not able to see the attachment in SAP-CRM GUI.
    Please help if someone has encountered a similar issue or propose a way to attach the document with acitivity in interaction record.
    Regards,
    Amit Gupta.

    Hello Amit,
    I am not able to understand your requirement correctly. Are you trying to attach the Document as a Attachment to the Interaction record (or) trying to attach it as a Archive Link Document??
    If you could give me more info.. I think I will be able to assist you with this as I have worked in this area...
    Cheers..
    Anand

  • Not able to create the delivery document in '000' client of IDES

    Dear Experts,
                           I am facing a problem while creating an sd process flow in the client '000' of SAP IDES system. I am working over SD CIN. Previously I received an error while generating sales order. The error was stating that certain entries were missing in the table CRMPAROLTP & it was the error message number V3, 302.
    For that I went to SM30 & defined 'CRM_RELEASE' (under parameter name) & '600' (under parameter value), which solved my problem. Now I received another problem while creating the delivery document which is as follows:
    Problem :   "Message no. B2 001 : Local logical system is not defined"
    Kindly assist me in sorting out this problem. I checked the stock level at MMBE, but the stock was not reduced with the quantity as was specified under the delivery document & at the same time the document number was also not available for further processing.
    What to do?
    Thanks & regards,
    M.S.Kumar.

    Hi Prashant,
    Thank you very much for resolving my problem. Meanwhile I first went to trx. code 'BD54' &, there I defined a new logical system & ultimately assigned that logical system to client at 'SCC4' as specified by you. And my problem got resolved.
    Thank you very much once again.
    With regards,
    M.S.Kumar.

  • Not able to view the XML Output, after Output format changed to XML

    Hello Everybody...
    After running the concurrent program having output type of XML. Output is not getting generated.
    But getting generated when output type is changed to Text.
    Please find the below log file info. :
    BioReliance Receivables: Version : UNKNOWN - Development
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XXBRAXINVNEW module: XXBio Print Selected Invoices New
    Current system time is 28-MAY-2009 05:31:28
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    p_order_by='TRX_NUMBER'
    p_trx_number_low='9859529'
    p_trx_number_high='9859529'
    p_installment_number='1'
    p_open_invoice='N'
    p_check_for_taxyn='N'
    p_choice='SEL'
    p_header_pages='0'
    p_debug_flag='N'
    p_message_level='10'
    p_userid='9092'
    XML_REPORTS_XENVIRONMENT is :
    /oraapps2/devukora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    XENVIRONMENT is set to /oraapps2/devukora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    Spawned Process 14380
    REP-3000: Internal error starting Oracle Toolkit.
    MSG-00100: DEBUG: AfterPForm_Trigger +
    MSG-00100: DEBUG: Multi Org established.
    MSG-00100: DEBUG: AfterParam_Procs.Get_Country_Details
    MSG-00100: DEBUG: AfterParam_Procs.Switch_On_Debug
    MSG-00100: DEBUG: AfterParam_Procs.Get_Trx_Number_Low
    MSG-00100: DEBUG: AfterParam_Procs.Get_Trx_Number_High
    MSG-00100: DEBUG: AfterParam_Procs.Get_Tax_Option
    MSG-00100: DEBUG: AfterPForm_Trigger -
    MSG-00100: DEBUG: BeforeReport_Trigger +
    MSG-00100: DEBUG: BeforeReport_Procs.Populate_Printing_Option
    MSG-00100: DEBUG: BeforeReport_Procs.Populate_Tax_Printing_Option
    MSG-00100: DEBUG: BeforeReport_Trigger.Get_Message_Details
    MSG-00100: DEBUG: BeforeReport_Trigger.Get_Org_Profile.
    MSG-00100: DEBUG: Organization Id: 102
    MSG-00100: DEBUG: BeforeReport_Trigger.Build_Where_Clause
    MSG-00100: DEBUG: P_Choice: SEL
    MSG-00100: DEBUG: Choice is other than ADJ, setting ORDER BY.
    MSG-00100: DEBUG: BeforeReport_Trigger -
    MSG-05000: DEBUG: Trx No... 9859529
    MSG-00010: 05:31 1 Transaction: 9859529
    Report Builder: Release 6.0.8.25.0 - Production on Thu May 28 05:31:28 2009
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter Username:
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 14767798 on node RCKBLADE05 at 28-MAY-2009 05:31:36.
    Post-processing of request 14767798 failed at 28-MAY-2009 05:31:36 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    ------------- 2) PRINT   -------------
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 28-MAY-2009 05:31:36
    Please do the needful in resolving the issue.
    Thans in Advance.
    Abdul.

    Hello Hussein,
    Thanks.
    Before I could ask the DBA to chage the DIPLAY parameter, I could see error in FNDOPP*.txt file, as some issue with tag "split-by-page-break".
    Accordingly I removed the tag from the template file ( RFT File). Now the request is getting Completed with Normal status. And generating the PDF output.
    I found a hit in the metalink for this issue, which suggests a PATCH 4206181 (XDO.5.5) to get this functionality.
    Accordingly the PATCH is applied.
    Now when trying to query the template name from the XML Publisher Administrator Responsiblity, page is getting errored with the below message.
    ====================================================================
    oracle.apps.fnd.framework.OAException: Message not found. Application: FND, Message Name: FND_VIEWOBJECT_NOT_FOUND. Tokens: VONAME = TemplateFilesForViewVO2; APPLICATION_MODULE = oracle.apps.xdo.oa.template.server.TemplatesAM;
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1223)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1960)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at oa_html._OA._jspService(_OA.java:86)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    ====================================================================
    Please do the needful in resolving the issue.
    Thanks,
    Abdul.

  • I am not able to post the MIRO Document with reference of PO

    Hello friends
    My user while posting the MIRO document TDS (service tax ) amount not appering in the MIRO screen
    But last month it was working fine.
    before that i have checked out  vendor master in that they given tax code properly.
    can any body please give me suggestion on the same
    Regards
    vamsi
    Edited by: asuvamsi on Mar 2, 2010 4:53 PM

    Hello friends
    Thanks For all my problem was resloved
    Solution is
    An message has been occuring like withhold tax has been refreshed.  it is just an information message not an error message.  this message will trigger when the trans. type is non project type activity.  No back end process has been disturbed due to this message. it just passing the information to the user.
    we changed the trans. type to manufacturing activity and it is working fine.
    I hope it ll help in future
    Thanks and Regards
    vamsi

  • Not able to edit the emailed document to SharePoint library

    Did anyone try to edit the Word Documents that are populated from the outlook emails into the SharePoint library using Incoming Email setttings?
    This library doesn't have any required cols but still it is giving this error message all the time:
    The File cannot be saved because some properties are missing or invalid.
    Use the document Information panel to provide the correct property values. errors for required properties are marked with red asterisk and errors for invalid properties are marked with a red dashed border.
    When I go to the information panel, I just see a red asterisk beside the
    location- populated with the path of the file location.
    Does anyone faced this issue before?
    Advanced thanks for the help.

    Hi,
    It seems a default behavior in SharePoint 2010 for an email enabled list.
    You can try the workaround below:
    1. Go to the doc library where you have enabled incomingemail> go to Library Settings
    2. Go to the Content Types section (you have to enable manage Content types
    from Advanced Settings if not done already)
    3. Add a new content type fromthe list of existing content types > good to try with Basic Page. Make that as the Default (select it as #1).
    4. Once you are done with the changes, go to our Outlook client and send an
    emailto the same list with an attached Word or Excel file and try Saving it after
    Edit.
    Xue-mei Chang
    TechNet Community Support

  • Not able to release the FI document

    Hi experts,
    I tried to release the fi documets through VF03, the system throws the error "Error in account determination: table T030K key 1000 JN7". Gl numbers already assinged in ob40 for JN7. Guide me
    how to release the documents.
    J.Francis

    Open the Error message. Click on the Key icon in the bar. It will take you to the respective configuration node where the account determination problem exits. It can be
    1. GL accounts not assigned for the invoice posting
    2. GL accounts not assigned for the  Tax Codes ( T Code FTXP)
    3. GL Account not created in GL master data.
    Hope this ll resolve your issue
    Bilal

  • Not able to synchronize the xml which is 94MB.

    Hi,
    I have Base.xml file which is 94MB.
    command inside the procedure: synchronize from file
    when iam trying to synchronize the table through the above procedure, it is error outing with
    7000 : null : com.sunopsis.sql.l: Oracle Data Integrator Timeout: connection with URL jdbc:snps:xml?f=\\hadge-aia2\E1_file_DS\Base.xml&d=\\hadge-aia2\E1_file_DS\Base.dtd&re=scbm-extract&s=E1BASE and user
    Note: it is working fine with other Base.xml which is less in size.
    Give me needful inputs.
    Thanks,
    Sireesha.

    Hi PePe,
    Here my system is a standalone CRM system.
    I cannot download Emplyee from ECC as the system is not available.
    In this context how should i proceed.
    Thanks in advance
    Prajith P

  • Not able to modify the data for infotype 0008 using FM

    Hi All ,
    I have got a requirement for updating the infotype 0008 data  using FM : HR_MAINTAIN_MASTER_DATA.
    While trying to modify the wagetypes data which is of blank ..unable to upload the amount for that partcular field ..
    For this am herewith the link  of o/p :
    http://i55.tinypic.com/28jfw2c.jpg for this am also posting the code...
    Please suggest me furthur in what way i can upload..
          SELECT * FROM pa0008 INTO TABLE itab_pa0008
    FOR ALL ENTRIES IN itab
        WHERE pernr = wa_data-pernr
        AND begda = wa_data-begda_out
        AND endda = wa_data-endda_out.
        DESCRIBE TABLE itab_pa0008 LINES lin.
        IF lin EQ  0.
          c_action = 'INS'.
        ELSE.
          c_action = 'MOD'.
        ENDIF.
        LOOP AT itab INTO wa_itab WHERE pernr = wa_data-pernr.
          CLEAR: wa_bapireturn, wa_bapireturn1, wa_hr_return.
          REFRESH: it_pprop[],it_modified_keys[].
          it_pprop-infty = '0008'.
          it_pprop-fname  = 'P0008-TRFAR'.                 "1
          it_pprop-fval = wa_itab-trfar.
          APPEND it_pprop.
          CLEAR it_pprop.
          it_pprop-infty = '0008'.
          it_pprop-fname  = 'P0008-TRFGB'.                 "2
          it_pprop-fval = wa_itab-trfgb.
          APPEND it_pprop.
          CLEAR it_pprop.
          it_pprop-infty = '0008'.
          it_pprop-fname  = 'P0008-TRFGR'.                  "3
          it_pprop-fval = wa_itab-trfgr.
          APPEND it_pprop.
          CLEAR it_pprop.
          it_pprop-infty = '0008'.
          it_pprop-fname  = 'P0008-TRFST'.                  "4
          it_pprop-fval = wa_itab-trfst.
          APPEND it_pprop.
          CLEAR it_pprop.
          flag = flag + 1.
    *****************************************************************************************************5
          BREAK-POINT.
          IF NOT wa_itab-lga1 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-LGA01'.
            it_pprop-fval = wa_itab-lga1.
            APPEND it_pprop.
            CLEAR it_pprop.
            bet1 = wa_itab-bet1.
          ENDIF.
          IF NOT wa_itab-bet1 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-BET01'.
            it_pprop-fval = wa_itab-bet1.
            APPEND it_pprop.
            CLEAR it_pprop.
          ENDIF.
    *******************************************************************************************************6
         IF NOT wa_itab-lga2 IS INITIAL.
           it_pprop-infty = '0008'.
           it_pprop-fname  = 'P0008-LGA02'.
           it_pprop-fval = wa_itab-lga2.
           APPEND it_pprop.
           CLEAR it_pprop.
           bet1 = wa_itab-bet2.
         ENDIF.
          IF NOT wa_itab-bet2 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-BET02'.
            it_pprop-fval = wa_itab-bet2.
            APPEND it_pprop.
            CLEAR it_pprop.
          ENDIF.
    *******************************************************************************************************7
          IF NOT wa_itab-lga3 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-LGA03'.
            it_pprop-fval = wa_itab-lga3.
            APPEND it_pprop.
            CLEAR it_pprop.
            bet1 = wa_itab-bet2.
          ENDIF.
          IF NOT wa_itab-bet3 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-BET03'.
            it_pprop-fval = wa_itab-bet3.
            APPEND it_pprop.
            CLEAR it_pprop.
          ENDIF.
    *******************************************************************************************************8
          IF NOT wa_itab-lga4 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-LGA04'.
            it_pprop-fval = wa_itab-lga4.
            APPEND it_pprop.
            CLEAR it_pprop.
            bet1 = wa_itab-bet2.
          ENDIF.
          IF NOT wa_itab-bet4 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-BET04'.
            it_pprop-fval = wa_itab-bet4.
            APPEND it_pprop.
            CLEAR it_pprop.
          ENDIF.
    *******************************************************************************************************9
          IF NOT wa_itab-lga5 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-LGA05'.
            it_pprop-fval = wa_itab-lga5.
            APPEND it_pprop.
            CLEAR it_pprop.
            bet1 = wa_itab-bet2.
          ENDIF.
          IF NOT wa_itab-bet5 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-BET05'.
            it_pprop-fval = wa_itab-bet5.
            APPEND it_pprop.
            CLEAR it_pprop.
          ENDIF.
    *******************************************************************************************************10
          IF NOT wa_itab-lga6 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-LGA06'.
            it_pprop-fval = wa_itab-lga6.
            APPEND it_pprop.
            CLEAR it_pprop.
            bet1 = wa_itab-bet2.
          ENDIF.
          IF NOT wa_itab-bet6 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-BET06'.
            it_pprop-fval = wa_itab-bet6.
            APPEND it_pprop.
            CLEAR it_pprop.
          ENDIF.
    *******************************************************************************************************11
          IF NOT wa_itab-lga7 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-LGA07'.
            it_pprop-fval = wa_itab-lga7.
            APPEND it_pprop.
            CLEAR it_pprop.
            bet1 = wa_itab-bet2.
          ENDIF.
          IF NOT wa_itab-bet7 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-BET07'.
            it_pprop-fval = wa_itab-bet7.
            APPEND it_pprop.
            CLEAR it_pprop.
          ENDIF.
    *******************************************************************************************************12
          IF NOT wa_itab-lga8 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-LGA08'.
            it_pprop-fval = wa_itab-lga8.
            APPEND it_pprop.
            CLEAR it_pprop.
            bet1 = wa_itab-bet2.
          ENDIF.
          IF NOT wa_itab-bet8 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-BET08'.
            it_pprop-fval = wa_itab-bet8.
            APPEND it_pprop.
            CLEAR it_pprop.
          ENDIF.
    *******************************************************************************************************13
          IF NOT wa_itab-lga9 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-LGA09'.
            it_pprop-fval = wa_itab-lga9.
            APPEND it_pprop.
            CLEAR it_pprop.
            bet1 = wa_itab-bet2.
          ENDIF.
          IF NOT wa_itab-bet9 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-BET09'.
            it_pprop-fval = wa_itab-bet9.
            APPEND it_pprop.
            CLEAR it_pprop.
          ENDIF.
    *******************************************************************************************************14
          IF NOT wa_itab-lga10 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-LGA010'.
            it_pprop-fval = wa_itab-lga10.
            APPEND it_pprop.
            CLEAR it_pprop.
            bet1 = wa_itab-bet2.
          ENDIF.
          IF NOT wa_itab-bet10 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-BET010'.
            it_pprop-fval = wa_itab-bet10.
            APPEND it_pprop.
            CLEAR it_pprop.
          ENDIF.
    *******************************************************************************************************15
       it_pprop-infty = '0008'.
       it_pprop-fname  = 'P0008-LGA11'.
       it_pprop-fval = wa_itab-lga11.
       APPEND it_pprop.
       CLEAR it_pprop.
       bet1 = wa_itab-bet2.
       it_pprop-infty = '0008'.
       it_pprop-fname  = 'P0008-BET11'.
       it_pprop-fval = wa_itab-bet11.
       APPEND it_pprop.
       CLEAR it_pprop.
    ********************************************************************************************************16
       it_pprop-infty = '0008'.
       it_pprop-fname  = 'P0008-LGA12'.
       it_pprop-fval = wa_itab-lga12.
       APPEND it_pprop.
       CLEAR it_pprop.
       bet1 = wa_itab-bet2.
       it_pprop-infty = '0008'.
       it_pprop-fname  = 'P0008-BET12'.
       it_pprop-fval = wa_itab-bet12.
       APPEND it_pprop.
       CLEAR it_pprop.
    ********************************************************************************************************17
       it_pprop-infty = '0008'.
       it_pprop-fname  = 'P0008-LGA13'.
       it_pprop-fval = wa_itab-lga13.
       APPEND it_pprop.
       CLEAR it_pprop.
       bet1 = wa_itab-bet2.
       it_pprop-infty = '0008'.
       it_pprop-fname  = 'P0008-BET13'.
       it_pprop-fval = wa_itab-bet13.
       APPEND it_pprop.
       CLEAR it_pprop.
    ********************************************************************************************************18
       it_pprop-infty = '0008'.
       it_pprop-fname  = 'P0008-LGA14'.
       it_pprop-fval = wa_itab-lga14.
       APPEND it_pprop.
       CLEAR it_pprop.
       bet1 = wa_itab-bet2.
       it_pprop-infty = '0008'.
       it_pprop-fname  = 'P0008-BET14'.
       it_pprop-fval = wa_itab-bet14.
       APPEND it_pprop.
       CLEAR it_pprop.
    BREAK-POINT.
          CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
            EXPORTING
              number = wa_itab-pernr
            IMPORTING
              return = wa_bapireturn1.
          BREAK-POINT.
         IF c_action = 'INS'.
           CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'
             EXPORTING
               pernr           = wa_itab-pernr
               actio           = 'INS'
             tclas           = 'A'
               begda           = wa_data-begda_out             "'20110401'
               endda           = wa_data-endda_out             "'99991231'
               dialog_mode     = '2'
             luw_mode        = '1'
             IMPORTING
               return          = wa_bapireturn
               return1         = wa_bapireturn1
               hr_return       = wa_hr_return
             TABLES
               proposed_values = it_pprop
               modified_keys   = it_modified_keys.
           IF NOT wa_bapireturn IS INITIAL.
             WRITE : / wa_bapireturn.
             CLEAR : wa_itab , wa_bapireturn.
           ENDIF.
         ELSEIF c_action = 'MOD'.
            CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'
              EXPORTING
             infty         = '0008'
                pernr           = wa_itab-pernr
                actio           = 'MOD'
                begda           = wa_data-begda_out             "'20110401'
                endda           = wa_data-endda_out             "'99991231'
          record        =  p_record
             recordnumber  = wa_itab-SEQNR
             operation     = change
             nocommit      = nocommit
                dialog_mode     = '0'
             IMPORTING
                return          = wa_bapireturn
                return1         = wa_bapireturn1
                hr_return       = wa_hr_return
              TABLES
                proposed_values = it_pprop
                modified_keys   = it_modified_keys.
            IF NOT wa_bapireturn IS INITIAL.
              WRITE : / wa_bapireturn.
              CLEAR : wa_itab , wa_bapireturn.
            ENDIF.
         ENDIF.
          CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
            EXPORTING
              number = wa_itab-pernr
            IMPORTING
              return = wa_bapireturn1.
        ENDLOOP.
      ENDLOOP.

    Here is a sampe, and the logic you are using for wages goes in the internal table for wages (you already have the enqueue & dequeue so you don't have to worry about that, so you only have to add the BAPI_TRANSACTION_COMMIT):
    CALL FUNCTION 'BAPI_BASICPAY_CHANGE'
      EXPORTING
        employeenumber             = pa0008-pernr
        subtype                    = pa0008-subty
        objectid                   = pa0008-objps
        lockindicator              = pa0008-sprps
        validitybegin              = pa0008-begda
        validityend                = pa0008-endda
        recordnumber               = pa0008-seqnr
        payscaletype               = pa0008-trfar
        payscalearea               = pa0008-trfgb
        payscalegroup              = pa0008-trfgr
        payscalelevel              = pa0008-trfst
    *   NEXTINCREASE               =
    *   LOCALALLOWLEVEL            =
    *   PARTNERSHIP                =
    *   CURRENCY                   =
    *   COMPARISONPAYSCLTYPE       =
    *   COMPARISONPAYSCLAREA       =
    *   COMPARISONPAYSCLGRP        =
    *   COMPARISONPAYSCLLVL        =
    *   COMPNEXTINCREASE           =
    *   CAPACITYUTILLEVEL          =
    *   HOURSWORKEDPERPERIOD       =
    *   ANNUALSALARY               =
    *   CASEGROUPCATALOG           =
    *   CASEGROUP                  =
    *   CURRENCYANNUALSALARY       =
    *   REASON                     =
    *   NOCOMMIT                   =
    * importing
    *   return                     =
    TABLES
       wagetypes                  = wages.
    Regards,
    Ryan Crosby

  • I am not able to open the browser at all?using firefox foe 3 yrs.what happened?

    why my firefox is not running at all?

    Try the procedures in this troubleshooting article - https://support.mozilla.com/kb/Firefox+will+not+start

  • Not able to post the invoice cancel MR8M document

    Dear All,
    I am not able to cancell the invoice document using MR8M transaction. System is showing the message as "balance not zero, difference between debits & credits"
    Invoice document is created in the FY 2006 as a credit memo, and now i want to reverse/ cancel it by using MR8M transaction.
    Pl. let me know the possibilities & checks required for cancellation of it.
    Regards
    Mangesh

    hi,
    2006 documents cannot be reversed now since the posting period will be closed.
    I think there is no solution. the only solution is
    If the vendor is  live and supplying any material adjust against them.
    G.Ganesh Kumar

  • Validating XML documents against a DTD

    Guys I am new to XML and I have this requirement to validate a XML document against a DTD.This validation has to be done through my java application.In short , a user enters a XML data thru a JSP form ,and moment he presses the SAVE button my java program should validate the XML data against a DTD and then display any error or else save the data into an Oracle table.
    I was wondering lot of program/utitlities must be available out there which will do the validation for me ,rather than me re-inventing the wheel.
    Please advice.
    Thanks
    Manohar.

    You should go through this to learn more on XML with Java :
    http://www.onjava.com/pub/a/onjava/excerpt/learnjava_23/index1.html
    You can check following how to to parse XML doc against a schema
    http://otn.oracle.com/sample_code/tech/java/codesnippet/xdk/SchemaValidation/SchemaValidation.html
    You should also look at chapter 4 of following doc for parsing XML using java :
    http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96621/toc.htm
    Chandar

  • HT2534 i am not able to see the payment option none

    i am not able to see the payment option none while using my apple id for the 1st time in itunes store

    Did you create a new account using an email address not used with Apple before?
    Maybe your county does not allow a None.
    I am in the US and created a None account using those instructions.

Maybe you are looking for

  • Can I disconnect the external hard drive even if Time Machine is set to back up every so often?

    I noticed that Time Machine backs up the system ever so often.  What happens if I disconnect the external hard drive I'm using as the back up and Time Machine tries to initiate a back up?  Will it corrupt anything?

  • Want to show UIX Media Model link in new page using jdev1012

    Hi, I hope you can help me. I have a read only table in uix page there's a Column of type ORDDOC here is my code for this column: <column> <columnHeader> <styledText text="${bindings.Doc.label}" styleClass="DefaultFont"/> </columnHeader> <contents> <

  • Read only permissions on a VIEW

    Are the permissions to other users to do a select on view become invalid when the view is updated. Or what may cause the permissions become invalid? Is there a way to find this?

  • Error while integrating BEx Query with Cognos

    Hi all, we have made 999 rows and 150 columns.. but we r unable  to integrate it with cognos if we remove free characteristics.... and it thows me the following error 1.BAP-ERR-0002 a BAPI error has occured in the function module RFC_READ_TABLE. NOT_

  • How do I avoid getting this error when using an OpenVPN?

    I did a little research online and noticed that people got this same (or a very very similar) error in iOS on Safari when browsing with a proxy and they just had to reset network connections. I'm getting it in OS X. When I turn on the VPN sometimes b