on 04-24-2009 9:38 PM
Is there a BAPI that can lock a contract (Lock Master Data, Lock Account Assignment, Lock Planning) after it has been created through the RECN transaction?
Basically, the requirement is that a contract entered through the RECN transaction, once activated will go through a Approval Workflow. During that process the contract should only be viewable in display mode.
Thanks a lot in advance.
Hi Amlan Bardhan,
You can lock the contract, after creating please use BAPI
BAPI_RE_CN_CHANGE
In this BAPI you need to pass the Business Transaction value (TRANS) -
Thanks
Veman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Verman,
Thanks a lot for your reply. I did try the BAPI that you have suggested and try with the Business Transaction "PSSM", which after executing came back with a message "The status of the contract was changed".
However I can still pull up the same contract in RECN in change mode and then make changes and save..
My requirement is that once the contract is locked through the BAPI in workflow, no one should be able to edit it until the contract is unlocked from within workflow.
Any further input would be greatly appreciated.
Thanks
Amlan
I had to go with a BDC session for unlocking the contract. Everytime I called the BAPI with the unlocking transaction code, I would get the message "The contract is locked and cannot be changed"..The BDc works fine though
Amlan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
15 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.