cancel
Showing results for 
Search instead for 
Did you mean: 

"PERNR_MEM_ID" Value is getting initial in custom include?

Former Member
0 Kudos

Hello Experts,

i am getting the dump while running the Standard webdynpro application "hress_a_ptarq_leavreq_appl",

Dump analysis :

  • The following error occurred in system NP3 : Field symbol has not yet been assigned.
  • The error occurred on application server bdln2678_NP3_00 and in work process. 48
  • The termination type was: RABAX_STATE
  • The ABAP call stack was:
    Function: EXIT_SAPLRPIN_001 of program SAPLXP02
    Form: PERSONAL_IN_PREL of program SAPLRPIN
    Function: RP_CHECK_PERNR of program SAPLRPIN
    Form: CHECK_APPLICATION_STATUS of program SAPLPT_ARQ_REQUEST_UIA
    Function: PT_ARQ_CUSTOMIZING_GET of program SAPLPT_ARQ_REQUEST_UIA
    Method: OVERRIDE_EVENT_OVP of program CL_HRESS_PTARQ_APP_CC_ASSIST==CP
    Method: OVERRIDE_EVENT_OVP of program /1BCWDY/0AB29P43B7IVBRVTRNOC==CP
    Method: IWCI_IF_FPM_OVP_CONF_EXIT~OVERRIDE_EVENT_OVP of program /1BCWDY/0AB29P43B7IVBRVTRNOC==CP
    Method: PROCESS_APPLICATION_CONTROLLER of program CL_FPM_OVP_ASSIST=============CP
    Method: GET_UIBBS_FOR_EVENT of program /1BCWDY/0AB29P43B7IVDBVX8V5L==CP

Here : Some customization happend in 2013 in Function module-PT_ARQ_CUSTOMIZING_GET this function module is calling in

           Feeder class : CL_HRESS_PTARQ_APP_CC_ASSIS

    dump is occurring because of the getting initial value for   "PERNR_MEM_ID"


Existing code as below :


* Declaration of Constants

   CONSTANTS: LC_RUN_STANDARD   TYPE C       VALUE '4',

              LC_PERNR_MEM_ID   TYPE STRING  VALUE 'PERNR_MEM_ID',

              LC_COMFIG_ID      TYPE STRING  VALUE 'SAP-WD-CONFIGID',

              LC_MPI_CONFIG     TYPE STRING  VALUE 'Z_PG_HRESS_AC_PERSINFO'.

* Get instance of CL_FPM Class

   LO_FPM  = CL_FPM_FACTORY=>GET_INSTANCE( ).

   IF LO_FPM IS BOUND.

* get Pernr Memory ID and Config ID

     LO_FPM->MO_APP_PARAMETER->GET_VALUE( EXPORTING IV_KEY = LC_PERNR_MEM_ID IMPORTING EV_VALUE = LV_MEM_ID ).

     LO_FPM->MO_APP_PARAMETER->GET_VALUE( EXPORTING IV_KEY = LC_COMFIG_ID IMPORTING ER_VALUE = LV_IMP_CONF_V ).



     ASSIGN LV_IMP_CONF_V->* TO <LFS_CONFIG_ID>.


" PERNR_MEM_ID" from where this parameter getting populated ? Currently it is initial in my logic so its giving dump.


Please Can any one comment on this .



Thank you.

 

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

* get Pernr Memory ID and Config ID

     LO_FPM->MO_APP_PARAMETER->GET_VALUE( EXPORTING IV_KEY = LC_PERNR_MEM_ID IMPORTING EV_VALUE = LV_MEM_ID ).

     LO_FPM->MO_APP_PARAMETER->GET_VALUE( EXPORTING IV_KEY = LC_COMFIG_ID IMPORTING ER_VALUE = LV_IMP_CONF_V ).

Your reading PERNR_MEM_ID from URL parameters as from above code.Check if PERNR_MEM_ID is initial, then throw error else proceed further.

Thanks

KH