Exam P-C4H340-24 Topic 4 Question 23 Discussion

Actual exam question for SAP's P-C4H340-24 exam
Question #: 23
Topic #: 4
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.

Suggested Answer: C Vote an answer

by Joyce at Jan 07, 2024, 09:22 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

Contact Us

If you have any question please leave me your email address, we will reply and send email to you in 12 hours.

Our Working Time: ( GMT 0:00-15:00 ) From Monday to Saturday

Support: Contact now 

日本語 Deutsch 繁体中文 한국어