cancel
Showing results for 
Search instead for 
Did you mean: 

Creating and Edit Order in Web Dynpro (seperate window or view?)

Former Member
0 Kudos

Hi,

I have just done with Web order creation in web dynpro and is going to start on Edit now. Should I have a seperate window for Edit or should I put it together in the same window as Create order?

Accepted Solutions (1)

Accepted Solutions (1)

pravesh_verma
Active Contributor
0 Kudos

Hi Jackson,

Most of the time for such kind of requirements it is generally prefer to have a seperate view for edit and that is being called using the plugs from the main screen.

The flow will be like this:

View 1 (main View having data, Fieds for editing are disabled) -


> Fires Plug to Edit view -


> Edit View ( With all fields enabled which you want for editing).

In kind of a design the main advantage is, you can directly keep the required nodes in the component controller and map these nodes in main view and edit view, both. Without even caring for any data flow.

Data flow will be automatically be taken care by the component controller. The only one thing which needs to be handled is the UI elements enable and disable property. Because in the case of the main view you need to keep the disbale property of most of the UI element as True (as you don want user to edit anythign in this main view). In the edit view the disable property of same UI elements will be set to False, as used can edit any thing in this edit view.

If you keep this kind pf approach one more added advantage is that you can pass various parameters in the plug function. So if you want to handle something on the bases of sone flag etc then you can pass those parameters in the plug method.

However, as replied earlier, the decision is purely based upon your requirement. If the requirement is to show the edit screen as a Pop-up then you can help it!! Go with it..

I hope this will solve your issue. Please revert back if you need any other information.

Thanks and Regards

Pravesh

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Jackson,

It depends on your requirement.

You can create a new window if you feeling it's required, but it adds to overhead of creating new window at run time.

Rather i will suggest you to create EDIT view and use PLUGS for navigation.

Alternative, to window is you can create POP UP Window and populate data in it.

Decision will be based on requirement keeping in mind the run time performance of your application.

Regards,

Abhijeet