cancel
Showing results for 
Search instead for 
Did you mean: 

Access PSPAR in USER EXIT EXIT_SAPFP50M_001 - include ZXPADU01

Former Member
0 Kudos

Hi, Is it possible to access PSPAR in include ZXPADU01???? (PBAS0001 Enhancement)

I want the variable ACTIO from PSPAR.

In debugging mode when i tried ()PSPAR-ACTIO it s working, but when i tried it in report, showing error.

( '(' must follewed by atleast one space ).

Even PSPAR-ACTIO is also showing error.

How can i get that variable. Please give full details if possible.

Put it in other way........How can I know the action user done(create, display, change, copy??) in an user exit???

Veeranji.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

I believe u need to use the field-symbols, that exit transfer the field TCLAS only, so not ACTIO

FIELD-SYMBOLS <FS> TYPE PSPAR.

DATA: FIELD_NAME(30) TYPE C VALUE '(<MAIN PROGRAM>)PSPAR'.

ASSIGN (FIELD_NAME) TO <FS>.

IF <FS>-ACTIO = ....
ENDIF.

Max

Former Member
0 Kudos

Hi DS, used ur code to declare FS and variables.....Thank u vreymuch for u too....

Thanku verymuch to both of u ppl..

Answers (2)

Answers (2)

Former Member
0 Kudos

This post is solved in a very min time. Thanks for helping.

Former Member
0 Kudos

Hi,

Let us know which transaction TCODE you are dealing with?

With Regards,

Dwarakanath.S

Former Member
0 Kudos

PA30-IT0008

MAX:

(SAPMP50A)pspar is also not working....

()PSPAR is working....

but I can't use it as it shows error for empty braces.

Veeranji.

Former Member
0 Kudos

Hi,

Try using the field IPSYST-MASSN which is for "Current actions" instead of field PSPAR.

Or check whether in your case SY-TCODE and SY-UCOMM can be usable.

With Regards,

Dwarakanath.S

Edited by: Dwarakanath Sankarayogi on Nov 28, 2008 12:38 PM

Former Member
0 Kudos

No DS, sy-tcode works, but not sy-ucomm.......ucomm showing space..

IPSYST-MASSN shows space..

Former Member
0 Kudos

Hi

U should use (SAPFP50M)PSPAR

Max

Former Member
0 Kudos

Hi MAX, ur answer is really helpful...

But one more question. Can u say how I hav to declare the variables for using ()pspar ??

Or can I directly use them?? Showing error if I use directly.

Ur answer is really helpful.

Solved to the max. Thank u very much.

Former Member
0 Kudos

Hi

U need to use the field-symbols into the exit, just as I said before

FIELD-SYMBOLS <FS> TYPE PSPAR.

DATA: FIELD_NAME(30) TYPE C VALUE '(SAPFP50M)PSPAR'.

ASSIGN (FIELD_NAME) TO <FS>.

IF <FS>-ACTIO = ....

ENDIF.

Max