<?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>topic Re: Text element language issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-element-language-issue/m-p/8628328#M1664585</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, Let me explain you our scenario. This mail is for notification about approval of shopping cart that 'there are some workitems are pending in your inbox, pls approve it.'&lt;/P&gt;&lt;P&gt;Two notifications which I have refereed is belongs to two different shopping carts and for different approvers. So for different shopping cart, different session will get started as they belong to different persons.&lt;/P&gt;&lt;P&gt;Only problem which I observe&amp;nbsp; that notification is going on same time then some how system login language value changes which causes this problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Mar 2012 11:27:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-03-30T11:27:29Z</dc:date>
    <item>
      <title>Text element language issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-element-language-issue/m-p/8628324#M1664581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;We are using text-elements for building subject and body of email and sending it to desired receipent. Our coding is like that Check langu from adrp table for pernr of user, if langu is found then only use set language to langu.So in case if langu is not found then text-element should be determined as per login language. Now we have got randomly scenario where if&amp;nbsp; langu of user is not found then mail is sent in different language(es) despite of that&amp;nbsp; login language is en. While analyzing this issue I have observed similar pattern in SOST that there are two notification exactly sent on the same time where first notification is sent in ES language which is ideally correct and second is also sent in ES language instead of EN language(which is issue).For this user ,notification not always sent to ES which means there is not a default setting for him. &lt;/P&gt;&lt;P&gt;Regard,Shiv"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2012 06:51:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-element-language-issue/m-p/8628324#M1664581</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-30T06:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: Text element language issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-element-language-issue/m-p/8628325#M1664582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shiv,&lt;/P&gt;&lt;P&gt;Frankly, since your e-mail is getting triggered and sent correctly in the first instance, I believe the issue should be with the conditions.&lt;/P&gt;&lt;P&gt;I think you've used a loop and there are if conditions verifying the Language in adrp. Here, in de-bug mode just clear the work area in your second loop pass and verify the values. This should solve your problem.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pranav.&lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/5.0.1/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2012 09:09:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-element-language-issue/m-p/8628325#M1664582</guid>
      <dc:creator>former_member222709</dc:creator>
      <dc:date>2012-03-30T09:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Text element language issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-element-language-issue/m-p/8628326#M1664583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pranav,&lt;/P&gt;&lt;P&gt;Thanks for response,But we don't have any conditions like this. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2012 09:57:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-element-language-issue/m-p/8628326#M1664583</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-30T09:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Text element language issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-element-language-issue/m-p/8628327#M1664584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shiv,&lt;/P&gt;&lt;P&gt;As mentioned above that your coding "Our coding is like that Check langu from adrp table for pernr of user, if langu is found then only use set language to langu." &lt;/P&gt;&lt;P&gt;Where is this coding done because here if you debug for a user whose language is not set in ADRP, you will get the reason for the system not setting your Language to EN.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pranav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2012 10:21:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-element-language-issue/m-p/8628327#M1664584</guid>
      <dc:creator>former_member222709</dc:creator>
      <dc:date>2012-03-30T10:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Text element language issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-element-language-issue/m-p/8628328#M1664585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, Let me explain you our scenario. This mail is for notification about approval of shopping cart that 'there are some workitems are pending in your inbox, pls approve it.'&lt;/P&gt;&lt;P&gt;Two notifications which I have refereed is belongs to two different shopping carts and for different approvers. So for different shopping cart, different session will get started as they belong to different persons.&lt;/P&gt;&lt;P&gt;Only problem which I observe&amp;nbsp; that notification is going on same time then some how system login language value changes which causes this problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2012 11:27:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-element-language-issue/m-p/8628328#M1664585</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-30T11:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Text element language issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-element-language-issue/m-p/8628329#M1664586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shiv,&lt;/P&gt;&lt;P&gt;In this case I would disagree with your observations because:&lt;/P&gt;&lt;P&gt;1. Even if there are 2 sessions of users simultaneously, SAP dispatcher ensures that each session operates independently and parallely based on the Work Process assigned.&lt;/P&gt;&lt;P&gt;2. Now when different approvers act on the notifications, it might be possible that the select condition on table ADRP fails for one. Here, you need to add a node for capturing this error and returning to the user that select query failed or the next step of language assignment failed.&lt;/P&gt;&lt;P&gt;3. Also, the code of sending the e-mail might be processed in a seperate sub-routine where the value assigned to sy-langu is no longer valid or SAP overrides your language assignment.&lt;/P&gt;&lt;P&gt;You will have to test out these possibilities based on the user and scenario where you've faced the error because random errors is hard/difficult to accept.&lt;SPAN __jive_emoticon_name="shocked" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/5.0.1/images/emoticons/shocked.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I agree that some extra efforts and hard work is required to identify the error.&lt;SPAN __jive_emoticon_name="grin" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/5.0.1/images/emoticons/grin.gif"&gt;&lt;/SPAN&gt; Simple to say but..&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;Possible Solution: Language re-assignment for the e-mail and generation of error logs inserted into a 'Z' temporary table till the system is stable and works fine.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Regards - Pranav&lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/5.0.1/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2012 11:47:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-element-language-issue/m-p/8628329#M1664586</guid>
      <dc:creator>former_member222709</dc:creator>
      <dc:date>2012-03-30T11:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Text element language issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-element-language-issue/m-p/8628330#M1664587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Pranav,&lt;/P&gt;&lt;P&gt;Thanks for details explanation. Permanent solution could be find out for these types of problems while creating these difficult scenario in quality system.&lt;/P&gt;&lt;P&gt;Regards-Shiv &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/5.0.1/images/emoticons/sad.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2012 04:32:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-element-language-issue/m-p/8628330#M1664587</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-05T04:32:34Z</dc:date>
    </item>
  </channel>
</rss>

