Skip to Content
0
Former Member
Dec 12, 2011 at 05:36 AM

Custom fields handling in BuilRelation

74 Views

Hello All,

In BUT050, I am having some custom fields which needs to be displayed in Work address tab of Contact and should be also updated.

So I have added BuilRelation context node in BP_ADDR component, view 'BP_ADDR/ContactWorkAddrEF'. In the attribute structure of BuilRelation, I have added those custom fiedls So that they can be available in Web UI through Config.

Now I have copied the Std class CL_BUPA_IL_RELATION to a custom class to write custom code in modify method. But it is behaving some thing differently.

Till that time I am entering the Compnay Name, It is treating as new record : lv_detla is returning as 'N'.

But after that if any custom field is changed, it is treating as 'M' means modify.

Can you give me some idea how I can handle custom fields?

Thanks in adv.