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

SM30 - ShortDump SAPSQL ARRAY INSERT DUPREC /// SAP-SCRIPT

Former Member
0 Likes
658

Dear all,

i created a customer table which is maintainanced over SM30.

When i'm saving the new entries i get every time a shortdump, when i enter a key which is in the table,
the program dumps.

How can i prevent this dump?
Is there no opportunity to to throw a message or something like that?

I dont know, if this is important but i'm using the events for some selection after entering a value. 🙂

2.
My Second Question:
Is there an opportunity to define the output lenght of my materialnumber ( for example ) dynamically?

If the number is 10 digits long -> make the output-size smaller
If the number is 3 digits long -> make nothing with the size?

Can i adjust my output dynamically?

Best Regards  and thank you all in advance,
Serhat

2 REPLIES 2
Read only

former_member197622
Participant
0 Likes
576

Hi Serhat

1.- Usually when you enter a combination that already matches with a existing key the sm30 will not let you enter that value and show you a message error

have you changed the table key after created the maintenance view ?  if yes then you need to update the maintenance view

2.- are you still talking about the sm30 ?

im not sure about this...

Regards

MC

Read only

0 Likes
576

Hi Marco,
yes i think that i did change the key but i think that i updated the maintenance view.

I'll try this again. 🙂


2.
No, i'm talking about a Formular which was created by SAP-Script.
Could you give me some advice for that?

Best Regards,
Serhat