cancel
Showing results for 
Search instead for 
Did you mean: 

Object ID(Field OBJPS) in PA2001 and P0001 tables

Former Member
0 Kudos

Hello Experts,

What is the field object Id (OBJPS) in PA2001 and P0001 tables? How can I update this field?

I need this field for BAPI_ABSENCE_APPROVE for approving an absence.

Thanks,

Sandhya

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

The OBJPS field is the object identification (object ID) is used to make a distinction between data records with the same infotype , subtype ,lock indicator , start date and end date.

Regards

M.Rajasekar

Answers (1)

Answers (1)

Former Member
0 Kudos

objps is used to seperate records with same key for infotypes with time constraint 1 and 2.

you need to specify the number explicitely. I dont see any need to use this in the FM u have specified

Former Member
0 Kudos

Hi Sameer,

BAPI has the following input fields:

1. EMPLOYEENUMBER - Emp Number

2. SUBTYPE - 0200

3. OBJECTID - 01 "not sure if I am using correct data here"

which is OBJPS.

4. LOCKINDICATOR - X

5. VALIDITYBEGIN - Start date

6. VALIDITYEND - End Date

7. RECORDNUMBER - 000

8. NOCOMMIT - blank

It returns the following error " No data stored for 2001 in the selected period".

So when I try to use approve BAPI object ID is a mandatory field.

Please help,

Thanks

Sandhya

Former Member
0 Kudos

Hi Sandhya,

Which operation are you trying to perform?

Leave the OBJECTID LOCKINDICATOR and RECORDNUMBER as blank if you are isnerting a new record. For changing or deleting existing record, match the key of the existing record from database with these paramers.

rgds....Sameer

Former Member
0 Kudos

Hi Sameer,

Sorry for late reply... I am trying to approve an absence. For that I am using BAPI_ABSENCE_APPROVE.

Thanks,

Sandhya