on 05-20-2006 10:32 AM
Hi,
When creating a SC without material (special request) we need to only display the G/L account (change not possible) and disable the search help for G/L account.
Problem is if we change the HTML templete for SC it will effect for all cases (even when creating SC with material G/L is not editable). Is there any way to acheive this requirement?
we are using SRM 5.0 in extended scenario
Thanks & Regards,
Dublanc
Hi Dublanc,
you are right, if you deactivate it in the HTML template, this will be done for all cases.
As it is not easy to implement this kind of logic on HTML template, you should do it on the ABAP side.
Generally, the display of HTML fields is checking if it is enabled/disabled by the ABAP side.
If GL account field is disabled, the search help is unavailable.
To change this ABAP logic, change the PBO module modify_screen_tc from screen SAPLBBP_PDH_ACC 1000 (accounting overview), and maybe modify_screen from screen SAPLBBP_PDH_ACC 2000 (accounting details).
Rgds
Christophe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Dublanc,
WE can achive this very well by using
BBP_Document_change_BADI and
BBP_Document_Check_BADI
In change badi you need to check when ever the Gl Account is change for certain creteria (In your case Text materials ) and pass a parameter to global memory area if the Gl Account is change to Check Badi and in check badi you can throw an error that if this parameter = 1 then error = " GL acount for text materials cannot be Changed"
This will definetaly work.
regards,
Nimish Sheth
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.