Runtime error when executing ME2B/ME3B if condition recs 160

Dear all,
I have created a vendor rebate agreement and entered condition records for a vendor/material combination.
Since for this vendor there are 170 materials for which he provides rebate I have created 170 condition records.
When I am trying to change or display the rebate agreement by executing transaction codes ME2B and ME3B respectively the following run time error occurs (Runtime error when executing transaction codes ME2B/ME3B for condition recrds >160):
Runtime Errors: DBIF_RSQL_INVALID_RSQL
Except. CX_SY_OPEN_SQL_DB
The error is in function module SELECT_TEXT at line 120 "select * from stxh client specified into table stxh_buffer".
When I debug or test/execute the function module SELECT_TEXT, I find that there are no relevant entries in table STXH for the vendor rebate agreements.
Please note that if the condition records of the rebate agreement are 160 and less then there is no problem.
I would appreciate if I could have your expert oppinion on what is causing this runtime error and if it is possible on how to resolve it.
Thanks in advance.
Regards,
Mimis
Edited by: Mimis1973 on Jan 26, 2011 11:18 AM
Edited by: Mimis1973 on Jan 26, 2011 11:20 AM
Edited by: Mimis1973 on Jan 26, 2011 11:23 AM

There's something similar in OSS note 1002788. Is it relevant to your system?

Similar Messages

  • Runtime error when executing smarforms.

    Dear All,
    I am getting the runtime error while executing a smartfrom which I have prepared for payslip display.
    After the completion of smartform, I have tested by using print program, it was working fine. But, when I got the print of the same and I found, little modification it requires to enlarge the views.So, I increased the width of templates, tables and windows which has been used in this smartform.
    After that modification, it is going to reuntime error.
    Please sugget....to rectify this.
    Thanks & Regards
    Nrusingha.

    Please find the below details fr dump.
    Short text                                                            
        Exception condition "ERROR" raised.                                                                               
    What happened?                                                           
        The current ABAP/4 program encountered an unexpected                 
        situation.                                                                               
    What can you do?                                                         
        Note down which actions and inputs caused the error.                                                                               
    To process the problem further, contact you SAP system               
        administrator.                                                                               
    Using Transaction ST22 for ABAP Dump Analysis, you can look          
        at and manage termination messages, and you can also                 
        keep them for a long time.                                                                               
    Error analysis                                                           
        A RAISE statement in the program "SAPLSTXBC" raised the exception    
        condition "ERROR".                                                   
        Since the exception was not intercepted by a superior                
        program, processing was terminated.                                                                               
    Short description of exception condition:                                                                               
    For detailed documentation of the exception condition, use           
        Transaction SE37 (Function Library). You can take the called         
        function module from the display of active calls.                    
    How to correct the error                                                                               
    If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.                             
        If you have access to SAP Notes, carry out a search with the following
        keywords:                                                                               
    "RAISE_EXCEPTION" " "                                                            
        "SAPLSTXBC" or "LSTXBCU19"                                                       
        "SSFCOMP_GENERATE_SMART_FORM"                                                                               
    or                                                                               
    "SAPLSTXBC" "ERROR"                                                                               
    or                                                                               
    "RS_TESTFRAME_CALL " "ERROR"                                                     
        If you cannot solve the problem yourself and want to send an error               
        notification to SAP, include the following information:                                                                               
    1. The description of the current problem (short dump)                                                                               
    To save the description, choose "System->List->Save->Local File               
        (Unconverted)".                                                                               
    2. Corresponding system log                                                                               
    Display the system log by calling transaction SM21.                           
           Restrict the time interval to 10 minutes before and five minutes              
        after the short dump. Then choose "System->List->Save->Local File                
        (Unconverted)".                                                                               
    3. If the problem occurs in a problem of your own or a modified SAP              
        program: The source code of the program                                          
           In the editor, choose "Utilities->More                                        
        Utilities->Upload/Download->Download".                                                                               
    4. Details about the conditions under which the error occurred or which          
        actions and input led to the error.

  • Runtime error when executing F4 help on 0FISPER or 0FISCYEAR

    Hi experts,
    I got a problem on F4 help.
    When executing F4 help on 0FISPER or 0FISCYEAR using tcode LISTCUBE,
    abap dump occurs. The problem also exists when run query in BEx analyzer.
    My BW version is NW2004s. And SAPKW70012 has been implemented.
    Thanks very much for any advices.
    <b>The error message when run in BEx analyzer:</b>
    System error in program SAPLRRS2 and form EXTRA_FIELDS_SET-01- (see long
    text)
        Message no. BRAIN299
    Diagnosis
        This internal error is an intended termination resulting from a program
        state that is not permitted.
    Procedure
        Analyze the situation and inform SAP.
        If the termination occurred when you executed a query or Web template,
        or during interaction in the planning modeler, and if you can reproduce
        this termination, record a trace (transaction RSTT).
        For more information about recording a trace, see the documentation for
        the trace tool environment as well as SAP Note 899572.
    <b>And the ABAP dump log:</b>
    Runtime Errors         UNCAUGHT_EXCEPTION
    Exception              CX_RSR_PROPAGATE_X
    Date and Time          2007.04.28 15:08:47
    Short text
    An exception occurred that was not caught.
    What happened?
    The exception 'CX_RSR_PROPAGATE_X' was raised, but it was not caught anywhere
    along
    the call hierarchy.
    Since exceptions represent error situations and this error was not
    adequately responded to, the running ABAP program
    'CL_RS_BASE====================CP' has to be
    terminated.
    What can you do?
    Note down which actions and inputs caused the error.
    To process the problem further, contact you SAP system
    administrator.
    Using Transaction ST22 for ABAP Dump Analysis, you can look
    at and manage termination messages, and you can also
    keep them for a long time.
    Error analysis
    An exception occurred which is explained in detail below.
    The exception, which is assigned to class 'CX_RSR_PROPAGATE_X', was not caught
    and
    therefore caused a runtime error.
    The reason for the exception is:
    No text available for this exception
    The occurrence of the exception is closely related to the occurrence of
    a previous exception "CX_SY_NO_HANDLER", which was raised in the program
    "CL_RSMD_RS_BUILD_QUERY========CP",
    specifically in line 1 of the (include) program
    "CL_RSMD_RS_BUILD_QUERY========CM00Y".
    The cause of the exception was:
    An exception with the type CX_RS_SQL_ERROR_SILENT occurred, but was neither
    handled locally, nor declared in a RAISING clause
    The occurrence of the exception is closely related to the occurrence of
    a previous exception "CX_RS_SQL_ERROR_SILENT", which was raised in the program
    "CL_RSDRS_SQL_QUERY============CP",
    specifically in line 288 of the (include) program
    "CL_RSDRS_SQL_QUERY============CM00J".
    The cause of the exception was:
    No text available for this exception
    The occurrence of the exception is closely related to the occurrence of
    a previous exception "CX_SQL_EXCEPTION", which was raised in the program
    "CL_SQL_STATEMENT==============CP",
    specifically in line 32 of the (include) program
    "CL_SQL_STATEMENT==============CM004".
    The cause of the exception was:
    Invalid object name 'T009C'.
    How to correct the error
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "UNCAUGHT_EXCEPTION" "CX_RSR_PROPAGATE_X"
    "CL_RS_BASE====================CP" or "CL_RS_BASE====================CM005"
    "X_PROPAGATE"
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
    To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
    Display the system log by calling transaction SM21.
    Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
    In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    System environment
    SAP-Release 700
    Application server... "sapdev2"
    Network address...... "192.168.1.74"
    Operating system..... "Windows NT"
    Release.............. "5.2"
    Hardware type........ "4x AMD64 Level"
    Character length.... 16 Bits
    Pointer length....... 64 Bits
    Work process number.. 1
    Shortdump setting.... "full"
    Database server... "SAPDEV2"
    Database type..... "MSSQL"
    Database name..... "BW1"
    Database user ID.. "bw1"
    Char.set.... "C"
    SAP kernel....... 700
    created (date)... "Sep 1 2006 00:19:17"
    create on........ "NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00"
    Database version. "SQL_Server_8.00 "
    Patch level. 75
    Patch text.. " "
    Database............. "MSSQL 7.00.699 or higher, MSSQL 8.00.194"
    SAP database version. 700
    Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
    Memory consumption
    Roll.... 16192
    EM...... 14617568
    Heap.... 0
    Page.... 163840
    MM Used. 4553264
    MM Free. 663776
    User and Transaction
    Client.............. 100
    User................ "HANDLCR"
    Language key........ 1
    Transaction......... "LISTCUBE "
    Program............. "CL_RS_BASE====================CP"
    Screen.............. "SAPMSHLP 0600"
    Screen line......... 7
    Information on where terminated
    Termination occurred in the ABAP program "CL_RS_BASE====================CP" -
    in "X_PROPAGATE".
    The main program was "GP9QWV49ZUMYUSW6JLZIZ85P81N ".
    In the source code you have the termination point in line 12
    of the (Include) program "CL_RS_BASE====================CM005".
    Source Code Extract
    Line
    SourceCde
    1
    METHOD X_PROPAGATE .
    2
    3
    DATA: l_r_x TYPE REF TO cx_rs_no_check.
    4
    5
    TRY.
    6
    l_r_x ?= i_r_root.
    7
    CATCH cx_root.
    8
    CLEAR l_r_x.
    9
    ENDTRY.
    10
    11
    IF l_r_x IS INITIAL.
    >>>>>
    RAISE EXCEPTION TYPE cx_rsr_propagate_x
    13
    EXPORTING
    14
    previous = i_r_root.
    15
    ELSE.
    16
    RAISE EXCEPTION l_r_x.
    17
    ENDIF.
    18
    19
    ENDMETHOD.

    I got reply from SAP. The problem can be solved by running program RSDG_XPRA_IOBJ_TO_NW05. Note 939484 describes this.
    Note 939484 - Input help for tech characteristic and time characteristics
    Summary
    Symptom
    You upgraded to SAP NetWeaver 2004s. An open SQL error occurs when you execute input help for a technical characteristic, a time characteristic or a unit.
    The 'SAPSQL_INVALID_FIELDNAME' short dump in the 'CL_RSDM_READ_MASTER_DATA' class indicates that these characteristics have not been maintained. This error may also occur when you activate InfoProviders, for example.
    The error MAY occur for the following InfoObjects:
    0CALMONTH
    0CALMONTH2
    0CALQUART1
    0CALQUARTER
    0CALWEEK
    0CALYEAR
    0CURRENCY
    0FISCPER
    0FISCPER3
    0FISCVARNT
    0FISCYEAR
    0LOGSYS
    0SOURSYSTEM
    0UNIT
    0WEEKDAY1
    0RATE_TYPE
    0DATE
    0LANGU
    Other terms
    Input help, F4, 0CALMONTH, 0CALMONTH2, 0CALQUART1, 0CALQUARTER, 0CALWEEK, 0CALYEAR, 0CURRENCY, 0FISCPER, 0FISCPER3, 0FISCVARNT, 0FISCYEAR, 0LOGSYS, 0SOURSYSTEM, 0UNIT, 0WEEKDAY1, 0RATE_TYPE, 0DATE, 0LANGU, RSDG_XPRA_IOBJ_TO_NW05
    Reason and Prerequisites
    The problem can have the following causes:
    The characteristic does not have any master data, although you did define a master data read class.
    There is no generated master data table for the characteristic (for example, 0CURRENCY) and you have not defined a corresponding master data read class in the meta data.
    Solution
    Technical characteristics and time characteristics were delivered again for SAP NetWeaver 2004s with new properties. The first time you call the data warehousing workbench, the system activates the technical content. If the (time) characteristic already exists in the active version, the system does not copy it from the technical content again.  For SAP NetWeaver 2004s, however, the following conditions must be fulfilled:
    The characteristic has the property "With master data", which ensures that the master data read class functions correctly.
    If the active version of the characteristic does not have any master data, copy the characteristic from the content again. Make any necessary adjustments. Ensure that the "With master data" property is set.
    The characteristic does not have a generated table, rather it has its own table, delivered by SAP (for example, unit 0CURRENCY -> table TCURC). The definition of the characteristic must include a relevant master data read class (for example, unit 0CURRENCY -> class CL_RSMD_RS_0CURRENCY).
    The RSDG_XPRA_IOBJ_TO_NW05 XPRA defines a master data read class automatically. This XPRA is executed when you upgrade. It may, however, occur, that the XPRA is not executed successfully. If this happens, you can execute the XPRA again manually.
    Start Transaction SE38.
    Enter the name RSDG_XPRA_IOBJ_TO_NW05 in the 'Program' field.
    Choose 'Execute' to execute the program.

  • Runtime error when executing transaction 'PPOME'

    Hi all,
    <br>
    <br>
    <br>I 'm new to SAP and would like to beg a helping hand.
    <br>I had tired the 'free search' function in PPOME.
    <br>and I m not sure what mistake I make. When I execute t-code PPOME again, it is getting the runtime error.
    <br>
    <br>the following are the descritpion of exception by T-code ST22.
    <br>the error is related to u201CSAP_IN_ITAB_ILLEGAL_OPTIONu201D and I read the its SAP NOTE(1256059).
    <br>However, I don't how to do so that fix this problem.
    <br>May anyone help me~
    <br>
    <br>----
    <br><b>Short text</b>                                                                        
    <br>Invalid value in OPTION field of value table for IN itab operator.                           
    <br>
    <br><b>What happened?</b>                                                                               
    <br>    Error in the ABAP Application Program                                                        
    <br>                                                                               
    <br>    The current ABAP program "%_T0DQG0" had to be terminated because it has                   
    <br>    come across a statement that unfortunately cannot be executed.
    <br>
    <br><b>Error analysis</b>                                                                               
    <br>    The current ABAP/4 program attempted to execute an ABAP/4 Open SQL                           
    <br>    statement in which the WHERE condition contains an IN itab operator.                         
    <br>                                                                               
    <br>    The IN itab operator is used with internal tables which                                      
    <br>    have the following structure:                                                                
    <br>                                                                               
    <br>       SIGN(1)   OPTION(2)   LOW LIKE db_field   HIGH LIKE db_field                              
    <br>                                                                               
    <br>    The OPTION column should contain only one of the following values:                           
    <br>                                                                               
    <br>       "EQ LE GE CP BT NE LT GT NP NB"                                                           
    <br>                                                                               
    <br>    The value " " is not allowed here.                                                           
    <br>
    <br><b>How to correct the error</b>                                                                        
    <br>    Use only one of the permitted values in the OPTION column.                                   
    <br>                                                                               
    <br>    If the error occures in a non-modified SAP program, you may be able to                       
    <br>    find an interim solution in an SAP Note.                                                     
    <br>    If you have access to SAP Notes, carry out a search with the following                       
    <br>    keywords:                                                                               
    <br>                                                                               
    <br>    "SAPSQL_IN_ITAB_ILLEGAL_OPTION" " "                                                          
    <br>    "%_T0DQG0" or "%_T0DQG0"                                                                     
    <br>    "GET_OBJECTS"                                                                               
    <br>                                                                               
    <br>    If you cannot solve the problem yourself and want to send an error                           
    <br>    notification to SAP, include the following information:                                      
    <br>                                                                               
    <br>    1. The description of the current problem (short dump)                                       
    <br>                                                                               
    <br>       To save the description, choose "System->List->Save->Local File                           
    <br>    (Unconverted)".                                                                               
    <br>                                                                               
    <br>    2. Corresponding system log                                                                  
    <br>                                                                               
    <br>       Display the system log by calling transaction SM21.                                       
    <br>       Restrict the time interval to 10 minutes before and five minutes                          
    <br>    after the short dump. Then choose "System->List->Save->Local File                            
    <br>    (Unconverted)".                                                                               
    <br>                                                                               
    <br>    3. If the problem occurs in a problem of your own or a modified SAP                          
    <br>    program: The source code of the program                                                      
    <br>       In the editor, choose "Utilities->More                                                    
    <br>    Utilities->Upload/Download->Download".                                                       
    <br>                                                                               
    <br>    4. Details about the conditions under which the error occurred or which                      
    <br>    actions and input led to the error.                                                          
    <br>
    <br><b>User and Transaction</b>                                                                            
    <br>                                                                               
    <br>    Client.............. 300                                                                     
    <br>    User................ "xxxxxxxx"                                                             
    <br>    Language key........ "E"                                                                     
    <br>    Transaction......... "PPOME "                                                                
    <br>    Transactions ID..... "26F031E14FDBF1E0BB3500155D7F2106"                                      
    <br>                                                                               
    <br>    Program............. "%_T0DQG0"                                                              
    <br>    Screen.............. "SAPMSSY0 1000"                                                         
    <br>    Screen line......... 6                                                                       
    <br>
    <br>
    <br><b>Information on where terminated</b>                                                                 
    <br>    The termination occurred in the temporary subroutine pool "%_T0DQG0" in                      
    <br>    "GET_OBJECTS".                                                                               
    <br>    The main program was "OM_START_NF ".                                                         
    <br>                                                                               
    <br>    The point of termination in the source code is in line 69 of                                 
    <br>    the temporary subroutine pool "%_T0DQG0".
    <br>
    <br>Edited by: jack22000011 on Dec 29, 2011 9:05 AM
    Edited by: jack22000011 on Dec 29, 2011 9:11 AM

    Hi all,
    I am getting the exact same dump.
    And in my case, I am not providing any input.
    I have made a non-obligatory selection screen  parameter, and then appended that to a table type of the local structure of select options that i made.
    Then i am passing this to a fm as an importing parameter.
    And it is giving dump on the first query in the fm.
    If I don't use the fm, then in that case, it is working fine, and if the field is blank it fetches all records,
    but why it is not working now..., any ideas???

  • Runtime error when executing driver program

    when im executing my report after passing smartform to it , by giving invoice number in selectionscreen,it's generating runtime error as
    the call to the function module     '/1BCDWB/SF00000032'   is incorrect:
    in the function module interface, u can only specify fields of a specific  type and
    length under "s_final".although the currently specified field "    " is the correct type,
    it's length is incorrect.
    i declared s_final in forminterface->tables as s_final like zform1.
    i defined zform1 with fields which are in t_final.
    please suggest where im going wrong.
    TYPES : BEGIN OF TY_FINAL,
           VBELN TYPE VBRP-VBELN,"INVOICE NO
            ADRNR TYPE KNA1-ADRNR, "ADDRESS FOR CONSIGNEE
            BSTKD  TYPE VBKD-BSTKD,   "PO NUMBER
            BSTDK  TYPE VBKD-BSTDK,  "PO DATE
             ARKTX TYPE VBRP-ARKTX, "DESCRITION
            PACK TYPE I,           "NO OF PACKAGES
            UMREZ TYPE SMEINH-UMREZ, "AVG. CONTENTS PER PACKAGE IN KGS
             FKIMG TYPE VBRP-FKIMG,  "TOTAL QTY IN KGS
             KNUMV  TYPE KONV-KNUMV,
             KBETR TYPE KONV-KBETR,  "SELLING RATE/KG
            KBETR1 TYPE KONV-KBETR,
             KWERT TYPE KONV-KWERT,
             TARIFF TYPE ZFORM1-TARIFF,
             DUTY TYPE ZFORM1-DUTY,
             AMOUNT TYPE ZFORM1-AMOUNT,
             END OF TY_FINAL.
        TYPES : BEGIN OF TY_ITEM,
                VBELN TYPE VBRP-VBELN,"INVOICE NO
                POSNR TYPE VBRP-POSNR,
                ARKTX TYPE VBRP-ARKTX, "DESCRITION
                FKIMG TYPE VBRP-FKIMG,  "TOTAL QTY IN KGS
                 BSTKD  TYPE VBKD-BSTKD,   "PO NUMBER
                 BSTDK  TYPE VBKD-BSTDK,  "PO DATE
                 AUBEL TYPE VBRP-AUBEL,
                 AUPOS TYPE VBRP-AUPOS,
                END OF TY_ITEM.
    DATA : FM_NAM TYPE RS38L_FNAM  VALUE '/1BCDWB/SF00000032'.
    DATA :IT_ITEM TYPE TABLE OF TY_ITEM,
          W_ITEM TYPE TY_ITEM,
          W_FINAL  TYPE TY_FINAL,
          T_FINAL TYPE TABLE OF TY_FINAL,
         P TYPE I VALUE 250, "total quantity.
          TOTALDUTY TYPE I  VALUE 0,
           CESS TYPE I,
           EDCESS TYPE I,
             VAT TYPE I,
             FREIGHT TYPE I,
             GROSSTOTAL TYPE I,
           TOTAL TYPE I,
           PONUMBER  TYPE VBKD-BSTKD,   "PO NUMBER
           PODATE  TYPE VBKD-BSTDK,  "PO DATE
            ZTERM TYPE VBKD-ZTERM, "PAYMENT TERMS
           INVOICENO TYPE VBRP-VBELN.
    PARAMETERS : XVBELN TYPE VBELN.
    SELECT VBELN
           POSNR
           ARKTX
           FKIMG
           AUBEL
           AUPOS
           FROM VBRP
           INTO CORRESPONDING FIELDS OF TABLE IT_ITEM
           WHERE VBELN =  XVBELN AND UEPOS  = '000000'.
    LOOP AT IT_ITEM INTO W_ITEM.
    *INVOICE NO
    MOVE  W_ITEM-VBELN TO INVOICENO.
    *DESCRIPTION
    MOVE  W_ITEM-ARKTX TO W_FINAL-ARKTX.
    **TOTAL QUANTITY IN KGS
    MOVE W_ITEM-FKIMG TO W_FINAL-FKIMG.
    *PO NUMBER
    SELECT SINGLE BSTKD FROM VBKD
    INTO W_ITEM-BSTKD
    WHERE VBELN EQ W_ITEM-AUBEL.
    MOVE W_ITEM-BSTKD TO PONUMBER.
    *PO DATE
    SELECT SINGLE BSTDK FROM VBKD
    INTO W_ITEM-BSTDK
    WHERE VBELN EQ W_ITEM-AUBEL.
    MOVE W_ITEM-BSTDK TO PODATE.
    SELECT SINGLE KNUMV FROM VBRK INTO W_FINAL-KNUMV WHERE VBELN = W_ITEM-VBELN.
    **SELLING RATE/KG
    SELECT SINGLE KBETR FROM KONV INTO W_FINAL-KBETR WHERE KNUMV = W_FINAL-KNUMV
               AND KPOSN = W_ITEM-POSNR AND KSCHL = 'PR00'.
    **TOTAL TARIFF VALUE
                W_FINAL-TARIFF  =   W_FINAL-KBETR  *  W_ITEM-FKIMG.
    SELECT SINGLE KBETR FROM KONV INTO  W_FINAL-KWERT WHERE KNUMV =   W_FINAL-KNUMV
               AND KPOSN = W_ITEM-POSNR AND KSCHL = 'JEXT'.
    *TOTAL DUTY PAYABLE
               W_FINAL-DUTY  =  W_FINAL-KWERT / 10.
    **AMOUNT
               W_FINAL-AMOUNT =   W_FINAL-TARIFF  +     W_FINAL-DUTY.
    *TOTAL DUTY FOR CESS&EDCESS
                TOTALDUTY  = TOTALDUTY + W_FINAL-DUTY.
                APPEND W_FINAL TO T_FINAL..
                CLEAR  W_FINAL.
    *WRITE : /10   W_ITEM-ARKTX,
            30  W_ITEM-FKIMG,
            60  W_FINAL-KBETR,
            90     TARIFF,
            120  DUTY,
            160 AMOUNT.
    ENDLOOP.
    *SELECT SINGLE KBETR FROM KONV INTO  W_FINAL-KWERT WHERE KNUMV =   W_FINAL-KNUMV
              AND KPOSN = W_ITEM-POSNR AND KSCHL = 'ZECS'.
    *MOVE   W_FINAL-KWERT TO CESS.
    *SELECT SINGLE KBETR FROM KONV INTO  W_FINAL-KWERT WHERE KNUMV =   W_FINAL-KNUMV
              AND KPOSN = W_ITEM-POSNR AND KSCHL = 'ZECX'.
    *MOVE W_FINAL-KWERT  TO EDCESS.
    *CESS
    CESS  =  TOTALDUTY  *  2 / 100.
    *EDCESS
    EDCESS  =  TOTALDUTY  *  1 / 100..
    *TOTAL VALUE AT FOOTER
    TOTAL  = W_FINAL-AMOUNT + CESS + EDCESS.
    *VAT
    VAT  =  TOTAL *  4 / 100.
    *FREIGHT
    *GROSS TOTAL
    GROSSTOTAL   =  TOTAL + VAT.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
      EXPORTING
        FORMNAME                 =  'ZSF_SD_INVOICE1'
       VARIANT                  = ' '
       DIRECT_CALL              = ' '
      IMPORTING
       FM_NAME                  =   FM_NAM
    EXCEPTIONS
       NO_FORM                  = 1
       NO_FUNCTION_MODULE       = 2
       OTHERS                   = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION FM_NAM
      EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
      CONTROL_PARAMETERS         =
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
      OUTPUT_OPTIONS             =
      USER_SETTINGS              = 'X'
        TOTALDUTY                  =  TOTALDUTY
        CESS                       =   CESS
        EDCESS                     =   EDCESS
        TOTAL                      =   TOTAL
        PONUMBER                   =  PONUMBER
        PODATE                     =   PODATE
        GROSSTOTAL                 =  GROSSTOTAL
        VAT                        =  VAT
        INVOICENO                  =  INVOICENO
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
      TABLES
        S_FINAL                    =  T_FINAL
    EXCEPTIONS
      FORMATTING_ERROR           = 1
      INTERNAL_ERROR             = 2
      SEND_ERROR                 = 3
      USER_CANCELED              = 4
      OTHERS                     = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

    Hi,
    U need to fill the ref_fieldname and ref_tabname or the cfieldname, ctabname for currency fields and qtabname and qfieldname for quantity fields in fieldcatalog.
    santhosh
    Message was edited by:
            Kaluvala Santhosh

  • Runtime error when executing smartform in se38

    hi,
    i designed a smartform but when iam executing that using se38 am gettin runtime error.can anybody plz help me.
    *& Report  ZDEMOPRG
    REPORT  ZDEMOPRG.
    DATA FNAME(30) TYPE C.
    TABLES: LFA1.
    DATA: BEGIN OF ITAB OCCURS 0.
            INCLUDE STRUCTURE LFA1.
    DATA: END OF ITAB.
    SELECT-OPTIONS S_KUNNR FOR LFA1-KUNNR MEMORY ID 001.
    SELECT * FROM LFA1 WHERE KUNNR IN S_KUNNR.
       MOVE-CORRESPONDING LFA1 TO ITAB..
       APPEND ITAB.
    ENDSELECT.
    CALL FUNCTION '/1BCDWB/SF00000006'
    EXPORTING
        FORMNAME = 'ZEXM_SMART'
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
      CONTROL_PARAMETERS         =
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
      OUTPUT_OPTIONS             =
      USER_SETTINGS              = 'X'
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
      TABLES
        ITAB                       = ITAB.
    EXCEPTIONS
      FORMATTING_ERROR           = 1
      INTERNAL_ERROR             = 2
      SEND_ERROR                 = 3
      USER_CANCELED              = 4
      OTHERS                     = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    plz help me
    thanks
    sudheer

    Hi,
    Try this and reward points by clicking the star on the left of reply,if it helps.
    data: form_name type tdsfname value 'ZEXM_SMART'.
    data: fm_name type  rs38l_fnam.
    TABLES: LFA1.
    DATA: BEGIN OF ITAB OCCURS 0.
    INCLUDE STRUCTURE LFA1.
    DATA: END OF ITAB.
    SELECT-OPTIONS S_KUNNR FOR LFA1-KUNNR MEMORY ID 001.
    SELECT * FROM LFA1 WHERE KUNNR IN S_KUNNR.
    MOVE-CORRESPONDING LFA1 TO ITAB..
    APPEND ITAB.
    ENDSELECT.
    call function 'SSF_FUNCTION_MODULE_NAME'
      exporting
        formname                 = form_name
      VARIANT                  = ' '
      DIRECT_CALL              = ' '
    importing
       fm_name                  = fm_name
    exceptions
       no_form                  = 1
       no_function_module       = 2
       others                   = 3
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    CALL FUNCTION fm_name
      TABLES
    ITAB = ITAB
    EXCEPTIONS
       FORMATTING_ERROR           = 1
       INTERNAL_ERROR             = 2
       SEND_ERROR                 = 3
       USER_CANCELED              = 4
       OTHERS                     = 5
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endloop.

  • Portal runtime error when execute a model deployed

    Hy, i have this problem: when execute my model on the portal i receive this error:
    Portal Error run-time
    Error request processing for :
    iView : N/A
    Component : N/A
    Component com.myComp.myProduct.29H.Analisi_agenti_2.AAD29H : JSP file name missing. Please check you profile..
    Exception id: 10:54_29/01/08_0009_3388450
    See the details for the exception ID in the log file
    Thank's a lot.
    Sincerely yours
    Andrea Maraviglia

    Hi Andrea,
    Please check your portal runtime server is running or not. (Management Console)
    I have experienced the same error , when our portal runtime server was stopped. I just restarted it. and problem solved.
    Let me know if you have further problem.
    Thanks,
    Prashant
    (Do reward points for helpful answer)

  • Runtime Error When executing Method from JavaScript

    Greetings In the name of the creator of all things, space, and time. I have a problem with scripting an applet using Javascript (JScript). The problem is as follows: I receive the runtime error - An outgoing call cannot be made since the application is dispatching an input-synchronous call.
    I invoke the applet from a JavaScript from within a web page. The applet populates and display a JTable. From the Table I select an element in a row and press a button which kicks off another page. From within the page I called one of the applet's method i.e. _applet.cfquery(window, hastable).
    This method connects to a data source and returns some data. When the method is invoked I receive the runtime error.
    What is the problem and How do I resolve it? Note: The same code works with Netscape 7.0 with out any problems.
    Particulars:
    Browser: Internet Explorer 6.0 - Version 6.0.2800.1106C (SP1)
    Operating System : Windows 2000 (Service Pack 3)
    Scripting Interface: LiveConnect.
    Scripting Version: JavaScript (1.5)
    I know Microsoft Uses ActiveX to support embedded object. I recently came up on the JavaScript Object
    ActiveXObject(appname.className [,remoteServiceName]). Could I use it to access my applet and how would I specify the name of my applet's? What do they mean by class name. Please help me I have searched the Internet until my eyes almost fall out by I have not found any solutions.

    If the javascript to invoke applet.cfquery(window, hastable) happens automatically (onload,...), try adding a button to your page and using that to invoke applet.cfquery(window, hastable). See if waiting until the applet loads and settles down makes a difference.

  • Runtime Error when executing Query in the web

    Hello,
    when i try to execute a query on the  web, i get the error
    Exception in BI runtime
    Log ID: 005056BD15DA005E000000A900000A3400043C8F00E4DD8B
    Initial cause
    Message:
    'user' missing
    Stack trace:
    com.sap.mw.jco.JCO$Exception: (101) RFC_ERROR_PROGRAM: 'user' missing
    Message:
    No connection possible to BI master system VB0CLNT800
    Stack trace:
    com.sap.ip.bi.base.service.connection.ConnectionException: No connection possible to BI master system VB0CLNT800
    Can anyone please tell me , how to fix this ..
    Thanks
    Raj

    you mwy check this to trouble shoot front end
    Troubleshoot the SAP NetWeaver 2004s BI Frontend Installation

  • Runtime error when i try to execute this program

    I get a runtime error when i run this file using appletviewer. Please help me in getting out of this problem.
    The runtime errror is:
    C:\prashanth>appletviewer HelloMedia.java
    java.lang.NoClassDefFoundError: javax/media/ControllerListener
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:11
    1)
    at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:142)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
    at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:108)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
    at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:373)
    at sun.applet.AppletPanel.createApplet(AppletPanel.java:579)
    at sun.applet.AppletPanel.runLoader(AppletPanel.java:515)
    at sun.applet.AppletPanel.run(AppletPanel.java:293)
    at java.lang.Thread.run(Thread.java:484)
    The code is :
    <applet code=HelloMedia.class width=500 height=400>
    <param name=FILE value="globe.avi">
    </applet>
    import java.applet.*;
    import java.awt.*;
    import java.net.*;
    import javax.media.*;
    public class HelloMedia extends Applet implements ControllerListener
    Player player;
    public void init()
    setLayout(new BorderLayout());
    String mediaFile = getParameter("FILE");
    try
    URL mediaURL = new URL(getDocumentBase(), mediaFile);
    player = Manager.createPlayer(mediaURL);
    catch(Exception e)
    System.err.println("Exception : " + e);
    player.addControllerListener(this);
    public synchronized void controllerUpdate(ControllerEvent event)
    if(event instanceof RealizeCompleteEvent)
    Component compVisual = player.getVisualComponent();
    Component compControl = player.getControlPanelComponent();
    if(compVisual != null)
    add("Center", compVisual);
    if(compControl != null)
    add("South", compControl);
    validate();
    public void start()
    player.start();
    public void stop()
    player.stop();
    player.deallocate();
    public void destroy()
    player.close();

    My classpath has the following value
    .;.;.;C:\PROGRA~1\JMF21~1.1\lib\sound.jar;C:\PROGRA~1\JMF21~1.1\lib\jmf.jar;C:\Program Files\CosmoSoftware\CosmoPlayer\npcosmop211.zip;%systemroot%\java\classes;.;
    Please help me out.
    Prashanth

  • Runtime error while executing rule - see long text RSTRAN 301

    Hi BW Gurus,
    When I executing the DTP, the following error occured.
    Runtime error while executing rule -> see long text     RSTRAN     301
    Diagnosis
        An error occurred while executing a transformation rule:
        The exact error message is:
        The argument 'GBP' cannot be interpreted as a number
        The error was triggered at the following point in the program:
        GP46DQFOYRZTUS0QITMO07IFTS0 1137
    Appreciate any useful suggestions.
    Thanks in advance.
    Maruthi

    Guess you are doing some calculation in your routines ..based on Currency Key i.e USD or INR , GBP..etc ..it should be currency value..rather than currency key. Check your field caluclation

  • Error when executing statement for table/stored proc

    Hi All,
          I am getting this error when executing IDOC to JDBC (Stored Procedure) Scenario.
         In my stored procedure I have three insert statements to insert rows in to 3 tables.
        This stored procedure is working fine for two insert statements i.e, 
             For this I have created data type for stored procedure with 10 elements and executed the scenario and was successfully running.
        when I added 3rd insert statement to stored procedure ie., when i added 5 more elements to the datatype (totally 15 elements) it starts giving the bellow error in Message Monitoring.
    <i><b>Exception caught by adapter framework: Error processing request in sax parser: Error when executing statement for table/stored proc. 'COGRP_TMP_PROC_1' (structure 'Statements'): java.sql.SQLException: General error</b></i>
    <i><b>Delivery of the message to the application using connection JDBC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'COGRP_TMP_PROC_1' (structure 'Statements'): java.sql.SQLException: General error</b></i>
       Note:- I have run the stored procedure  with three insert statements in Sql Server, and also by calling an external program also, and was working fine.
    <i><b> Note : Is there any structure needs to be follow when working with IDOC to Stored procedure.</b></i>
    I am struck up with the error, can any body resolve this issue.
    Thanks in Advance,
    Murthy

    Hi narasimha,
                      This seems to be any error due to incorrect query formation.In your receiver jdbc channel set the parameter logSQLstatement = true.you can find this parameter in the advanced mode. Using this parameter you will be able to see the sql query which is generated at runtime in the audit log in RWB.
    Regards,
    Pragati

  • Runtime error when syncing P1i with PC

    I get a runtime error when syncing my P1i to PC. The error is linked with this file, 'dxp syncml.exe', and the application is said to request the 'Runtime to terminate it in an unusual way'. How do you fix this?

    Thanks Joanne. Let me give you feedback on whats happening so far.
    After some doing, I discovered that my firewall is controlled by Norton Firewall Provider. (Bear in mind I am a novice in terms of managing these computer protocols). To modify the firewall settings, Norton calls this in their the control panel  'Smart firewall', I go to program control then configure. A list of programs came up with the options to add, modify, remove or rename. I searched the list and found that DXP SyncML.exe and mRouterRuntime.exe were listed and set to 'Auto' in the Access column. I noticed that under access, the options include auto, allow, block and custom. I reasoned that 'allow' is the highest level of access, and to support the sync feature, I changed the status to 'allow' from 'auto' for the DXP SyncML and mRouterRuntime executable files. If you believe it is ok and safer to keep the auto status, advise me.
    I did not find in the listing any of these programs; Bearer Abstraction Layer (SCBAL.exe), Generic Device Management Executable (Generic.exe) or Symbian Connect Object Model for Symbian Connect QI (SymbianConnectRuntime.exe).I did a search and located the generic.exe and the other two files under 'common files' in 'teleca shared' folder, and 'symbian' in 'shared' and 'symbianconnectruntime', respectively.
    Norton's control panel for Smart Firewall gave me three options when adding programs: allow, block and manual configure internet settings. The last of the three was recommended by Norton. However, I selected 'allow' for the generic.exe, symbianconnectruntim.exe and scba.exe.Please advise if you believe I need to modify the terms I entered to set up this procedure (is there a better setting that allow me to achieve the same level of functionality without compromising my security?)
    Now Joanne, whats left is for me to try the sync after making these changes. I feel as if I accomplished a lot by only reaching this far. I will have to do a reinstallation of the SE PC Suite before moving on though. Let me explain.
    When the sync failed repatedly because of the unexpected termination linked with the dxp syncml.exe, I uninstalled the SE PC Suite which was done from a disc, and installed a version from the Sony website. That version is 1.6.0, with a copyright date of 2006. With this, the sync worked. By the way I am using Windows 7 Starter. Now what I am going to do later is uninstall this version of the suite, and reinstall the one from the disc that was linked with the problem we are solving. When I do that later, I will give you feedback.
    Just in case you are wondering, I have a vested interest in using the PC Suite from the disc. This application works fine for the file manager component where the drive on the phone and removable media card are read. In the 1.6.0 version, I cannot get the file manager to see the phone as connected though when I put the card (is that called M2 disc?) in the phone, it reads. So, I although sync is working with the 1.6.0 version from the website, I want to use the version I have on disc if the sync component gets over the problem we are trying to solve.
    Hope I am on the right  track so far I thank you profusely for your patience and dealing with my qeurry; the solution will make a world of a difference for me and many other P1i owners. Look foward to the follow up
    Rohan Bell

  • Portal Runtime Error when operating "Portal Content"

    Hi there,
    these days, I installed a NW710 in our team server, and try to configure its UWL to one backend system. Therefore I need to create a new system entry from "System Administration->System Configuration->Portal Content->New->System(from template)".
    After a few test, I found I can't do these operations: "add folder", "open properties", "open permissions", "new system", I got following runtime error when I clicked them:
    If anybody encounter the similar issue? great appreciate your clues!
    <b>Portal Runtime Error</b>
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    The object found is not an IView: pcd:portal_content/administrator/super_admin/super_admin_role/com.sap.portal.content_administration/com.sap.portal.content_admin_ws/com.sap.portal.wd_portal_content/com.sap.portal.admin.studio.configuration/actions/new/com.sap.portal.action.newFolder/com.sap.portal.WDfolderWizard.
    Exception id: 02:22_30/05/07_0030_708183150
    See the details for the exception ID in the log file
    <b>Detail Trace:</b>
    Exception ID:01:32_30/05/07_0014_708183150
    [EXCEPTION]
    com.sapportals.portal.prt.runtime.PortalRuntimeException: The object found is not an IView: pcd:portal_content/administrator/super_admin/super_admin_role/com.sap.portal.system_administration/com.sap.portal.system_admin_ws/com.sap.portal.system_configuration/com.sap.portal.admin_studio_system_landscape/com.sap.portal.admin.studio.configuration/actions/new/com.sap.portal.action.newFolder/com.sap.portal.WDfolderWizard
    at com.sap.portal.prt.core.PortalJNDIHelper.getPropertyContentProvider(PortalJNDIHelper.java:101)
    at com.sap.portal.prt.component.PortalComponentContextFactory.createPortalComponentContext(PortalComponentContextFactory.java:159)
    at com.sap.portal.prt.component.PortalComponentContextFactory.getPortalComponentContext(PortalComponentContextFactory.java:82)
    at com.sap.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:513)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:194)
    at com.sap.portal.prt.dispatcher.DispatcherServlet.service(DispatcherServlet.java:122)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:59)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:31)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:145)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:163)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:82)
    at com.sap.portal.http.EnrichNavRequestFilter.doFilter(EnrichNavRequestFilter.java:49)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:74)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:417)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:280)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:393)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:382)
    at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:85)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:160)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:66)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
    at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:304)
    at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.run(Processor.java:215)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:137)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:229)

    Hi,
       Were u able to do the operations before the UWL configuration? There is possibility that it would have been caused because of improper configurations also.
    Regards,
    Vijai

  • Two issues: Runtime error when trying to Reduce Size or Optimize File. And navigation in some files is VERY SLOW.

    I haven't figured out if there is a pattern here, as of yet.
    This happens with larger files (1500 pages and so forth) and not all the time. 
    - Bookmarks may take up to 4-5 seconds to go to its page.  Scrolling up and down pages is just as painfully slow.
    Even when I break the big file into smaller sections, the navigation remains slower than molasses.  
    - When I try to Optimize certain files, or Reduce their size, I get a Runtime Error. I have disable the Updater (I read this could be an issue) but that made no difference.  I have also broken the larger files into 2 or 3 pieces.  One of the pieces may work out well (I can optimize and so forth) but the other(s) may not.
    Thank you.
    PS: I use Windows XP Pro, Service Pack 3.  I have requested an upgrade (several times) but my wishes are not their command, I am afraid.

    HI ,Thanks for your response. That was an error in the code I posted, but wasn't the error I was trying to solve. Once correcting that error you pointed out I am getting the problems not when I send a plain text email like:
              if(!sendmultipart)
                 // send a plain text message
                 msg.setContent(msgText, "text/plain");
              }but when I try and send multipart messages doing this:
              else
                 // send a multipart message// create and fill the first message part
                       MimeBodyPart mbp1 = new MimeBodyPart();
         mbp1.setText(msgText);
          // create and fill the second message part
         MimeBodyPart mbp3 = new MimeBodyPart();
         // attach the file to the message
         FileDataSource fds = new FileDataSource(soundfile);
         mbp3.setDataHandler(new DataHandler(fds));
         mbp3.setFileName(fds.getName());
                       Multipart mp = new MimeMultipart();
         //adds the text to the message
          mp.addBodyPart(mbp1);
          //adds the attachment to the message
          mp.addBodyPart(mbp3);
           // adds the content to the message
          msg.setContent(mp);
         }So i get the error when executing the else branch.
    Can you spot any errors here? I get the same error as mentioned earlier.
    Thanks a lot,
    Jess

Maybe you are looking for

  • Mod_osso

    _ mod_osso configuration _ I m implementing SSO using Oracle Http server (based on apache 2.0) to be more precise using mod_osso , which would communicate with sso server for authentication of a user( cookie management ). Then based on the result app

  • I used to be able to play blu rays, but after the reinstall I don't have winDVD any more

    I own a Toshiba Satellite A505-6965. When I first got the laptop I had all these toshiba items on there. Recently I had to reinstall and reformat my laptop losing all toshiba items. I used to have winDVD and now I don't have it nor can I find it.I wa

  • Pls Suggest MRP strtegy

    Hello experts, The client requirement is as below. 1) Client wants to create purchase requisitions as per the customer order. (Individually)     If for same material, there are two customer's orders on same date, system should create two seperate pur

  • Trying a comprehensive jakarta-commons PKGBUILD....

    Hey there! I would like to build a PKGBUILD for a nice java banking program. On the way to a Arch-conform PKGBUILD I stumbled over the Java Package Guidelines and investigated the libs which are shipped with the program a bit further. There I found t

  • Testing a System - Over All performance

    How can someone assess the 'condition' of a system - By 'a system' I mean - test everything in the box, cpu, gpu, ram, etc.