SAP Training
Would you like to react to this message? Create an account in a few clicks or log in to continue.

PAI event how to get the fieldname which triggered the event

Go down

PAI event how to get the fieldname which triggered the event Empty PAI event how to get the fieldname which triggered the event

Post  yanshengli Fri Nov 18, 2011 5:20 am

Normally writing:
Field tab-field1 Module check1.
Field tab-field2 Module check2.

Now I wanna use one method.
Field tab-field1 Module check.
Field tab-field2 Module check.

Module check.
"get the fieldname which triggered the event
case fieldname.
when 'FIELD1'.
message 'input field1' type 'E'.
when 'FIELD2'.
message 'input field2' type 'E'.
endcase.
Endmodule.

yanshengli

Posts : 1
Join date : 2011-11-18

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum