on 08-20-2007 6:48 PM
Hello All,
We are wanting to hide the BUS_AREA field. We seem to have sucess using BBP_UI_CONTROL_BADI for all screens except for field T_SCREEN_ACCLIST-BUS_AREA field on SAPLBBP_PDH_ACC screen 1000. The follwing id the code that was placed in BBP_UI_CONTROL_BADI.
IF FLT_VAL = 'BUS2121'.
IF IV_FIELDNAME = 'T_SCREEN_ACCLIST-BUS_AREA'
OR IV_FIELDNAME = 'S_SCREEN_ACCDET-BUS_AREA'
OR IV_FIELDNAME = 'BBP_PDACC-BUS_AREA'.
cv_invisible = '1'.
cv_input_ready = '0'.
ENDIF.
ENDIF.
However, the field continued to display and can accept entries. Why does this code not enable the .disabled portion on the Web Template code shown here...
TD()`<input type=text name="`T_SCREEN_ACCLIST-BUS_AREA[j].name`" value="`T_SCREEN_ACCLIST-BUS_AREA[j].value`" maxlength="4" size="4" `if (T_SCREEN_ACCLIST-BUS_AREA[j].disabled)` disabled `end`>`
I am doing something wrong or is this bug? Also, we are strongly urged by managment to not modify SAP code. So, what am I supposed to do?
Thank you in advance and points rewarded accordingly.
Regards, Dean.
There are new OSS Notes to correct BBP_UI_CONTROL_BADI issues... please review them
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You might want to try this ...
Note 1022687 - BBP_UI_CONTROL_BADI fields not rendered as configured
However, neither seemed to fix my problem. We'll keep plugging at it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Yann,
I haven't yet. I have had other pressing issues that that placed this on the back-burner. However, I am getting close to sending a message to SAP regarding this issue.
If you have already done so, let me know what response you get. As soon as one of us discovers the answer, let's post it for the rest of the community.
Good luck and regards,
Dean.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dean,
How did you solve your issue ?
I have the same problem.
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.
Hi
Not tried using any BADI yet.. I don't think there is any BADI, which will help..
Anyways, Easily possible by HTML Template modifications using SE80 for the internet service - BBPSC01 and/or BBPACCOUNT.
Do let me know.
Regards
- Atul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atul,
Thank you for your reply, but that's what I'm trying to avoid. Before I came onto the project we had contactors who modifed the web templates. However, I have been finding problems with the web templates in conjuction with the BBP_UI_CONTROL_BADI. I know that SAP will throw their hands up saying 'Template Modifed' cannot help you. So I have been undoing the modifcations and utilizing the BADI.
However, this is the one screen where it does not seem to work. I know that I can code it to work with the BADI, but shouldn't that be SAP's job? I'm not trying to ding SAP, but they had a great idea about these BADIs but just didn't make it to the finish line. IMO.
Anyway, if you have no other suggestions, I will send SAP a message. I mean, by looking at the code, there is an effort to allow this behavior but it doesn't work.
Thank you for your continuing support.
Dean.
Hi
Refer this SAP OSS Note as a reference...
In Screen 2550:
Insert a further input field 'BAPIPOGNA-BUS_AREA' below the input field G/L account. The name of the field identifier is 'BUS_AREA'. Contents: 'Business area' (length 26). Mod. Group 1 must have value '033'. Generate the screen.
Note 156725 - Business area not on account assignment screens
Do let me know, if this helps..
Regards
- Atul
Atul,
Thanks but that is for B2B and not SRM EBP Shopping Carts. Also, that Internet Service does not exist in our environment.
Anyway, let me ask this... do you know what program builds the web pages via processing the web templates? If I could debug that program to see if the 'Invisibile' setting truly activates the .disabled attribute, maybe that will help me clue SAP into where the problem might be.
Thanks, Again.
Hi
I have just given a guess, since i have not tried this yet..
Anyways, Look for Internet Service in this case as BBPACCOUNT
(otherwise Internet Service - BBPSC01 will definitely help)
Program name involved in this case might be <u>saplbbp_sc_ui_its</u>
Related links ->
Hope this will help.
Regards
- Atul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.