on 12-01-2014 4:21 PM
Hi Experts,
When we click on New Organization for creating a customer, Customer Creation screen will appear.
But I have developed one Web Dynpro application which will shows all account groups. When user click on New Organization, i am displaying my Web Dynpro Component ( Pop Up) which will display all Account groups. When user select Account group from these pop up, i have to default selected Account Group in Customer Creation Account group field.
For these, i have created Singleton class which i am calling when user select Account group and clicking on 'OK' button, I am getting Instance of Singleton Class and i am storing selected Account Group in Static Variable of Singleton Class.
But When cursor is going to feader class(Get Data Method) of Customer General Data UIBB (Where Grouping field is present), these instance is getting lost and it is creating new instance thats why my Account group field value (which user have selected and i have stored in Static variable) is getting lost.
Please Suggest me Suitable way of doing it.
Thanks..
Regards,
Sudhir Wakodikar
The singleton class instance is active in a single session. When you display a pop-up and then call the target application, you are jumping from session to another. Any way, one way to accomplish what you are trying to do, you can pass the account group as a URL parameter (good old ASP & BSP technique).
I'm wondering why do you have this pop-up window in the first place? Why not just make the BP account group mandatory so that users will have to pick a value always? If you don't want all the values in the drop-down, you can filter them out in the feeder class GET_DATA method.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.