SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

SAP IS-U FICA:Setting Conditional Locks at Line item Level

Former Member
0 Kudos

Hi Experts,

I am searching FM/BAPI for setting conditional locks at line item level.

FMS: FKK_S_LOCK_CREATE and FKK_S_LOCKSET_MAINTAIN tried these two.


These function modules are showing results but not updated actual mode.

when i am checking table DFKKLOCKS, it is not updating.

Please find screen shot.


How to proceed further.


Thanks in advance,

Prasadu Javvadi.

1 ACCEPTED SOLUTION

AmlanBanerjee
Active Contributor
0 Kudos

Hi Prasad,

Can you check with the FM, FKK_S_LOCK_CREATE_FOR_DOCITEMS?

Thanks,

Amlan

View solution in original post

5 REPLIES 5

AmlanBanerjee
Active Contributor
0 Kudos

Hi Prasad,

Can you check with the FM, FKK_S_LOCK_CREATE_FOR_DOCITEMS?

Thanks,

Amlan

0 Kudos

Hi Amlan,

FM: FKK_S_LOCK_CREATE_FOR_DOCITEMS is working.


Thanks,

Prasadu Javvadi.

william_eastman
Advisor
Advisor
0 Kudos

Prasad:

In the help documentation for conditional locks, you can see that only FKK_S_LOCK_CREATE can be used and you need to provide the conditions met.  Of course then you have to commit the changes to the database in the program.  Why would you not use FKLOCK2 for this?

regards,

bill.

ivor_martin
Active Contributor
0 Kudos

Hi,

You could trigger Transaction code FKLOCK2 with the appropriate parameters if that covers your business scenario.

Regards,

Ivor

former_member199199
Active Participant
0 Kudos

Hi Prasad,

FKK_S_LOCK_CREATE will work; but you will have to trigger BAPI_TRANSACTION_COMMIT after that to save it in database.

Thanks,

Bodhisattwa