<?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: Sap script Problem with Variable in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-problem-with-variable/m-p/1364771#M180618</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can't do the statament CONCATENATE in the sapscript, but in the driven program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't want or can't change it you should create a routine to do that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: PERFORM &amp;lt;form&amp;gt; IN PROGRAM &amp;lt;prog&amp;gt;&lt;/P&gt;&lt;P&gt;/: USING   &amp;amp;ekpo-ebeln&amp;amp;&lt;/P&gt;&lt;P&gt;/: USING   &amp;amp;EKPO-EBELP&amp;amp;&lt;/P&gt;&lt;P&gt;/: CHANGING &amp;amp;NUMBER&amp;amp;&lt;/P&gt;&lt;P&gt;/: ENDPERFORM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: INCLUDE &amp;amp;NUMBER&amp;amp; OBJECT EKPO ID F01 LANGUAGE 'EN'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The form for CONCATENATE has to be defined in program &amp;lt;prog&amp;gt; and has to have the followin interface:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM &amp;lt;form&amp;gt; TABLES IN_TAB STRUCTURE ITCSY&lt;/P&gt;&lt;P&gt;                   OUT_TAB STRUCTURE ITCSY.&lt;/P&gt;&lt;P&gt;DATA: EBELN TYPE EBELN,&lt;/P&gt;&lt;P&gt;      EBELP TYPE EBELP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: TXT_NAME(20).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE IN_TAB WITH KEY FIELD = 'EKPO-EBELN'.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;  EBELN = IN_TAB-VALUE.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE IN_TAB WITH KEY FIELD = 'EKPO-EBELP'.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;  EBELP = IN_TAB-VALUE.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE EBELN EBELP TO TXT_NAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE OUT_TAB WITH KEY FIELD = 'NUMBER'.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;  OUT_TAB-VALUE = TXT_NAME.&lt;/P&gt;&lt;P&gt;  MODIFY OUT_TAB INDEX SY-TABIX.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. use conversion routine ALPHA to convert the output format to input format for field EBELN and EBELP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Jun 2006 07:58:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-02T07:58:21Z</dc:date>
    <item>
      <title>Sap script Problem with Variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-problem-with-variable/m-p/1364762#M180609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; Good Day to all of u.&lt;/P&gt;&lt;P&gt;i have a problem with PO in Sap Script. In the output &lt;/P&gt;&lt;P&gt;all values appearing like 1.000,00 which must be 1,000.00&lt;/P&gt;&lt;P&gt;why this problem at the output as i am picking variable by inserting and how to solve this problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2006 07:12:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-problem-with-variable/m-p/1364762#M180609</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-02T07:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Sap script Problem with Variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-problem-with-variable/m-p/1364763#M180610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi rajvinder,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. This format of output&lt;/P&gt;&lt;P&gt;   depends upon the user settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. the user himself/herself&lt;/P&gt;&lt;P&gt;   can change their settings,&lt;/P&gt;&lt;P&gt;   and things will become allright.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. SYSTEM------&amp;gt; USER PROFILE -&lt;/P&gt;&lt;HR originaltext="----------" /&gt;&lt;P&gt;&amp;gt; OWN DATA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  In that there is on tab&lt;/P&gt;&lt;P&gt;  DEFAULTS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. In that  there is the field&lt;/P&gt;&lt;P&gt;  DECIMAL NOTATION.&lt;/P&gt;&lt;P&gt;  (for DOT, COMMA IN NUMBERS AND DECIMAL AS WELL)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2006 07:15:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-problem-with-variable/m-p/1364763#M180610</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-02T07:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sap script Problem with Variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-problem-with-variable/m-p/1364764#M180611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;system&lt;DEL&gt;&amp;gt;user profil&lt;/DEL&gt;-&amp;gt; owndata&lt;DEL&gt;-&amp;gt;default&lt;/DEL&gt;-&amp;gt;choose decimal notification of  ur  choice...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2006 07:15:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-problem-with-variable/m-p/1364764#M180611</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-02T07:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Sap script Problem with Variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-problem-with-variable/m-p/1364765#M180612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output format depends on the user attributions, if you want to use different attributions use SET COUNTRY statament in sapscript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2006 07:16:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-problem-with-variable/m-p/1364765#M180612</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-02T07:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sap script Problem with Variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-problem-with-variable/m-p/1364766#M180613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;this is specific to some countries.&lt;/P&gt;&lt;P&gt;Check your default settings in SU01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;latheesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2006 07:19:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-problem-with-variable/m-p/1364766#M180613</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-02T07:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sap script Problem with Variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-problem-with-variable/m-p/1364767#M180614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanx for replies, i set the setting but again the problem is same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how and where to set country in script .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajvinder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2006 07:27:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-problem-with-variable/m-p/1364767#M180614</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-02T07:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sap script Problem with Variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-problem-with-variable/m-p/1364768#M180615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should place it at the beginning of text element, anyway before printing the variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an extract of the help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;..........................................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formatting for certain field types depends on the country settings. These field types include, for example, date fields and number fields that include either a decimal point or the &amp;#145;thousands&amp;#146; separator character. The formatting options defined in the user master record are usually the ones used here. To choose a formatting option other than the one specified in the user master record, use the SET COUNTRY control command. The country-dependent formatting options are stored in the T005X table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: SET COUNTRY country_key&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can enter the country key either as a literal value enclosed in quotes or as a symbol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: SET COUNTRY 'CAN' &lt;/P&gt;&lt;P&gt;/: SET COUNTRY &amp;amp;country_key&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use a blank country name to revert to the setting found in the user master record:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: SET COUNTRY ' ' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This SAPscript command actually calls the corresponding ABAP command internally. This guarantees the effect of the SAPscript command to be identical with that of the ABAP command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the formatting turns out not to be as required, then you should check the settings in table T005X.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/d2/cb3d07455611d189710000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/d2/cb3d07455611d189710000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2006 07:36:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-problem-with-variable/m-p/1364768#M180615</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-02T07:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sap script Problem with Variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-problem-with-variable/m-p/1364769#M180616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanx Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; My problem is rectified one more thing i want ask.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried for puting text in the PO by using &lt;/P&gt;&lt;P&gt; 	DEFINE &amp;amp;PONO&amp;amp; = '&amp;amp;ekpo-ebeln&amp;amp;'&lt;/P&gt;&lt;P&gt; 	DEFINE &amp;amp;ITEMNO&amp;amp; = '&amp;amp;EKPO-ebelp&amp;amp;'&lt;/P&gt;&lt;P&gt; 	DEFINE &amp;amp;NUMBER&amp;amp; = '&amp;amp;PONO&amp;amp;&amp;amp;ITEMNO&amp;amp;'&lt;/P&gt;&lt;P&gt; 	INCLUDE &amp;amp;PONO&amp;amp; OBJECT EKPO ID F01 LANGUAGE 'EN'&lt;/P&gt;&lt;P&gt;where in PONO i am concateing the Po no and item ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i am not getting the text. plz. give your suggestion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajvinder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2006 07:42:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-problem-with-variable/m-p/1364769#M180616</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-02T07:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: Sap script Problem with Variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-problem-with-variable/m-p/1364770#M180617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Setting the User Decimals Format&lt;/P&gt; &lt;BR /&gt;Your screen and layout sets decimals are affected by :- &lt;BR /&gt;&lt;B&gt;&lt;P&gt;&lt;BR /&gt;OY01&lt;/P&gt;&lt;/B&gt; - Country Global Parameters -&amp;gt; Double click on the country code &lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;P&gt;SU01&lt;/P&gt;&lt;/B&gt; - Maintain users -&amp;gt; Click Defaultsbutton &lt;BR /&gt;&lt;BR /&gt;In the Decimal format section. &lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;P&gt;Formatting Date Fields: SET DATE MASK&lt;/P&gt;&lt;/B&gt; To define the formatting of date fields, use the SET DATE MASK control command. Executing this command causes all subsequent date fields to be printed using the specified format.&lt;BR /&gt;Syntax: &lt;BR /&gt;/: SET DATE MASK = 'date_mask'&lt;BR /&gt;In the date mask, you can use the following codes:&lt;BR /&gt;· DD: day (two digits)&lt;BR /&gt;· DDD: day name - abbreviated&lt;BR /&gt;· DDDD: day name - written out in full&lt;BR /&gt;· MM: month (two digits)&lt;BR /&gt;· MMM: month name - abbreviated&lt;BR /&gt;· MMMM: month name - written out in full&lt;BR /&gt;· YY: year (two digits)&lt;BR /&gt;· YYYY: year (four digits) &lt;BR /&gt;· LD: day (formatted as for the L option)&lt;BR /&gt;· LM: month (formatted as for the L option)&lt;BR /&gt;· LY: year (formatted as for the L option)&lt;BR /&gt;All other characters found in a date mask are interpreted as simple text and are copied straight into the output.&lt;BR /&gt;&lt;BR /&gt;Assuming the current system date is March 1st, 1997. &lt;BR /&gt;/: SET DATE MASK = 'Foster City, MM/DD/YY' &lt;BR /&gt;&amp;amp;DATE&amp;amp; -&amp;gt; Foster City, 03/01/97&lt;BR /&gt;/: SET DATE MASK = 'MMMM DD, YYYY' &lt;BR /&gt;&amp;amp;DATE&amp;amp; -&amp;gt; March 01, 1997&lt;BR /&gt;The date mask may be reset to the default setting by using an empty string:&lt;BR /&gt;/: SET DATE MASK = ' '&lt;BR /&gt;The abbreviated and full forms of the names of the days and months are stored in the language dependent TTDTG table under the following keys:&lt;BR /&gt;· %%SAPSCRIPT_DDD_dd: abbreviated day name&lt;BR /&gt;· %%SAPSCRIPT_DDDD_dd: full form of day name &lt;BR /&gt;· %%SAPSCRIPT_MMM_mm: abbreviated month name&lt;BR /&gt;· %%SAPSCRIPT_MMMM_mm: full form of month name&lt;BR /&gt;dd: day number 01 = Monday,..., 07 = Sunday &lt;BR /&gt;mm: month number 01 = January,..., 12 = December&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;P&gt;Country-Dependent Formatting: SET COUNTRY&lt;/P&gt;&lt;/B&gt; The formatting for certain field types depends on the country settings. These field types include, for example, date fields and number fields that include either a decimal point or the &amp;#145;thousands&amp;#146; separator character. The formatting options defined in the user master record are usually the ones used here. To choose a formatting option other than the one specified in the user master record, use the SET COUNTRY control command. The country-dependent formatting options are stored in the T005X table.&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax: &lt;/P&gt;&lt;P&gt;/: SET COUNTRY country_key&lt;/P&gt;&lt;P&gt;You can enter the country key either as a literal value enclosed in quotes or as a symbol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: SET COUNTRY 'CAN' &lt;/P&gt;&lt;P&gt;/: SET COUNTRY &amp;amp;country_key&amp;amp;&lt;/P&gt;&lt;P&gt;Use a blank country name to revert to the setting found in the user master record:&lt;/P&gt;&lt;P&gt;/: SET COUNTRY ' ' &lt;/P&gt;&lt;P&gt;This SAPscript command actually calls the corresponding ABAP command internally. This guarantees the effect of the SAPscript command to be identical with that of the ABAP command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the formatting turns out not to be as required, then you should check the settings in table T005X.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vinod&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2006 07:56:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-problem-with-variable/m-p/1364770#M180617</guid>
      <dc:creator>vinod_gunaware2</dc:creator>
      <dc:date>2006-06-02T07:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Sap script Problem with Variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-problem-with-variable/m-p/1364771#M180618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can't do the statament CONCATENATE in the sapscript, but in the driven program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't want or can't change it you should create a routine to do that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: PERFORM &amp;lt;form&amp;gt; IN PROGRAM &amp;lt;prog&amp;gt;&lt;/P&gt;&lt;P&gt;/: USING   &amp;amp;ekpo-ebeln&amp;amp;&lt;/P&gt;&lt;P&gt;/: USING   &amp;amp;EKPO-EBELP&amp;amp;&lt;/P&gt;&lt;P&gt;/: CHANGING &amp;amp;NUMBER&amp;amp;&lt;/P&gt;&lt;P&gt;/: ENDPERFORM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: INCLUDE &amp;amp;NUMBER&amp;amp; OBJECT EKPO ID F01 LANGUAGE 'EN'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The form for CONCATENATE has to be defined in program &amp;lt;prog&amp;gt; and has to have the followin interface:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM &amp;lt;form&amp;gt; TABLES IN_TAB STRUCTURE ITCSY&lt;/P&gt;&lt;P&gt;                   OUT_TAB STRUCTURE ITCSY.&lt;/P&gt;&lt;P&gt;DATA: EBELN TYPE EBELN,&lt;/P&gt;&lt;P&gt;      EBELP TYPE EBELP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: TXT_NAME(20).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE IN_TAB WITH KEY FIELD = 'EKPO-EBELN'.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;  EBELN = IN_TAB-VALUE.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE IN_TAB WITH KEY FIELD = 'EKPO-EBELP'.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;  EBELP = IN_TAB-VALUE.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE EBELN EBELP TO TXT_NAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE OUT_TAB WITH KEY FIELD = 'NUMBER'.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;  OUT_TAB-VALUE = TXT_NAME.&lt;/P&gt;&lt;P&gt;  MODIFY OUT_TAB INDEX SY-TABIX.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. use conversion routine ALPHA to convert the output format to input format for field EBELN and EBELP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2006 07:58:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-problem-with-variable/m-p/1364771#M180618</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-02T07:58:21Z</dc:date>
    </item>
  </channel>
</rss>

