Skip to Content
0
Apr 18, 2007 at 11:11 PM

No locks realease with CALL TRANSACTION

89 Views

Hi all,

I have a problem. I have a call transaction statement inside of a Loop. The problem is that it brings in the messtab a message that says that the product that I'm trying to modify is locked after each loop pass. I've tried to correc it using COMMIT WORK AND WAIT, WAIT UP TO 5 seconds, DEQUEUE ALL and modifying the update technique of the call transaction to S and L....but nothing helps.

In addition, I have the same problem but instead of using a call transaction statement I used a BAPI ( BAPI_PRDSRVAPS_SAVEMULTI2)

I use the BAPI in this way.

CALL FUNCTION 'BAPI_PRDSRVAPS_SAVEMULTI2'

EXPORTING

logical_system = wl_logsis

  • SAVE_OPTIONS =

COMMIT_CONTROL = ''

  • BUSINESS_SYSTEM_GROUP =

TABLES

PRODUCT_LOCATION_VERSION = t_location_ver

PRODUCT_LOCATION_VERSION_X = t_location_verx

RETURN = t_return1.

Please some ideas...

Thanks.