‎2013 Sep 26 1:09 PM
Hi experts,
I have an issue with the following code in BW. what i am trying to do is to create a new record with a new value
PRCTR = '9999999' and then add it to DATAPAK which is the data packet.
DATA: l_s_datapak_line type TRANSFER_STRUCTURE,
l_s_errorlog TYPE rssm_s_errorlog_int.
l_s_datapak_line-PRCTR = '9999999'.
append l_s_datapak_line-PRCTR to DATAPAK.
* abort <> 0 means skip whole data package !!!
ABORT = 0.
I am getting the following error:
E:A line of "DATAPAK" and "L_S_DATAPAK_LINE-PRCTR" are not mutually
convertible in a Unicode program. Unicode program.
Is therie any workaround?
Thanks.
amine
‎2013 Sep 26 1:09 PM
‎2013 Sep 26 1:09 PM
‎2013 Sep 26 1:25 PM
Hi,
Problem here is you are appending a field of the work area to the internal table (possible to append a work area to internal table )
append l_s_datapak_line-PRCTR to DATAPAK.
instead if you use
append l_s_datapak_line to DATAPAK not mutually convertible error can be avoided ,but i dont knw whether it will fulfill your requirement .
‎2013 Sep 26 1:48 PM
Hi Juneed,
It worked fine. I had additionnaly to fill the other fields of my structure.
Amine