on 11-28-2008 1:24 PM
Hi,
We are trying to make changes to contracts replicated from R3 to SRM.
Contracts are created in SRM using BBP_CONTRACT_INITIAL_UPLOAD.
But we cannot find a similar program to copy changes from R3 to SRM.
We have tried the following Function Module:
- BBP_PD_CTR_GETDETAIL
- BBP_PD_CTR_UPDATE
- BBP_PD_CTR_SAVE
But get the following error: "Program error: Call with GUID of change version is"
Any help would be appreciated!
Kind Regards,
Doreen
Hello,
I think your contract is having a change version - if a change version exists we should update the change version and not the active version.
So yor logic should be like this
1. Call BBP_PD_CTR_GETDETAIL passing Contract ID and get back E_VERSIONS and ES_HEADER
2. In case change version exists (ie E_VERSIONS contains an entry with VERSION_TYPE = C ) --> Get the GUID from E_VERSION-GUID into LV_GUID --> Again do a GET_DETAIL with this GUID (this is the change version)
3. In case no change version exists, take the ES_HEADER-GUID into lV_GUID (this is the active version)
4. Further steps as you have described...
Basically we first have to check if a CV exists. if exists we do a GET_DETAIL of CV and change it. If no CV exists, we try to change the active version (which will in turn create a new CV).
Rgds,
Prasanna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank-you Prasanna,
I can see the change version in BBP_PD,
But how do I go about changing pricing conditions?
Looks like I can only have one condition at a time, is this correct?
Kind Regards,
Doreen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Before BBP_PD_CTR_SAVE , call the FM BBP_PD_CTR_GETDETAIL and get the chnage version guid from the above function module.
use the change version guid when using the FM BBP_PD_CTR_SAVE.
Cheers
Iftekhar Alam
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.