Skip to Content

FM or class to read fields/content from a SAP HR Form

Hello guys,

I have a small request to collect the content( dictionary fields that are used ) of a SAP HR form( payslip) based on the form name. Are there any FM`s or classes that I can use?


Thank you in advance,

Ovidiu H

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    May 24, 2017 at 07:38 PM

    Ovidiu:

    There is probably many options; one could be to fetch STRUCTURE field from THRFORMS_01 table for your form and then use CL_ABAP_STRUCTDESCR.

    Best,

    Antoine

    Add comment
    10|10000 characters needed characters exceeded

    • Oh, welcome then :)

      There are different technologies for payslip edition; I wrongly assumed you were referring to hrforms (adobe based) instead of PE51 (sap script based).

      In this case, extracting the dictionary field does not make has much sense as with adobe based form but anyhow maybe you can look in SE16 the content of table T512Q for your palsy document; other related table: T512N T512P T512Q T512R T512S.

      Good luck.

      Antoine