on 09-04-2012 4:42 PM
Hi ,
My Custom Web Dynpro which generates the memory ID using FM HRTMC_SET_PERSON_DATA and concatenate the URL to open the Development plan.
The URL which calls the standard Wedynpro and it’s methods as below,
Component: HRTMC_DEVELOPMEMENT_PLAN
Component Controller
Method: ON_START
The below code which pulls the Memory ID from the URL and pass it to FM HRTMC_GET_PERSON_DATA.
wd_this->lo_fpm->mo_app_parameter->get_value( EXPORTING iv_key = 'MEM_ID'
IMPORTING ev_value = lv_mem_id ).
FM HRTMC_GET_PERSON_DATA which provides the Person ID and pernr based on Memory ID.
CALL FUNCTION 'HRTMC_GET_PERSON_DATA'
EXPORTING
iv_mem_id = lv_mem_id
IMPORTING
et_personids_with_pernrs = lt_personids_with_pernrs.
As the Internal table lt_personids_with_pernrs is having value, it does not raise any Dump error. Development Plan is displayed in the portal.
Sometimes, the below code
wd_this->lo_fpm->mo_app_parameter->get_value( EXPORTING iv_key = 'MEM_ID'
IMPORTING ev_value = lv_mem_id ).
Which does not pull the memory ID from the URL generated by custom webdynpro and FM HRTMC_GET_PERSON_DATA does not provide the person ID and pernr based on memory id ,
If the person ID or Pernr(lt_personids_with_pernrs) is blank , the standard class raises the Dump error.
The reason for the exception is:
Invalid parameter combination PLVAR/OTYPE/OBJID.
Please let me know how to solve this issue.
Regards,
Ganesh
Check in error case that the retrieval is happening Local to the environment or out side to the instantiated environment. then we can understand. If it is running without instance, then only we can see this type of situations.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.