2007 May 09 5:50 PM
I am working in a unicode 4.7 system where I have a method that is populating the sdata field in the idoc, structure edi_dd40, with the bapi segment, in this case bapiacgl09.
I originally had this code ....
LOOP AT accountpayable_tab ASSIGNING <fs>.
lstr_idoc-segnam = 'E1BPACAP09'.
lstr_idoc-sdata = <fs>.
APPEND lstr_idoc TO idoc_data_tab.
ENDLOOP.
when I execute the method I get a unicode error UC_OBJECTS_NOT_CONVERTIBLE.
So I dug around and found reference to cl_abap_container_utilities=>fill_container_c, this parses the data into the LCAR field sdata, but the fields that are not populated end up with #.
Any suggestions?
Thanks,
Andrew
I am working in a unicode 4.7 system where I have a method that is populating the sdata field in the idoc, structure edi_dd40, with the bapi segment, in this case bapiacgl09.
I originally had this code ....
LOOP AT accountpayable_tab ASSIGNING <fs>.
lstr_idoc-segnam = 'E1BPACAP09'.
lstr_idoc-sdata = <fs>.
APPEND lstr_idoc TO idoc_data_tab.
ENDLOOP.
when I execute the method I get a unicode error UC_OBJECTS_NOT_CONVERTIBLE.
So I dug around and found reference to cl_abap_container_utilities=>fill_container_c, this parses the data into the LCAR field sdata, but the fields that are not populated end up with #.
Any suggestions?
Thanks,
Andrew
2007 May 10 12:54 PM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |