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.

Similar Messages

  • Runtime error when I run customizing report

    Hi All,
    The ST22 analysis is as follows,when i run customizing report.
    DUMP Analysis.
    Runtime Errors         MESSAGE_TYPE_X
    Date and Time          19.04.2011 12:28:53
    Short text
         The current application triggered a termination with a short dump.
    What happened?
        The current application program detected a situation which really
        should not occur. Therefore, a termination with a short dump was
        triggered on purpose by the key word MESSAGE (type X).
    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.
    How to correct the error
        Probably the only way to eliminate the error is to correct the program.
        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:
        "MESSAGE_TYPE_X" " "
        "SAPLSLVC" or "LSLVCU10"
        "LVC_SORT_COMPLETE"
        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.
    Pls advise what is the problem,Beacuse Abaper is saying not report problem.
    Pranitha.

    Hi,
    Could you mention for which customization transaction, you get this error?

  • Smartfomrs - runtime errors call_function_parm_missing

    Hi,
    I am trying to add in address in the COMADDR windows in the standard smartform YBMY_MMGR1. I go to form interface -> import tab n add in IS_LFA1 type LFA1. Then create an address in the window n put &IS_LFA1-ADRNR& in adddress number under general attribute tab. When i try to display this in MB90 i receive error runtime errors call_function_parm_missing
    please advice
    thanks

    hi rajesh,
    Your answer in the form of steps :
    1) In standard smartform you are trying to display some extra field (in your case
    ADRNR from table LFA1).
    2) First identify the Standard driver program that is used by your Smartform.
    3) Open that program and search for function module 'SSF_FUNCTION_MODULE_NAME'.
    4) This function module will have a formname returned in import parameter
    'FM_NAME' in some parameter.
    5) Below SSF_FUNCTION_MODULE_NAME you would see a 'call function <parameter>',where
    parameter is the same parameter used to get formname in step 4.
    6) In this call function you need to pass 'IS_LFA1-ADRNR' in the export parameter.
    ie, for ex Write something like :
    ADRNR = IS_LFA1-ADRNR
    7) now open the form and in form interface add this variable along with the type.
    8) activate both driver program and form and i believe you should be able to see
    the adrn(dont forget to add the variable in  the window you wish to use to display it)
    Hope your issue get solved. <begging removed by moderator>
    Edited by: Thomas Zloch on Jan 17, 2012

  • CHARM Runtime error - CALL_FUNCTION_PARM_MISSING: SERVICE_I

    Hello,
    When I execute some actions in CHARM, I receive the runtime error  CALL_FUNCTION_PARM_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 in                                                                    
         procedure "CRM_ORDER_EXEC_SMART_FORM" "(METHOD)", 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:                                                  
         When calling the function module "/1BCDWB/SF00000050", one of the parameters      
         needed according to the interface description was not specified.                                                                               
    This parameter was "SERVICE_I".      
    I was not able to find an OSS note about the issue. Can you please help me?
    Thanks
    François

    Hello,
    I needed to send an e-mail to a specific e-mail address instead of sending it to a Business Partner in a Partner Functon of my Service Message (=Partner Dependent).
    In the Processing Details of my action (SPRO, 'conditions for actions'), I entered the e-mail address, but always got a dump on execution.
    Replacing the method CRM_ORDER_EXEC_SMART_FORM with CRM_SRVORDER_EXEC_SMART_FORM did the trick.
    Thanks,
    Karl

  • Facing a Runtime Error u201C GETWA_NOT_ASSIGNED u201C in report at background

    Hi All,
    I am facing a Runtime Error u201C GETWA_NOT_ASSIGNED u201C when a custom report is executed in the background,
    whereas the same report in getting executed properly in foreground.
    The reason, which, the Dump Analysis specifies is u201C Field symbol has not yet been assigned in the ABAP program "SAPLKKBL "
    Any one pls. let me know the solution
    I have already checked my field catalog & all the field names are in Capital.
    Please suggest the solution.
    Thanks in advance.
    Thanks & Regards,
    Sudhir Dure
    9972097464

    please check the fields in the output display with currency /quantity fields/packed decimal fields...
    try by moving the data into a char field..it will work..

  • CNTL_ERROR while running a custom report program in background mode

    Hi,
    I am running a report in background on daily basis. I am using cl_gui_custom_container class here and calling the constructor of this class. I am getting a CNTL_ERROR exception at this point. But if i run the same report directly, it is not throwing any exception. The problem is if i schedule it to background. I am not able to sort it out.
    I've written the following code below:
    I did apply the logic that you'd mentioned.
    I've implemented the code as below.
    IF  gr_container IS INITIAL.
    *** Check whether the program is run in batch or foreground
        IF CL_GUI_ALV_GRID=>OFFLINE( ) IS INITIAL.
    * Run in foreground
          CREATE OBJECT gr_container
            EXPORTING
              container_name = 'WORK_AREA_CONTAINER'.
          CREATE OBJECT lv_grid
            EXPORTING I_PARENT = gr_container.
        ELSE.
    * Run in background
          CREATE OBJECT lv_grid
            EXPORTING
              I_PARENT = gr_dockcontainer.
          ENDIF.
          ENDIF.
    i_parent_control = gr_dockcontainer.
            CREATE OBJECT m_base_splitter
            EXPORTING
              parent            = i_parent_control
              ROWS              = 1
              columns           = 2
            EXCEPTIONS
              cntl_error        = 1
              cntl_system_error = 2
              OTHERS            = 3.
            CALL METHOD m_base_splitter->get_container
            EXPORTING
              row       = 1
              column    = 2
              RECEIVING
              container = m_splitter_right_part
            EXCEPTIONS
              OTHERS    = 1.
    After I've implemented the above code I'm getting the following error in the batch job:
    Category               ABAP Programming Error
    Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED
    Except.                CX_SY_REF_IS_INITIAL
    You attempted to use a 'NULL' object reference (points to 'nothing')
    access a component (variable: "M_BASE_SPLITTER").
    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.
    Would you be able to help me in the above issue?
    Regards,
    Mandeep

    Hi Alexander,
    Yes I'd declared gr_dockcontainer as type ref to CL_GUI_DOCKING_CONTAINER. And I've now replaced the previous code and wwrote the below code :
    gr_container IS INITIAL.
    ***Check whether the program is run in batch or foreground
          IF CL_GUI_ALV_GRID=>OFFLINE( ) IS INITIAL.
    ***Run in foreground
            CREATE OBJECT gr_container
              EXPORTING
                container_name = 'WORK_AREA_CONTAINER'.
            CREATE OBJECT lv_grid
              EXPORTING
                I_PARENT = gr_container.
          ELSE.
    ***Run in background
            CREATE OBJECT gr_dockcontainer
              EXPORTING
                NAME = 'WORK_AREA_CONTAINER'.
          ENDIF.
        ENDIF.
    = gr_dockcontainer.
        CREATE OBJECT m_base_splitter
          EXPORTING
            parent            = i_parent_control
            ROWS              = 1
            columns           = 2
          EXCEPTIONS
            cntl_error        = 1
            cntl_system_error = 2
            OTHERS            = 3.
        CALL METHOD m_base_splitter->get_container
          EXPORTING
            row       = 1
            column    = 2
          RECEIVING
            container = m_splitter_right_part
          EXCEPTIONS
            OTHERS    = 1.
    But after implementing the above code I'm facing the same issue of CTRL ERROR- " GUI cannot be reached".
    Please guide me through this.
    Regards,
    Mandeep

  • Error REP-0300: ORACLE error occurred while running Custom Report

    Hi Team.
    We are facing a very strange issue here.
    We have an env , where all the custom reports are failing .Whereas the concerned env is a clone of the Production instance . There is one more instacne which is also a clone of the prod, over there these reports are working fine .
    I have checked all the thread here about this error, but could not get the required information .
    We are on RHEL 5 on Linux 64 bit server.
    Could you please guide me , how to figure out whats the difference between these cloned instances .
    We have an Sr with Oracle Support but its progressing very slowly.
    Error trail from log file
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_FROM_DATE='2013/08/01 00:00:00'
    P_TO_DATE='2013/08/10 00:00:00'
    P_PROJECT_ORG='ALL'
    Forcing NLS_NUMERIC_CHARACTERS to: '.,' for XDO processing
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.AL32UTF8
    Enter Password:
    REP-0300: ORACLE error occurred.
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-300: ORACLE error occurred.
    Report Builder: Release 10.1.2.3.0 - Production on Thu Nov 28 07:41:22 2013
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Thanks .

    Please confirm that you have the patches mentioned in (Doc ID 1368715.1) applied.
    I understand this is a cloned instance, but this error is intermittent and having the patches applied should clear our doubts.
    Thanks,
    Hussein

  • Error while calling FM from report program

    i am calling a FM using the follwoing program
    REPORT  ZTEST3.
    DATA : EMPNO TYPE zempdata-EMPLOYEE_NUMBER,
          EMPNAME TYPE zempdata-EMPLOYEE_NAME,
          EMPSAL TYPE zempdata-EMPLOYEE_SALARY.
    call function 'ZEMPMASTER'
        EXPORTING
          EMPNO        =  '22609'.
          EMPNAME      =  'vishal'.
          EMPSAL      =  200.
    but when i execute this program i am getting the following error
    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:
    When calling the function module "ZEMPMASTER", one of the parameters
    needed according to the interface description was not specified.
    This parameter was "EMPNAME".
    i don't know why i am geteing this error where as in my FM ZEMPMASTER i have given only three input parameters
    EMPNO, EMPNAME AND EMPSAL.
    my FM code is like as follows
    FUNCTION ZEMPMASTER.
    ""Local Interface:
    *"  IMPORTING
    *"     REFERENCE(EMPNO) TYPE  ZEMPDATA-EMPLOYEE_NUMBER
    *"     REFERENCE(EMPNAME) TYPE  ZEMPDATA-EMPLOYEE_NAME
    *"     REFERENCE(EMPSAL) TYPE  ZEMPDATA-EMPLOYEE_SALARY
    TABLES ZEMPDATA.
    BREAK-POINT.
    data WA_zempdata type zempdata.
    WA_zempdata-EMPLOYEE_NUMBER = EMPNO.
    WA_zempdata-EMPLOYEE_NAME = EMPNAME.
    WA_zempdata-EMPLOYEE_SALARY = EMPSAL.
    BREAK-POINT.
      insert into zempdata values wa_zempdata.
    WRITE :/  wa_zempdata-employee_number,  wa_zempdata-employee_name.
    commit work.
    ENDFUNCTION.
    pls let me know why i am getting this error

    Hi vishal,
    call function 'ZEMPMASTER'
    EXPORTING
    EMPNO = '22609'.<------- Remove this period
    EMPNAME = 'vishal'.<------remove this period
    EMPSAL = 200.<-----------*retain this period*
    We must never change the format in which a FM is displayed once we call the pattern.
    The period will be automatically be available at the end of the FM.need not keep it at end of every line.
    Hope this helps.If problem still persists post back.
    Regards,
    K.Sibi

  • Runtime Error In copy Of SAP Standard Program

    How do people,
    I have copied a SAP standard program H99CWTR0 because I need to add an extra
    column output in the report. I have made a few chnages regarding the INCLUDES
    When I run the program I am getting the following runtime error:
    " The structure of the COMMON PART "DRIVER_DATA_EXCHANGE"
    in program "%_T01050" is different from the calling program .....
    My question is that it says the error in program "%_T01050"  !!
    But when I enter this in SE38 it says it doesn't exist !
    Any ideas???
    Andy

    Thanks mate for replying.
    I'll have a look at what you suggest
    Andy

  • Error while running a custom report in OIM

    Hi All,
    I have created a new custom report for OIM and written a stored procedure for that. But while running the report from Admin console, its throws the below error:
    java.sql.SQLException: ORA-00911: invalid character
    ORA-06512: at "IDM.XL_EXCEPTION", line 149
    ORA-06512: at line 1
    ERROR,19 Jun 2011 22:09:31,665,[XELLERATE.WEBAPP],Class/Method: ReportAction/displayTabularReport encounter some problems: Error executing stored procedure
    Thor.API.Exceptions.tcAPIException: Error executing stored procedure
    Line 149 : DBMS_OUTPUT.PUT_LINE('select stmt ='|| select_stmt);
    "select_stmt" is a select query based on the OIM tables.
    Please advice.

    Seems like there is a invalid character in your SQL (Report's store procedure). Could you share with me whole content of this "select_stmt" variable?
    regards,
    Thiago L Guimaraes

  • Runtime error while creating logical database report pgm

    Hi,
        I have started doing pgm on Logical Database report using VBAK,VBAP and MARA. I took VBAK as the root node and VBAP& MARA  as subnodes. The actual requirement is:-  I am trying to place these tables in Application server for perfromance issue using Logical database. Based on sales, the items need to be be displayed. And based on Items, the material data should be displayed.So root node here is VBAK.
    I have created these 3 nodes in SE36 tx.code. when I go back to se36 main screen and under "subobjects"  ,I've selected "selections". I got a dialog box saying that "Nodes for which free selections are to be made". I have clicked on the radio buttons.And then clicked on "transfer" . I am getting a runtime error . Please let me know the solution.
        Please do send me the actual process to goon with logical database reporting.

    Hello
    Logically speaking, a company code can have more than one FSV as long as they share the same chart of accounts.
    When COA is common, the FSV pattern can be designed seperatly to serve the purpose of varied reporting.
    The dump you are getting is a temporary snag. Take a screen shot from SM54 after you execute the report and pass it to BASIS for analysis. They would fix that.
    Reg
    assign points if useful

  • Portal Runtime Error When Previewing the BI Report iViews

    Hi Experts,
    I hope this is the right place for my issue. I have an issue previewing the BI reports that I have created as the iViews and have put them in the portal. I am able to preview them in the BW/BI server successfully. Then I have created them in another server and got the portal runtime error. There are 2 different servers that I am working on, and there is no single sign on support on these servers.
    Portal Runtime Error
    An exception occurred while processing your request
    Exception id: 10:21_29/06/09_0049_44107950
    See the details for the exception ID in the log file.
    I check the permission, and everything has been set up as the BW/BI server (Built-in Group Everyone). I still got the portal runtime error. There is another folder of BI report iViews that someone else has created before. When I preview it, it prompts me with the NetWeaver Log in page. Then it opens the BI report iView properly. Unfortunately, it will not prompt the log in page on my own BI report iViews that I have created. Instead, it shows the portal runtime error page. Any ideas how can I solve this?
    Thanks,
    -Don
    Edited by: Don P. on Jun 29, 2009 5:06 PM

    Never mind! I solved it myself.

  • DYNPRO_SYNTAX_ERROR runtime error occurs in execution of module program

    Hi...
      I have created a module pool program and screen there is no error in that . But at the time of executing thru tcode , it shows runtime error as ,
    Runtime Errors         DYNPRO_SYNTAX_ERROR
    Date and Time          09.07.2008 13:48:47
    Short text
         Syntx error or generation error in a screen.
    What happened?
         At the screen generation it was detected that a screen to be generated
         has a syntax error or could not be generated due to another error.
    Error analysis
         Screen "ZSCCHK" 0100 could not be generated.
    Trigger Location of Runtime Error
         Program                                 ZSCCHK
         Module Name                             SYSTEM-EXIT
    Pls give me the solution .
    Thanks & regards
    Deepa.

    HI..
    I HAD DONE A MISTAKE ON SCREEN FLOW-LOGIC , IT CAN ABLE TO ACTIVATE BUT NOT GENERATED SCRENN NO. BECOZ I HAD SPECIFIED AS ,
    PAI
    MODULE CHECK_VALUES INPUT .
    INSTEAD OF
    MODULE CHECK_VALUES .
    THIS IS THE ERROR.
    Regards
    Deepa

  • Portal runtime error when i run BW Report

    Hi
    When I run a BI report in Production, I get the below error. I have checked the System alias as well as Permissions too.
    Here one more point is - the same report is running fine in Development.
    Error follows..........
      Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.ip.bi/iViews/com.sap.ip.bi.bex3x
    Component Name : com.sap.portal.appintegrator.sap.BWReport
    Exception in SAP Application Integrator occured: Unknown system alias. System Alias: 'SAP_BW', User: 'Administrator', Reason: System Alias is not defined or permission denied for this user.
    Exception id: 05:18_05/08/08_0071_336728050
    Regards
    S.

    Hi,
    In SP13, a new feature was released (RAI - https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0a4957d-7c71-2a10-3687-f38c78dfbe96) and the property is not ignored anymore so if for example SAP_BW is assigned in the property, AppIntegrator redirect to the BW ABAP backend instead to the BI7 installed on the portal.
    Unfortunately, there was a bug in the Role upload and in the Web application designer that was assigning a wrong value in the System property in case of BI7.
    Those bugs are already fixed -> SAP Note No. 1121962 & SAP Note No. 1124535 and in order to make it work the same way, you should run a migration tool that will replace the wrong values in the System property to SAP_LocalSystem -> see SAP Note No. 1128730.
    Regards,
    Eliel.

  • Error in viewing the customized reports in XL reporter

    Hi,
    I am using SAP B1 2007A. My problem is on viewing the customized reports I made through the XL reporter. I made a profit and loss report and saved it under the financials folder then financials sub folder. Before I still can view it through my SAP B1 main menu. All of a sudden, when I try to view again, I can't view any financials customized report. However, I have customized reports in other folders like the sales and purchasing and I can view them. I checked in the XL reporter itself by opening it through tools, xl reporter and I noticed that my financials folder was renamed to new folder and when I opened the financials sub folder, my customized reports were there but I can't view them in the sap main menu. I have 6 databases in my SAP and only 1 dbase has this problem. What might be the reason? Please help.
    Thanks,
    Jackilou

    Hi Jackilou,
    The problem you are facing is due to XLR error.  Just try restart you B1, it will normally be fixed by itself.  If your problem persist, log a support ticket to SAP.
    Thanks,
    Gordon

Maybe you are looking for