cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_BUS2002_ACT_CHANGE_MULTI does not work when i will call it multiple.

Former Member
0 Kudos

Sir, i am using following code. and execute in same order with one network code. its work fine and update activity attributes.

CALL FUNCTION 'BAPI_PS_INITIALIZATION'.

CALL FUNCTION 'BAPI_BUS2002_ACT_CHANGE_MULTI'

CALL FUNCTION 'BAPI_PS_PRECOMMIT'

CALL FUNCTION BAPI_TRANSACTION_COMMIT

but when i want to use "BAPI_BUS2002_ACT_CHANGE_MULTI'" bapi multiple time with different network id, its not update any single activity. please help me in the reqard.

CALL FUNCTION 'BAPI_PS_INITIALIZATION'.

CALL FUNCTION 'BAPI_BUS2002_ACT_CHANGE_MULTI'

CALL FUNCTION 'BAPI_BUS2002_ACT_CHANGE_MULTI'

CALL FUNCTION 'BAPI_PS_PRECOMMIT'

CALL FUNCTION BAPI_TRANSACTION_COMMIT

Edited by: Haroon.Rashid on Jun 3, 2010 7:57 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

its working fine in ABAP code, but right now i will call these BAPI from Dot net and these give me following error.

1) Individual check for change to object Activity 903579 0010 successful

1) Individual check for change to object Activity 903580 0010 successful

1) Object Activity 903580 could not be changed

1) No update flags or extensions were set for Activity 903580

2) Error in individual BAPIs or precommit: posting not possible

Former Member
0 Kudos

Hi,

BAPI_BUS2002_ACT_CHANGE_MULTI can be used to update only one network at a time. Here you are trying to update two networks 903579 and 903580. I believe that is the reason you are getting this error.

Refer to wiki on How to use BAPI in Project System module in PLM section.

Regards,

Kabir