on 02-20-2008 8:35 AM
Hi,
SRM Version Used : 5.0
Requirement is disable the GL Account field in the Cost Assignment Section of SHOPPING CART.
I tried using the ITS HTML changes... but not really very sure how to do it. Also have the code for it.
So, trying to acheive it with BADI: BBP_UI_CONTROL_BADI
Method:BBP_SC_UI_CTRL
How to get the field name for any field that has to be disabled
What is the field name for GL Account?
HELPFUL ANSWERS WILL BE REWARDED.
Thanks,
Ashwin.
Edited by: Ashwin Kumar on Feb 21, 2008 12:34 PM
Hi,
Quite easy with bbp_ui_control_badi
Fields can be found via sapgui access then navigate to screen number then goto screen painter.
IF iv_fieldname = 'T_SCREEN_ACCLIST-G_L_ACCT' OR
iv_fieldname = 'S_SCREEN_ACCDET-G_L_ACCT'.
cv_input_ready = ' '.
Kind regards,
Yann
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Yann,
in ur code, u gave field with S_ and T_ ,
but then i used only S_ before. which didnt work...
However if i am asked to Show an error message when some one tries to change this GL Account field...
then what can we do ? CAn we use CHECK badi for the same ? If YES, then How ?
NE Ways, Thanks for the immediate response.
Full points given.
Regards,
Ashwin.
Yes,
What u said is right.
In the scenario when GL Account in changeable,
then how to fullfill this requirement ?
viz.. whenever user tries to change the GL Accnt then show an ERROR message.
I used ceck BADI before, to display Error msg when clicked on Service Button.
Can you suggest something ?
Ashwin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.