2020 Apr 27 9:33 AM
Hi Experts,
I Joined the MARC,MARD and the output working fine but iam facing issue the data is displaying each storage location wise .suppose i have one material against 5 storage location here stock is displaying each storage location wise and i want sum material-wise not storage location wise so highly appreciated to guide this issue.
Regards
siva
And what have you tried so far, did you use sum aggregation in the CDS view, please show your code as well for better answers from community.
2020 Apr 27 10:30 AM
2020 Apr 27 10:31 AM
2020 Apr 27 12:50 PM
Hi Mahesh,
Thank you very much for your reply and i am joining 9 tables please find the below-mentioned code
define view ZP2M_CDS_MAT_KULAB as select distinct from marc as mat_sloc left outer join nsdm_v_mard as v_md //mard as v_md on mat_sloc.matnr = v_md.matnr and mat_sloc.werks = v_md.werks { key mat_sloc.matnr, key mat_sloc.werks, // mat_stoc.kunnr, // mat_stoc.charg, // mat_valu.stprs, v_md.labst, v_md.lgort // mat_stoc.kulab, // mat_stoc.kulab as kulab } //group by mat_sloc.matnr, // mat_sloc.werks // mat_stoc.kunnr, // mat_stoc.charg
Regards
siva
2020 Apr 28 7:42 AM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |