<?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: User Parameters in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-parameters/m-p/6729395#M1456834</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;where exactly can I include this code. Shall I have it in my internal table as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Feb 2010 08:04:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-24T08:04:34Z</dc:date>
    <item>
      <title>User Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-parameters/m-p/6729393#M1456832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an abap code in a user exit that is working fine. In order though not to have a long coding and not have to correct the coding every now and then, I would like to use the user parameter (SPA) that is stored for every user to have the same outcome in terms of checking. Can anyone help me what to correct in my abap code to use the user parameter SPA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-uname = 'xxx'&lt;/P&gt;&lt;P&gt;    AND ( sy-tcode = 'VA22'&lt;/P&gt;&lt;P&gt;          OR sy-tcode = 'VA23' ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF i_vbak OCCURS 0,&lt;/P&gt;&lt;P&gt;      vbeln LIKE vbak-vbeln,&lt;/P&gt;&lt;P&gt;      spart LIKE vbak-spart.&lt;/P&gt;&lt;P&gt;DATA: END OF i_vbak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM VBAK&lt;/P&gt;&lt;P&gt;  INTO CORRESPONDING FIELDS OF TABLE i_vbak&lt;/P&gt;&lt;P&gt;  WHERE vbeln = vbak-vbeln&lt;/P&gt;&lt;P&gt;  AND spart = vbak-spart.&lt;/P&gt;&lt;P&gt;LOOP AT i_vbak where spart = '20'.&lt;/P&gt;&lt;P&gt;Flag = 'X'.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;  if flag NE 'X'.&lt;/P&gt;&lt;P&gt; MESSAGE ID 'ZSD' TYPE 'E' NUMBER '997'.&lt;/P&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2010 07:58:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-parameters/m-p/6729393#M1456832</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-24T07:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: User Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-parameters/m-p/6729394#M1456833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: lv_spa TYPE char100.
GET PARAMETER ID 'SPA' FIELD lv_spa.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2010 08:02:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-parameters/m-p/6729394#M1456833</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-24T08:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: User Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-parameters/m-p/6729395#M1456834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;where exactly can I include this code. Shall I have it in my internal table as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2010 08:04:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-parameters/m-p/6729395#M1456834</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-24T08:04:34Z</dc:date>
    </item>
  </channel>
</rss>

