Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC - EDID4-SDATA

Former Member
0 Kudos

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

6 REPLIES 6

rainer_hbenthal
Active Contributor
0 Kudos

Cuase you didnt supply any information how you tried that nobody can help. There can be 1 Million resons why it is not working.

Former Member
0 Kudos

A snippet of code may help.

Why do you wish to store is somewhere else anyway.

Clemenss
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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?

0 Kudos

Try giving a commit work and wait statement. after your endselect statement

regards,

abhishek

0 Kudos

Hi Sylvia,

try

insert EDID_SICH from wa_edid4_sich.

You can't see the values in database table before program completion.

Regards,

Clemens