on 10-26-2017 3:30 AM
Hi Guru,
I am trying to use the BADI USMD_ACC_FLD_PROP_CUST_DEP_SET
with this method IF_EX_USMD_ACC_FLD_PROP_CDS~MODIFY_FLD_PROP_ATTR
to make some fields in BP_COMPNY hidden.
Now, the variable IV_ENTITY does not get the entity BP_COMPNY. It could be because this entity is in lower levels of the hierarchy. It is under the BP_MLT_AS, BP_VENGEN.
The method can only read the data up to the level of BP_MLT_AS.
How can I read the field properties of the attributes under BP_COMPNY?
Will it be possible to do it in the same BADI? Can you please tell me how?
Thank you.
Regards,
Onyx
HI ,
If you provide the Filter for the BADI as your required entity type and model it should be triggered for BP_company also
For your case Entity = BP_COMPANY and MODEL = BP . Can you try this
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Onyx,
Please check the Filter criteria for your BADI. Is it set to Model = 'BP' ?
Depending on what level you are in, IV_ENTITY will read the corresponding entity.
For eg:- if you open the Vendor, When you are inside Company Code Page, and a BUKRS value is selected in the Company Code Dropdown, then the BADI will pick up the value IV_ENTITY as 'BP_COMPNY'.
I have implemented the same BADI & it is reading every entity. BP_VENGEN to BP_COMPNY.
Thanks,
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.