on 12-01-2008 8:56 AM
Hi All,
I have a problem in creating a pop-up view whenever a button in a WEB UI is clicked.
I have added a button in the items tab of sales order creation(in WEB UI),so when that button is clicked a pop-up view has to be generated.
could you all please suggest me in how to get a pop-up view when a button is clicked.
Thanks
Tanveer.
Hi Rohit,
the view i am creating is a ineractive view where the user can enter some data and press a button in the pop-up window so that the data is copied in the items tab.
the pop-up contains a table grid where the user can enter the data and press the button in pop-up window.
so could you please let me know how to create this type of pop-up window.
thanks
tanveer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tanveer,
I can just provide some pointers to start, since I haven;t done it myself.
a) You will be creating a separate component-with your interactive view. This view will have a value node with a text field, since you are accepting data from the user.
b) You will also add a button with corresponding event handler and add this view to the window.
c) On click of this button, you will fire some outbound plug to close this pop-up:
d) Then in your other component, where you are raising this pop-up, you will read the value of the value context node.
Regards,
Rohit
Hi Tanveer,
You need to keep few things in mind while raising the pop-up:-
a) Whether the view you need to display is already there or its a new view you need to create.
b) Whether its a display view or Search help kind of view in the pop-up
c) how the data will be passed to the pop-up view.
You can refer to the sample coding in BT111H_OPPT Component, view-BT111H_OPPT/ContactsOV event handler-EH_ONINSERTBC.
Here SAP is raising a pop-up to select buying center to be copied from Accounts into Opportunity.
Hope it helps!
Regards,
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.