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 2.10.1.1.
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:
http://help.sap.com/erp2005_ehp_05/helpdata/en/43/304ad229990b19e10000000a1553f6/content.htm
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:
http://help.sap.com/erp2005_ehp_05/helpdata/en/4f/d526cb575e11d189270000e8322f96/content.htm
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.