Function Description
getASMA(String attribute, String namespace) get PI adapter specific message attribute
XPath(String xpath) get value based on evaluated xpath on main payload
getSAPSYSTEMNAME() get PI SAPSYSTEMNAME
getSAPSYSTEM() get PI SAPSYSTEM
getCorrelationId() get Correlation Id from PI message
getMessageId() get Message Id from PI message
getProtocol() get Protocol from PI message
getRefToMessageId() get Reference Message Id from PI message
getDeliverySemantics() get Delivery Semantics from PI message
getFromParty() get From Party from PI message
getSequenceId() get Sequence Id from PI message
getFromService() get From Service from PI message
getMessageClass() get Message Class from PI message
getMessageDirection() get Message Direction from PI message
getToParty() get To Party from PI message
getToService() get To Service from PI message
appendIfMissing(String suffix) Appends the suffix to the end of the string if the string does not already end with any the suffixes.
appendIfMissingIgnoreCase(String suffix) Appends the suffix to the end of the string if the string does not already end, case insensitive, with any of the suffixes.
capitalize Capitalizes a String changing the first letter to title case
center(int size) Centers a String in a larger String of size size using the space character (' ').
center(int size, String padStr) Centers a String in a larger String of size size.
chop() Remove the last character from a String.
concat(String value) concatenate value
left(int len) Gets the leftmost len characters of a String.
leftPad(int size, String padStr) Left pad a String with a specified String.
normalizeSpace() The function returns the argument string with whitespace normalized by using trim(String) to remove leading and trailing whitespace and then replacing sequences of whitespace characters by a single space.
prependIfMissing(String prefix) Prepends the prefix to the start of the string if the string does not already start with any of the prefixes.
prependIfMissingIgnoreCase(String prefix) Prepends the prefix to the start of the string if the string does not already start, case insensitive, with any of the prefixes.
remove(String remove) Removes all occurrences of a substring from within the source string.
removeEnd(String remove) Removes a substring only if it is at the end of a source string, otherwise returns the source string.
removeEndIgnoreCase(String remove) Case insensitive removal of a substring if it is at the end of a source string, otherwise returns the source string.
removePattern(String regex) Removes each substring of the source String that matches the given regular expression using the DOTALL option.
removeStart(String remove) Removes a substring only if it is at the beginning of a source string, otherwise returns the source string.
removeStartIgnoreCase(String remove) Case insensitive removal of a substring if it is at the beginning of a source string, otherwise returns the source string.
repeat(int repeat) Repeat a String repeat times to form a new String.
repeat(String separator, int repeat) Repeat a String repeat times to form a new String, with a String separator injected each time.
replace(String searchString, String replacement) Replaces all occurrences of a String within another String.
replace(String searchString, String replacement, int max) Replaces a String with another String inside a larger String, for the first max values of the search String.
replaceOnce(String searchString, String replacement) Replaces a String with another String inside a larger String, once.
replacePattern(String regex, String replacement) Replaces each substring of the source String that matches the given regular expression with the given replacement using the Pattern.DOTALL option.
reverse() Reverses a String
reverseDelimited(char separatorChar) Reverses a String that is delimited by a specific character.
right(int len) Gets the rightmost len characters of a String.
rightPad(int size) Right pad a String with spaces (' ').
rightPad(int size, String padStr) Right pad a String with a specified String.
splitRegEx(String regex) Split a String with regex using regular expression, then take first string found.
splitRegEx(String regex, int position) Split a String with regex using regular expression, then take string based on index position.
substring(String str, int start) Gets a substring from the specified String avoiding exceptions.
substringAfter(String separator) Gets the substring after the first occurrence of a separator.
substringAfterLast(String separator) Gets the substring after the last occurrence of a separator.
substringBefore(String separator) Gets the substring before the first occurrence of a separator.
substringBeforeLast(String separator) Gets the substring before the last occurrence of a separator.
substringBetween(String tag) Gets the String that is nested in between two instances of the same String.
substringBetween(String open, String close) Gets the String that is nested in between two Strings.
substringRegEx(String regex) Gets the String that is matched regex regular expression. Take string in first position found."
substringRegEx(String regex, int position) Gets the String that is matched regex regular expression. Take string in based on position.
toLowerCase() Converts a String to lower case
toUpperCase() Converts a String to upper case
trim() Trim white space from a String
uncapitalize() Uncapitalizes a String, changing the first letter to lower case
wrap(String wrapWith) Wraps a String with another String
getTimestamp(String format) Get current timestamp using Java simpleDateFormat

 

SAP PI Custom Module DynamicFileNameBean Development
Tagged on:         

Leave a Reply

Your email address will not be published.

Time limit is exhausted. Please reload CAPTCHA.