Manu
The fields are available for the user to select/enter for 1) Activity allocation and 2) Cost assignment. In that case, is the code or bAPI for default values or that they need to be selected based on any other data like person's org assignment, w/t in IT 2010, etc?
Also note the code behind these two sets of fields in MP2010000 program may be useful to you.
see below some of the bAPI's
Employee Remuneration Info
BAPI_PTMGREXTREMSPEC_CHECK Check External Employee Remuneration Info (w/o Account Assignment)
BAPI_PTMGREXTREMSPEC_CHECKWACT Check External Employee Remuneration Info (with Activity Allocation)
BAPI_PTMGREXTREMSPEC_CHECKWCOS Check External Employee Remuneration Info (with Cost Assignment)
BAPI_PTMGREXTREMSPEC_INSERT Inserts External EE Remuneraion Info in Table (w/o Account Assignment)
BAPI_PTMGREXTREMSPEC_INSWACT Insert External EE Remuneration Info in Table (with Activity Allocation)
BAPI_PTMGREXTREMSPEC_INSWCOST Inserts External EE Remuneration Info in Table (with Cost Assignment)
Also see links
SAP Function BAPI_PTMGRATTABS_MNGCREATION - BAPI: Creates Attendances/Absences
SAP BAPI COMPLETE LIST | SAP BAPI Master
hope this helps
Rgds, JG