Free SAP P-C4H340-24 Practice Test & Real Exam Questions

  • Exam Code/Number: P-C4H340-24
  • Exam Name/Title: Certified Development Professional - SAP Commerce Cloud Developer
  • Certification Provider: SAP
  • Corresponding Certification: SAP Certified Development Professional
  • Exam Questions: 82
  • Updated On: Aug 30, 2026
You need to create a new custom promotion based on customer reviews for a product. You create a customPromotion extension with a new Rule Aware Object to keep customer reviews. In which file will you define this new Rule Aware Object?
Correct Answer: B Vote an answer
When are consignments created for an order in the default order management implementation?
Correct Answer: C Vote an answer
What is SmartEdit's Navigation Management page useful for? Note: There are 2 correct answer to this question.
Correct Answer: B,C Vote an answer
Your system contains a search restriction with the following parameters: Type: Product User: anonymous. Restriction: 1=0. There is a product "Candle" in the online catalog and a variant product "PinkCandle" in the online catalog. The system renders the Product Detail Page for Pink Candle using the following flexible search query: "SELECT {pk} FROM {VariantProduct} WHERE {code}="PinkCandle". What happens next?
Correct Answer: D Vote an answer
Assuming that property impex.legacy.scripting is set to false and 'Enable code execution' is checked, what are the results of the following ImpEx script? INSERT_UPDATE Title;code[unique=true] #0/ogroovy0/o beforeEach: line.clear(); ;foo; ;bar; ;baz;
Correct Answer: A Vote an answer
In an Accelerator-based storefront, which of the following would allow you to display a custom CMS Component? Note: There are 2 correct answer to this question.
Correct Answer: B,C Vote an answer
You need to create a CronJob for an automated task that will be performed every day at midnight. Which steps would you follow? Note: There are 3 correct answer to this question.
Correct Answer: A,D,E Vote an answer
You have these example item types defined in myext-items.xml: What additional steps are needed to support the identification attribute?
< ?xml version="l.O" encoding="IS0-8859-1"? >
<items>
< itemtype code=" Passport" autocreate="true" generate="true" >
< deployment typecode="8995" table="passport" />
< attributes > ... </attributes>
< /itemtype >
< itemtype code="Student" extends="Customer" autocreate="true" generate="true" >
< attributes >
< attribute type="localized:Passport" qualifier="identification" >
< persistence type="property" />
< /attribute >
</attributes>
< /itemtype >
</items>
What additional steps are needed to support the identification attribute?
Define a one-to-many relation between Student and Passport using a relation tag with parameter locaIized="true".
Add a maptype tag for localized:Passport with parameters argumenttype="Language" and returntype="Passport".
Run an ant updatesystem command. A passportlp table will be generated to store the localized property values.
Define a localized Passport attribute for the Student type in myext/resources/localization/myext- locales_XY. properties.
Correct Answer: B Vote an answer
How does Spartacus compare to the SAP Commerce Cloud Accelerators? Note: There are 2 correct answer to this question.
Correct Answer: A,B Vote an answer