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: 

BADI for transaction code PA30

Former Member
0 Kudos

Hello,

I need to create some field validations from transaction PA30.

I have tried to implement the badi HRPAD00INFTY-IN_UPDATE but I it does not include all the fields I need to validate.

For example I need to validate field P0002-RUFNM.

Any suggestions how to make this validation for field P0002-RUFNM from transaction PA30?

br

Andreas westerlund

2 REPLIES 2

Former Member
0 Kudos

Hi

Use the below code to get info type data in the respective infotype structure in HRPAD00INFTY-IN_UPDATE.

data : p0002 TYPE p0002.

if ipspar-infty = '0002'.

me->read_image(

EXPORTING

i_new_image = new_image

i_infty = '0002'

IMPORTING

e_pnnnn = p0002

).

endif.

~~~Ganesh Kumar K.

Former Member
0 Kudos

Hello,

Thank you, it solved the problem !

Br

Andreas