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: 

popup message in va01

Former Member
0 Kudos

experts need your help!

i need to create a user-exit in va01 .in the condition tab there would be a logic that when you click the save button it will prompt an error message.

I have finished the logic for the program my only problem is i need to create the error pop-up message or any kinds of error message.

if i click the error pop-up window the data will not be save.

do you know how would i do that?

3 REPLIES 3

Former Member
0 Kudos

Hi,

Following are Enhancements available for VA01. Check out which one is triggering while saving sales order and there you use FM 'POPUP_TO_CONFIRM' and after thise, leave the program without saving.

Enhancement

V60F0001 SD Billing plan (customer enhancement) diff. to billing plan

V46H0001 SD Customer functions for resource-related billing

V45W0001 SD Service Management: Forward Contract Data to Item

V45S0004 Effectivity type in sales order

V45S0003 MRP-relevance for incomplete configuration

V45S0001 Update sales document from configuration

V45P0001 SD customer function for cross-company code sales

V45L0001 SD component supplier processing (customer enhancements)

V45E0002 Data transfer in procurement elements (PRreq., assembly)

V45E0001 Update the purchase order from the sales order

V45A0004 Copy packing proposal

V45A0003 Collector for customer function modulpool MV45A

V45A0002 Predefine sold-to party in sales document

V45A0001 Determine alternative materials for product selection

SDTRM001 Reschedule schedule lines without a new ATP check

Business Add-in

BADI_SD_SCH_GETWAGFZ Scheduling Agreement: Read WAGFZ from S073

BADI_SD_V46H0001 SD Customer functions for resource-related billing

Reward points if helpful.

Regards,

CS

vinod_vemuru2
Active Contributor
0 Kudos

Hi Salma,

If u have finished ur coding then in the same place call this FM based on ur conditions.It will display the message as popup. Create ur custom message in SE91 and populate this FM with the detailsHere give message type as 'E'(Error)

CALL FUNCTION 'AQ_INT_SHOW_MESSAGE_AS_POPUP'

EXPORTING

popup_pos_x = 10

popup_pos_y = 10

message_class = lc_msgclass

message_number = lc_msgno

message_type = lc_msgtype

  • message_var1 =

  • message_var2 =

EXCEPTIONS

internal_error = 1

message_does_not_exist = 2

OTHERS = 3.

Thanks,

Vinod.

0 Kudos

it doesnt work.everytime i click the check button it saves my data.

it should not save my data when the error message appear.

how would i fix it?