Error executing Webdynpro mail program

Hi,
I am using webdynpro code for implementing mail service.
I have imported jaxrpc.jar as external jar file.
I got this jar from axis.zip.
While implementing the code, I get following exception.
java.lang.Error: Unresolved compilation problems:
     Class must implement the inherited abstract method Service.getWSDLDocumentLocation()
     Class must implement the inherited abstract method Service.getPorts()
     Class must implement the inherited abstract method IEmailServiceservice.getLogicalPortNames()
     Class must implement the inherited abstract method Service.getPort(Class)
     Class must implement the inherited abstract method Service.getTypeMappingRegistry()
     Class must implement the inherited abstract method Service.getCalls(QName)
     Class must implement the inherited abstract method Service.getPort(QName, Class)
     Class must implement the inherited abstract method Service.createCall(QName, QName)
     Class must implement the inherited abstract method Service.createCall(QName, String)
     Class must implement the inherited abstract method Service.createCall()
     Class must implement the inherited abstract method Service.getServiceName()
     Class must implement the inherited abstract method Service.getHandlerRegistry()
     Class must implement the inherited abstract method Service.createCall(QName)
     com.sap.engine cannot be resolved or is not a valid superclass
     The method loadProtocolsFromPropertyFile(InputStream) is undefined for the type IEmailServiceserviceImpl
     The method init(InputStream) is undefined for the type IEmailServiceserviceImpl
     The method getPort(QName, Class) is undefined for the type Object
     The method getPort(QName, Class) is undefined for the type Object
     The method getLogicalPort(Class) is undefined for the type Object
Whats wrong?
thanks,
Ashutosh

Hello Anil,
I am not even able to compile my project.
I get compilation errors as
Class must implement the inherited abstract method SendEmailService.getLogicalPortNames()
               Class must implement the inherited abstract method Service.createCall()     
               Class must implement the inherited abstract method Service.createCall(QName, QName)
               Class must implement the inherited abstract method Service.createCall(QName, String)
               Class must implement the inherited abstract method Service.createCall(QName)
               Class must implement the inherited abstract method Service.getCalls(QName)
               Class must implement the inherited abstract method Service.getHandlerRegistry()
               Class must implement the inherited abstract method Service.getPort(Class)
               Class must implement the inherited abstract method Service.getPort(QName, Class)
               Class must implement the inherited abstract method Service.getPorts()
               Class must implement the inherited abstract method Service.getServiceName()
               Class must implement the inherited abstract method Service.getTypeMappingRegistry()     
               Class must implement the inherited abstract method Service.getWSDLDocumentLocation()     
               com.sap.engine cannot be resolved or is not a valid superclass
               The method getLogicalPort(Class) is undefined for the type Object     
               The method getPort(QName, Class) in the type Service is not applicable for the arguments (QName, null)     
               The method getPort(QName, Class) is undefined for the type Object     
               The method getPort(QName, Class) is undefined for the type Object     
               The method init(InputStream) is undefined for the type SendEmailServiceImpl     
               The method loadProtocolsFromPropertyFile(InputStream) is undefined for the type SendEmailServiceImpl     
Do you have any latest jaxrpc.jar download url?
thanks,
Ashutosh

Similar Messages

  • Strange error,execute datamining  sample program  Sample_AssociationRules

    I have installed an Oracle 9i Release 2 database locally in order to test the functionality of the data mining option. when i execute the sample program
    Sample_AssociationRules (compile success ),i encounter bellow problem :
    E:\oracle\ora92\dm\demo\sample>java Sample_AssociationRules Sample_Global.property
    Sample_AssociationRules_Transacional.property
    ODM 9.2.0 Sample Program: Sample_AssociationRules
    Property Files:
    Global: Sample_Global.property
    Sample: Sample_AssociationRules_Transactional.property
    Start: Mon Dec 02 10:16:49 CST 2002
    Initialization Phase:
    Data Mining Server:
    JDBC URL: jdbc:oracle:thin:@HGS:1521:SALESDB
    Username: ODM
    Login Phase:
    Completed MiningServer login
    Cleanup Phase:
    Cleanup flag: cleanupBeforeExecution
    Data Setup Creation Phase:
    m_InputDataSchemaName: ODM_MTR
    Received an exception in main: 2NJ} "schema" 5D3$6HN^P'!#8C2NJ}0|:,5DWV7{J}
    1XPk=iSZ 1 :M 30 V.<d!#
    oracle.dmt.odm.InvalidArgumentException: 2NJ} "schema" 5D3$6HN^P'!#8C2NJ}0|:,5D
    WV7{J}1XPk=iSZ 1 :M 30 V.<d!#
    at oracle.dmt.odm.internal.StringCheck.checkLength(StringCheck.java:431)
    at oracle.dmt.odm.internal.StringCheck.checkSchemaObjectName(StringCheck
    .java:188)
    at oracle.dmt.odm.Location.<init>(Location.java:76)
    at oracle.dmt.odm.LocationAccessData.<init>(LocationAccessData.java:61)
    at Sample_AssociationRules.createPhysicalDataSpecification(Sample_Associ
    ationRules.java:254)
    at Sample_AssociationRules.main(Sample_AssociationRules.java:159)
    Logout Phase:
    Completed MiningServer logout
    End: Mon Dec 02 10:16:57 CST 2002
    when i execute other code meet the same problem .i don't know why ,
    please help me

    I just get the same problem, when I run the samplecode.
    I have added the nls_charset12.zip to my classpath, and the problem remains:
    Data Setup Creation Phase:
    Received an exception in main: 参数 "schema" 的长度无效。该参数包含的字符数
    必须介于 1 和 30 之间。
    oracle.dmt.odm.InvalidArgumentException: 参数 "schema" 的长度无效。该参数包含的
    字符数必须介于 1 和 30 之间。
    at oracle.dmt.odm.internal.StringCheck.checkLength(StringCheck.java:431)
    at oracle.dmt.odm.internal.StringCheck.checkSchemaObjectName(StringCheck
    .java:188)
    at oracle.dmt.odm.Location.<init>(Location.java:76)
    at oracle.dmt.odm.LocationAccessData.<init>(LocationAccessData.java:61)
    at Sample_AssociationRules.createPhysicalDataSpecification(Sample_AssociationRules.java:225)
    at Sample_AssociationRules.main(Sample_AssociationRules.java:131)
    Logout Phase:
    Completed MiningServer logout
    End: Wed Mar 05 18:07:38 CST 2003
    ***************************

  • Error While executing the Standard Program RSEINB00

    Hi,
    I am trying to execute the Standard Program RSEINB00.
    The input parameters for this program are
    1. File path along with name
    2. Port.
    File path I am giving the application server directory along with the filename.
    For port. i have created a port in WE21.
    For both outbound parametes I selected the Physical directory and gave directory name and file name in both tabs and saved the port definition.
    Now I am passing the port to the RSEINB00 program.
    it is giving an error File cannot be opened.
    Can any one help me on this. Can someone guide me how to use RSEINB00 to read file from application server.
    thanks

    Hi,
    I think,you missed out some steps while creating Port.so please follow the below steps to resolve the issue.
    we21->click on your port number->outbound file tab->function module: EDI_PATH_CREATE_MESTYP_DOCNUM.
    outbound file: give file name .txt.
    and give the physical directory : /usr/sap/.......................................txt and save.
    and click on 'ACESS TEST' button and check any error is coming.
    go to outbound trigger tab-> give RFC destination name which we have created under a port in SM59.
    and one more important thing is check your unicode status is active or not.
    .Please get back me .if any issues.
    Kiran J

  • JCO.Server Error while trying to execute a RFC program from SAP

    Hi,
    We are connecting to an external registered server program from SAP via Web Methods.
    The external server program is registered with the SAP Gateway. We have created a TCP/IP RFC destination and are able to connect to the destination successfully via SM59.
    An RFC function is created in SAP and is called using the syntax CALL FUNCTION "/NGN/BAPI_STRE_SEARCH_PROCESS" DESTINATION 'PRDB2B'. We have also handled the COMM_FALIURE and SYSTEM_FALIURE exceptions in the function call.
    We are monitoring the gateway via SMGW and see a connection log to the RFC destination as below
    Number - 10
    LUname - dev01
    TPName - sapgw00
    User - KRAORANE
    Status - CONNECTED
    Symbolic - PRDB2B
    Conversation - 86520353
    Prot - REG
    SAP return code - 0
    CPIC rtn code - 0
    The external program returns results as expected.
    However sometimes the RFC fails and returns the message “JCO.Server could not create server function /NGN/BAPI_STRE_SEARCH_PROCESS”.
    We are not able to figure what exactly is causing this error. Any help will be highly appreciated.
    -Kiran

    Hi,
    Please see the below links..
    JCO.Server Error while trying to execute a RFC program from SAP
    Re: JCO.Servcer could not find server function
    Re: JCO.Server could not find server function 'SET_SLD_DATA'
    /people/kathirvel.balakrishnan2/blog/2005/07/26/remote-enable-your-rfchosttoip-to-return-host-ip-to-jco
    Re: interfacing SAP with an existing java applications
    http://help.sap.com/saphelp_nw04/helpdata/en/47/80f671ee6e4b41b63c0fe46bd6e4f8/content.htm
    http://www.sapgenie.com/faq/jco.htm
    Regards
    Chilla..

  • Dump error while executing this unicode program.....

    Hi,
         I got a program for 'Production Order Quantity Change Daily Checklist' ,but while executing i got the dump error from the following program stating tat,
      The current statement is only defined for character-type data objects.
    Error in the ABAP Application Program
    The current ABAP program "ZPROD" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    For the statement
       "READ DATASET ... INTO f"
    only character-type data objects are supported at the argument position
    "f".
    In this case. the operand "f" has the non-character-type "u". The
    current program is a Unicode program. In the Unicode context, the type
    'X' or structures containing not only character-type components are
    regarded as non-character-type.
    Program:
    REPORT ZPPORDER LINE-SIZE 180 NO STANDARD PAGE HEADING
                    LINE-COUNT 058(001).
    TABLES: AUFK,  "Order master data
            AFKO,  "Order header data PP orders
            RESB,  "Reservation/dependent requirements
            MAST,  "Material to BOM Link
            STKO,  "BOM Header
            STPO.  "BOM item
    DATA: BEGIN OF WA,
             AUART      TYPE AUFK-AUART,
             AUFNR      TYPE AUFK-AUFNR,
             AEDAT      TYPE AUFK-AEDAT,
             AENAM      TYPE AUFK-AENAM,
             WERKS      TYPE AUFK-WERKS,
             PLNBEZ     TYPE AFKO-PLNBEZ,
             GAMNG      TYPE AFKO-GAMNG,
             GASMG      TYPE AFKO-GASMG,
             MATNR      TYPE RESB-MATNR,
             POSNR      TYPE RESB-POSNR,
             BDMNG      TYPE RESB-BDMNG,
             BMENG      TYPE STKO-BMENG,
             MENGE      TYPE STPO-MENGE,
          END OF WA,
          ITAB  LIKE SORTED   TABLE OF WA WITH NON-UNIQUE KEY AUFNR POSNR.
    DATA: BEGIN OF ITAB2 OCCURS 0.
          INCLUDE STRUCTURE WA.
    DATA: END OF ITAB2.
    DATA: BEGIN OF ITAB_AUFK OCCURS 0,
          AUART  LIKE AUFK-AUART,
          AUFNR  LIKE AUFK-AUFNR,
          POSNR  LIKE RESB-POSNR,
          AEDAT  LIKE AUFK-AEDAT,
          AENAM  LIKE AUFK-AENAM,
          WERKS  LIKE AUFK-WERKS,
          PLNBEZ LIKE AFKO-PLNBEZ,
          GAMNG(7) TYPE P DECIMALS 0,
          GASMG(7) TYPE P DECIMALS 0,
          MATNR  LIKE RESB-MATNR,
          BDMNG(7) TYPE P DECIMALS 0,
          BMENG(7) TYPE P DECIMALS 0,
          MENGE(7) TYPE P DECIMALS 3.
    DATA: END OF ITAB_AUFK.
    DATA: FDATE LIKE SY-DATUM,
          LDATE LIKE SY-DATUM.
    DATA: X_AUFNR LIKE AFKO-AUFNR,
          X_MENGE(7) TYPE P DECIMALS 0,
          X_ERR(3).
    DATA: W_DATASET1(500) VALUE '/usr/sap/trans/data/'.
    SELECT-OPTIONS T_WERKS  FOR  AUFK-WERKS OBLIGATORY.
    SELECT-OPTIONS T_AUFNR  FOR  AUFK-AUFNR.
    SELECT-OPTIONS T_AEDAT  FOR  AUFK-AEDAT.
    PARAMETERS     PDATA    LIKE W_DATASET1.
    CONCATENATE W_DATASET1 PDATA INTO W_DATASET1.
    PERFORM F_COLLECT_DATA.
    FORM F_COLLECT_DATA.
    OPEN DATASET W_DATASET1 FOR INPUT IN TEXT MODE encoding default.
      DO.
         IF sy-subrc <> 0.
            EXIT.
         ENDIF.
         READ DATASET W_DATASET1 INTO WA.
         APPEND WA TO ITAB2.
      ENDDO.
    CLOSE DATASET W_DATASET1.
    SELECT  AAUFNR  AAUART AAEDAT AAENAM A~WERKS
            BPLNBEZ BGAMNG B~GASMG
            CMATNR  CBDMNG C~POSNR
         INTO CORRESPONDING FIELDS OF TABLE ITAB
         FROM          ( AUFK AS A
              INNER JOIN AFKO AS B ON BAUFNR  = AAUFNR
              INNER JOIN RESB AS C ON CAUFNR  = AAUFNR )
         WHERE A~AEDAT IN T_AEDAT
           AND A~WERKS IN T_WERKS.
         LOOP AT ITAB INTO WA.
            CLEAR MAST.
            SELECT SINGLE * FROM MAST WHERE MATNR = WA-PLNBEZ
                                        AND WERKS = WA-WERKS.
            CLEAR STKO.
            SELECT SINGLE * FROM STKO WHERE STLNR = MAST-STLNR
                                        AND STLAL = MAST-STLAL.
            CLEAR STPO.
            SELECT SINGLE * FROM STPO WHERE STLNR = MAST-STLNR
                                        AND POSNR = WA-POSNR.
            WA-BMENG = STKO-BMENG.
            WA-MENGE = STPO-MENGE.
            MODIFY ITAB FROM WA.
            AT NEW AUFNR.
               SKIP.
            ENDAT.
            LOOP AT ITAB2 WHERE AUFNR = WA-AUFNR
                            AND POSNR = WA-POSNR.
                IF ITAB2-GAMNG <> WA-GAMNG OR
                   ITAB2-GASMG <> WA-GASMG OR
                   ITAB2-BDMNG <> WA-BDMNG.
                   CLEAR X_MENGE.
                   IF ITAB2-BMENG <> 0.
                      X_MENGE = ITAB2-GAMNG / ITAB2-BMENG * ITAB2-MENGE.
                   ENDIF.
                   CLEAR X_ERR.
                   IF ITAB2-BDMNG <> X_MENGE.
                      X_ERR = 'Err'.
                   ENDIF.
                   FORMAT COLOR COL_TOTAL.
                   WRITE: / ITAB2-AUART  UNDER 'Type',
                            ITAB2-AUFNR  UNDER 'Prod Order',
                            ITAB2-AEDAT  UNDER 'Last Chg Dt',
                            ITAB2-AENAM  UNDER 'Last Chg by',
                            ITAB2-WERKS  UNDER 'Plant',
                            ITAB2-PLNBEZ UNDER 'Material',
                       (10) ITAB2-GAMNG  UNDER 'Order Qty' DECIMALS 0,
                       (10) ITAB2-GASMG  UNDER 'Scrap Qty' DECIMALS 0,
                            ITAB2-POSNR  UNDER 'Item',
                            ITAB2-MATNR  UNDER 'Component Req',
                       (10) ITAB2-BDMNG  UNDER 'Req Qty' DECIMALS 0,
                            X_MENGE      UNDER 'BOM Qty' COLOR COL_TOTAL,
                            ITAB2-BMENG  UNDER 'BOM Base',
                            ITAB2-MENGE  UNDER 'BOM Comp',
                            X_ERR        UNDER 'Rmks' COLOR COL_TOTAL.
                   CLEAR X_MENGE.
                   IF WA-BMENG <> 0.
                      X_MENGE = WA-GAMNG / WA-BMENG * WA-MENGE.
                   ENDIF.
                   CLEAR X_ERR.
                   IF WA-BDMNG <> X_MENGE.
                      X_ERR = 'Err'.
                   ENDIF.
                   FORMAT COLOR OFF.
                   WRITE: / WA-AUART  UNDER 'Type',
                            WA-AUFNR  UNDER 'Prod Order',
                            WA-AEDAT  UNDER 'Last Chg Dt',
                            WA-AENAM  UNDER 'Last Chg by',
                            WA-WERKS  UNDER 'Plant',
                            WA-PLNBEZ UNDER 'Material',
                       (10) WA-GAMNG  UNDER 'Order Qty' DECIMALS 0,
                       (10) WA-GASMG  UNDER 'Scrap Qty' DECIMALS 0,
                            WA-POSNR  UNDER 'Item',
                            WA-MATNR  UNDER 'Component Req',
                       (10) WA-BDMNG  UNDER 'Req Qty' DECIMALS 0,
                            X_MENGE   UNDER 'BOM Qty' COLOR COL_TOTAL,
                            WA-BMENG  UNDER 'BOM Base',
                            WA-MENGE  UNDER 'BOM Comp',
                            X_ERR     UNDER 'Rmks' COLOR COL_TOTAL.
                 ENDIF.
            ENDLOOP.
         ENDLOOP.
       LOOP AT ITAB2.
            LOOP AT ITAB INTO WA WHERE AUFNR = ITAB2-AUFNR
                                   AND POSNR = ITAB2-POSNR.
                 DELETE ITAB2.
            ENDLOOP.
            SELECT SINGLE * FROM AUFK WHERE AUFNR = ITAB2-AUFNR.
            IF SY-SUBRC <> 0.
                 DELETE ITAB2.
            ENDIF.
       ENDLOOP.
       OPEN DATASET W_DATASET1 FOR OUTPUT IN TEXT MODE encoding default.
            LOOP AT ITAB  INTO WA.
               TRANSFER WA TO W_DATASET1.
            ENDLOOP.
            LOOP AT ITAB2 INTO WA.
               TRANSFER WA TO W_DATASET1.
            ENDLOOP.
       CLOSE DATASET W_DATASET1.
    ENDFORM.
    TOP-OF-PAGE.
        FORMAT COLOR COL_TOTAL.
        WRITE: / SY-DATUM, SY-UZEIT, SY-REPID, SY-UNAME,
             50 'Daily Qty Changed Checklist for Production Order',
            120 SY-PAGNO.
        SKIP.
        WRITE: / 'Plant ', T_WERKS-LOW.
        WRITE:   ' Last Change Date ', T_AEDAT-LOW, ' to ', T_AEDAT-HIGH.
        SKIP.
        WRITE: /1  'Type',
                6  'Prod Order',
                17 'Last Chg Dt',
                29 'Last Chg by',
                42 'Plant',
                49 'Material',
                69 'Order Qty',
                83 'Scrap Qty',
                99 'Item',
               105 'Component Req',
               121 'Req Qty',
               135 'BOM Qty',
               149 'BOM Base',
               163 'BOM Comp',
               178 'Rmks'.
         ULINE.
         WRITE: / 'Previous data :- '.
         FORMAT COLOR OFF.
         WRITE: / 'Current data :- '.
    INITIALIZATION.
       LDATE = SY-DATUM.
       LDATE  = LDATE - 1.
       FDATE = LDATE.
       MOVE:   FDATE         TO  T_AEDAT-LOW.
       APPEND T_AEDAT.
       PDATA = 'AE001'.
    So,give me any suggestions where to customize r do rectify the error.This will be useful for me.
    Advance Thnx..

    *REPORT  ZPROD.
    REPORT ZPPORDER LINE-SIZE 180 NO STANDARD PAGE HEADING
                    LINE-COUNT 058(001).
    TABLES: AUFK,  "Order master data
            AFKO,  "Order header data PP orders
            RESB,  "Reservation/dependent requirements
            MAST,  "Material to BOM Link
            STKO,  "BOM Header
            STPO.  "BOM item
    DATA: BEGIN OF WA,
             AUART      TYPE AUFK-AUART,
             AUFNR      TYPE AUFK-AUFNR,
             AEDAT      TYPE AUFK-AEDAT,
             AENAM      TYPE AUFK-AENAM,
             WERKS      TYPE AUFK-WERKS,
             PLNBEZ     TYPE AFKO-PLNBEZ,
             GAMNG      TYPE AFKO-GAMNG,
             GASMG      TYPE AFKO-GASMG,
             MATNR      TYPE RESB-MATNR,
             POSNR      TYPE RESB-POSNR,
             BDMNG      TYPE RESB-BDMNG,
             BMENG      TYPE STKO-BMENG,
             MENGE      TYPE STPO-MENGE,
          END OF WA,
          ITAB  LIKE SORTED   TABLE OF WA WITH NON-UNIQUE KEY AUFNR POSNR.
    DATA: BEGIN OF ITAB2 OCCURS 0.
          INCLUDE STRUCTURE WA.
    DATA: END OF ITAB2.
    DATA: BEGIN OF ITAB_AUFK OCCURS 0,
          AUART  LIKE AUFK-AUART,
          AUFNR  LIKE AUFK-AUFNR,
          POSNR  LIKE RESB-POSNR,
          AEDAT  LIKE AUFK-AEDAT,
          AENAM  LIKE AUFK-AENAM,
          WERKS  LIKE AUFK-WERKS,
          PLNBEZ LIKE AFKO-PLNBEZ,
          GAMNG(7) TYPE P DECIMALS 0,
          GASMG(7) TYPE P DECIMALS 0,
          MATNR  LIKE RESB-MATNR,
          BDMNG(7) TYPE P DECIMALS 0,
          BMENG(7) TYPE P DECIMALS 0,
          MENGE(7) TYPE P DECIMALS 3.
    DATA: END OF ITAB_AUFK.
    DATA: FDATE LIKE SY-DATUM,
          LDATE LIKE SY-DATUM.
    DATA: X_AUFNR LIKE AFKO-AUFNR,
          X_MENGE(7) TYPE P DECIMALS 0,
          X_ERR(3).
    DATA: W_DATASET1(500) VALUE '/usr/sap/trans/data/'.
    SELECT-OPTIONS T_WERKS  FOR  AUFK-WERKS OBLIGATORY.
    SELECT-OPTIONS T_AUFNR  FOR  AUFK-AUFNR.
    SELECT-OPTIONS T_AEDAT  FOR  AUFK-AEDAT.
    PARAMETERS     PDATA    LIKE W_DATASET1.
    CONCATENATE W_DATASET1 PDATA INTO W_DATASET1.
    PERFORM F_COLLECT_DATA.
    FORM F_COLLECT_DATA.
    OPEN DATASET W_DATASET1 FOR INPUT IN TEXT MODE encoding default.
      DO.
         IF sy-subrc <> 0.
            EXIT.
         ENDIF.
         READ DATASET W_DATASET1 INTO WA.
         APPEND WA TO ITAB2.
      ENDDO.
    CLOSE DATASET W_DATASET1.
    SELECT  AAUFNR  AAUART AAEDAT AAENAM A~WERKS
            BPLNBEZ BGAMNG B~GASMG
            CMATNR  CBDMNG C~POSNR
         INTO CORRESPONDING FIELDS OF TABLE ITAB
         FROM          ( AUFK AS A
              INNER JOIN AFKO AS B ON BAUFNR  = AAUFNR
              INNER JOIN RESB AS C ON CAUFNR  = AAUFNR )
         WHERE A~AEDAT IN T_AEDAT
           AND A~WERKS IN T_WERKS.
         LOOP AT ITAB INTO WA.
            CLEAR MAST.
            SELECT SINGLE * FROM MAST WHERE MATNR = WA-PLNBEZ
                                        AND WERKS = WA-WERKS.
            CLEAR STKO.
            SELECT SINGLE * FROM STKO WHERE STLNR = MAST-STLNR
                                        AND STLAL = MAST-STLAL.
            CLEAR STPO.
            SELECT SINGLE * FROM STPO WHERE STLNR = MAST-STLNR
                                        AND POSNR = WA-POSNR.
            WA-BMENG = STKO-BMENG.
            WA-MENGE = STPO-MENGE.
            MODIFY ITAB FROM WA.
            AT NEW AUFNR.
               SKIP.
            ENDAT.
            LOOP AT ITAB2 WHERE AUFNR = WA-AUFNR
                            AND POSNR = WA-POSNR.
                IF ITAB2-GAMNG <> WA-GAMNG OR
                   ITAB2-GASMG <> WA-GASMG OR
                   ITAB2-BDMNG <> WA-BDMNG.
                   CLEAR X_MENGE.
                   IF ITAB2-BMENG <> 0.
                      X_MENGE = ITAB2-GAMNG / ITAB2-BMENG * ITAB2-MENGE.
                   ENDIF.
                   CLEAR X_ERR.
                   IF ITAB2-BDMNG <> X_MENGE.
                      X_ERR = 'Err'.
                   ENDIF.
                   FORMAT COLOR COL_TOTAL.
                   WRITE: / ITAB2-AUART  UNDER 'Type',
                            ITAB2-AUFNR  UNDER 'Prod Order',
                            ITAB2-AEDAT  UNDER 'Last Chg Dt',
                            ITAB2-AENAM  UNDER 'Last Chg by',
                            ITAB2-WERKS  UNDER 'Plant',
                            ITAB2-PLNBEZ UNDER 'Material',
                       (10) ITAB2-GAMNG  UNDER 'Order Qty' DECIMALS 0,
                       (10) ITAB2-GASMG  UNDER 'Scrap Qty' DECIMALS 0,
                            ITAB2-POSNR  UNDER 'Item',
                            ITAB2-MATNR  UNDER 'Component Req',
                       (10) ITAB2-BDMNG  UNDER 'Req Qty' DECIMALS 0,
                            X_MENGE      UNDER 'BOM Qty' COLOR COL_TOTAL,
                            ITAB2-BMENG  UNDER 'BOM Base',
                            ITAB2-MENGE  UNDER 'BOM Comp',
                            X_ERR        UNDER 'Rmks' COLOR COL_TOTAL.
                   CLEAR X_MENGE.
                   IF WA-BMENG <> 0.
                      X_MENGE = WA-GAMNG / WA-BMENG * WA-MENGE.
                   ENDIF.
                   CLEAR X_ERR.
                   IF WA-BDMNG <> X_MENGE.
                      X_ERR = 'Err'.
                   ENDIF.
                   FORMAT COLOR OFF.
                   WRITE: / WA-AUART  UNDER 'Type',
                            WA-AUFNR  UNDER 'Prod Order',
                            WA-AEDAT  UNDER 'Last Chg Dt',
                            WA-AENAM  UNDER 'Last Chg by',
                            WA-WERKS  UNDER 'Plant',
                            WA-PLNBEZ UNDER 'Material',
                       (10) WA-GAMNG  UNDER 'Order Qty' DECIMALS 0,
                       (10) WA-GASMG  UNDER 'Scrap Qty' DECIMALS 0,
                            WA-POSNR  UNDER 'Item',
                            WA-MATNR  UNDER 'Component Req',
                       (10) WA-BDMNG  UNDER 'Req Qty' DECIMALS 0,
                            X_MENGE   UNDER 'BOM Qty' COLOR COL_TOTAL,
                            WA-BMENG  UNDER 'BOM Base',
                            WA-MENGE  UNDER 'BOM Comp',
                            X_ERR     UNDER 'Rmks' COLOR COL_TOTAL.
                 ENDIF.
            ENDLOOP.
         ENDLOOP.
       LOOP AT ITAB2.
            LOOP AT ITAB INTO WA WHERE AUFNR = ITAB2-AUFNR
                                   AND POSNR = ITAB2-POSNR.
                 DELETE ITAB2.
            ENDLOOP.
            SELECT SINGLE * FROM AUFK WHERE AUFNR = ITAB2-AUFNR.
            IF SY-SUBRC <> 0.
                 DELETE ITAB2.
            ENDIF.
       ENDLOOP.
       OPEN DATASET W_DATASET1 FOR OUTPUT IN TEXT MODE encoding default.
            LOOP AT ITAB  INTO WA.
               TRANSFER WA TO W_DATASET1.
            ENDLOOP.
            LOOP AT ITAB2 INTO WA.
               TRANSFER WA TO W_DATASET1.
            ENDLOOP.
       CLOSE DATASET W_DATASET1.
    ENDFORM.
    TOP-OF-PAGE.
        FORMAT COLOR COL_TOTAL.
        WRITE: / SY-DATUM, SY-UZEIT, SY-REPID, SY-UNAME,
             50 'Daily Qty Changed Checklist for Production Order',
            120 SY-PAGNO.
        SKIP.
        WRITE: / 'Plant ', T_WERKS-LOW.
        WRITE:   ' Last Change Date ', T_AEDAT-LOW, ' to ', T_AEDAT-HIGH.
        SKIP.
        WRITE: /1  'Type',
                6  'Prod Order',
                17 'Last Chg Dt',
                29 'Last Chg by',
                42 'Plant',
                49 'Material',
                69 'Order Qty',
                83 'Scrap Qty',
                99 'Item',
               105 'Component Req',
               121 'Req Qty',
               135 'BOM Qty',
               149 'BOM Base',
               163 'BOM Comp',
               178 'Rmks'.
         ULINE.
         WRITE: / 'Previous data :- '.
         FORMAT COLOR OFF.
         WRITE: / 'Current data :- '.
    INITIALIZATION.
       LDATE = SY-DATUM.
       LDATE  = LDATE - 1.
       FDATE = LDATE.
       MOVE:   FDATE         TO  T_AEDAT-LOW.
       APPEND T_AEDAT.
       PDATA = 'AE001'.

  • Sunstudio11, Internal Error when I execute a fortran program

    Hello,
    I installed sunstudio11 on a amd64 machine with ubuntu 6.06 LTS dapper drake.
    I get an "Internal Error" message when I execute a fortran program (myprog < input.file).
    Annotation: Exception occurred in Request Processor
    java.lang.NullPointerException
         at org.openide.execution.ProcessExecutor$PERunnable.run(ProcessExecutor.java:368)
    [catch] at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:118)
    The program is not running and it seems he is waiting on the input.file, although "< input.file" was set as an argument.
    Thanks in advance for help,
    Thomas

    This is Sun Studio 11 right? Not a preview release of SS12?
    So you must be using gfortran to build your program?
    I assume the program runs from the command line okay.
    If you're an IDE user, then I recommend that you check out the
    new IDE in Sun Studio 12 Express 3 release. The new one is pre-release
    and it has some rough edges, but it's the direction we're going
    in the future, and we'd love to get feedback on it.
    --chris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to execute a Java program from ODI

    Hi All,
    I am new to ODI. I would like to know whether its possible to execute a java program from ODI.
    Reason for this is, I would like to write information in error tables into a file. And after that another program will mail that error log to concerned person.
    Could anyone please help me with this?
    Thank you in advance
    Regards,
    Srini

    if you have the java code then u can create a procedure with Java BeanShell as the Technology and write your java code in the procedure

  • Error while reading mail from inbox

    hi,
    i have created a mail program which downloads mails from the ISP. In this program i am storing the message object in a List object and send it to another class for it to continue the download process. but i am getting this error.
    javax.mail.MessagingException: Open failed;
    nested exception is:
         java.io.EOFException: Unable to lock mailbox
    i am giving the code below.
    Message mNew[]=null;
    Message m=null;
    Store store=null;
    Folder folder=null;
    do
          // this loop checks if the email connection is available
          // if not it tries to get the email connection by calling
          // the getEmailConnection
          if(!isEmailConnected)
            isEmailConnected=ecm.getEmailConnection(hostname,username,password);
          else if(isEmailConnected)
            this.store=ecm.store;
            try
              folder = store.getFolder("INBOX");
              folder.open(Folder.READ_WRITE);
              m=folder.getMessages();
                for(int i=0;i<m.length;i++)
    //              This checks if the inbox folder
    //                is of POP3 type. if it is of POP3
    //                type we get all the messages Unique Identifiers
                  if(folder instanceof com.sun.mail.pop3.POP3Folder)
                    com.sun.mail.pop3.POP3Folder pop3=(com.sun.mail.pop3.POP3Folder)folder;
                    uid=pop3.getUID(m);
    // if the list contains the unique identifier
    // then no process is executed otherwise
    // the unique ids are maintained in the list
    // called pop3List.
    if(pop3List.contains(uid))
    else
    mNew[newCount]=m[i];
    pop3List.add(uid);
    newCount++;
    * This adds the new incoming email List of addresses to the method newEmailRecieved
    * which is iin another class.
    listener.newEmailRecieved(m);
    folder.close(true);
    catch(Exception ex){System.out.println("Error Occured"+ex);}
    while(true);

    hi,
    to continue with my post, i am using POP3 provider to get the messages. any help is appreciated
    regards
    Kiran

  • How can I execute an external program from within a button's event handler?

    I am using Tomcat ApacheTomcat 6.0.16 with Netbeans 6.1 (with the latest JDK/J2EE)
    I need to execute external programs from an event handler for a button on a JSF page (the program is compiled, and extremely fast compared both to plain java and especially stored procedures written in SQL).
    I tried what I'd do in a standalone program (as shown in the appended code), but it didn't work. Instead I received text saying the program couldn't be found. This error message comes even if I try the Windows command "dir". I thought with 'dir' I'd at least get the contents of the current working directory. :-(
    I can probably get by with cgi on Apache's httpd server (or, I understand tomcat supports cgi, but I have yet to get that to work either), but whatever I do I need to be able to do it from within the button's event handler. And if I resort to cgi, I must be able to maintain session jumping from one server to the other and back.
    So, then, how can I do this?
    Thanks
    Ted
    NB: The programs that I need to run do NOT take input from the user. Rather, my code in the web application processes user selections from selection controls, and a couple field controls, sanitizes the inoputs and places clean, safe data in a MySQL database, and then the external program I need to run gets safe data from the database, does some heavy duty number crunching, and puts the output data into the database. They are well insulated from mischeif.
    NB: In the following array_function_test.pl was placed in the same folder as the web application's jsp pages, (and I'd tried WEB-INF - with the same result), and I DID see the file in the application's war file.
            try {
                java.lang.ProcessBuilder pn = new java.lang.ProcessBuilder("array_function_test.pl");
                //pn.directory(new java.io.File("K:\\work"));
                java.lang.Process pr = pn.start();
                java.io.BufferedInputStream bis = (java.io.BufferedInputStream)pr.getInputStream();
                String tmp = new String("");
                byte b[] = new byte[1000];
                int i = 0;
                while (i != -1) {
                    bis.read(b);
                    tmp += new String(b);
                getSelectionsDisplayTextArea().setText(getSelectionsDisplayTextArea().getText() + "\n\n" + tmp);
            } catch (java.io.IOException ex) {
                getSelectionsDisplayTextArea().setText(getSelectionsDisplayTextArea().getText() + "\n\n" + ex.getMessage());
            }

    Hi Fonsi!
    One way to execute an external program is to use the System Exec.vi. You find it in the functions pallet under Communication.
    /Thomas

  • Specific domain blocked for both mail programs

    Hi all. Need some help... One specific domain name's email addresses has been blocked by my mac for outgoing email from both 'mail' and entourage programs. I don't get any error messages but the emails never get delivered. However emails from the domain name get delivered to me just fine.
    It is isolated to my mac as I can send/receive using a different computer on the same internet connection to the domain name addresses.
    I think it results from a moment last week when I accidentally clicked on 'junk' instead of delete for an email from the domain name thats causing the trouble. I immediately clicked 'this is not junk', and thought nothing more of it. it appears that somehow the computer will now not deliver email to the domain name address in question. Its like a very specific block, but effects both mail programs. Apple Support suggested posting to this disscussion board or an 'archive and install'. Hope someone can help. thanks.
    iMac   Mac OS X (10.4.8)  

    Open one of these messages in the Sent mailbox, and then click on View in the Menubar of the Mail window, place the cursor on Message, and choose Long Headers from the resulting menu. In the Long Headers, is there on named Message ID#? If so, then the message was sent from this Mac, as the ID# must be reported back from the SMTP.
    Are you using Rich Text Format, when composing and sending on this Mac? Do these messages have any attachments, or images such as might be in a Signature? If this is the situation, then the RTF may be getting converted to HTML, and a SPAM filter in front of the recipient may be blocking the receipt of messages from this Mac.
    Try resending one of these message, after first changing to Plain Text, as a test. Open the message in the Sent mailbox, click on Message in the Menubar, and choose Send Again. Next click on Format in the Menubar, and choose Make Plain Text, and send.
    Keep us posted.
    Ernie

  • Error while running the program of deferred Tax ( New)Program Name RFUMSV50

    Hi
    I am getting the error while running the program of deferred Tax ( New)
    Following is the detailed error :
    Enter rate / INR rate type M for 00.00.0000 in the system settings
    Message no. SG105
    Diagnosis
    For the conversion of an amount into another currency, an entry is missing in the currency conversion table.
    Procedure
    Add the missing entry in the currency conversion table.
    Execute function
    You can then continue to process the commercial transaction.
    Thanks & Regards,
    PM

    Check the following notes:-
    1)  Note 46582 - 2.2->3.0: error SG105 for exchange rate M w. inv.
    2)  Note 165645 - SG105:Enter rate & / & rate type & for 00.00.0000..
    3)  Note 483542 - F110: SG105 in maintenance of proposal run with wthhldng tax
    4)  Note 975657 - SG 105: FI-Enjoy with foreign currency and calculate tax
    thanks
    G. Lakshmipathi

  • Error, while calling driver program for Smartforms

    Hi All,
    I am getting a error while running DRIVER PROGRAM of smart form.
    both driver program and smart form running successfully without any error while executing separately. But
    while calling Smart Form from driver program. it is giving error as :-
    *Events are already defined.*
    Description :- You tried to define events for a section, but a section with
    events is already active. You are not allowed to nest events.
    Regards,
    Pavan.M

    This is nothing to do with coding, this coz of error is from smartforms....
    Regards,
    Pavan.M

  • Error while sending mail from SAP

    Hello All,
    Recently we are facing an error while sending mail from SAP. When we try to compose a message ,it is moving to a dump error RAISE_EXCEPTION.
    The details from ST22,
    Short text
        Exception condition "FOLDER_NOT_EXIST" raised.
    Error analysis
        A RAISE statement in the program "SA
        condition "FOLDER_NOT_EXIST".
        Since the exception was not intercep
        program, processing was terminated.
    Kindly suggest..
    Thank You,
    Regards,
    Hasan

    Hello Priyanka,
    Actually, I performed the following two steps in order to solve the issue:
    - In transaction SICF, the node for SAPConnect must be active. In our system, this node was in inactive state. Hence I activated it.
    - Then In transaction SCOT-> Settings menu--> default domain should be 'xyz.com' if the email addresses in your company are maintained with a suffix  xyz.com.
    But for me the problem didnt get solved here..
    The problem that i am facing now is that if in my user profile, I have the email address maintained, then i get an error saying 'Sender address rejected'. However, if i goto transaction SU01 and clear the email id, the mail is successfully sent to outer world.
    You can try the above mentioned two steps using SICF and SCOT. If the problem does not get solved then try clearing the mail id in ur user profile.
    Hope this helps. If you find an answer to the problem of the mail id getting cleared, then please let me know..
    Regards,
    Himanshu

  • 5200:Error executing query: null

    I am getting the error message 5200:Error executing query: null when trying to run a report that was perfectly fine a week ago. I searched on the internet and running the utility DeletePOV.cmd seems to resolve this issue for a lot of people. My issue is, I'm not sure what I need to modify in this file in order for it to work for me. I have tried just double clicking on this cmd file and nothing happens.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    SETLOCAL
    @ECHO OFF
    TITLE HR Delete User POV Utility
    if "%1" == "" goto Usage
    if "%2" == "" goto Usage
    if "%3" == "" goto Usage
    if "%4" == "" goto Usage
    SET CLASSPATH=F:/Hyperion/HyperionReports/lib;F:/Hyperion/HyperionReports/lib/HAB.jar;F:/Hyperion/HyperionReports/lib/HReports.jar;F:/Hyperion/HyperionReports/lib/HyperionADMWidgets.jar;F:/Hyperion/HyperionReports/lib/activation.jar;F:/Hyperion/HyperionReports/lib/jakarta-regexp-1.2.jar;F:/Hyperion/HyperionReports/lib/mail.jar;F:/Hyperion/HyperionReports/lib/swingall.jar;F:/Hyperion/common/ADM/7.0.1/lib;F:/Hyperion/common/ADM/7.0.1/lib/adm.jar;F:/Hyperion/common/ADM/7.0.1/lib/ap.jar;F:/Hyperion/common/CSS/2.5.3/lib/css-2_5_3.jar;F:/Hyperion/common/loggers/Log4j/1.2.8/lib/log4j-1.2.8.jar;F:/Hyperion/common/XML/JAXP/1.2.2/dom.jar;F:/Hyperion/common/XML/JAXP/1.2.2/jaxp-api.jar;F:/Hyperion/common/XML/JAXP/1.2.2/sax.jar;F:/Hyperion/common/XML/JAXP/1.2.2/xalan.jar;F:/Hyperion/common/XML/JAXP/1.2.2/xercesImpl.jar;F:/Hyperion/common/XML/JAXP/1.2.2/xsltc.jar;F:/Hyperion/HyperionReports/JRE/Sun/1.4.1_03/lib/i18n.jar;F:/Hyperion/HyperionReports/JRE/Sun/1.4.1_03/lib/charsets.jar;F:/Hyperion/common/XML/JDOM/0.8.0/jdom.jar;F:/Hyperion/common/JCE/1.2.2/US_export_policy.jar;F:/Hyperion/common/JCE/1.2.2/jce1_2_2.jar;F:/Hyperion/common/JCE/1.2.2/local_policy.jar;F:/Hyperion/common/JCE/1.2.2/sunjce_provider.jar;F:/Hyperion/HyperionReports/lib/planning/ext/servlet.jar
    "F:\Hyperion\HyperionReports\JRE\Sun\1.4.1_03\bin\java" com.hyperion.reporting.reportstore.DeleteUserPov %1 %2 %3 %4 %5
    goto End
    :Usage
    ECHO Usage: DeleteUserPov <ReportsAdminUserName> <AdminPassword> <ReportServerName> <DataSourceUserName>__<DataSourceServerName>__<AppName>__<DbName>__<DataSourceType> [ShowOnly]
    ECHO The 4th argument can use Regular Expressions. A link which describes in detail what a regular expression is "http://jakarta.apache.org/regexp/apidocs/"
    ECHO We can pass an optional 5th argument ShowOnly at the end to display a list of UserPov's which satisfy the search criterea.
    ECHO
    ECHO An example for Essbase datasource would be DeletePov hyperion reports localhost hyp__localhost__Sample__Basic__Essbase
    ECHO An example for HFM datasource would be DeletePov hyperion reports localhost hyp__localhost__Hfm__Hfm__FinancialManagement
    ECHO An example for Planning datasource would be DeletePov hyperion reports localhost hyp__localhost__Plan1__Plan1__Planning
    :End
    ENDLOCAL

    You will have to run the utility in the command prompt of the server. Within the command prompt, Navigate to the location where the utility is present and run the below command:
    DeleteUserPov <ReportsAdminUserName> <AdminPassword> <ReportServerName> <DataSourceUserName>__<DataSourceServerName>__<AppName>__<DbName>__<DataSourceType>
    An example for Essbase datasource would be DeletePov hyperion reports localhost hyp__localhost__Sample__Basic__Essbase
    An example for HFM datasource would be DeletePov hyperion reports localhost hyp__localhost__Hfm__Hfm__FinancialManagement
    An example for Planning datasource would be DeletePov hyperion reports localhost hyp__localhost__Plan1__Plan1__Planning
    HTH-
    Jasmine.

  • InfoSet Query: Syntax Error while generating the program.

    Dear All,
    I have a Query in CRM system which contains an Infoset based on LDB.
    The InfoSet Query throws up a Syntax error while generating the program.
    So, we are not able to change the Infoset using the Infoset Query through SQ01.
    The error is as follows:-
    Syntax error in program "AQZZ==/SAPQUERY/CRM_ACTMON1 ".
    Error in the ABAP Application Program
    The current ABAP program "CL_QUERY_OUTPUT_DEFINITION====CP" had to be
    terminated because it has
    come across a statement that unfortunately cannot be executed.
    The following syntax error occurred in program "AQZZ==/SAPQUERY/CRM_ACTMON1 "
    in include "AQZZ==/SAPQUERY/CRM_ACTMON1 " in
    line 28:
    ""CRMT_REPORT_LOCATORLIST" must be a flat structure. You cannot use int"
    "ernal tables, strings, references, or structures as components. -"
    Please help me arrive at an solution, so that we are able to change the Infoset through the InfoSet Query.
    Awaiting your reply as soon as possible.
    Thanks and Regards,
    Pankaj.

    There is an error in your query, specifically in the definition of CRMT_REPORT_LOCATORLIST. In the short dump (transaction ST22) you will see more details and the exact location of an error if you just scroll down.
    I can't tell more because this problem is specific to your system, to which I have no access. Read the whole dump and look at all the objects mentioned there.

Maybe you are looking for

  • Decode function in OracleXMLQuery

    selectStr = "SELECT DECODE(email,null,'',email), FROM mytable WHERE user_id=\'" + search_id + "\'"; using this select statement in conjunction with OracleXMLQuery produces the following exception. oracle.xml.sql.OracleXMLSQLException: Character ')' i

  • Pricing conditions sales order

    Hi all, I need  to simulate order creation. I need to see how netwr chenge do to pricing conditions value modifications. I'm using FM SD_ORDER_CREATE, it works fine but when I pass to FM a value ' 0' for a pricing condition it return me default value

  • Sending Response to xsl from servlet

    Hi, I am submitting request from xsl file to servlet through form,this action is taking place properly,but i want o return some rsult from servlet to xsl file. can any body tell me how to do this. Thanks in advance

  • Search and search tokens in Mail?

    does anyone know how this works or why i don't see tokens in mac mail search? sorry for the multiple Mail posts but i am trying to nail some things down tonight.

  • Automatic flash does not work under ios 6

    I have noticed that flash never works when set in Automatic mode, but I'm not sure that it is really since iOS6 update, I'm afraid it started earlier. Everything is ok when the flash is set to On. Does anybody have similar problem, may it be related