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: 

USEREXIT_SAVE_DOCUMENT_PREPARE (VA02)

Former Member
0 Kudos

Hi everyone,

We have a development related to the Exit 'USEREXIT_SAVE_DOCUMENT_PREPARE'.

When the elimination of a sales order is done through the transaction VA02 the Sales Order type is checked. If a certain condition is met an error message is raised using the folloing ABAP code: "MESSAGE e012(zf1sdmsg) WITH wa_vbak-kunnr c_zf1gsd013.".

Once the error message is raised, the following short dump occurs:

"DYNPRO_MSG_IN_HELP

During "Exit Command" processing, the program tried to send a " " message

This is not allowed at this point in processing.

The program had to be terminated."

Does anyone have an idea of the cause of this short dump and how to correct it?

Best regards,

Mario.

5 REPLIES 5

Former Member
0 Kudos

Hi,

What release are you on ? We use this exit and give warning and error messages all the time and have no problem. We are on 46C.

Raj

Former Member
0 Kudos

I know that this dump occurs if you display popup when the transaction is called in batch (BDC)... not sure that error message can cause it...

Former Member
0 Kudos

Hi,

Try searching in OSS NOTES with DYNPRO_MSG_IN_HELP

Thanks,

Naren

Former Member
0 Kudos

Hi,

I have got similar error messages when the program was run in background. As the system Pop up would require an input from the user which it does not get when a program is run in the background we get such a dump.

Regards,

Sowmya.

0 Kudos

hi,

yes we get the this dump when a popup needs an action and for other message like information it stores in job log.

Best Regards

satich