Runtime Error in source code - LKKBLF99 during MB51

Dear All,
I have config receipt indicator: X Stock Transport Order in MB51. It is Working Completely good in Development in Quality. But it is having dump during i run into production server.
Information on where terminated
    Termination occurred in the ABAP program "SAPLKKBL" - in "GEN_FIELD_OUT2".
    The main program was "RM07DOCS ".
    In the source code you have the termination point in line 2839
    of the (Include) program "LKKBLF99".
2825 ----
2826 *       FORM GEN_FIELD_OUT2                                           *
2827 ----
2828 *       ........                                                      *
2829 ----
2830 form gen_field_out2.
2831   field-symbols <l_initial>.
2832
2833   case gs_out-field_colcount.
2834     when 001.
2835       if gs_out_flags-slave ne 'X'.
2836         assign <fm01> to <field>.
2837         gs_fc = gs_mfc01.
2838       else.
>>>>>         assign <fs01> to <field>.
2840         gs_fc = gs_sfc01.
2841       endif.
Don't understand what happened. Let me have some solution AEAP.
Regards,
Swapnil Vaidya

Runtime Errors         GETWA_NOT_ASSIGNED
Termination occurred in the ABAP program "SAPLKKBL" - in "GEN_FIELD_OUT2".                   
The main program was "RM07DOCS ".                                                            
In the source code you have the termination point in line 2839                               
of the (Include) program "LKKBLF99".           
Source Code Extract                                                                               
Line       SourceCde                                                                               
2809                   of structure t_outtab_slave to <fs96>.                                        
2810            gs_sfc96 = gs_out_fieldcat.                                                          
2811          when 97.                                                                               
2812            assign component gs_out_fieldcat-fieldname                                           
2813                   of structure t_outtab_slave to <fs97>.                                        
2814            gs_sfc97 = gs_out_fieldcat.                                                          
2815          when 98.                                                                               
2816            assign component gs_out_fieldcat-fieldname                                           
2817                   of structure t_outtab_slave to <fs98>.                                        
2818            gs_sfc98 = gs_out_fieldcat.                                                          
2819          when 99.                                                                               
2820            assign component gs_out_fieldcat-fieldname                                           
2821                   of structure t_outtab_slave to <fs99>.                                        
2822            gs_sfc99 = gs_out_fieldcat.                                                          
2823        endcase.                                                                               
2824      endform.                    "field_assign_hier_slave                                       
2825      ----                    
2826      *       FORM GEN_FIELD_OUT2                                           *                    
2827      ----                    
2828      *       ........                                                      *                    
2829      ----                    
2830      form gen_field_out2.                                                                       
2831        field-symbols <l_initial>.                                                               
2832                                                                               
2833        case gs_out-field_colcount.                                                              
2834          when 001.                                                                               
2835            if gs_out_flags-slave ne 'X'.                                                        
2836              assign <fm01> to <field>.                                                          
2837              gs_fc = gs_mfc01.                                                                  
2838            else.                                                                               
>>>>>              assign <fs01> to <field>.                                                          
2840              gs_fc = gs_sfc01.                                                                  
2841            endif.                                                                               
2842          when 002.                                                                               
2843            if gs_out_flags-slave ne 'X'.                                                        
2844              assign <fm02> to <field>.                                                          
2845              gs_fc = gs_mfc02.                                                                  
2846            else.                                                                               
2847              assign <fs02> to <field>.                                                          
2848              gs_fc = gs_sfc02.                                                                  
2849            endif.                                                                               
2850          when 003.                                                                               
2851            if gs_out_flags-slave ne 'X'.                                                        
2852              assign <fm03> to <field>.                                                          
2853              gs_fc = gs_mfc03.                                                                  
2854            else.                                                                               
2855              assign <fs03> to <field>.                                                          
2856              gs_fc = gs_sfc03.                                                                  
2857            endif.                                                                               
2858          when 004.

Similar Messages

  • ORA-01403: no data found Error in PLSQL code raised during plug-in processing.

    Hello OTN community,
    We are having the access to APEX problem. a New user was setup to access the APEX application. When I test to login as a new user, I get the message "ORA-01403: no data found Error in PLSQL code raised during plug-in processing.". When click OK to the disply message, the application will take me out of the sstem. I need help to even understand what is happening. I didn't develop the application, there is no documentation for this application, I am just supporting the application whenever there is a problem and I am new to APEX. As you can see I need help to figure this thing out. Your help is dearly appreciated.
    Thank you OTN

    Try to check the query that is executed and check if there is data or not

  • Runtime errors in T code J1IDEPOTSTOCK1.

    Hi Experts,
    I am getting runtime errors in T code J1IDEPOTSTOCK1.
    And  Error is
    Runtime Errors         PERFORM_PARAMETER_MISSING
    Except.                CX_SY_DYN_CALL_PARAM_MISSING
    Error analysis
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_DYN_CALL_PARAM_MISSING', was not caught and therefore caused a runtime error.
    The reason for the exception is:
    A PERFORM was used to call the routine "START-OF-SELECTION" of the program "J_1IDEPOTSTOCK1"
    The current call contains 0 actual parameter(s),  but the routine "START-OF-SELECTION" expects more than 0 parameters.
    parameters.
    Please give me advice.
    Thanks in advance.

    HI
    You need to apply the code corrections as mentioned in the note as rightly said by the other member
    Note 893139 - PERFORM_PARAMETER_MISSING dump in J_1IDEPOTSTOCK1 report*
    regards
    Prashanth

  • Java error at source code

    I am getting an error over here when I write this statement:
    Session session = Session.getDefaultInstance(props, null);
    MimeMessage message = new MimeMessage(session);
    I am trying to add the package javax.mail.* but is not allowin  me to import this package in my source code.
    I am working on NWDS 7.0.11
    Can some body help me plz
    thanx in advance

    Session session = Session.getDefaultInstance(props, null);
    try Session.getInstance( props, null) instread.
    I am trying to add the package javax.mail.* but is not allowin me to import this package in my source code.
    copy mail.jar file to <your project>/lib folder and add this jar to java build path.
    nikhil

  • Runtime error while inserting in PA0036 during Massupload of HR Master data

    Hi All,
    We are creating HR master data for infotypes : 0000,0001, 0002, 0003, 0017, 0105.
    with the help of BAPI_HRMASTER_SAVE_REPL_MULT .  Where we append appropriate data in internal tables and send it to the BAPI. We are able to create/update data for several personal Nos.
    When we try to upload around 3000 data records & try to create them as mentioned above, it results into Runtime Error : MESSAGE_TYPE_X in program SAPUP50R. The Errors reads : Error in INSERT from table PA0336 argument.....
    My question is : why is it giving Runtime error, when it perfectly runs for few records at a time & why is it trying to update PA0336 infotype, when we are not using it at all.
    Any pointers would help to solve the problem.
    Regards,
    Siddhesh Sanghvi

    Are you using several countries (MOLGA)?
    The error sounds like using the infotype views:
    With the feature IVWID (is stored PA0003-VIEKN) the infotype views (see table T582V+T582W) are read and set in background process within the infotype classes. For infotype 0002 (MOLGA = 19 , Portugal) the infotype view V336 is called and the data are stored in table PA0336 additionally.
    Here you have to check the table T500P (Personnel Areas) for the entries in field MOLGA, the feature IVWID for the return value, perhaps field value PA0003-VIEKN for the "crashed" employees.
    regards
    Peter

  • Receiver XI adapter error :HTTP Status Code 200 during Reponse Parsing

    Hi Exeprts,
    My Scenario is mail to ABAP proxy , I have got the bellow error in moni  while testing my secnario .
    Please help me reslove this .
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">OK_BUT_NO_XI_MESSAGE</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3>(See attachment HTMLError for details)</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>HTTP Status Code 200 Received But Error During Response Parsing: No XI Response Received XML element Envelope missing in SOAP message header (SAP XI Extension)</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
    Regards
    Upendra

    Hi Mark ,
    No error message in attachement . only it daisplay the following information
    SAP Library
    SAP Library contains the complete documentation for SAP NetWeaver Application Server Java. You can access it by choosing SAP NetWeaver.
          SAP NetWeaver Administrator
    A powerful administration, configuration and monitoring tool, which bundles key administrative tasks to keep your SAP NetWeaver system landscape running. SAP NetWeaver Administrator can be used in a central or local scenario. Here you access the local NetWeaver Administrator.
        System Information
    System information provides administrators with an overview of the system configuration and its state. It shows all of the system's instances and processes, their current state and important parameters (such as ports) that may be required for support cases, as well as the versions of the components installed.
          Services Registry
    The Services Registry is a UDDI based registry that contains definitions of enterprise services and references to their metadata.
       User Management
    The user management administration console provides administrators with the functions they need to manage users, groups, roles, and user-related data in the User Management Engine (UME). Users without administrator permissions can use it to change their user profile.
          UDDI Client
    The UDDI client provides query and publishing functions for UDDI entities to any UDDI compliant registry.
       Web Services Navigator
    Web Services Navigator is a tool that gives you a short overview of a specific Web service based on its WSDL, and enables you to test your Web service by creating and sending a client request to the real end point.
          Web Dynpro
    Web Dynpro is a User Interface technology available within the SAP NetWeaver Developer Studio.
    Various Web Dynpro tools provide administrators and application developers with performance measurement and application administration capabilities. The Web Dynpro runtime is already deployed.  
    Regards
    Upendra

  • Error on compile but no errors in source code code??

    Error(284,33): illegal forward reference in the CharacterDataLatin1.java which is not part of my project.

    I had the same error and caught it out. The cause is not into the code.
    Application: Oracle JDeveloper 10g on Fedora Core Linux 4
    Versions: 10.1.2, build 1811 (Jan 2005) and the new 10.1.2.1, build 1913 (Aug 2005)
    ERROR DESCRIPTION (BOTH BUILDS 1811 AND 1913):
    Compiler Messages:
    /usr/java/j2sdk1.4.2_04ojvm/src.zip!/java/lang/CharacterDataLatin1.java
    Error(284,33): illegal forward reference
    /usr/java/j2sdk1.4.2_04ojvm/src.zip!/java/lang/CharacterData.java
    Error(956,33): illegal forward reference
    /usr/java/j2sdk1.4.2_04ojvm/src.zip!/javax/swing/JFrame.java
    Warning(406,23): method setMenuBar(javax.swing.JMenuBar) in class javax.swing.JRootPane has been deprecated
    Warning(416,30): method getMenuBar() in class javax.swing.JRootPane has been deprecated
    /usr/java/j2sdk1.4.2_04ojvm/src.zip!/java/util/Locale.java
    Warning(25,1): import java.io.* partially used, should be replaced by
    import java.io.ObjectOutputStream;
    import java.io.IOException;
    import java.io.ObjectInputStream;
    import java.io.Serializable;
    etc.
    Compilation complete: 2 errors, 372 warnings.
    ERROR DURING THE FIRST START OF THE BUILD 1913:
    An error ocurred while opening jar:file: /usr/java/j2sdk1.4.2_04ojvm/src.zip!/org/apache/xpath/objects/XString.java
    Details:
    Exception Stack Trace:
    sun.io.MalformedInputException
    at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java:149)
    at sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecoder.java:247)
    at sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder.java:297)
    at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:182)
    at java.io.InputStreamReader.read(InputStreamReader.java:167)
    at oracle.javatools.buffer.UnsynchronizedReader.fillBuffer(UnsynchronizedReader.java:162)
    at oracle.javatools.buffer.UnsynchronizedReader.read(UnsynchronizedReader.java:85)
    at oracle.javatools.buffer.AbstractTextBuffer.normalizeEOL(AbstractTextBuffer.java:1477)
    at oracle.javatools.buffer.AbstractTextBuffer.read(AbstractTextBuffer.java:1301)
    at oracle.ide.model.TextNode$TextBufferWrapper.read(TextNode.java:1111)
    at oracle.ide.model.TextNode.loadURLContentIntoBuffer(TextNode.java:923)
    at oracle.ide.model.TextNode.reloadTextBuffer(TextNode.java:393)
    at oracle.ide.model.TextNode.reloadNode(TextNode.java:377)
    at oracle.ide.model.TextNode.open(TextNode.java:223)
    at oracle.jdevimpl.jotimpl.src.SrcFile.getNode(SrcFile.java:1756)
    at oracle.jdevimpl.jotimpl.src.SrcFile.init(SrcFile.java:170)
    at oracle.jdevimpl.jotimpl.src.SrcFile.<init>(SrcFile.java:150)
    at oracle.jdevimpl.jotimpl.src.SrcFile.createFile(SrcFile.java:127)
    at oracle.jdevimpl.jotimpl.internal.database.DatabaseFragment.createFile(DatabaseFragment.java:526)
    at oracle.jdevimpl.jotimpl.internal.database.ClassDatabase.getFile(ClassDatabase.java:724)
    at oracle.jdevimpl.jotimpl.JotWorkAreaImpl.getFile(JotWorkAreaImpl.java:738)
    at oracle.jdevimpl.jotimpl.addin.CacheFactory.buildData(CacheFactory.java:336)
    at oracle.jdevimpl.jotimpl.addin.CacheFactory.buildParseData(CacheFactory.java:378)
    at oracle.jdevimpl.jotimpl.addin.CacheFactory.create(CacheFactory.java:108)
    at oracle.jdevimpl.jotimpl.addin.JotRunnable.buildLibrary(JotRunnable.java:608)
    at oracle.jdevimpl.jotimpl.addin.JotRunnable.loadLibrary(JotRunnable.java:124)
    at oracle.jdevimpl.jotimpl.addin.JotRunnable.run(JotRunnable.java:64)
    at oracle.jdevimpl.jotimpl.addin.JotCacheThread.run(JotCacheThread.java:57)
    CAUSE:
    The Project Properties. Menu: Tools >> Project Properties >> Profiles >> Development >> Compiler.
    Uncheck "Update Imports" and that's all. Character Encoding: UTF8. For the target JDK 1.4 it's necessary to "Enable J2SE 1.4 Assertions". The "Self-Deprecation Warnings" produces an excessive amount of deprecation warnings. The OJVM' Patch is recommended (see <jdeveloper_install_directory>/jdev/install.html and readme.html).
    Of course, if this is the case.
    null

  • Ordered Dithering & Error Diffusion Source Code

    Could anyone help me with this topic? I am having an assignment which is regarding the changing of grayscale image to error diffusion and ordered dithieing! I have no idea at all on how to start this program!

    I know the theory but i don't know what classes i am going to use... i know that i am going to apply BufferedImage but i do not know how i should call an image into this BufferedImage method...

  • MB51 runtime error

    Hello Gurus,
    I am getting runtime error for a particular variant in MB51 report which gives 101 material document list for a particular dates.
    we did not had any issue earlier for same variant.
    helpfull answers will be rewarded
    regards
    suresh

    everyday you get more material documents in the tables, means the runtime increases with each new document.
    You are probably exceeding the limit define as maximum runtime of a transaction.
    You better schedule the report as background job.
    A tipp, fill the selection screen from top to down. If you leave the material number empty, then it searches thru the entire table. The table has as well material documents for receipts done without material number. So you can reduce the runtime already by entering 1 to 999999999999.. in the material number field if you are searching only 101 movements to stock items.

  • ABAP runtime errors "DYNPRO_MSG_IN_HELP"

    Hello Friends,
    Help me to solve the ABAP runtime errors "DYNPRO_MSG_IN_HELP"
    The ABAP dump occurred executing transaction "ZQ01".
    The dump occurs in standard program "SAPMZQ01 " of transaction "ZQ01" .
    Error Comes during "F4" processing, the program tried to send a " " message.
    This is not allowed at this point in processing.The program had to be terminated.
    search criteria of error is shown below:
    Program Name:   "SAPMZQ01 "
    Include Name:    "MZQ01F01 "
    Form Name:       "KTAAR_SIMPLE_F4"
    Error in Source code:
    024030               INVALID_ABAPWORKAREA = 1
    024040               INVALID_DYNPROFIELD  = 2
    024050               INVALID_DYNPRONAME   = 3
    024060               INVALID_DYNPRONUMMER = 4
    024070               INVALID_REQUEST      = 5
    024080               NO_FIELDDESCRIPTION  = 6
    024090               INVALID_PARAMETER    = 7
    024100               UNDEFIND_ERROR       = 8
    024110               OTHERS               = 9.
    024120
    024130     CLEAR V_IDX.
    024140     CALL FUNCTION 'HELP_VALUES_GET_WITH_DD_NAME'
    024150          EXPORTING
    024160               SELECTFIELD                   = 'KTAAR'
    024170               TABLENAME                     = 'ZTQ_KTAAR'
    024180               TITEL                         = TEXT-P04
    024190               SHOW_ALL_VALUES_AT_FIRST_TIME = 'X'
    024200          IMPORTING
    024210               IND                           = V_IDX
    024220          TABLES
    024230               FULL_TABLE                    = T_KTAAR
    024240          EXCEPTIONS
    024250               NO_TABLEFIELDS_IN_DICTIONARY  = 1
    024260               NO_TABLESTRUCTURE_GIVEN       = 2
    024270               MORE_THEN_ONE_SELECTFIELD     = 3
    024280               NO_SELECTFIELD                = 4
    024290               OTHERS                        = 5.
    024300     IF SY-SUBRC NE 0. MESSAGE W044. EXIT. ENDIF.
    024310     READ TABLE T_KTAAR INDEX V_IDX.
    >     IF SY-SUBRC NE 0. MESSAGE W045. EXIT. ENDIF.
    024330     READ TABLE LT_DYN WITH KEY FIELDNAME = 'ZTQ_FLDS-KTAAR'.
    024340     CHECK SY-SUBRC = 0.
    Thanking You,
    Rahul Asthana

    Hi
    The problem is a Warning message is triggered in a process for F4 (I suppose you're in PROCESS ON VALUE-REQUEST)
    This kind of message isn't supported there, you can use a message type S
    Max

  • Runtime error in Dynamic internal table with AMOUNT and Quantity Fields..

    Dear friends,
    I am attempting write a dymanic Select Statement (with joins).
    And the sleect query looks like this..
      SELECT (LT_SEL_LIST)
      INTO CORRESPONDING FIELDS OF
      TABLE <DYN_TABLE>
      FROM (LT_FROM_LIST)
      WHERE (LT_WHERE3).
    Here the into table is a dynamically created internal table..
    which is created by ...this
    CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
        EXPORTING
          IT_FIELDCATALOG = IT_OUTPUT2[]
        IMPORTING
          EP_TABLE        = DY_TABLE.
    the it_output2 contains the the fieldcatlog information of dynamically given fields :-
    like:-
           TABNAME
           FIELDNAME
           DATATYPE
           LENG
           INTTYPE
           ROLLNAME
           DECIMALS
           REFTABLE
           REFFIELD
    i mean the internal table is constructed with reference to all the bove metadata.
    Problem:- This query run fine with all the fields Except AMOUNT AND QUANTITY fields....
    When the selection list contain VBAK-NETWR or MSEG-MENGE..It throws a runtime error.
    "The data read during a SLECT access couldnt be inserted into the target field,either conversion is not supported for
    the target field's type or the target field is too short."
    after this I even tried to construct the dynamic table with CFILEDNAME and QFIELDNAME in the Fieldcatalog.
    so now my fieldcatlog looks like this:---
    LOOP AT IT_DD03L..
      IF IT_DD03L-DATATYPE = 'CURR'.
           TABLEFIELD-CFIELDNAME = IT_DD03L-FIELDNAME .
           ENDIF.
       IF IT_FIELDCAT3-DATATYPE = 'QUAN'.
           TABLEFIELD-QFIELDNAME = IT_DD03L-FIELDNAME .
      ENDIF.
           TABLEFIELD-TABNAME     = IT_DD03L-TABNAME.
           TABLEFIELD-FIELDNAME   = IT_DD03L-FIELDNAME.
           TABLEFIELD-DATATYPE    = IT_DD03L-DATATYPE.
           TABLEFIELD-INTLEN      = IT_DD03L-LENG.
           TABLEFIELD-INTTYPE     = IT_DD03L-INTTYPE .
           TABLEFIELD-ROLLNAME    = IT_DD03L-ROLLNAME.
           TABLEFIELD-DECIMALS    = IT_DD03L-DECIMALS.
           TABLEFIELD-REF_TABLE   = IT_DD03L-REFTABLE.
           TABLEFIELD-REF_FIELD   = IT_DD03L-REFFIELD.
    APPEND TABLEFIELD.
    CLEAR TABLEFIELD.
    ENDLOOP.
    Note:- this is a test code so ignore performance issues...
    Please help me with some code ...to avoid the Runtime erorr.
    Thanks,
    jeevan.

    Hi Jeevan,
    Why are moving only few fields from DD03L table to your field catalog? Why don't you use move-corresponding? The following code works for me in ECC6.0.
    data: it_dd03l type table of dd03l initial size 0,
          ls_dd03l type dd03l,
          lt_fldcat TYPE lvc_t_fcat,
          ls_fldcat TYPE lvc_s_fcat,
          ls_where(72) TYPE c,
          lt_where LIKE TABLE OF ls_where,
          lt_fld LIKE TABLE OF ls_where,
          lt_data_dy TYPE REF TO data.
    field-symbols: <ft_data> TYPE STANDARD TABLE.
    select * into table it_dd03l from dd03l
        where tabname = 'VBAK'
          and ( fieldname = 'VBELN' or fieldname = 'NETWR' ).
    check sy-subrc eq 0.
    loop at it_dd03l into ls_dd03l.
      move-corresponding ls_dd03l to ls_fldcat.
      append ls_fldcat to lt_fldcat.
      move ls_dd03l-fieldname to ls_where.
      append ls_where to lt_fld.
      if ls_dd03l-fieldname = 'VBELN'.
        clear ls_where.
        concatenate ls_dd03l-fieldname ' <> ''''' into ls_where.
        append ls_where to lt_where.
      endif.
    endloop.
    check not lt_fldcat is initial.
    CALL METHOD cl_alv_table_create=>create_dynamic_table
          EXPORTING
            it_fieldcatalog           = lt_fldcat
          IMPORTING
            ep_table                  = lt_data_dy
          EXCEPTIONS
            generate_subpool_dir_full = 1
            OTHERS                    = 2.
        IF sy-subrc <> 0.
          RAISE no_configuration_data.
        ENDIF.
        ASSIGN lt_data_dy->*  TO <ft_data>.
    check sy-subrc eq 0.
    select (lt_fld) from VBAK into corresponding fields of table
        <ft_data>
        where (lt_where).
    Thanks
    Bala

  • Runtime error from null value

    I have a request to create a Function Module that will be assigned to an Action Box, which when executed will copy long text for Quality Notification tasks.  I have the module created and working, but after my code is executed a runtime error happens due to a null value being passed to a method in the SAP program QM07_UPDATE_ACTIONBOX.  It looks to me like it is trying to perform some kind of cleanup tasks, and is trying to delete a node tree that does not exist.  My code did nothing with any kind of node tree, so I am not sure how to avoid this runtime error.  My code works as desired, except for this error that occurs after my code is processed.  Any assistance would be greatly appreciated!  Below are more details from the error received...
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not caught in procedure "QM07_UPDATE_ACTIONBOX" "(FUNCTION)", nor was it propagated by a RAISING clause.  Since the caller of the procedure could not have anticipated that the exception would occur, the current program is terminated.
        The reason for the exception is:
        You attempted to use a 'NULL' object reference (points to 'nothing') access a component (variable: "TREE_ACTIONBOX").   An object reference must point to an object (an instance of a class) before it can be used to access components.  Either the reference was never set or it was set to 'NULL' using the CLEAR statement.
    Information on where terminated
        Termination occurred in the ABAP program "SAPLQM07" - in "QM07_UPDATE_ACTIONBOX".  The main program was "SAPLIQS0 ".
        In the source code you have the termination point in line 39 of the (Include) program "LQM07U12".  The termination is caused because exception "CX_SY_REF_IS_INITIAL" occurred in procedure "QM07_UPDATE_ACTIONBOX" "(FUNCTION)", but it was neither handled locally nor declared in the RAISING clause of its signature.
        The procedure is in program "SAPLQM07 "; its source code begins in line 1 of the (Include program "LQM07U12 ".
       28 * bei Tree werden Knoten und Items gelöscht bei Table Control wird
       29 * nur g_control_tab neu aufgebaut
       30   if g_tree = c_x.
       31 *---- Löschen der bestehenden Knoten und Items
       32
       33 * Tabelle der Knotenschlüssel erzeugen
       34     loop at g_node_tab into l_node.
       35       append l_node-node_key to l_dnodes_tab.
       36     endloop.
       37
       38 * Items
    >>>>>     call method tree_actionbox->delete_all_items_of_nodes
       40       EXPORTING
       41         node_key_table          = l_dnodes_tab
       42       EXCEPTIONS
       43         failed                  = 1
       44         cntl_system_error       = 2
       45         error_in_node_key_table = 3
       46         dp_error                = 4.

    Yes, I have searched the notes.  I used the keywords suggested in the dump...
    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:
    "OBJECTS_OBJREF_NOT_ASSIGNED" "CX_SY_REF_IS_INITIAL"
    "SAPLQM07" or "LQM07U12"
    "QM07_UPDATE_ACTIONBOX"

  • 'OBJECTS_OBJREF_NOT_ASSIGNED_NO' Runtime Error in abap program

    When my dubugger goes on this line..it gives me Runtime error'
    'OBJECTS_OBJREF_NOT_ASSIGNED_NO'
    CX_SY_REF_IS_INITIAL
    Code :
    CALL METHOD determine_budget_values->determine_budget_values
      EXPORTING
         plvar  = '.:'
         butyp  = 'BU'
         begda  = '20060101'  "'01.01.2006'
         endda  = '20061231'  "'31.12.2006'
         kcurr  = 'X'
         budot  = 'BU'
         budid  = '50012433'  "objektid
         oldam  = 1000
         oldcu  = 'USD'
         oldno  = 10
         oldsu  = 'USD'
      IMPORTING
        NEWAM  = newam
        NEWCU  = newcu.
      NEWNO  =
      NEWSU  =
    Thanx in advance....Its very urgent..

    Thanks a lott...for u r rhelp///
    but one thing i would like to know after executing properly this method....will my HRP1520 will get those new values of budget of i will have to code it in Method ..specifically.
    i m sending code for Method...
    method IF_EX_HRECM00_BDG0001~DETERMINE_BUDGET_VALUES.
      DATA: BEGIN OF fs_budgets               ,
              objid(8) TYPE n                 ,             " Object Id
              flag     TYPE c                 ,             " Monetary/Non Monetary
              newam    TYPE CHAR22            ,             " Budgeted Amount,
              newcu    TYPE CHAR05            ,             " Currency Key,
            END OF fs_budgets                 ,
            t_budgets LIKE TABLE OF fs_budgets.
      DATA: w_sobid   TYPE hrp1001-sobid      ,             " Org. Unit
            w_file    TYPE rlgrap-filename    .             " File Name
      DATA: t_orgunit      TYPE hap_t_hrsobid    ,          " Id of Org. unit
            t_suborgunits  TYPE hap_t_hrsobid    ,          " Ids of Sub Org Units
            fs_orgunit     LIKE LINE OF t_orgunit.          " Work Area of orgunit
      REFRESH: t_orgunit,
               t_suborgunits.
      CLEAR  : fs_orgunit..
    The Budget values are stored in the file 'BUDGETS' on the App Server*
    This data will be read from the App Server                          *
      w_file = 'BUDGETS'.
      OPEN DATASET w_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    Fetching the corresponding Org Unit for the Budget Id               *
      SELECT sobid                         " Org. Unit
        FROM hrp1001
        INTO w_sobid
       WHERE plvar EQ '01'
         AND otype EQ 'BU'
         AND objid EQ  budid
         AND rsign EQ 'B'
         AND relat EQ '300'
         AND istat EQ '1'
         AND begda LE  endda
         AND endda GE  begda.
      ENDSELECT.                           " SELECT sobid
      IF sy-subrc EQ 0.
        fs_orgunit-plvar = '01'.
        fs_orgunit-otype = 'O'.
        fs_orgunit-sobid = w_sobid.
        APPEND fs_orgunit TO t_orgunit.
        CLEAR  fs_orgunit.
    Fetching the Sub Org units for a given Org unit                     *
        CALL FUNCTION 'HRHAP_SEL_OBJECTS_OF_EVAL_PATH'
          EXPORTING
            T_OBJECTS_BASE   =  t_orgunit
            EVALUATION_PATH  = 'ORGEH'
            FROM_DATE        =  begda
            TO_DATE          =  endda
          IMPORTING
            T_OBJECTS        =  t_suborgunits.
      ENDIF.                               " IF sy-subrc EQ 0.
      CLEAR newam.
    Accumulating the budget values of all the Sub org units for a given *
    Org unit and populating the fields 'newam' and 'newcu'.             *
      LOOP AT t_suborgunits INTO fs_orgunit.
        CLOSE DATASET w_file.
        OPEN DATASET w_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
        DO.
          READ DATASET w_file INTO fs_budgets.
          IF sy-subrc EQ 0.
            IF fs_budgets-objid EQ fs_orgunit-sobid.
              ADD fs_budgets-newam TO newam.
              newcu = fs_budgets-newcu.
              EXIT.
            ENDIF.
          ELSE.
            EXIT.
          ENDIF.                           " IF sy-subrc EQ 0.
        ENDDO.                             " DO
      ENDLOOP.                             " LOOP AT t_suborgunits
    Giving default values for the Budget Amount and Currency if they are*
    containing Initial values                                           *
      IF newam IS INITIAL.
        newam = 0.
      ENDIF.                               " IF newam IS INITIAL.
      IF newcu IS INITIAL.
        newcu = 'USD'.
      ENDIF.                               " IF newcu IS INITIAL.
      CLOSE DATASET w_file.
    endmethod.
    After this code will i require to code anything specific to get this newam(new amount) uploaded to HRP1520 infotype or automatically it will upload if i write above mentioned code only...
    Please revert......thanx  a lot

  • How to raise exception in bor method without showing runtime error

    I want to raise custom exception in the bor method like below. However, it will show runtime error when executing codes below. Any knows how to raise custom exception in the bor method without runtime error?
    raise 9021.

    Hi Nick
    You need to define the exception 9021 for the method and then you use the macro EXIT_RETURN as below
    exit_return 9021 sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    Regards
    Ravi

  • Runtime Error CALL_FUNCTION_PARM_MISSING in a custom report program

    Hi All,
    I've created a custom report program to create parameters for a user in a system. I'm getting a runtime error in the code.
    The code snippet as below.
    I'm getting that error at line no 161. I'm not able to figure it out. Please help me to correct it.
    Regards
    Mandeep Shrestha

    Hi Glenn,
    I'm not creating a user. My requirement is to add a parameter
    CRM_THTMLB_IE_COMP with value 'IE8'. I've written the below set of code to achieve that. Can you please help me further.
    :i_userlist,i_return,l_errorrole,lv_rows,i_error,i_final,
      l_e,lv_rows,l_s.
      REFRESH i_bname1.
      IF u_name IS NOT INITIAL.
        SELECT bname FROM usr01 INTO TABLE
        i_bname1 WHERE bname IN u_name.
        IF sy-subrc = 0.
          LOOP AT i_bname1 INTO wa_bname1.
            wa_userlist-username = wa_bname1-bname.
            APPEND wa_userlist TO i_userlist.
            CLEAR wa_userlist.
          ENDLOOP.
          DESCRIBE TABLE i_bname1 LINES lv_rows.
        ENDIF.
      ELSE.
    ****get all the users****
        CALL FUNCTION 'BAPI_USER_GETLIST'
          EXPORTING
            max_rows        = 0
            with_username   = ' '
          IMPORTING
            ROWS            = lv_rows
          TABLES
    *       SELECTION_RANGE =
    *       SELECTION_EXP   =
            userlist        = i_userlist
            RETURN          = i_return.
      ENDIF.
    ****read the PFCG and Business Roles****
      SELECT  *   FROM crmc_ui_profile INTO TABLE i_profile .
      IF i_userlist IS INITIAL.
        WRITE:'No Users'.
        EXIT.
      ELSE.
        LOOP AT i_userlist INTO wa_userlist.
          CLEAR: i_param,i_agrgrp,i_retagr,lv_pfcg.
          "IF wa_userlist-username = 'BUILDER_B'.
          CALL FUNCTION 'BAPI_USER_GET_DETAIL'
            EXPORTING
              username       = wa_userlist-username
              cache_results  = 'X'
            TABLES
              PARAMETER      = i_param
    *         PROFILES       =
              activitygroups = i_agrgrp
              RETURN         = i_retagr
    *         PARAMETER1     =
          CLEAR :wa_agrgrp,l_errorrole,wa_retparm,v_business_unit.
          CLEAR ls_sales_org.
          CALL FUNCTION 'Z0CR_GET_USER_DETAILS'
            EXPORTING
              iv_username      = wa_userlist-username
            IMPORTING
    *         EV_USER_TYPE     =
    *         EV_BUGROUPID     =
              es_sales_org     = ls_sales_org
    *         EV_PARTNER_ID    =
              ev_business_unit = v_business_unit.
          CALL METHOD CL_CRM_ORGMAN_SERVICES=>MAP_HROBJECT_TO_R3_SALES_ORG
            EXPORTING
              HROBJECT         = ls_sales_org-SALES_ORG
    *         dbread           =
            IMPORTING
              VKORG            = L_ECC
            EXCEPTIONS
              NO_AUTHORIZATION = 1
              NOT_FOUND        = 2
              OTHERS           = 3.
    *CALL FUNCTION 'CRM_BUPA_SALES_AREA_TO_R3'
    *  EXPORTING
    *    IS_SALES_AREA            = ls_sales_org
    * IMPORTING
    *   EV_VKORG                 = L_ECC
    **   EV_VTWEG                 =
    **   EV_SPART                 =
    * EXCEPTIONS
    *   NO_MAPPING_DEFINED       = 1
    *   R3_KEY_NOT_DEFINED       = 2
    *   OTHERS                   = 3
    *IF SY-SUBRC <> 0.
    ** Implement suitable error handling here
    *ENDIF.
          IF L_ECC = 2040 OR L_ECC = 2010 OR L_ECC = 2050 OR L_ECC = 1900.
    **        loop at  i_param into wa_param  .
    *            wa_param-PARID = 'CRM_THTMLB_IE_COMP' .
    *            wa_param-PARVA = 'IE8'.
    *            wa_param-PARTXT = 'CRM BW REPORT PARAMETER'.
    *           append wa_param to i_param.
    **          ENDLOOP.
    *      endif.
            CLEAR lv_flag .
    ****checking if the  role having prime support roles then assign the CRM_THTMLB_IE_COMP as IE8
            CLEAR lt_role.
            SELECT * FROM zuser_role INTO TABLE lt_role
            FOR ALL ENTRIES IN i_agrgrp
            WHERE pfcg_role = i_agrgrp-agr_name.
            IF sy-subrc = 0.
              lv_flag  = 'X'.
            ENDIF.
            CLEAR :lv_land.
            SELECT SINGLE land1 INTO lv_land FROM hrp1028 WHERE
            otjid = ls_sales_org.
            LOOP AT i_retagr INTO wa_retagr WHERE TYPE = 'E' OR TYPE = 'A'.
              l_errorrole = 'X'.
            ENDLOOP.
    **error records
            IF l_errorrole EQ 'X'.
              l_e = l_e + 1.
              CLEAR :lv_pfcg,lv_brole.
              wa_error-user = wa_userlist-username.
              wa_error-pfcg = lv_pfcg .
              wa_error-role = lv_brole .
              wa_error-MESSAGE = wa_retparm-MESSAGE .
              APPEND wa_error TO i_error.
              CLEAR l_errorrole.
            ELSE.
              CLEAR sy-subrc.
              CLEAR :wa_param1,lv_vlaues,wa_param.
              READ TABLE i_param INTO wa_param1
              WITH KEY parid = 'CRM_THTMLB_IE_COMP'.
              IF sy-subrc <> 0.
                CLEAR wa_paramx.
                wa_paramx-parid = 'X'.
                wa_paramx-parva = 'X'.
                CLEAR :wa_paramc,i_paramc.
                wa_paramc-parid =  'CRM_THTMLB_IE_COMP'.
                wa_paramc-parva = ' '.
                APPEND wa_paramc TO i_paramc.
                CALL FUNCTION 'BAPI_USER_CREATE'
                  EXPORTING
                    USERNAME  = wa_userlist-username
                  TABLES
                    PARAMETER = i_paramc
                    RETURN    = i_retparm.
              ENDIF.
              lv_vlaues = wa_param1-parva.
              IF i_agrgrp IS INITIAL AND lv_vlaues IS NOT INITIAL.
                CLEAR wa_paramx.
                wa_paramx-parid = 'X'.
                wa_paramx-parva = 'X'.
                CLEAR :wa_paramc,i_paramc.
                wa_paramc-parid =  'CRM_THTMLB_IE_COMP'.
                wa_paramc-parva = ' '.
                APPEND wa_paramc TO i_paramc.
                CALL FUNCTION 'BAPI_USER_CHANGE'
                  EXPORTING
                    username   = wa_userlist-username
                    parameterx = wa_paramx
    *               COMPANY    =
                  TABLES
                    PARAMETER  = i_paramc
                    RETURN     = i_retparm
    *               PARAMETER1 = .
                CLEAR :wa_retparm ,l_errorrole.
                IF i_retparm IS NOT INITIAL.
                  LOOP AT i_retparm INTO wa_retparm WHERE TYPE = 'E' OR TYPE = 'A'.
                    l_errorrole = 'X'.
                  ENDLOOP.
                ENDIF.
    **error records
                IF l_errorrole EQ 'X'.
                  l_e = l_e + 1.
                  wa_error-user = wa_userlist-username.
                  wa_error-pfcg = lv_pfcg .
                  wa_error-role = lv_brole .
                  wa_error-MESSAGE = wa_retparm-MESSAGE .
                  APPEND wa_error TO i_error.
                  CLEAR l_errorrole.
                ELSE.
                  l_e = l_e + 1.
                  wa_error-user = wa_userlist-username.
                  wa_error-pfcg = lv_pfcg .
                  wa_error-role = lv_brole .
                  wa_error-MESSAGE = 'No Roles assigned to User' .
                  APPEND wa_error TO i_error.
                  CLEAR l_errorrole.
                ENDIF.
              ENDIF.
              IF i_agrgrp IS NOT INITIAL .
                CLEAR lv_count.
                LOOP AT i_agrgrp INTO wa_agrgrp WHERE agr_name CP 'L*'.
                  CLEAR wa_profile.
                  READ TABLE i_profile
                  INTO wa_profile
                  WITH KEY pfcg_role = wa_agrgrp-agr_name.
                  IF sy-subrc EQ 0 AND
                  wa_profile-profile IS NOT INITIAL.
                    lv_count = lv_count + 1.
                  ENDIF.
                ENDLOOP.
                IF lv_count EQ '1'.
                  LOOP AT i_agrgrp INTO wa_agrgrp WHERE agr_name CP 'L*'.
                    CLEAR :wa_profile,lv_brole,lv_pfcg.
                    IF wa_agrgrp-agr_name CP 'L*'.
                      lv_pfcg =  wa_agrgrp-agr_name.
                      READ TABLE i_profile
                      INTO wa_profile
                      WITH KEY
                      pfcg_role = wa_agrgrp-agr_name.
                      IF sy-subrc EQ 0.
    **              ***fill business role
                        lv_brole = wa_profile-profile.
                      ELSE.
                        l_e = l_e + 1.
                        CLEAR lv_brole.
                        wa_error-user = wa_userlist-username.
                        wa_error-pfcg = lv_pfcg .
                        wa_error-role = lv_brole .
                        wa_error-MESSAGE = 'No Business Role for PFCG' .
                        APPEND wa_error TO i_error.
                        CLEAR l_errorrole.
                        CONTINUE.
                      ENDIF.
                    ENDIF.
                    IF lv_brole IS NOT INITIAL.
                      CLEAR wa_paramx.
                      wa_paramx-parid = 'X'.
                      wa_paramx-parva = 'X'.
                      CLEAR :wa_paramc,i_paramc.
                      wa_paramc-parid =  'CRM_THTMLB_IE_COMP'.
                      IF lv_flag = 'X'.
                        lv_brole =   'IE8'.
                        wa_paramc-parva = lv_brole .
    *                  CLEAR lv_flag.
                      ELSE.
                        wa_paramc-parva = lv_brole.
                      ENDIF.
                      APPEND wa_paramc TO i_paramc.
                      CALL FUNCTION 'BAPI_USER_CHANGE'
                        EXPORTING
                          username   = wa_userlist-username
                          parameterx = wa_paramx
    *                     COMPANY    =
                        TABLES
                          PARAMETER  = i_paramc
                          RETURN     = i_retparm
    *                     PARAMETER1 = .
                      CLEAR :wa_retparm .
                      IF i_retparm IS NOT INITIAL.
                        LOOP AT i_retparm INTO wa_retparm WHERE TYPE = 'E' OR TYPE = 'A'.
                          l_errorrole = 'X'.
                        ENDLOOP.
                      ENDIF.

Maybe you are looking for