I am downloading the string C&I to excel, but it appears as C&I in the spreadsheet.
The relevant RPG code I am using is:
SELSLSCHNX is defined as follows in R0033DSX:
Would appreciate any help to fix this issue.
TIA
The relevant RPG code I am using is:
Code:
d recStructureX e ds extname(R0033DSX) inz d recordsX e ds extname(R0033DSX) qualified d inz dim(500) d col ds likeds(vvSSCol) d dim(26) inz clear recStructureX; SELSLSCHNLX = post_channel; if SELSLSCHNX = 'C&I'; SELSLSCHNX = 'C'+AMP+'I'; endif; count += 1; recordsX(count) = recStructureX; col(25).sqlName = 'SELSLSCHNX'; col(25).heading = 'Selected Sales Channel'; vvOut.object='R0033DSX'; vvOut.download = 'F'; vvOut.file = attachmentPath; vvOut_toSS(vvOut:%addr(recordsX):count:%addr(col):26);
Code:
.....A..........T.Name++++++RLen++TDpB......Functions++++++++++++++++++ A SELSLSCHNX 3 TEXT('Selected Sales Channel')
TIA
Comment