2007 Nov 06 1:49 PM
Hi,
I want to save IDoc-datas in a new table.
But the data edid4-sdata were not written from the internal table to my new table.
And I do not understand why?
Can anybody tell my how I can make it?
Thanks
sylvie
Hi,
I want to save IDoc-datas in a new table.
But the data edid4-sdata were not written from the internal table to my new table.
And I do not understand why?
Can anybody tell my how I can make it?
Thanks
sylvie
2007 Nov 06 1:53 PM
Cuase you didnt supply any information how you tried that nobody can help. There can be 1 Million resons why it is not working.
2007 Nov 06 1:53 PM
A snippet of code may help.
Why do you wish to store is somewhere else anyway.
2007 Nov 06 2:13 PM
Hi Sylvia,
as already said: Billions of possible reasons.
Please note that SDATA is unstructured binary data. The data structure is determined by the IDOC segment structure.
You should be able to store the data if SDATA is type LCHR 1000 in your ITAB and also in what you call 'new table'.
Regards,
Clemens
2007 Nov 06 3:47 PM
Hi,
I make a select on the edid4 and want to save this data in a new table (EDID_SICH), which has the same structure as EDID4.
SELECT *
INTO wa_edid4_sich
FROM edid4
WHERE docnum = wa_idocnr-idocnr.
insert into EDID_SICH values wa_edid4_sich.
endselect.
But in the new table EDID_SICH is the field SDATA empty. There ist no value in it.
And when I debut, I can see that in the internal table wa_edid4_sich the field sdata has a value.
Is it clear now? Or what is interesting?
2007 Nov 06 4:12 PM
Try giving a commit work and wait statement. after your endselect statement
regards,
abhishek
2007 Nov 06 4:20 PM
Hi Sylvia,
try
insert EDID_SICH from wa_edid4_sich.
You can't see the values in database table before program completion.
Regards,
Clemens
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |