cancel
Showing results for 
Search instead for 
Did you mean: 

Add Extended Fields in Address Information

former_member200925
Active Participant
0 Kudos

Hi experts,

I create a custom field in the Customer XBO and put in the screen "COD_Account_TI" like below:

import AP.Common.GDT;

import AP.FO.BusinessPartner.Global;

[Extension] businessobject AP.FO.BusinessPartner.Global:Customer {

        // You must activate this business object before you can access the extension fields

        // or messages in script files, forms, and screens.

            

             node AddressInformation {

           }

   

             node Common {

                    [Label("Estado")] element Estado:DEVESTADOCode;

                    [Label("Cidade")] element Cidade:DEVCIDADECode;

           }

   

             node CurrentEmployeeResponsible {

           }  

}

I need to put this fields in the Add address screen:

Someone knows where can i put in the screen "ADD ADDRESS" ?

Accepted Solutions (1)

Accepted Solutions (1)

former_member186648
Active Contributor
0 Kudos

Hi Anderson,

It is the Modal dialog "ListModificationFormAddress" in the same UI COD_ACCOUNT_TI.

try adding it to the modal dialog.

Thanks, Pradeep.

former_member200925
Active Participant
0 Kudos

Pradeep,

Is not appear not way to add extended field

There is way to insert the field "Cidade" from CurrentCommon ?

former_member186648
Active Contributor
0 Kudos

Hi ,

You cannot directly drag drop field into the standard UI, you will have to add it via extensibility explorer.
Note, you will be able to add the extension fields only if there is stable anchor defined for the section.

check if the "Add Address" section is editable via extensibility explorer, if yes you should be able to add those fields.

"Add Address" is mapped to "AddressInformation" on the BO.

Thanks, Pradeep.

former_member200925
Active Participant
0 Kudos

In the "ListModificationFormAddress" only display the follow options:

-Adjust Properties

-Change Section Group

-Mashup Management

-Add OBN Link / Button to Section Group

-Change Row Count for TextEdit Control

-Change ID-Field Configuration

I cannot add extended fields in PaneContainer

sumeet_narang
Active Participant
0 Kudos

Hi Anderson,

In the Extensibility Explorer, you need to select the Section Group for the List Modification Form which will show you the button  Add Extension Field to Sectio Group.

Also you would need to add your fields to the Address Information node in the xbo to be able to add them to List Modification Form of Adddress.

Regards,

Sumeet

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Anderson,

As already mentioned:

You can only add Extension Fields via the Extensibility Explorer.

  • Click on the Extensibility Explorer tag
  • Open the UI in which you want to add the field (even navigate like here to the UI for the ListModification)
  • In the Extensibility Explorer you can click throught the list (these are the Stable Anchors Pradee mentioned)
  • The area which belongs to this Stable Anchor is highlighted
  • If there is the operation "Add ExtensionFiedl to SectionGroup" is available this Stable Anchor suppports the adding of a field (not all do)

Bye,

    Horst

Answers (0)