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

Regular Expressions in SAP ABAP

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. 

Read more

Main SAP Product Hierarchy Tables and Quick Tips

SAP Product Hierarchy Tables

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.

Read more

ABAP: How to Convert String to Integer, Quantity, Currency

Convert String to Number and Quantity in 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).

Read more

SAP CRM Marketing attribute of BP

sap pa tcodes, SAP CRM Customer RelationShip Management

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.

Read more