Step1. The FM – SOTR_TAGS_REMOVE_FROM_STRING can be used to remove all the HTML tags from the string variable and just replies back only the text. Go
Author: coderobbot
Code page used SAP System & Language Specific Code Page
Character Encoding is like utf-8 etc. Code Page is used instead of character encoding in SAP and code page is a 4 digit number. Go
WAIT UP TO … Secs Command Vs FM : ENQUE_SLEEP
Post Summary: ABAP Command – WAIT UP TO … Secs holds the program processing for that seconds but it internally triggers a data babe commit
ABAP Max and Min Function
data : max type i , min type i. * maximum 9 values can be passed max = nmax( val1 = 10 val2 = 12 val3 = 14 val4 = 16 val5 = 18 val6 = 20 val7 = 25 val8 = 7 val9 = 3 ). min = nmin( val1 = 10 val2 = 12 val3 = 14 val4 = 16 val5 = 18 val6 = 20 val7 = 25 val8 = 7 val9 = 3 ). WRITE : / ‘Maximum :’, max. WRITE : / ‘Minimum :’, min.
ABAP Numerical Funtioncs
DATA n TYPE decfloat16. DATA m TYPE decfloat16 VALUE ‘-3.58’. WRITE : / ‘Original value :’, m. n = abs( m ). WRITE ‘Absolute Value :’, n. n = sign( m ). WRITE
‘Sign :’, n. n = ceil( m ). WRITE
‘Ceil Value :’, n. n = floor( m ). WRITE
‘Floor Value :’, n. n = trunc( m ). WRITE
‘Truncate Value :’, n. n = frac( m ). WRITE
‘Fraction Value :’, n.
Function Module to get USER Details
SAP standard provides FM- SUSR_SHOW_USER_DETAILS to get the details of a USER. Go to – Tx- SE37 and test the FM. This is Tx- SU01 and