Add custom field in Personal profile service
To add new fields to the Overview Screen, click on Configure Columns from the toolbar
You will then see the following screen
The left side of the above screen shows all ‘Available Columns’ while the right side displays the ‘Displayed Columns’. You can add new fields from left to right. Also note that you can remove fields from this screen too in addition to the way mentioned in step 22.214.171.124.
Please note that the available fields on the left are only filled with the corresponding screen structure for that Country/Infotype combination. For more information on Screen structures please visit following link:
The Screen structure for US address is HCMT_BSP_PA_US_R0006, so the above list will only show fields present in this structure.
In case custom fields need to be added to the screen, these fields need to be added to the CI INCLUDE of the respective structure. The above screenshot shows custom fields added the include CI_US_R0006 of the US screen structure HCMT_BSP_PA_US_R0006.
The same custom screen fields can now be seen in the FPM configuration for US address HRESS_CC_PER_DTL_ADDRESS_US.
Please note that adding fields to the structure only makes them available to be added on the screen. We need to use
HRPAD00INFTYUI BADI. For more information on this BADI please see the following link:
The above screenshot shows available methods in the implementation of HRPAD00INFTYUI BADI. The method ‘INPUT_CONVERSION’ is used to transfer data from the screen to the Infotype (PA*** table). The ‘OUTPUT_CONVERSION’ method can be used to transfer data from the Infotype (PA*** table) to the screen.
Following extract of the code from the ‘OUTPUT CONVERSION’ method shows how to move values from the Infotype to screen fields.
Similarly , data can be moved from the Screen to the Infotype using the ‘INPUT CONVERSION’ method.