Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Regarding Basic Pay BAPI

Former Member
0 Likes
496

Dear experts,

need example progrme to upload data into basic pay infotype using BAPI

BAPI_BASICPAY_CREATE

1 REPLY 1
Read only

Former Member
0 Likes
418

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