cancel
Showing results for 
Search instead for 
Did you mean: 

Validation in PA70

Former Member
0 Kudos

Hi Experts,

I need to put in a restriction to let Create, Change etc. in Fast entry based on the infotype selected. For eg. when the user selects Recurring Payments infotype and goes to 'Create', an error message should appear that this is not allowed. Please let me know is there are suitable Badis for implementing this.

Thanks,

Leena

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

The user exits and BADI mentioned are being called in the second screen of PA70. I need something in the first screen of PA70, when the user clicks on 'Create', 'Create with proposal' etc.

Thanks,

Leena

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

  You can also use the BADI HRPAD00INFTY (Update / Infotype maintenance) which has the below methods.

BEFORE_OUTPUTInfotype Maintenance: Call-Up Time PBO
AFTER_INPUTInfotype Maintenance: Call-Up Time PAI
IN_UPDATEUpdate Program: Call-Up During Update

Thanks

Naren

JonathanM
Contributor
0 Kudos

Hi Leena,

The regular user exits for PA are working for PA70.

You should place your code in the user exits ZXPADU01 for PBO / ZXPADU02 for PAI.

You can check on the variable SY-TCODE to know if this is a call from PA70 transaction.

Best regards,

Jonathan