cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic navigation, on HCM Process and Forms "Web Dynpro FORM"

joo_ferreira
Participant
0 Kudos

Hi,

I'm trying to solve an issue regarding dynamic navigation, on a enhacement done at the Web Dynpro ABAP QISR_UI component for HCM Process and Forms.

I'm hiding the Adobe Form, and doing "do_dynamic_navigation" for a dynamic generated view container present at the VIEWSHOWFORM on the QISR_UI component.

The code works great, i.e.: the Adobe Form remains hidden and the custom form, using Web Dynpro appears.

I'm also using the HRASR00_PROCESS_EXECUTE_1 component to execute a Portal IView (Floorplan based component).

When the process is started, and the folowing actions are executed:

1- Select Employee

2- Select Process

3- Edit form

4- Press back (for example if the wrong process is selected)

5- Select the Process

6- Edit form again

There is a NULL exception, the "embedding_vca" (below) is NULL


SAPLWDR_RUNTIME_REPOSITORY
METHOD: IF_WD_RR_VIEW_USAGE~GET_EMB_VIEW_CNT_ASSIGNMENT (LCL_VIEW_USA

*----------------------------------------------------------------------*
* method IF_WD_RR_VIEW_USAGE~GET_EMB_VIEW_CNT_ASSIGNMENT
*----------------------------------------------------------------------*
  method if_wd_rr_view_usage~get_emb_view_cnt_assignment.
    result = me->view_usage->embedding_vca->get_api( ).
  endmethod.

 "IF_WD_RR_VIEW_USAGE~GET_VIEW_CONTAINER_ASSIGNMENT

Can you guys give me an hand?

Regards

Accepted Solutions (0)

Answers (4)

Answers (4)

joo_ferreira
Participant
0 Kudos

Hello,

Basically what I did was replacing the Adobe Form, by a Web Dynpro component that contains its own form, and associated logic.

Tecnically the steps to acomplish the task were:

1º Development of a component for showing a form. ( I suggest you to start with just a "hello world" or something very basic )

2º Enhance the QISR_UI component (VIEWSHOWFORM view, on the modify view method), something like

 
if form scenario = XXXXX then
hide the adobe form;
create a custom view container (the problem I had above), and create an instance of the component created on step 1
end if

3º Access the context that the original form returns (you can check the context debugging the VIEWSHORFORM view )

4º Pass the context to the component created..

I can't provide further details on this, I'm sorry...

I do not suggest doing this, this was a requirement so I had to do it... But this requires a lot of workarrounds, and lots of small changes in standard code related with process and forms... It's not, also, a "clean" solution

Regards,

Joã

mike_mcinerney
Participant
0 Kudos

João,

Thank you so much for your response. This may provide a good start. I have a related question on the forum as well. As I get more information, I will try to share to the threads.

Thanks again...

...Mike

mike_mcinerney
Participant
0 Kudos

I also have a similar requirement. Personally, I've done web dynpro before, but not processes and forms, although others here have developed many jsp based front end forms. Now we want to create web dynpro for abap forms (without using adobe) .

It would be great if you could share any pointers.

Thanks...

...Mike

Former Member
0 Kudos

Hi Joao.Ferreira

I do have a similar requirement to show Web Dynpro ABAP instead of Interactive ADOBE form.. I've no clue, where to start or create an enhancement to transfer Context value to custom Web Dynpro ABAP.

Could you please help me on the step-by-step procedure to replace ABOBE form with Web Dynpro.

I would be thank, if you could share any documents and screenshot on the steps to built a logic in QISR_UI Component.

Appreciate your help

Thanks

kamalbabu

joo_ferreira
Participant
0 Kudos

The problem was in the do_dynamic_navigation method.

The specified embedding position was wrong.

target_embedding_position = 'MAINVIEW/VIEWCONTAINER2.VIEWSHOWFORM/<CUSTOM UI CONTAINER>'