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 while saving the PO

Former Member
0 Likes
621

Hello All,

Before saving the PO I have included some conditions.

I am checking the cost center based on the company code.

If Cost center is belogs to particular company code I should allow the user to save PO otherwise should display error message to the user.

I have included the logic in corresponding exit.

I am able to get the error message but If I am trying to save the PO again its givin short dump with message "ITAB DUPLICATE ENTRIES".

Please help me to come out of this problem.

Thanks,

Srinivas

3 REPLIES 3
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
543

Which exist has this code been implemented.

Regards,

Rich Heilman

Read only

0 Likes
543

Hi

I am using MM06E005, EXIT_SAPMM06E_013. SAP Version is 4.5B.

Please give me some hint.

Thanks,

Srinivas

Read only

Former Member
0 Likes
543

Hi Srinivas!

It looks like the user exit is trying to insert a duplicate record into an internal table. Could you include the code for a more thorough look?

Cheers,

John