on 07-22-2008 6:35 AM
Hi all,
Can anyone guide me how to hide the G/L Account in the Cost Assignment. Is there a way to use the BBP_UI_CONTROL_BADI to hide this Field? I can't find the right dynpro and field.
Thank you for the help
Gregor
also try to check whether this field is available for screen varient for BBPSC02
the TXN is SHD0
it will be simple just to create one screen varient
BR
Dinesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gregor,
The screen name is SAPLBBP_PDH_ACC and the screen number is 1000.
And the field name is BBP_PDACC-G_L_ACCT.
You can use the BBP_UI_CONTROL_BADI to hide this field.
Hope this Helps.
Thanks,
Pradeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Pradeep,
i tried to use IF_EX_BBP_UI_CONTROL_BADI~BBP_SC_UI_CTRL!
Here's the code:
method IF_EX_BBP_UI_CONTROL_BADI~BBP_SC_UI_CTRL.
IF SY-DYNNR = '0300'.
CASE IV_FIELDNAME.
WHEN 'GS_SCR_BASIC_I-QUANTITY'.
cv_input_ready = ' '.
ENDCASE.
ENDIF.
IF SY-DYNNR = '1000' OR
SY-DYNNR = '2000'.
CASE IV_FIELDNAME.
WHEN 'BBP_PDACC-G_L_ACCT'.
cv_input_ready = ' '.
ENDCASE.
ENDIF.
endmethod.
The first passage hides the quantity. That works.
The second passage should hide the G/L Account but it doesn't.
What's wrong?
Thanks a lot!
Gregor
Hi. You can do it with a transaction variant, I have made the GL account display only on SRM 4 and SRM 5 with a variant.
You have to get used to the screen in the GUI, it is hard to find the right one using all the scroll bars, but you can definitly get to the cost assignment if you keep trying.
The screens for the GL account are SAPLBBP_PDH_ACC 1000 and 2000.
Regards,
Dave.
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.