on 02-06-2017 8:39 AM
I am trying to activate following DDL Definition:
@OData.publish: true
@ObjectModel.compositionRoot: true
@ObjectModel.modelCategory: #BUSINESS_OBJECT
@ObjectModel.transactionalProcessingEnabled : true
//@ObjectModel.createEnabled: true
@ObjectModel.updateEnabled: true
@ObjectModel.deleteEnabled: true
//@ObjectModel.draftEnabled: true
@ObjectModel.writeActivePersistence: 'SAPTABLE'
@ObjectModel.writeDraftPersistence : 'SAPTABLE_DRAFT'
@Search.searchable: true
define view ZTEST_CDS as select from SAPTABLE {
...
}
But i get following errors:
BO check: Bus. Obj. XX has not. cat Draft ann cannot be sync
BO check: DB Table SAPTABLE_DRAFT doest not exist in active version
Is it possible to use draft persistence with NW750 or is it possible only with NW751?
But more important question for me, is it possible to use draft persistence without active persistence. In my example i would like to change the table 'SAPTABLE' via SAP Bapis and not directly via BOPF Framework. I hoped that it will it be done if i remove the Annotation @ObjectModel.writeActivePersistence. But in this case i get the error, that the annotation writeActivePersistence is required.
Thanks
Hi Paul,
the draft concept is not available in SAP NetWeaver 7.50. It is announced to come with a Service Pack (1 or 2) of SAP NetWeaver 7.51 (Innovation Pack).
Best Regards
Christian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
It's possible, but it's hard to find documentation for that. In 7.50 this topic is limited. SAP delivers the Fiori-App 'Manage Products' as part of the EPM-Model. This app has draft capabilities.
Try somthing like this
@ObjectModel: {
modelCategory: #BUSINESS_OBJECT,
compositionRoot: true,
semanticKey: [ '<key>' ],
writeEnabled: true,
writeDraftPersistence: '<draft table>'
}
Bets regrads
Stefa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.