Posts

Showing posts from January, 2024

INITCAP- First letter of the word Capital in SAP ABAP

In sap abap some times we need to capitalize starting word. In that case we need to use FM. Just use "FI_CONVERT_FIRSTCHARS_TOUPPER" and get the result. Sample: data: P_Sampby type string value 'RAJIB HOSSAIN'. CALL FUNCTION 'FI_CONVERT_FIRSTCHARS_TOUPPER' EXPORTING input_string = P_Sampby SEPARATORS = ' ' IMPORTING OUTPUT_STRING = P_Sampby . Output: Rajib Hossain