‎2008 Jun 30 8:00 AM
Dear experts,
need example progrme to upload data into basic pay infotype using BAPI
BAPI_BASICPAY_CREATE
‎2008 Jun 30 8:09 AM
Hi,
I havent worked on it. But i can suggest how to go about it.
First try to get the Employee details and his payroll details from respectives tables.
And try to pouplate them into internal tables and send the individaule fields to the FM.
For ex, the Personl number, begindate, endate,subtype can be know from PA0002 table. If u find the same in Payroll table then use the same inaddition to that pass Pay scale type, Pay scale area,Pay scale group, level and other reuqired fields to caluclate the basic pay.
In the TABLES tab, declare tjhe internal table of this
WAGETYPES like BAPIP0008P. in this pass the IT of this type. Based on this we can retireve the required fields.
Also check the EXPORT paremerrts list that returns BAPIRETURN for error messages and the RECORDNUMEBR that would be useful.
When you call this FM in the program, try to send the strcure to the repsective exporting parameters.
Try to run the FM in SE37 with values then use it in program for clear understanding of the working of FM
Reward if helpful.
Regards
Chadnralekha