on 2024 Dec 13 12:37 AM
Hi Experts,
I have a requirement to create a # ABAP CDS view which will populate the last 15 days of Sales Order data from the backend tables VBAK and VBAP for fields VBELN, VBTYP, VKORG, AUART, ERDAT, AUFNR, XBLNR, ZUONR, QMNUM, VGBEL, OBJNR, KUNNR, KOSTL, BSTNK, BSARK, BSTDK, VBTYP, AUDAT, AUART, LIFSK, MATNR, MATKL, POSAR, MEINS, SMENG, VRKME, BRGEW, KWMENG, LSMENG, VRKME, NTGEW, WERKS, STLNR, ERNAM, VBEAF, VBEAV, FAKSK, WAERK, and NETWR in #ABAP CDS view.
I can create a simple CDS view on the top of these two tables but I need help calculating the last 15 days of data daily. Could you please help me with the logic to calculate the last 15 days of data based on the ERDAT and AEDAT fields?
I appreciate your help and time in this regard.
Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 17 | |
| 8 | |
| 7 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.