on 12-06-2007 6:15 PM
All;
We have to update the contracts that are in the Changed Version with Status "held" to Released. This is being done in a batch job. NO Approval is needed for these contracts.
BBP_PD_CTR_UPDATE is being used with activity type as "RELK". This gives an error stating "Approve Contract Release is not possible".
Any light shown on this greatly appreciated.
PS: On debugging found that the program checks the list of status in the change version with the ones in TJ07 maintained for the activity (RELK). All Possible Status for activity has some authorization number assigned to it. Each status of the contract's change version is compared with the corresponding authorization number associated with status in TJ07 and if it finds one entry with auth value "3", program gives an error.
Thanks,
Vathsan
hi,
contract release happens in by the setreleased method of BUS object BUS2000113
Please have a look at the code --->
in 1) transaction SE38
2) type in 'RBUS2000113' and click on display.
3) followng list will come
Object type BUS2000113 E Purchase Contract
4 Interfaces
4 Key fields
4 Attributes
4 Methods
4 Events
there will be button 'program' , click on that and you will get in to details
search for method -->
begin_method setreleased changing container.
this is the method which is used for contract release.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.