Application Development and Automation 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: 
Read only

IDOC - EDID4-SDATA

Former Member
0 Likes
3,405

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

6 REPLIES 6
Read only

rainer_hbenthal
Active Contributor
0 Likes
1,139

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

Read only

Former Member
0 Likes
1,139

A snippet of code may help.

Why do you wish to store is somewhere else anyway.

Read only

Clemenss
Active Contributor
0 Likes
1,139

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

Read only

Former Member
0 Likes
1,139

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?

Read only

0 Likes
1,139

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

regards,

abhishek

Read only

0 Likes
1,139

Hi Sylvia,

try

insert EDID_SICH from wa_edid4_sich.

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

Regards,

Clemens