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

Va02/VA01

Former Member
0 Likes
534

Hi all,

On saving an Sales order via VA01 or VA02 an status message should be displayed as "Sales order 40400 Hold exists , please check".

right now i have wrintten code in an INCLUDE program inisde user exit *userexit_save_document_prepare in MV45AFZZ.

I check for status hold code on that sales order & for a particular company code and display message as follows

**Message W332 with c1 c2 c3 DISPLAY AS 'S'.**

the message appears on click of "SAVE" button after changing header or item level (as expected) , but after message gets displayed i should hit enter , then it gets saved.

if i dont hit enter & open new session for the same sales order the changes will not be reflected & saved.

how can i display status message after clicking on "SAVE" button ?

if i have message as

Message S332 with c1 c2 c3.

the message will not be displayed at all ....

Edited by: poo_m_s on Jul 7, 2010 5:43 PM

Edited by: poo_m_s on Jul 7, 2010 5:46 PM

Hi all,

On saving an Sales order via VA01 or VA02 an status message should be displayed as "Sales order 40400 Hold exists , please check".

right now i have wrintten code in an INCLUDE program inisde user exit *userexit_save_document_prepare in MV45AFZZ.

I check for status hold code on that sales order & for a particular company code and display message as follows

**Message W332 with c1 c2 c3 DISPLAY AS 'S'.**

the message appears on click of "SAVE" button after changing header or item level (as expected) , but after message gets displayed i should hit enter , then it gets saved.

if i dont hit enter & open new session for the same sales order the changes will not be reflected & saved.

how can i display status message after clicking on "SAVE" button ?

if i have message as

Message S332 with c1 c2 c3.

the message will not be displayed at all ....

Edited by: poo_m_s on Jul 7, 2010 5:43 PM

Edited by: poo_m_s on Jul 7, 2010 5:46 PM

2 REPLIES 2
Read only

Former Member
0 Likes
495

Message I332 with c1 c2 c3 DISPLAY like 'E'... should create a pop-up requiring enter to continue...is that what you're trying to do.

Read only

0 Likes
495

No ,

i want to display an status message saying "Sales Order is saved & Hold exists".......not an error message