SAP StackFICOHRMMSDPMPSABAPNetWeaverTablesTcodes ☰MENU

OVERLAY statement syntax with example

In ABAP OVERLAY statement is used for overlaying the characters of string on another string. Overlayed string characters will be replaced by the other string characters according to the position.

Dont be confused, you will get more idea after seeing one examples.

Example 1

Example 2

If we need to replace only characters ( not blank spaces ),we need to used an additional parameter “ONLY str” with OVERLAY statement.

The complete syntax will be :
OVERLAY string1 WITH string2 [ONLY str].

overlay statement in sap abap

SAP ALECRMSCMSRMSAP Solutions SAP ReferencesSAP BasicsPP ModuleWMSAP Partners
HomeContact & Privacy PolicyTwitter
All of the product names here are trademarks of their respective companies. The site sapstack.com is not affiliated with SAP AG.
©2024 sapstack.com