Posts

Showing posts from October, 2024

SAP ABAP - Remove Special Character With Regex

Image
REPORT yregex. DATA mystring1 TYPE string. DATA mystring2 TYPE string. mystring1 = 'mystringa)aksak*1<>!@#$%^&*()~'. mystring2 = 'mystringa)aksak*1<>!@#$%^&*()~'. REPLACE ALL OCCURRENCES OF REGEX '[^0-9a-zA-Z]+' IN mystring2 WITH space. WRITE:/ mystring1. WRITE:/ mystring2.

SAP ABAP - Upload G/L Account (FS00) Custom Program

Image
Custom Structure for program Screen Element List Screen FLow Logic Gui Status Download template  Here   TYPES:   BEGIN OF ty_excel,     bukrs      TYPE bukrs,     saknr      TYPE saknr,     glacc_type TYPE char1,     ktoks      TYPE ska1-ktoks,     txt20      TYPE txt20,     txt50      TYPE txt50,     waers      TYPE waers,     kdfsl      TYPE skb1-kdfsl,     bewgp      TYPE skb1-bewgp,     mwskz      TYPE skb1-mwskz,     xmwno      TYPE skb1-xmwno,     mitkz      TYPE skb1-mitkz,     altkt      TYPE skb1-altkt,     infky      TYPE skb1-infky,     togru      TYPE skb1-togru,     zuawa      TYPE...