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

BAPI_PTMGRATTABS_MNGCREATION problem

Former Member
0 Likes
588

Dear All,

I have to create Attendances in infotype 2002 in PA30 so I am using his function module. I am passing following import parameters .

Emplyee Number

ABS_ATT_TYPE

HRABSATT_IN-from_date

HRABSATT_IN-to_date.

Once I execute function module I get following messege .

Attendance/absence record transferred to posting without errors

before exeuting the function module I locking the employee by using standrd function module . My problem is it is not creating record in PA30 under 2002 infotype .

1 REPLY 1
Read only

Former Member
0 Likes
409

For any future searchers who stumble on this thread:

I believe the answer is to add the function BAPI_TRANSACTION_COMMIT after the BAPI_PTMGRATTABS_MNGCREATION BAPI if the BAPI returns a success message