ABAP CDS VIEWS Simplified - PART 3 - SAP Community
ABAP CDS VIEWS Simplified - PART 3 - SAP Community
ي ﺒﻴﻘﺎ ت
ﺘﻄﻣﺠﻤﻮﻋﺎ ت اﻟﻤﺼﺎﻟﺢ ﺗﻄﻮﻳﺮ اﻟ SAPاﻟﻤﺠﻤﻮﻋﺎ ت ﺘﻤﻊ
ﻣﺠ
ﺒ ﺴﻂ –اﻟﺠﺰء 2
ﻋﺮض ABAP CDSﻣ ﻣﻨﺸﻮرا ت اﻟﻤﺪوﻧ ﺔ
ﺒﻴﻘﺎ ت
ﺘﻄﻣﻨﺸﻮرا ت ﻣﺪوﻧ ﺔﺗﻄﻮﻳﺮ اﻟ
ﺘﻄﻮﻳﺮ ﻋﲆ ﻧﻄﺎق واﺳﻊ واﻷﻣﺎن.
ﺑ ﻲ واﻟ
ﺘﻮﺳﻊ اﻟ ﺴﺤﺎ
ﺑﻠﻴ ﺔ اﻟ
ﺘ ﺔ وﻗﺎ
ﺗﻤﺗﺼﺎل واﻷ
ﺘﻜﺎﻣﻞ واﻻ
ﺜﻞ اﻟ
ﺘﻘﺎﻃﻌ ﺔ ﻣ
ﺘﻌﻤﻘ ﺔ واﻟﻤ
ﺘﻜﻨﻮﻟﻮﺟﻴﺎ اﻟﻤ
ﺗﻌﻠﻢ وﺷﺎرك ﻓ ﻲ ﻣﻮاﺿﻴﻊﺗﻄﻮﻳﺮ اﻟ
اﻧﻀﻢ إﱃ اﻟﻤﺠﻤﻮﻋ ﺔ
ﺒ ﺴﻂ –اﻟﺠﺰء 2
ﻋﺮض ABAP CDSﻣ
ﺑﺎرﻧﺎﻣﻰ
أ
اﻟﻤﺸﺎرك
ﺣﺎ
ﺒﺎ ً
ﺒﺮاﻳﺮ 2020 6:34ﺻ
27ﻓ
16إﺷﺎدة 17,294
ﺗﻄﻮﻳﺮ ABAP
اﻟﻤﺪارة ﻣﻦ SAP:
اﻟﻌﻼﻣﺎ ت ُ
https://blogs.sap.com/2020/02/17/abap-cds-views-simplified-part-1/ﻣﻘﺪﻣ ﺔ:
ﺑﺎﺳﻢ ﻋﺮوض ABAP CDS.ﻫﻨﺎك اﻟﻌﺪﻳﺪ ﻣﻦ اﻟﻘﻴﻮد ﻓ ﻲ ﻋﺮوض SE11وﻟﻜﻦﻳﻤﻜﻨﻨﺎ اﻟﺨﺮوج ﻣﻦ ﻛﻞ اﻟﻘﻴﻮد وإﻧﺸﺎء
ﺒﻴﺎﻧﺎ ت اﻷﺳﺎﺳﻴ ﺔ ABAP ُﻌﺮف أ ً
ﻳﻀﺎ ﻋﺮوض ﺧﺪﻣ ﺔ اﻟ ﺗ
ﺒﻴﺎﻧﺎ ت.
ﺘﻮى ﻗﺎﻋﺪة اﻟ
ﺘﻢﺗﻨﻔﻴﺬ ﻫﺬا اﻟﻜﻮد ﻋﲆ ﻣ ﺴ
اﻟﻌﺮوض ﻛﺠﺪول ﻓ ﻲ ﻛﻮد ABAP،ﺳﻴ
ﺘﻨﻔﺬ اﻟﺪﻓﻊ ﻟﻸﺳﻔﻞ ﻟﻠﻜﻮد ،وﻋﲆ اﻟﺮﻏﻢ ﻣﻦ ذﻟﻚ ،ﻓﺈن ﻋﺮوض CDS
ﺛﻢ ،ﻓﺈن ﻛﻞ ﻣﻦ ﻋﺮوض SE11وﻋﺮوض ABAP CDSﺳوﻣﻦ
https://community.sap.com/t5/application-development-blog-posts/abap-cds-views-simplified-part-2/ba-p/13442266 1/15
Machine Translated by Google
23.12.24, 09:13 ﺘﻤﻊ SAP
ﺒ ﺴﻂ –اﻟﺠﺰء – 2ﻣﺠ
ﻋﺮض ABAP CDSﻣ
ﺑﺔ
2.اﻷﻋﻤﺪة اﻟﻤﺤ ﺴﻮ
ﺘﺨﺪام
ﺘﺠﻤﻴﻊ 6.ﻳﻤﻜﻦ اﺳ
ﺘﺠﻤﻴﻊ واﻟ
5.اﻟ
ﺘﻮﺿﻴﺤﻴ ﺔ
ﺘﻌﻠﻴﻘﺎ ت اﻟ
اﻟ
ﺒﻴﺎﻧﺎ ت اﻟﻮﺻﻔﻴ ﺔ
ﻣﻌﻠﻮﻣﺎ ت اﻟ
https://community.sap.com/t5/application-development-blog-posts/abap-cds-views-simplified-part-2/ba-p/13442266 15/2
Machine Translated by Google
23.12.24, 09:13 ﺘﻤﻊ SAP
ﺒ ﺴﻂ –اﻟﺠﺰء – 2ﻣﺠ
ﻋﺮض ABAP CDSﻣ
ﺘﻞ
ﺘﻞ )ﻣﻦ Aإﱃ F).ﻓﻴﻤﺎﻳﻠ ﻲ ﺷﺮح ﻟﻬﺬه اﻟﻜ
ﺘﻘ ﺴﻴﻢ ﻣﻨﻄﻖ CDSأﻋﻼه إﱃ 6ﻛ
ﺑﻟﻘﺪ ﻗﻤ ﺖ
ﺘﻞ:
اﻟﻜ
ﺘﻠ ﺔ:
ﻛ
ﺘﺪﻧﻴ ﺲ"
ﺘﻢ إﻧﺸﺎؤ ﻫﺎﺗﻠﻘﺎﺋ ًﻴﺎ ﻋﻨﺪﺗﺤﺪﻳﺪ "ﻋﺮض اﻟ
ﺘ ﻲﻳ
ﺘﻮﺿﻴﺤﻴ ﺔ اﻟ
ﺘﻌﻠﻴﻘﺎ ت اﻟ
ﻫﺬه ﻫ ﻲ اﻟ
https://community.sap.com/t5/application-development-blog-posts/abap-cds-views-simplified-part-2/ba-p/13442266 15/3
Machine Translated by Google
23.12.24, 09:13 ﺘﻤﻊ SAP
ﺒ ﺴﻂ –اﻟﺠﺰء – 2ﻣﺠ
ﻋﺮض ABAP CDSﻣ
ﺘﻠ ﺔ ب:
ﻛ
ﺒﺎدﺋ ﺔ ABAP.
ﺑﺎﻟﺑﻴﺎﻧﺎ ت اﻟﻤﻌﻠﻤ ﺔﺘﻌﻴﻦ ﻋﻠﻴﻨﺎﺗﻌﺮﻳﻒ ﻧﻮع
ﺘﻌﺮﻳﻒ اﻟﻤﻌﻠﻤ ﺔ ﻫ ﻲ "ﻣﻊ اﻟﻤﻌﻠﻤﺎ ت" واﺳﻢ اﻟﻤﻌﻠﻤ ﺔ .إﱃ ﺟﺎﻧ ﺐ ذﻟﻚ،ﻳ
اﻟﻜﻠﻤ ﺔ اﻷﺳﺎﺳﻴ ﺔ ﻟ
ﺘﻠ ﺔ ج:
ﻛ
ﺘﻠ ﺔ د:
ﻛ
ﺘﻠ ﺔ E:
ﻛ
ﺛﻨﺎءﺗﻌﺮﻳﻒ ﻋﻤﻮد.
ﺘﻮﻓﻴﺮ اﻟﻤﻨﻄﻖ اﻟﺸﺮﻃ ﻲ أ
ﺒﻴﺮ اﻟﺤﺎﻟ ﺔ ﻟ
ﺘﺨﺪامﺗﻌ
ﻳﻤﻜﻨﻨﺎ اﺳ
ﺜﺎل :إذا ﻛﺎن وﻗ ﺖ اﻟﺮﺣﻠ ﺔ أﻗﻞ ﻣﻦ 100دﻗﻴﻘ ﺔ ،ﻓﺈن ﻣﺪة اﻟﺮﺣﻠ ﺔﺗﻜﻮن ﻗﺼﻴﺮة وإذا ﻛﺎن وﻗ ﺖ اﻟﺮﺣﻠ ﺔ أﻗﻞ ﻣﻦ 300دﻗﻴﻘ ﺔ ،ﻓﺈن
ﺘﺨﺪﻣ ﺖ اﻟﻤ
ﻟﻘﺪ اﺳ
https://community.sap.com/t5/application-development-blog-posts/abap-cds-views-simplified-part-2/ba-p/13442266 4/15
Machine Translated by Google
23.12.24, 09:13 ﺘﻤﻊ SAP
ﺒ ﺴﻂ –اﻟﺠﺰء – 2ﻣﺠ
ﻋﺮض ABAP CDSﻣ
ﺘﻠ ﺔ F:
ﻛ
ﺘﻨﻤﻴ ﺔ
1.ﻣﻦ ﻣﻨﻈﻮر اﻟ
ﺘﻨﻤﻴ ﺔ
1.ﻣﻦ ﻣﻨﻈﻮر اﻟ
https://community.sap.com/t5/application-development-blog-posts/abap-cds-views-simplified-part-2/ba-p/13442266 15/5
Machine Translated by Google
23.12.24, 09:13 SAP ﺘﻤﻊ
ﻣﺠ2 – ﺒ ﺴﻂ –اﻟﺠﺰء
ﻣABAP CDS ﻋﺮض
:ﺘﻮح أدﻧﺎه
اﻟﻤﻔABAP ﺘﺨﺪام ﻛﻮد
ﺑﺎﺳ
ABAP ﺑﺮﻧﺎﻣﺞﺑﺈﻧﺸﺎءﻗﻢ
https://community.sap.com/t5/application-development-blog-posts/abap-cds-views-simplified-part-2/ba-p/13442266 6/15
Machine Translated by Google
23.12.24, 09:13 SAP ﺘﻤﻊ
ﻣﺠ2 – ﺒ ﺴﻂ –اﻟﺠﺰء
ﻣABAP CDS ﻋﺮض
.ﺒ ﺴﻂ
اﻟﻤABAP CDS VIEWS ﺜﺎﻧ ﻲ ﻣﻦ
أﻛﻤﻠﻨﺎ اﻟﺠﺰء اﻟ،ﺜﺎل
ﻣﻊ ﻫﺬا اﻟﻤ
!! ﺘﺮاﺣﺎ ت واﻷﺳﺌﻠ ﺔ
ﺑﺎﻻﻗﻧﺮﺣ ﺐ
:اﻟﻌﻼﻣﺎ ت
إﺿﺎﻓ ﺔ اﻟﻌﻼﻣﺎ ت
ﺗﻌﻠﻴﻖ
ﺗﻌﻠﻴﻘﺎ ت
5
اسﺳ ﻲ ام
ﺘﻜﺸﻒ
اﻟﻤ ﺴ
ﺣﺎ
ً ﺒﺎ
ﺻ2020 11:29 ﺒﺮاﻳﺮ
ﻓ27
إﺷﺎدة2
https://community.sap.com/t5/application-development-blog-posts/abap-cds-views-simplified-part-2/ba-p/13442266 15/7
Machine Translated by Google
23.12.24, 09:13 SAP ﺘﻤﻊ
ﻣﺠ2 – ﺒ ﺴﻂ –اﻟﺠﺰء
ﻣABAP CDS ﻋﺮض
z_table_view. ﺗﻘﺮﻳﺮ
*------------------------------------------------- -------
g_ddl
*------------------------------------------------- -------
s. ﺘﻠ ﺔ
ﺘﻴﺎر ﻧﻬﺎﻳ ﺔ اﻟﻜ
ﺷﺎﺷ ﺔ اﻻﺧ.ﺘﺮا ت
ﺑﺪون ﻓ
*------------------------------------------------- -------
s_table = ﺘﺤﺪﻳﺪ
*اﻟtext-001 = *اﻟﻨﺼﻮص
CDS =اﺳﻢ
*------------------------------------------------- -------
*
.ﺘﻴﺎر
ﺑﺪاﻳ ﺔ اﻻﺧ
ddldependency ﺣﺪد اﺳﻢ ﻛﺎﺋﻦ واﺣﺪ ﻣﻦdata(tablename) = conv dbtabl( s_ddl[ 1 ]-low ).
.ﻧﻬﺎﻳ ﺔ
49
48 ﻧﻬﺎﻳ ﺔ.
ﺑﺎرﻧﺎﻣﻰ
أ
اﻟﻤﺸﺎرك
ﺑﺎ ت
0إﻋﺠﺎ
ﺘﻬﻼك وﺟﻬﺎ ت ﻧﻈﺮ CDSﻓ ﻲ ABAPاﻷﺳﺎﺳ ﻲ. ﻟﻴ ﺲ ﻓﻘﻂ ALV WITH IDA Reportingوﻟﻜﻦﻳﻤﻜﻨﻨﺎ أ ً
ﻳﻀﺎ اﺳ
رﻛﺎرﻟﻮس_ 8
ﺘﻜﺸﻒ
اﻟﻤ ﺴ
1ﻛﻮدو
ﺘﻌﺮف ﻋﲆ
ﺘﻮﻗﻮن إﱃ اﻟ
ﺑﺸﻜﻞ ﺟﻴﺪﻷوﻟﺌﻚ اﻟﺬﻳﻦﻳﺷﻜ ًﺮا ﺟﺰﻳ ﻼ ً ﻟﻚ Arpanﻋﲆﺗﻮﻓﻴﺮ ﻫﺬا اﻟﺪﻟﻴﻞ اﻟﻤﻔﻴﺪ واﻟﻤﻨ ﺴﻖ
وﺟﻬﺎ ت ﻧﻈﺮ CDS.
https://community.sap.com/t5/application-development-blog-posts/abap-cds-views-simplified-part-2/ba-p/13442266 15/9
Machine Translated by Google
23.12.24, 09:13 ﺘﻤﻊ SAP
ﺒ ﺴﻂ –اﻟﺠﺰء – 2ﻣﺠ
ﻋﺮض ABAP CDSﻣ
ﺑﻖ8 6447
اﻟﻌﻀﻮ اﻟ ﺴﺎ
ﺘﺸﻒ
ﻣﻜ
1ﻛﻮدو
ﺒﺬﻟﻬﺎ ﻓ ﻲ ﻫﺬا
ﺘ ﻲﺗ
ﻣﺪوﻧ ﺔ راﺋﻌ ﺔ ...ﺷﻜ ﺮًا ﻟﻚ ﻋﲆ ﻛﻞ اﻟﺠﻬﻮد اﻟ
ﻓﺪس
اﻟﻤﺸﺎرك
ﺑﺎ ت
0إﻋﺠﺎ
ﺒﻴﻘﺎ ت ؟ui5
ﺘﺨﺪاﻣﻪ ﻓﻘﻂ ﻣﻊﺗﻄ
ﺑﻨﺎ؟ أم أﻧﻪﻳﻤﻜﻦ اﺳ
ﺗﻌﻠﻴﻖ
ﻣﻌﺎﻳﻨ ﺔ
https://community.sap.com/t5/application-development-blog-posts/abap-cds-views-simplified-part-2/ba-p/13442266 15/10
Machine Translated by Google
23.12.24, 09:13 ﺘﻤﻊ SAP
ﺒ ﺴﻂ –اﻟﺠﺰء – 2ﻣﺠ
ﻋﺮض ABAP CDSﻣ
ﺑﻂ ﻟﻸﻋﻀﺎء
ﺘﺠﺎ ت@ ،روا
ﺑﻂ ﻟﻠﻤﻨ
ﺗﻠﻤﻴﺢ# :روا
ﻳﻠﻐ ﻲ اﻧﺸﺮﺗﻌﻠﻴﻘﻚ
ﺑ ﺔ ABAP 4
ﺑﻊ ﻋﺸﺮ ﻣﻦ ABAP 1ﺳﺤﺎ
ﻋﺮض ABAP CDS 2ﻣﺸﺎ ﻫﺪا ت ABAP CDSاﻟﺼﻒ اﻟﺮا
ﺒﻦ 1
ﺑﺎ ﺟﻴ ﺖ 1ﻧﻤﻮذج ﻣﻦ اﻟﻄﻮ ب اﻟﻠ
ﺒﺎر ABAP 1أ
ﺘﺒﺎر ABAP 7ﻗﻤﺮة اﻟﻘﻴﺎدة ﻻﺧ
ﺘﻗﻤﺮة اﻟﻘﻴﺎدة ﻻﺧ
ﺒﻴﻘﺎ ت 2
ﺘﻄ 2اﻟ ﺗﻜﺎﻣﻠﻬﺎ
ﺗﻄﻮﻳﺮ تو ﺒﻴﻘﺎ
ﺘﻄ
وﻇﻴﻔاﻟﺔ 1
ﺗﻄﻮﻳﺮ
ﻃﻠ ﺐ
https://community.sap.com/t5/application-development-blog-posts/abap-cds-views-simplified-part-2/ba-p/13442266 15/11
Machine Translated by Google
23.12.24, 09:13 ﺘﻤﻊ SAP
ﺒ ﺴﻂ –اﻟﺠﺰء – 2ﻣﺠ
ﻋﺮض ABAP CDSﻣ
25CL_SALV
ﺑﻲ 2اﻟ ﺴﺤﺎ
ﺳﻊﺟﺪول
ﺘﻮ
cl_gui_htmlﺔ اﻟ
اﻟﻨﻈﻴﻔ ﺔ 1-إﻣﻜﺎﻧﻴ
ﻋﺎرض 1
اﻟﻨﻮاة
ﺑﺔ 1
Cloudﻣﻨﺼ ﺔ اﻟ ﺴﺤﺎ
ﺗﻜﺎﻣﻞ
16
Foundry
ﺑ1ﻲ أﺻﻠ ﻲ
ﺳﺤﺎ
ﻧﺸﺮ
ﺗﺤﻤﻴﻞ 1
ﺘﺨﺪام ﻣﺠﻤﻮﻋ ﺔﺗﻜﺎﻣﻞ SAP 1رﺳﺎﻟ ﺔ ﻧﺼﻴ ﺔ ﻗﺼﻴﺮة 1دوﻛﺮ 1
ﺑﺎﺳﺘﻄﻮﻳﺮ
اﻟ
ﺒﻴ ﺔ
ﻣﻨﺸﻮرا ت اﻟﻤﺪوﻧ ﺔ اﻟﺸﻌ
ﺘﺠﺎ ت واﻟﻤﻮﺿﻮﻋﺎ ت
ﺒﻴﺮ اﻟﻤﻨ
ﺧ
https://community.sap.com/t5/application-development-blog-posts/abap-cds-views-simplified-part-2/ba-p/13442266 15/12
Machine Translated by Google
23.12.24, 09:13 ﺘﻤﻊ SAP
ﺒ ﺴﻂ –اﻟﺠﺰء – 2ﻣﺠ
ﻋﺮض ABAP CDSﻣ
ﺛﻔﻴﺪﻟﺮ
ﺘﺠﺎ ت واﻟﻤﻮﺿﻮﻋﺎ ت
ﺒﻴﺮ اﻟﻤﻨ
ﺧ
ﺟﻴﺮي واﻧﺞ
ﺘﺠﺎ ت واﻟﻤﻮﺿﻮﻋﺎ ت
ﺒﻴﺮ اﻟﻤﻨ
ﺧ
https://community.sap.com/t5/application-development-blog-posts/abap-cds-views-simplified-part-2/ba-p/13442266 13/15
Machine Translated by Google
23.12.24, 09:13 ﺘﻤﻊ SAP
ﺒ ﺴﻂ –اﻟﺠﺰء – 2ﻣﺠ
ﻋﺮض ABAP CDSﻣ
ﺑﺎ ت
أﻓﻀﻞ اﻟﻤﺆﻟﻔﻴﻦ اﻟﺬﻳﻦ ﺣﺼﻠﻮا ﻋﲆ إﻋﺠﺎ
ﺑﻞ وﻳﻨﻜﻠﺮ
ﺑﻴﺮ
7
ﻣ ﺴﻌﻮد_اﻏﺎدﻓﻮدﻳﺠﻮﻟﻔﺎي 5
ﺑﻖ64012
اﻟﻌﻀﻮ اﻟ ﺴﺎ 3
ﺑﻴﻬﺎن_ﻣﻴﺮاﻟ ﻲ 2
ﻛﻠﻴﻤﻨ ﺲ 2
ﻳﺎﺳﻤﻴﻦ_ﺟﺮوﺷﻜ ﻲ 2
ﻋﺮض اﻟﻜﻞ
ﺘﺨﺪام
ﺷﺮوط اﻻﺳ
ﺧﺼﻮﺻﻴ ﺔ
ﺒﻊ واﻟﻨﺸﺮ
ﺣﻘﻮق اﻟﻄ اﻹﻓﺼﺎح اﻟﻘﺎﻧﻮﻧ ﻲ
https://community.sap.com/t5/application-development-blog-posts/abap-cds-views-simplified-part-2/ba-p/13442266 14/15
Machine Translated by Google
23.12.24, 09:13 SAP ﺘﻤﻊ
ﻣﺠ2 – ﺒ ﺴﻂ –اﻟﺠﺰء
ﻣABAP CDS ﻋﺮض
ﺘﺠﺎرﻳ ﺔ
اﻟﻌﻼﻣ ﺔ اﻟ دﻋﻢ
ﺒﺎط
ﺗﺗﻔﻀﻴﻼ ت ﻣﻠﻔﺎ تﺗﻌﺮﻳﻒ اﻻر
ﺒﻊ
ﺘﻳ
https://community.sap.com/t5/application-development-blog-posts/abap-cds-views-simplified-part-2/ba-p/13442266 15/15