<?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: Change Screen Lables dynamically in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-screen-lables-dynamically/m-p/1138807#M113946</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I'm testing it, i was wrong.  You will need to create an input,  mark it as "Output Only".  Again you need a variable in your program, LABEL1,  move the value to the field in PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


report  zrich_0001.

data: label1(20) type c.


start-of-selection.

  call screen 100.
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Module  STATUS_0100  OUTPUT
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
module STATUS_0100 output.
*  SET PF-STATUS 'xxxxxxxx'.
*  SET TITLEBAR 'xxx'.

label1 = 'This is the label'.


endmodule.                 " STATUS_0100  OUTPUT


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Feb 2006 23:25:42 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2006-02-01T23:25:42Z</dc:date>
    <item>
      <title>Change Screen Lables dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-screen-lables-dynamically/m-p/1138802#M113941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI &lt;/P&gt;&lt;P&gt;  I want to change screen labels dynamically based on my sales area/Plant ... how can I achieve this task, what are steps I have to take to change the screen labels dynamically?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give your input/suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2006 23:05:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-screen-lables-dynamically/m-p/1138802#M113941</guid>
      <dc:creator>former_member181966</dc:creator>
      <dc:date>2006-02-01T23:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Change Screen Lables dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-screen-lables-dynamically/m-p/1138803#M113942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On a selection screen, or a dynpro?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2006 23:06:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-screen-lables-dynamically/m-p/1138803#M113942</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-02-01T23:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Change Screen Lables dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-screen-lables-dynamically/m-p/1138804#M113943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On dynpro......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2006 23:14:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-screen-lables-dynamically/m-p/1138804#M113943</guid>
      <dc:creator>former_member181966</dc:creator>
      <dc:date>2006-02-01T23:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: Change Screen Lables dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-screen-lables-dynamically/m-p/1138805#M113944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When creating a label,  enter a name for it.  Lets say for example, call it LABEL1.  Now create a variable in your program called LABEL1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Data: label1(20) type c.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course you must set this value somewhere in your program.  Most likely you will set it in the PBO of the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe that you must make the field "Output Only" in the screen painter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2006 23:20:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-screen-lables-dynamically/m-p/1138805#M113944</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-02-01T23:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: Change Screen Lables dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-screen-lables-dynamically/m-p/1138806#M113945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Labels are already there.. Like when I&amp;#146;ll create in screen VA01 (Sales order) after giving all required fields the sales order screen will come up . It already have labels like "Document Date"  "P.O reference"  "Plant" say I want to change those labels to my own labels ..  How I can do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advanced...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2006 23:24:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-screen-lables-dynamically/m-p/1138806#M113945</guid>
      <dc:creator>former_member181966</dc:creator>
      <dc:date>2006-02-01T23:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Change Screen Lables dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-screen-lables-dynamically/m-p/1138807#M113946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I'm testing it, i was wrong.  You will need to create an input,  mark it as "Output Only".  Again you need a variable in your program, LABEL1,  move the value to the field in PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


report  zrich_0001.

data: label1(20) type c.


start-of-selection.

  call screen 100.
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Module  STATUS_0100  OUTPUT
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
module STATUS_0100 output.
*  SET PF-STATUS 'xxxxxxxx'.
*  SET TITLEBAR 'xxx'.

label1 = 'This is the label'.


endmodule.                 " STATUS_0100  OUTPUT


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2006 23:25:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-screen-lables-dynamically/m-p/1138807#M113946</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-02-01T23:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Change Screen Lables dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-screen-lables-dynamically/m-p/1138808#M113947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, ok.  Then you will need to "hack" the standard SAP screen. You will need to register the object to get an access key.  Then you will be able to change the values of the labels as you need to.  This will be a static change though.  To do this dynamically, you would have to do simular to the above post, but since this is a standard SAP transaction, there will be some work involved.  Not sure that its worth it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2006 23:28:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-screen-lables-dynamically/m-p/1138808#M113947</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-02-01T23:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Change Screen Lables dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-screen-lables-dynamically/m-p/1138809#M113948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be I explain it a little wrong, I want to change "Filed TEXT" Dynamically based upon my plant and Sale organization...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2006 23:30:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-screen-lables-dynamically/m-p/1138809#M113948</guid>
      <dc:creator>former_member181966</dc:creator>
      <dc:date>2006-02-01T23:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Change Screen Lables dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-screen-lables-dynamically/m-p/1138810#M113949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep, you want to change the label beside a field, right?  These are defined statically in the screen at design time. In order to make it dynamic you will have to replace the labels with "Output Only" input fields and in the PBO of the screen fill the values accordingly.  Again, since we are talking about a standard SAP screen, this is not so easy to do.  Some of the subscreens in VA01 are built dynaically though. I don't think yours is.  To check, find out the screen number and go to SE51 to look at the screen.  If you can see the field labels there, then they are statically defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2006 23:34:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-screen-lables-dynamically/m-p/1138810#M113949</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-02-01T23:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Change Screen Lables dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-screen-lables-dynamically/m-p/1138811#M113950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks and I&amp;#146;ll try and definitely award you point ..&lt;/P&gt;&lt;P&gt;Thanks again ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2006 23:44:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-screen-lables-dynamically/m-p/1138811#M113950</guid>
      <dc:creator>former_member181966</dc:creator>
      <dc:date>2006-02-01T23:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: Change Screen Lables dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-screen-lables-dynamically/m-p/1138812#M113951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wonder if you could use some of the SD user exits in Sales Order processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MV45AOZZ is for custom PBO routines.&lt;/P&gt;&lt;P&gt;MV45AIZZ is for custom PAI routines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They are meant for the screen user exits (Additional Data tabs at the header and item level).  They might get called for each screen.  Because they are the "older style" of user exits, you still need a access key.  However, SAP considers changes to these programs as enhancements, not modifications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same applies for USEREXIT_FIELD_MODIFICATION in MV45AFZZ.  This is called for every screen in SD order processing.  With a CASE statement against SCREEN-NAME and a check for the dynpro number, you might be able to manipulate the label values.  If I had access to a system, I would check... but I don't right now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many of the labels reference the labels for the data elements in the data dictionary, so these userexits may not be able to over ride the values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2006 02:43:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-screen-lables-dynamically/m-p/1138812#M113951</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-02T02:43:54Z</dc:date>
    </item>
  </channel>
</rss>

