02-08-2008 6:48 AM
Hi,
We are using the BAPI BAPI_CTRACDOCUMENT_CHANGE to create clearing locks on some open items. We are using the positionlocks table to provide the documents that we need to lock. However, I am unclear as to what values should be entered for process_id and lock_reason. Could you please let me know what the possible values for these fields are? Also, how can i determine which is the correct value to be used?
Thanks a lot
Nandini
02-20-2009 9:58 AM
Hi,
Use below values for Process ID.
01 Dunning
02 Incoming payment
03 Outgoing Payment
04 Calculate Interest
05 Invoicing
07 Correspondence Dunning
09 Posting/Clearing
10 Payments.
and LOCK_REASON value is depend upon your purpose.
For example for if you are doing dunning lock on prepayment meters values will be:
PROCESS_ID = 01
LOCK_REASON = 'W'.
Hope this helps.
-
Thanks and Regards,
Nikhil Jathar.
Edited by: Nikhil Jathar on Feb 20, 2009 3:58 AM
02-20-2009 10:07 AM
Sorry, I didnt see 'Posted' field: i thought posted in Feb 2009 but it is 2008. Anyway...