on 12-21-2009 10:15 PM
Hi,
I am looking for some help on auto-refreshing of ITS screen.
We have defined a validation in doc-check badi, such a way that if user clicked on "Add to Shopping cart" button without selecting a valid product category, then the system will not allow the user to go to next screen. It will give a pop-message. User has to select a valid product category. Once user clicks ok in that pop-up message, then all the fields in the initial screen of shopping cart gets greyed out (un-editable). User has to manually refresh the screen and then user has to start from the begining.
Is there a way to auto-refresh the screen OR make the screen editable, when the user clicks ok in that pop-up?
Please advise.
Thanks,
Arun
Hi Arun,
You can use bbp_ui_control_badi to force to make the inputfields enabled.
Method bbp_sc_ui_ctrl .
Regards,
Anubhav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the reply Anubhav.
We are in SRM 4.0 which has only the below three methods in BBP_UI_CONTROL_BADI:
BBP_CTR_UI_CTRL
BBP_QUOT_UI_CTRL
BBP_BID_UI_CTRL
I think Shopping cart field control is possible only from SRM 6.0.
Is there any other way to enable those fields? PLease advise.
Thanks,
Arun
Hi,
In the doc check BADI..instead of POP up message. Try give the error message at the top.
You can do this..with the following code.
wa_message-msgty = 'E'.
wa_message-msgno = sy-msgno.
msg1 = 'Service Account assignment should be'.
msg2 = 'Cost Center(Services) or Cost Center(Sched Services)'.
msg3 = 'or Network'.
CONCATENATE msg1 msg2 msg3 INTO msg1
SEPARATED BY space.
wa_message-message = msg1.
wa_message-item_guid = wa_i_e_item-guid.
APPEND wa_message TO et_messages.
Hope this will help.
Thanks
Venkatesh P
Venkatesh,
We have used the pop-up option during "Add to Shopping cart", so that it will stop user from moving on to next screen when there is no product category entered in initial screen.
With the error message option, I believe we cannot stop user. Please let me know if we can do that with this option.
With the pop-up option, the problem we are facing is the screen is not getting auto refresshed after closing the pop-up.
Please advise,
Thanks,
Arun
Can anyone please help me with this
Thanks,
Arun
Edited by: Arun on Dec 27, 2009 10:10 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
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.