Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_CTRACDOCUMENT_CHANGE

Former Member
0 Kudos

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

2 REPLIES 2

former_member221838
Participant
0 Kudos

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

0 Kudos

Sorry, I didnt see 'Posted' field: i thought posted in Feb 2009 but it is 2008. Anyway...