Skip to Content
0

Adaptive RFC and Web Dynpro Java

Jun 19, 2017 at 04:16 PM

31

avatar image
Former Member

Hello Guru's,

I had to modify a FM and add a New Input Parameter. And I reimported the FM in web Dynpro Java.

1. modified Model Binding and selected the newly added input parameter.

2. I have a Method where I am calling the FM as below:

wdContext.currentInteractiveFormElement().nodeWBS().invalidate(); wdContext.nodeEt_Wbs_Proj_Def().invalidate();

CreateAFEModel model = new CreateAFEModel();

Zafe_Wbs_Element_Input input = new Zafe_Wbs_Element_Input(model); input.setI_Werks(plant);

input.setI_Fkstl(costcenter);

input.setI_Reqty(requesttype);

wdContext.nodeZafe_Wbs_Element_Input().bind(input); wdContext.currentZafe_Wbs_Element_InputElement().modelObject().execute();

3. Added the parameter to the Method Parameter. But when I build the DC it is reverting back to below:

public void getwbs( java.lang.String plant, java.lang.String costcenter )

Please help me in adding the newly added input parameter in Web Dynpro Java.

Appreciate your help.

Best Regards,

Pramod

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers