cancel
Showing results for 
Search instead for 
Did you mean: 

calling Adobe form from Webdynpro component?

Former Member
0 Kudos

Hi All,

I have a WD Component which displays all the personel nos and by selecting one personel no and clicking on a button it has to show the Adobe form which gets the data from BADI.and this is working fine.

but here my question is in the below code what is" Process"?

where we find this? please explain me this statement concatenate l_url '&process=ZORG_CHANGE' '&pernr_mem_id=' L_TEXT5 into l_url.

my code is:

method ONACTIONACT_FORM .

  • wd_this->fire_from_main_plg(

  • ).

DATA lo_nd_pernr_tab TYPE REF TO if_wd_context_node.

DATA lo_el_pernr_tab TYPE REF TO if_wd_context_element.

DATA ls_pernr_tab TYPE wd_this->element_pernr_tab.

DATA lv_objid LIKE ls_pernr_tab-objid.

DATA L_TEXT5 TYPE TEXT5.

  • navigate from <CONTEXT> to <PERNR_TAB> via lead selection

lo_nd_pernr_tab = wd_context->get_child_node( name = wd_this->wdctx_pernr_tab ).

IF lo_nd_pernr_tab IS INITIAL.

ENDIF.

lo_el_pernr_tab = lo_nd_pernr_tab->get_element( ).

IF lo_el_pernr_tab IS INITIAL.

ENDIF.

lo_el_pernr_tab->get_attribute(

EXPORTING

name = `OBJID`

IMPORTING

value = lv_objid ).

data l_pernr type p_pernr.

move lv_objid to l_pernr.

MOVE SY-UNAME TO L_TEXT5.

CALL FUNCTION 'HR_ASR_WDA_SET_EMPLOYEE'

EXPORTING

PERNR = l_pernr

ENAME = 'Rajak'

ID = L_TEXT5.

data lo_window_manager type ref to if_wd_window_manager.

data lo_api_component type ref to if_wd_component.

data lo_window type ref to if_wd_window.

data l_url type string.

data lt_parameters type tihttpnvp.

data ls_parameters type IHTTPNVP.

  • Generate the url to be called.

call method cl_hrrcf_wd_services=>construct_wd_url

EXPORTING

iv_application_name = 'asr_process_execute'

it_parameters = lt_parameters

RECEIVING

rv_url = l_url.

  • Pass the data using Application Parameters

concatenate l_url '&process=ZORG_CHANGE' '&pernr_mem_id=' L_TEXT5 into l_url.

lo_api_component = wd_comp_controller->wd_get_api( ).

lo_window_manager = lo_api_component->get_window_manager( ).

lo_window = lo_window_manager->CREATE_EXTERNAL_WINDOW(

url = l_url

title = 'Submitted candidate'

has_menubar = abap_false

has_toolbar = abap_false

has_location = abap_false ).

lo_window->open( ).

Regards,

Lakshmi.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Lakshmi,

go to tcode hrasr_dt and give the process name and you will find all the details

reward points if helpful

Former Member
0 Kudos

Hi,

in my scanario ,adobe form is updated or getting values from BADI. How to find the BADI's name ?and how it triggers?where do i find the exit handler etc?

Can you explain me this?

Regards,

Lakshmi.

Answers (0)