<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Success Factor Replication(Xslt Mappping /Standard Mapping) in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/success-factor-replication-xslt-mappping-standard-mapping/qaa-p/12816486#M4812864</link>
    <description>&lt;P&gt;Hi &lt;SPAN class="mention-scrubbed"&gt;fethi_men&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;The stylesheet works with the sample data you included. I tested it before posting, of couse. If some other part of your iflow fails, that really has nothing to do with this question.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Morten&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jan 2024 15:36:11 GMT</pubDate>
    <dc:creator>MortenWittrock</dc:creator>
    <dc:date>2024-01-03T15:36:11Z</dc:date>
    <item>
      <title>Success Factor Replication(Xslt Mappping /Standard Mapping)</title>
      <link>https://community.sap.com/t5/technology-q-a/success-factor-replication-xslt-mappping-standard-mapping/qaq-p/12816481</link>
      <description>&lt;P&gt;Hi Expert , &lt;/P&gt;
  &lt;P&gt;I have an issue with the employee replication from SuccessFactors as it generates two employment_information elements, including one with the inactive Org unit (Business Unit, Dep..). I've noticed that only the no longer valid one has an end_date, while the currently valid one does not .&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2233321-grafik.png" /&gt;&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;&amp;lt;queryCompoundEmployeeResponse&amp;gt;&lt;BR /&gt;    &amp;lt;CompoundEmployee&amp;gt;&lt;BR /&gt;        &amp;lt;id&amp;gt;2555&amp;lt;/id&amp;gt;&lt;BR /&gt;        &amp;lt;person&amp;gt;    &lt;BR /&gt;            &amp;lt;person_id&amp;gt;5555&amp;lt;/person_id&amp;gt;&lt;BR /&gt;                &amp;lt;end_date&amp;gt;5555-12-31&amp;lt;/end_date&amp;gt;&lt;BR /&gt;                &amp;lt;first_name&amp;gt;test&amp;lt;/first_name&amp;gt;&lt;BR /&gt;                &amp;lt;start_date&amp;gt;2022-05-01&amp;lt;/start_date&amp;gt;&lt;BR /&gt;            &amp;lt;personal_information&amp;gt;&lt;BR /&gt;                &amp;lt;end_date&amp;gt;2022-04-30&amp;lt;/end_date&amp;gt;&lt;BR /&gt;                &amp;lt;first_name&amp;gt;test&amp;lt;/first_name&amp;gt;&lt;BR /&gt;            &amp;lt;/personal_information&amp;gt;&lt;BR /&gt;            &amp;lt;personal_information&amp;gt;&lt;BR /&gt;                &amp;lt;end_date&amp;gt;2021-02-28&amp;lt;/end_date&amp;gt;&lt;BR /&gt;                &amp;lt;first_name&amp;gt;test&amp;lt;/first_name&amp;gt;    &lt;BR /&gt;                &amp;lt;start_date&amp;gt;1987-05-25&amp;lt;/start_date&amp;gt;&lt;BR /&gt;            &amp;lt;/personal_information&amp;gt;&lt;BR /&gt;            &amp;lt;address_information&amp;gt;&lt;BR /&gt;                &amp;lt;end_date&amp;gt;5555-12-31&amp;lt;/end_date&amp;gt;&lt;BR /&gt;                &amp;lt;start_date&amp;gt;2022-05-01&amp;lt;/start_date&amp;gt;&lt;BR /&gt;            &amp;lt;/address_information&amp;gt;&lt;BR /&gt;            &amp;lt;employment_information&amp;gt;&lt;BR /&gt;                &amp;lt;end_date&amp;gt;2022-04-30&amp;lt;/end_date&amp;gt;&lt;BR /&gt;                &amp;lt;start_date&amp;gt;2011-09-01&amp;lt;/start_date&amp;gt;&lt;BR /&gt;                &amp;lt;user_id&amp;gt;5555&amp;lt;/user_id&amp;gt;&lt;BR /&gt;                &amp;lt;job_information&amp;gt;&lt;BR /&gt;                    &amp;lt;business_unit&amp;gt;IT-000-000&amp;lt;/business_unit&amp;gt;&lt;BR /&gt;                    &amp;lt;company&amp;gt;5555&amp;lt;/company&amp;gt;&lt;BR /&gt;                    &amp;lt;department&amp;gt;IT-044-021&amp;lt;/department&amp;gt;&lt;BR /&gt;                    &amp;lt;division&amp;gt;IT-044-000&amp;lt;/division&amp;gt;&lt;BR /&gt;                    &amp;lt;start_date&amp;gt;2022-11-01&amp;lt;/start_date&amp;gt;&lt;BR /&gt;                &amp;lt;/job_information&amp;gt;&lt;BR /&gt;                &amp;lt;job_information&amp;gt;&lt;BR /&gt;                    &amp;lt;business_unit&amp;gt;IT-000-000&amp;lt;/business_unit&amp;gt;&lt;BR /&gt;                    &amp;lt;company&amp;gt;5555&amp;lt;/company&amp;gt;&lt;BR /&gt;                    &amp;lt;department&amp;gt;IT-044-021&amp;lt;/department&amp;gt;&lt;BR /&gt;                    &amp;lt;division&amp;gt;IT-044-000&amp;lt;/division&amp;gt;&lt;BR /&gt;                    &amp;lt;end_date&amp;gt;2022-10-31&amp;lt;/end_date&amp;gt;&lt;BR /&gt;                    &amp;lt;start_date&amp;gt;2022-05-01&amp;lt;/start_date&amp;gt;&lt;BR /&gt;                &amp;lt;/job_information&amp;gt;&lt;BR /&gt;                &amp;lt;job_information&amp;gt;&lt;BR /&gt;                    &amp;lt;business_unit&amp;gt;IT-000-000&amp;lt;/business_unit&amp;gt;&lt;BR /&gt;                    &amp;lt;company&amp;gt;5555&amp;lt;/company&amp;gt;&lt;BR /&gt;                    &amp;lt;department&amp;gt;IT-044-021&amp;lt;/department&amp;gt;&lt;BR /&gt;                    &amp;lt;division&amp;gt;IT-044-000&amp;lt;/division&amp;gt;&lt;BR /&gt;                    &amp;lt;end_date&amp;gt;2022-04-30&amp;lt;/end_date&amp;gt;&lt;BR /&gt;                    &amp;lt;start_date&amp;gt;2021-03-18&amp;lt;/start_date&amp;gt;&lt;BR /&gt;                &amp;lt;/job_information&amp;gt;&lt;BR /&gt;                &amp;lt;job_information&amp;gt;&lt;BR /&gt;                    &amp;lt;business_unit&amp;gt;IT-000-000&amp;lt;/business_unit&amp;gt;&lt;BR /&gt;                    &amp;lt;company&amp;gt;5555&amp;lt;/company&amp;gt;&lt;BR /&gt;                    &amp;lt;department&amp;gt;IT-044-021&amp;lt;/department&amp;gt;&lt;BR /&gt;                    &amp;lt;division&amp;gt;IT-044-000&amp;lt;/division&amp;gt;&lt;BR /&gt;                    &amp;lt;end_date&amp;gt;2021-03-17&amp;lt;/end_date&amp;gt;&lt;BR /&gt;                    &amp;lt;start_date&amp;gt;2021-03-01&amp;lt;/start_date&amp;gt;&lt;BR /&gt;                &amp;lt;/job_information&amp;gt;&lt;BR /&gt;            &amp;lt;/employment_information&amp;gt;&lt;BR /&gt;            &amp;lt;employment_information&amp;gt;&lt;BR /&gt;                &amp;lt;employment_id&amp;gt;5555&amp;lt;/employment_id&amp;gt;&lt;BR /&gt;                &amp;lt;start_date&amp;gt;2022-05-01&amp;lt;/start_date&amp;gt;&lt;BR /&gt;                &amp;lt;user_id&amp;gt;5555&amp;lt;/user_id&amp;gt;&lt;BR /&gt;                &amp;lt;job_information&amp;gt;&lt;BR /&gt;                    &amp;lt;business_unit&amp;gt;D66x00-000-9&amp;lt;/business_unit&amp;gt;&lt;BR /&gt;                    &amp;lt;company&amp;gt;4000&amp;lt;/company&amp;gt;&lt;BR /&gt;                    &amp;lt;department&amp;gt;D66F40-264-9&amp;lt;/department&amp;gt;&lt;BR /&gt;                    &amp;lt;division&amp;gt;D66F40-000-9&amp;lt;/division&amp;gt;&lt;BR /&gt;                    &amp;lt;end_date&amp;gt;5555-12-31&amp;lt;/end_date&amp;gt;&lt;BR /&gt;                    &amp;lt;start_date&amp;gt;2032-10-01&amp;lt;/start_date&amp;gt;&lt;BR /&gt;                &amp;lt;/job_information&amp;gt;&lt;BR /&gt;                &amp;lt;job_information&amp;gt;&lt;BR /&gt;                    &amp;lt;business_unit&amp;gt;D66x00-000-9&amp;lt;/business_unit&amp;gt;&lt;BR /&gt;                    &amp;lt;company&amp;gt;4000&amp;lt;/company&amp;gt;&lt;BR /&gt;                    &amp;lt;department&amp;gt;D66F40-264-9&amp;lt;/department&amp;gt;&lt;BR /&gt;                    &amp;lt;division&amp;gt;D66F40-000-9&amp;lt;/division&amp;gt;&lt;BR /&gt;                    &amp;lt;end_date&amp;gt;2032-09-30&amp;lt;/end_date&amp;gt;&lt;BR /&gt;                    &amp;lt;start_date&amp;gt;2024-01-01&amp;lt;/start_date&amp;gt;    &lt;BR /&gt;                &amp;lt;/job_information&amp;gt;&lt;BR /&gt;                &amp;lt;job_information&amp;gt;&lt;BR /&gt;                    &amp;lt;business_unit&amp;gt;D66x00-000-9&amp;lt;/business_unit&amp;gt;&lt;BR /&gt;                    &amp;lt;company&amp;gt;4000&amp;lt;/company&amp;gt;&lt;BR /&gt;                    &amp;lt;department&amp;gt;D66F40-264-9&amp;lt;/department&amp;gt;&lt;BR /&gt;                    &amp;lt;division&amp;gt;D66F40-000-9&amp;lt;/division&amp;gt;&lt;BR /&gt;                    &amp;lt;end_date&amp;gt;2023-12-31&amp;lt;/end_date&amp;gt;&lt;BR /&gt;                    &amp;lt;start_date&amp;gt;2023-08-04&amp;lt;/start_date&amp;gt;&lt;BR /&gt;                &amp;lt;/job_information&amp;gt;&lt;BR /&gt;                &amp;lt;job_information&amp;gt;&lt;BR /&gt;                    &amp;lt;business_unit&amp;gt;D66x00-000-9&amp;lt;/business_unit&amp;gt;&lt;BR /&gt;                    &amp;lt;company&amp;gt;4000&amp;lt;/company&amp;gt;&lt;BR /&gt;                    &amp;lt;department&amp;gt;D66F40-264-9&amp;lt;/department&amp;gt;&lt;BR /&gt;                    &amp;lt;division&amp;gt;D66F40-000-9&amp;lt;/division&amp;gt;&lt;BR /&gt;                    &amp;lt;end_date&amp;gt;2023-08-03&amp;lt;/end_date&amp;gt;&lt;BR /&gt;                    &amp;lt;start_date&amp;gt;2023-06-01&amp;lt;/start_date&amp;gt;    &lt;BR /&gt;                &amp;lt;/job_information&amp;gt;&lt;BR /&gt;                &lt;BR /&gt;            &amp;lt;/employment_information&amp;gt;&lt;BR /&gt;            &lt;BR /&gt;        &amp;lt;/person&amp;gt;&lt;BR /&gt;        &amp;lt;execution_timestamp&amp;gt;2024-12-06T13:15:40.000Z&amp;lt;/execution_timestamp&amp;gt;&lt;BR /&gt;        &amp;lt;version_id&amp;gt;231120&amp;lt;/version_id&amp;gt;&lt;BR /&gt;    &amp;lt;/CompoundEmployee&amp;gt;&lt;BR /&gt;&amp;lt;/queryCompoundEmployeeResponse&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;To filter out the old one, I attempted to use a pre-mapping with graphical mapping, aiming to exclude segments with an end_date defined. Unfortunately, this approach keep also inactive employee information segments.&amp;gt; did not work&lt;/P&gt;
  &lt;P&gt;End_Output-: it will be replicated the employment_information with old Org. Uni (IT-*****)&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2233322-grafik.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;I then tried to address this using the following XSLT mapping:&lt;BR /&gt;&amp;lt;xsl:template match="/queryCompoundEmployeeResponse/CompoundEmployee/person/employment_information[xs:date(end_date) lt current-date()]"/&amp;gt;&lt;/P&gt;
  &lt;P&gt;or:&lt;/P&gt;
  &lt;P&gt;&amp;lt;xsl:template match="/queryCompoundEmployeeResponse/CompoundEmployee/person/employment_information[(end_date) ]"/&amp;gt;&lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt;However, it didn't yield the desired outcome. How can I modify the mapping to retain only the currently valid employee information segments that do not have an end_date?&lt;/P&gt;
  &lt;P&gt;thank you in advance&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2024 12:04:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/success-factor-replication-xslt-mappping-standard-mapping/qaq-p/12816481</guid>
      <dc:creator>foufou</dc:creator>
      <dc:date>2024-01-02T12:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Success Factor Replication(Xslt Mappping /Standard Mapping)</title>
      <link>https://community.sap.com/t5/technology-q-a/success-factor-replication-xslt-mappping-standard-mapping/qaa-p/12816482#M4812860</link>
      <description>&lt;P&gt;Hi Fathi&lt;/P&gt;&lt;P&gt;Something happened to your screenshots. Also, please include sample XML as text, not graphics. That way it can be easily copypasted. Use the CODE button to insert the XML to preserve formatting and special characters.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Morten&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2024 13:03:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/success-factor-replication-xslt-mappping-standard-mapping/qaa-p/12816482#M4812860</guid>
      <dc:creator>MortenWittrock</dc:creator>
      <dc:date>2024-01-02T13:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Success Factor Replication(Xslt Mappping /Standard Mapping)</title>
      <link>https://community.sap.com/t5/technology-q-a/success-factor-replication-xslt-mappping-standard-mapping/qaa-p/12816483#M4812861</link>
      <description>&lt;P&gt; @&lt;SPAN class="mention-scrubbed"&gt;7a519509aed84a2c9e6f627841825b5a&lt;/SPAN&gt; thanks for your notice , I updated that&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2024 14:32:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/success-factor-replication-xslt-mappping-standard-mapping/qaa-p/12816483#M4812861</guid>
      <dc:creator>foufou</dc:creator>
      <dc:date>2024-01-02T14:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Success Factor Replication(Xslt Mappping /Standard Mapping)</title>
      <link>https://community.sap.com/t5/technology-q-a/success-factor-replication-xslt-mappping-standard-mapping/qaa-p/12816484#M4812862</link>
      <description>&lt;P&gt;Hi Fathi&lt;/P&gt;&lt;P&gt;This is very similar to your other question about mapping a SuccessFactors API response. This XSLT stylesheet will remove all employment_information elements with an end_date child element:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;xsl:stylesheet version="3.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema"&amp;gt;
	&amp;lt;xsl:output method="xml" /&amp;gt;
	&amp;lt;xsl:mode on-no-match="shallow-copy" /&amp;gt;
	&amp;lt;xsl:template match="employment_information[end_date]"/&amp;gt;
&amp;lt;/xsl:stylesheet&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Morten&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2024 15:14:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/success-factor-replication-xslt-mappping-standard-mapping/qaa-p/12816484#M4812862</guid>
      <dc:creator>MortenWittrock</dc:creator>
      <dc:date>2024-01-02T15:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Success Factor Replication(Xslt Mappping /Standard Mapping)</title>
      <link>https://community.sap.com/t5/technology-q-a/success-factor-replication-xslt-mappping-standard-mapping/qaa-p/12816485#M4812863</link>
      <description>&lt;P&gt;&lt;EM&gt;Hi Mortan , &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;thank you for your proposed solutions and the effort you've put into them.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I attempted to resolve this using your provided XSLT mapping, but unfortunately, it did not work&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I get the following error in anothor xslt mapping step (when I run simulation mode und track the payload ,it displays the correct data .However in "Match und Merge multimessage.." XSLT Mapping I encouter the issue)&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2233383-grafik.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2233376-grafik.png" /&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2024 14:46:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/success-factor-replication-xslt-mappping-standard-mapping/qaa-p/12816485#M4812863</guid>
      <dc:creator>foufou</dc:creator>
      <dc:date>2024-01-03T14:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Success Factor Replication(Xslt Mappping /Standard Mapping)</title>
      <link>https://community.sap.com/t5/technology-q-a/success-factor-replication-xslt-mappping-standard-mapping/qaa-p/12816486#M4812864</link>
      <description>&lt;P&gt;Hi &lt;SPAN class="mention-scrubbed"&gt;fethi_men&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;The stylesheet works with the sample data you included. I tested it before posting, of couse. If some other part of your iflow fails, that really has nothing to do with this question.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Morten&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2024 15:36:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/success-factor-replication-xslt-mappping-standard-mapping/qaa-p/12816486#M4812864</guid>
      <dc:creator>MortenWittrock</dc:creator>
      <dc:date>2024-01-03T15:36:11Z</dc:date>
    </item>
  </channel>
</rss>

