05-03-2011 12:14 PM
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
05-03-2011 1:21 PM
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.
05-03-2011 2:31 PM