Skip to Content

Add Extension Field to other object using Extension Scenario

Hello Experts,

I have a requirement to have data flow from Account to Target groups, I understand I can use Extension field and provide Extension Scenario to Target group, and I can add the field in there. This all is possible if i have a KUT field.

However, if i create an extension field using Studio, this doesn't work.

1) Created a PES.

2) Added the PES to the extension field in Account

3) Trying to check if this field is available in Target Group

Please support me on this

Gayathri

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jan 18 at 05:06 PM

    Hi,

    When you add a field via PES to some other object then field will be extended to the BO but not to the UIs linked. Hence to see the field in UI as well you need to extend the screen via "Extensibility Explorer"

    Ex: I added a field LoyMemberID to Customer.XBO.

    import AP.Common.GDT;
    import AP.FO.BusinessPartner.Global;
    [Extension] businessobject AP.FO.BusinessPartner.Global:Customer {
        		node AddressInformation {
       	    } 
           		node Common {
    		[Scenario(ProcessExtensionScenario1)] element LoyMemberID : LANGUAGEINDEPENDENT_EXTENDED_Text;
    		element Points: LANGUAGEINDEPENDENT_EXTENDED_Text;
       	    } 
           		node CurrentEmployeeResponsible {
       	    } 
    }
    

    And created a PES to extend it to Target Group screen as well.

    After this step the field has been extended to BO but not in UI. So now we will extend UI using UI designer.And then i went to screen /BYD_COD/SalesOnDemand/Marketing/TargetGroup/COD_TargetGroup.TI.uicomponent via UI designer.

    save and active the screen. Field should be visible now.

    Thanks

    Saurabh

    Add comment
    10|10000 characters needed characters exceeded