Open Demonium opened 1 year ago
Wouldn't it be easier to use two different nlaceholder names for the same variable?
go_easy_email->replace_placeholder(
EXPORTING
placeholder_name = '!mand_occurrence1!' " Placeholder to be replaced
replacement_type = 'R' " ('A','B','R',' ','T')control value & placeholder
single_value = mand " To be filled when 'A', 'B', 'R'
).
go_easy_email->replace_placeholder(
EXPORTING
placeholder_name = '!mand_occurrence2!' " Placeholder to be replaced
replacement_type = 'R' " ('A','B','R',' ','T')control value & placeholder
single_value = mand " To be filled when 'A', 'B', 'R'
).
Hi, In the template I have !SY-MANDT! at 2 different lines Only the first one is replaced. To avoid this I made a copy of the function module WWW_HTML_MERGER and with the line below
in replacement of
and this works better.
Also to add a table I have changed the REPLACE_PLACEHOLDER