Regular Expressions in SAP ABAP

Using Regular Expressions in SAP ABAP (REPLACE, FIND REGEX)

Start using Regular Expressions with ABAP and your Code will be more efficient and shorter. FIND REGEX and REPLACE ABAP statement with samples and real case.

In this article, we will start with the common Regular Expressions Operators used in ABAP.

Then, you will find some useful ABAP Statement using Regular Expressions in order to detail the main Regex in ABAP: the FIND REGEX and REPLACE. 

SAP Product Hierarchy Tables

Main SAP Product Hierarchy Tables and Quick Tips

SAP Product hierarchy tables stored the PH is an alphanumeric character string used for grouping materials.

In the standard SAP system, a product hierarchy can be created with up to three levels, each with a specific number of characters. Each level signifies a certain characteristic of the product. (source)

You find here the list of the main SAP Product Hierarchy Tables and some quick tips working with PH.

Convert String to Number and Quantity in ABAP

Different Methods to Convert String to Integer, Quantity, Currency in SAP ABAP

Convert String to Number and String in ABAP : Find here the different methods to convert String variable into Number, Quantity or Amount in SAP ABAP with sample code or SAP standard function template making easing to convert string.

You will find mainly how to Convert String to Number in ABAP, SAP ABAP Convert string to decimal in ABAP, Convert String to Quantity in ABAP and ABAP Convert String to Amount (Currency).

SAP CRM Customer RelationShip Management  e1459022826487

SAP CRM Marketing attribute of BP

SAP CRM Marketing attribute is an important topic in SAP CRM Marketing. It allows collecting extra information on different SAP CRM Data Master like Business Partner.

As the topic of Marketing Attribute is huge, this post will focus only how to read SAP CRM Marketing Attribute of BP (Business Partner).
All the technical side will be explained with BAPI, SAP CRM Tables and a Sample ABAP Code.

sai kiran anagani 61187 unsplash 1

HTML Template in ABAP

HTML Template in ABAP is a powerfull to tool to save template for document, SAP long texts and email in HTML format in SAP.

The SAP HTML Template contains more than the content with layout and data reference to generate dynamic Email and/or rich text.

These fields will be replaced by the corresponding value.