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

DUMP - BOM_POST

0 Likes
866

Hi all,

I'm trying to use the function module BOM_POST to create list of materials, but it give me a short dump.

The problem is in the second execution of the FM, the error is:

'The ABAP/4 Open SQL array insert results in duplicate database records.'

 
STANDARD CODE
insert prst from table xprst.

The standard program save the first record and in the second execution try to save two records and the dump is produced.

Can somebody help me???

Thanks everybody...

4 REPLIES 4
Read only

Former Member
0 Likes
723

Hi,

why do you talk about a second execution and why must it happen twice ?? After all you can create a list of materials only once and in case you want to update the information, then the procedure is different.

Read only

0 Likes
723

Hi Jorge,

I need create one, two or more different list of materials. If I create only one there isn't any problem...

Thanks Jorge.

Read only

0 Likes
723

Check this note:

Note 104754 - Bills of material - SAPSQL_ARRAY_INSERT_DUPREC

--

Reddy

Read only

0 Likes
723

I read this note and it doesn't resolve my problem, because in the note say that the problem is when you add or modify components of the bill of the material, but my problem is when I try to create the bill.

Thanks anyway....