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: 

Infotype: How to know witch button was pressed?

Former Member
0 Kudos
114

Hi.

I have a new infotype 9xxxx, and i would like to know wich buttom was pressed in the first screen of transaction pa30, in order to know if i have to presentate the dympro in visualitation mode or modification mode... i tried with the sy-ucomm but when the infotype 9xxx begins the value of sy-ucomm it's initial.

Also... how could i determine if the action was taken in pa20 or pa30?

Thanks!

Albio.-

1 ACCEPTED SOLUTION

sergey_korolev
Active Contributor
0 Kudos
37

In your modules you can use global variable PSPAR which has a lot of control information. Field ACTIO contains infotype operation code (INS - insert, MOD - modify, DEL - delete, etc.)

2 REPLIES 2

sergey_korolev
Active Contributor
0 Kudos
38

In your modules you can use global variable PSPAR which has a lot of control information. Field ACTIO contains infotype operation code (INS - insert, MOD - modify, DEL - delete, etc.)

0 Kudos
37

Thank you Sergei!!!!!

Regards,

Albio