2024 Apr 08 4:56 PM - edited 2024 Dec 12 10:11 AM
Hi experts
I have a question to this note: https://me.sap.com/notes/3244147/E
Multiple CDS views can be associated in order to retrieve the classification data from a batch.
I_BATCHDISTINCT can be used to retrieve the Object No. With the Object No. I_CLFNOBJECTCHARCVALFORKEYDATE can be used to retrieve the Characteristic Internal ID, Char. Value.
Then I_CLFNCHARCDESCFORKEYDATE can be used to get the characteristic description and I_CLFNCHARCVALUEFORKEYDATE , I_CLFNCHARCVALUEDESCFORKEYDATE can be used to get the value description.
In S4H Public cloud I tried to create a custom CDS view with scenario "Data Extraction" - the mentioned views would be associated to I_BATCHDISTINCT . But I am getting the error message:
Selected associated Data Source: I_ClfnObjectCharcValForKeyDate must belong to the same bussiness area as Primary Data Source
How can I get these views into one view? I need them to extract to BW4H later on.
Attached please find two screens...
Thanks for your help, tom
Request clarification before answering.
Hi Tom,
Pass batch number to I_BATCHDISTINCT and get "clfObjectInternalID" . Use I_BatchDistinct & "I_ClfnObjectCharcValForKeyDate" with join on "ClfnObjectInternalID" and you will get Characteristic ...You can apply filter on the "CharcInternalID" to get exact characteristic value.
Hope, this will resolve your problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
59 | |
9 | |
9 | |
8 | |
5 | |
4 | |
3 | |
3 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.