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.

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?

  • R5034 Runtime error when updating ITunes  help - deleted all iTunes/Apple programs and reinstalled ITunes

    R5034 Runtime error when updating ITunes  help - deleted all iTunes/Apple programs and reinstalled ITunes
    help please ?

    solved problems and reinstalled  - 4 hours wasted trying to fix iTunes ...
    Apple could do better to inform users when updating and upgrading  .....

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

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

  • 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 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 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 creating Sessions - help

    Hi ,
    I tried creating a session under Collaboration ->MySessions
    I get the following runtime error at the end:
    <b>
    An exception occurred while processing a request for :
    iView :
    pcd:portal_content/specialist/Collaboration/com.sap.netweaver.coll.CollaborationRoomCreation/com.sap.netweaver.coll.RoomCreation/com.sap.netweaver.coll.AdminOwnedRooms/com.sap.netweaver.coll.AdminMyOwnRooms
    Component Name :
    com.sap.netweaver.coll.appl.ui.room.DelegatedAdministration
    The exception was logged. Inform your system administrator..
    Exception id: 07:05_14/09/05_0004_4971750
    See the details for the exception ID in the log file</b>
    Pls help to solve this problem.
    Thanks in advance.

    The most possible reason is if your site collection is reached the maximum site quota limit,then there is chance to get the run time error while creating a new group.
    In this case,you will get the error while creating/updating the group or while adding the new user/uploading any content.
    Also Ensure the group name is not having any special/unsupported characters.
    Feel free to share the error screenshot/entry in the ULS logs.
    Please remember to click 'Mark as Answer' on the answer if it helps you
    Best Regards,
    Pavan Kumar Sapara
    s p kumar

  • 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

  • I get a runtime error when I try to open itunes, any help?

    I get a runtime error when I try to open itunes, any help?

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • HT1926 Hi, got an update notification to go to 11.1.4 and then an R6304 runtime error when I try to start it. I downloaded Itunes again, and it will not complete intallation.... help please

    Good Day,
    Got an automatic upgrade notification to Itunes 11.1.4  Downloaded OK, but then got an R6304 Runtime error when it completed.
    I tried starting from the screen shortcut and got the same message. I tried downloading from scratch from the Apple site, and got
    the same errors.
    Any help would be appreciated.
    Thanks,

    Follow the instructions of tt2 in: https://discussions.apple.com/thread/5822086

  • Help! illustrator error! I did a runtime error when copying

    Help! illustrator error! I did a runtime error when copying!
    I 'm using cs5

    Nobody can tell you anything without proper system info or other technical details like the exact error message.
    Mylenium

Maybe you are looking for

  • User Exit & BADI for controling the END user in co06

    Hi I HAVE SOME 2 DOUBTS 1.  I  need a user exit /  BADI  for controlling the user to edit a specific document type in co06 (BACKORDER PROCESSING) . the control should be actve for specfic order type for specfic users 2  DEPENDS ON ORDER TYPE I NEED T

  • Can home share music from my iTunes on the computer with my iPad?

    How can I share my iTunes library on my windows xp computer with my windows 7 computer and my iPad (first generation)?

  • Right click - open in new tab

    when i open safari for the first time and want to open link from the page in the same window i do right click and press the option Open link in new tab, which is working only in the first tab window. as soon i open another one right click option are

  • Business Productivity Pack?

    Hi I installed CRM Business package and it came with some out of box roles (for ex: com.sap.pct.crm.CampaignManager). Now If I install Business Productivity pack, which comes with few roles for instance, com.sap.pct.crm.v02.campaignmanager, which Rol

  • Readers' Rights

    I have did all the configuration steps for Reader Rights Credential. However, im still getting this error:   com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Processing exception during a "UsageRights" operation. Request start time: Thu