on 07-30-2010 4:47 PM
Hi,
As am new to WDP ABAP, am from WDP JAVA and doing eForms with WDP ABAP now and the issue is.
I need to pass the PERNR from HANDLEDEFAULT() toview(Leava request) value comes from "HR_ASR_GETEMPLOYEE".So i used the following code .
Passing pernr to view
DATA : l_emppernrforsearchhlp_node TYPE REF TO if_wd_context_node,
l_emppernr_ele TYPE REF TO if_wd_context_element.
DATA :emp_pernr TYPE persno , " Employee PERNR from team Viewer
CALL FUNCTION 'HR_ASR_WDA_GET_EMPLOYEE'
EXPORTING
ID = PERNR_MEM_ID
IMPORTING
PERNR = emp_pernr
ENAME =
.
l_emppernrforsearchhlp_node = wd_context->get_child_node( name = wd_this->wdctx_emppernrforsearchhlp ).
l_emppernr_ele = l_emppernrforsearchhlp_node->get_element( ).
set single attribute
l_emppernr_ele->set_attribute(
name = `EMPPERNR`
value = emp_pernr ).
Here am successfully able to pass and working excellent, but I need to do the same for reaming eforms also(Employee Separation)
There this is not working, when i compared with the leave_req apps EMployee separation I found a method lo_portal_manager->SUBSCRIBE_EVENT in Init()..which is the cause ...
Plz let me know the use of lo_portal_manager->SUBSCRIBE_EVENT...and give some solution for my problem.
Regards
Rajesh
not answered
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>Plz let me know the use of lo_portal_manager->SUBSCRIBE_EVENT...and give some solution for my problem.
This method initializes the Portal Eventing framework and subscribes this applciation to listen for a particular portal event.
So first question - is your application running in the portal and is it still part of the portal page with the iView that produces this event. Are all the applications in iViews in this page running in the same domain - otherwise portal eventing fails becuase of cross site scripting security restrictions.
User | Count |
---|---|
73 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.