Skip to Content
avatar image
Former Member

HR ABAP payslip --tcode PC00_M08_HRF( h99_hrforms_call)--ECC5.0

Hello Friends,

I am working on tcode PC00_M08_HRF and this is caling a zform (Zpayslip_form).

Now the client has a requirement that they want to validate a field in (infotype 655) ,ie. one check box

If the checkbox is ticked the payslip shoudl not generate for that person.

How can achieve this and where exactly write a code for this....as I am working in ECC 5.0 there is no enhancement points.

The main problem is with the persons,persons only get in the printprogram(which is generated by system automatcilly)

of a form.

PC00_M08_HRF >PC00_M99_HRF_CALL01 >H99_HRFORMS_CALL_HELP >hrforms_call ->/1PYXXFO/zform

I am able to get the person in the print program of a form in this 1PYXXFO/zform but thisis automatically generated one from system.

Please suggest me where excatly have to do validation for a person using it 655 .

Thank you

Best regards

Trupthi

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 21, 2010 at 06:27 PM

    You can try this:

    If the check box is ticked

    then normal paylsip generated.

    else.

    if not ticked...display message to user and raise exception.

    Exceptions can be declared in the exceptions tab of the form interface.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      You have to write this code inside the smartforms. I am assumins that you have the chk box field available inside the smartforms in a strucuture..etc....