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???

Similar Messages

  • 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?

  • 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 while executing transaction BDLS

    Hello,
    While executing BDLS transaction for converting logical system names I am getting following error
    Runtime Errors         CONVT_NO_NUMBER
    Except.                CX_SY_CONVERSION_NO_NUMBER
    Short text
         Unable to interpret "7,160 " as a number.
    How to resolve the above problem?

    Hi Rachel,
    BDLS creates an ABAP program SBDLS* which includes all the tables possibly including logical system names as of the domain behind the table fields. This program firstly    
    lives in runtime only and is checked by syntax checker.                 
    Now, sometimes tables have inconsistencies associated with them and you 
    will get this dump when a syntax check is performed on them.            
    So please check this and regenerate the culprit tables.                                                                               
    So please redo the steps for BDLS and check. There are     
    probably some tables which could be determined by you (syntax           
    check - in case program has already been saved only)                                                                               
    An easy way to check this is to run RBDLS2LS program (old BDLS) and     
    afterwards performing a syntax check on generated RBDLS*** (RBDLS<(>    
    <<)>(>                                                                  
    <<(><<)>)>ClientName>) program. 
    Known tables which caused such dumps in the past are:
    DFKKCOLFILE_P_W
    DFKKKO         
    DFKKMKO        
    DFKKREP06      
    DFKKREP06_S    
    DFKKREP07      
    DFKKREV06      
    DFKKREV07 
    Simply reactivate the tables you find out in SE11.                                                                               
    Another thing which has lead to this dump in the past is                
    in your R/3-System the value ' x ' is                                   
    additionally added to the value of your current release in the basis    
    release table SVERS.                                                    
    The table RSBASIDOC takes the release value from the table SVERS.       
    If you change value 'x' to your release in both tables (SVERS and       
    RSBASIDOC) and                                                          
    and activate again your source system connection. This could solve the 
    dump too.   
    I hope, this helps-if not, pls open a message with SAP.(component: BC-MID-ALE)
    b.rgds, Bernhard

  • 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 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

  • Error SG 105 when executing transaction KKAK

    Hi,
    When executing transaction KKAK (Results Analysis) for month end processing we get the following error for a especific sales order:
    "E SG105 Enter rate CAD/USD rate type P for 01/01/2010 in the system settings"
    My question will be: why is the system asking to enter that rate which we never use. We use rate M but not P. Is that really necessary?
    We are using release 470, level 003, Support Package SAPKH47031.
    Thanks for your help.

    HI,
    in the year-depending parameters of the controlling area version definition, the ex.rate type (P) and the valid-from-date is defined, thats why P is used.
    Best regards, Christian

  • 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 in the transaction S_ALR_*

    Hi SDN-ers,
    I have a problem with the transaction S_ALR_8******2 in my PROD system.
    Although I can open it, then instantly a page with ABAP runtime error occurs.
    I ran SE16 and entered the Table Name TSTCT and entered S_ALR* to find out all the Tcodes which starts with S_ALR with Description too.
    1) Is there any other way / T-Code availbale in viewing S_ALR_8******2.
    2) What are all the User Parameters that need to be changed for this and where can we find them?
    Please help me in resolving this issue.
    Thanks,
    Anguraj M.

    Hi Michael,
    Thanks for your reply.
    Could you please let me know where can we change/modify the below User Parameter for this T-Code S_ALR_8******2?
    User Parameter is GRWE = X?XXXXXX XEX.
    What is the trouble shooting method when the user faces ABAP Runtime error while executing the above mentioned T-Code (S_ALR_8******2)?
    Please help me on this.
    Thanks,
    Anguraj M.

  • Runtime error in KEFC Transaction while uploading CSV format file

    Hi Experts,
    This is regarding Runtime Error while executing the KEFC transaction in R3D.
    It is working successfully while uploading the file in Text format. But there is run time error while uploading in CSV format.
    It showing "The transfer was terminated.However,content errors occured" .
    Please provide the solution.
    Thanks in advance.
    Regards,
    Priya.

    Hi,
    To upload a CSV file it is used FM:
    CALL FUNCTION 'TEXT_CONVERT_CSV_TO_SAP'
    EXPORTING
    i_field_seperator = ';'
    I_LINE_HEADER =
    i_tab_raw_data = lt_file
    i_filename = p_filename
    TABLES
    i_tab_converted_data = p_table
    EXCEPTIONS
    conversion_failed = 1
    OTHERS = 2
    Please check what separetor this fm and your file are using. It should be the same.
    Regards,
    Fernando

  • 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

Maybe you are looking for

  • Learn Photoshop CS5.1 or upgrade to CC?

    Hey Guys, I need some advice... I purchased Photoshop CS5.1 a few years ago and never had the resources to learn the program.  I found the videos on YouTube really did not help me for the most part.    I just recently purchased a Canon Rebel T5i and

  • Not able to run app on iphone

    I have all the profiles set up and i am also able to run one application but not the other one. In the next one I set profile under build tab. Is there any other settings need to be made ?

  • Class not found javax.servlet.jsp.jstl.sql.Result in Richfaces

    When I try to run the richfaces application using Weblogic 10.3 AS and Netbean IDE 6.9.1, I found ClassNotFoundException on javax.servlet.jsp.jstl.sql.Result class. I class path the following libs. commons-beanutils-core-1.8.0.jar commons-digester-1.

  • Mysql syntax in java help please!!

    the below code works nice, but how do i place a variable in the VALUES part of the recordsUpdated statement. I can only place in numbers or letters but not variables. Lets say i want to loop this 20 times and i want it to write to the table 20 times,

  • Refresh CV04N result list?

    Hi All, is there a possibility to refresh the result list of an CV04N search? So - that changes ins DIS data are shown without to go back to the selection screen and search again. For example by refresh button - or that there is an function module, w