<?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: Trip User Data - add button? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/trip-user-data-add-button/m-p/1452302#M214111</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't delete the OK-CODE from the screen, even when I remove all custom fields from it.  OK-CODE is greyed out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm still getting the same error message when I try to change the attributes to type subscreen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Jul 2006 18:08:50 GMT</pubDate>
    <dc:creator>bryan_cain</dc:creator>
    <dc:date>2006-07-06T18:08:50Z</dc:date>
    <item>
      <title>Trip User Data - add button?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trip-user-data-add-button/m-p/1452292#M214101</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;My client would like to add a print button to screen 9999 of SAPMP56T to print a custom Smart Form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have added the button to the screen, and added code to call the smart form when the button is pressed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I run the transaction and click on the user data button, I get the following error message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A: Screen SAPMP56T 9999 must be an Include screen (screen error).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 18:13:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trip-user-data-add-button/m-p/1452292#M214101</guid>
      <dc:creator>bryan_cain</dc:creator>
      <dc:date>2006-07-03T18:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Trip User Data - add button?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trip-user-data-add-button/m-p/1452293#M214102</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;That screen is a subscreen so you should manage the ok_code only in the main screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 18:19:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trip-user-data-add-button/m-p/1452293#M214102</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-03T18:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Trip User Data - add button?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trip-user-data-add-button/m-p/1452294#M214103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Really?  MODULE D9999_OK-CODE isn't the place to check the ok-code that a button sets?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 18:24:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trip-user-data-add-button/m-p/1452294#M214103</guid>
      <dc:creator>bryan_cain</dc:creator>
      <dc:date>2006-07-03T18:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Trip User Data - add button?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trip-user-data-add-button/m-p/1452295#M214104</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;I don't know the code of that program very well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway you can insert a pushbutton in a subscreen but it'd be better manage all in PAI of main screen, but if the std programm just manages ok_code in PAI of that subscreen, you do it too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case check when the error is triggered by debug because it seem you're trying to use the 9999 as main screen: perhaps have you changed the attribute of the screen? See the screen type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've the same error when i try to call a main screen in a subarea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 18:34:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trip-user-data-add-button/m-p/1452295#M214104</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-03T18:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: Trip User Data - add button?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trip-user-data-add-button/m-p/1452296#M214105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have SET PF-STATUS or LEAVE SCREEN in the screen modules of 9999?, they should not be there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 18:39:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trip-user-data-add-button/m-p/1452296#M214105</guid>
      <dc:creator>sridhar_k1</dc:creator>
      <dc:date>2006-07-03T18:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Trip User Data - add button?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trip-user-data-add-button/m-p/1452297#M214106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, none of that.  Here is all the code we put in there:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  case sa-code.
    when 'PICK'.
      daten_input = 'X'.
      get cursor field cursor_field
                 line  cursor_line.
*{   INSERT  1
*for Print Expense Report
when 'PRNT'.
include zte_exp_print_report.
*}   INSERT
  endcase.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZTE_EXP_PRINT_REPORT is just a program that calls the smart form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Bryan Cain&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 18:43:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trip-user-data-add-button/m-p/1452297#M214106</guid>
      <dc:creator>bryan_cain</dc:creator>
      <dc:date>2006-07-03T18:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Trip User Data - add button?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trip-user-data-add-button/m-p/1452298#M214107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The error is triggered as soon as it hits&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL SUBSCREEN USERDATA INCLUDING 'SAPMP56T'
   '9999'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hmm.  It appears that the screen type is a modal dialog box.  Let me see if changing that fixes it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 18:47:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trip-user-data-add-button/m-p/1452298#M214107</guid>
      <dc:creator>bryan_cain</dc:creator>
      <dc:date>2006-07-03T18:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Trip User Data - add button?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trip-user-data-add-button/m-p/1452299#M214108</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;ZTE_EXP_PRINT_REPORT is a program? It should be an INCLUDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But exactly when does error occur? As soon as you press the button or when it runs ZTE_EXP_PRINT_REPORT?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 18:48:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trip-user-data-add-button/m-p/1452299#M214108</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-03T18:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Trip User Data - add button?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trip-user-data-add-button/m-p/1452300#M214109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is an include.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error happens as soon as you press the button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The screen is currently defined as a modal dialog, however, when I try to change it to a subscreen, I'm getting this error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delete the name OK-CODE of the OK_CODE field first.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 18:59:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trip-user-data-add-button/m-p/1452300#M214109</guid>
      <dc:creator>bryan_cain</dc:creator>
      <dc:date>2006-07-03T18:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Trip User Data - add button?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trip-user-data-add-button/m-p/1452301#M214110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bryan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the type screen is wrong: it has to be a subscreen and not modal dialog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So:&lt;/P&gt;&lt;P&gt;- Delete OK_CODE from elements list&lt;/P&gt;&lt;P&gt;- Set flag "SUBSCREEN"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function code of your pushbutton insert in the 9999 will be stored in OK_CODE of main dynpro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remember the subscreen is a screen can't "survival" alone, but it need main screen. So some elemants of subscreen are given from the main.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.s.: in my system that screen is defined as subscreen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2006 07:29:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trip-user-data-add-button/m-p/1452301#M214110</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-04T07:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: Trip User Data - add button?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trip-user-data-add-button/m-p/1452302#M214111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't delete the OK-CODE from the screen, even when I remove all custom fields from it.  OK-CODE is greyed out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm still getting the same error message when I try to change the attributes to type subscreen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2006 18:08:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trip-user-data-add-button/m-p/1452302#M214111</guid>
      <dc:creator>bryan_cain</dc:creator>
      <dc:date>2006-07-06T18:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Trip User Data - add button?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trip-user-data-add-button/m-p/1452303#M214112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Screen painter won't let u delete the line with element type OK. Set attriburts back to modal diaog box, clear OK-CODE from name field, set the attribures to Sub screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2006 18:18:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trip-user-data-add-button/m-p/1452303#M214112</guid>
      <dc:creator>sridhar_k1</dc:creator>
      <dc:date>2006-07-06T18:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Trip User Data - add button?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trip-user-data-add-button/m-p/1452304#M214113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Changing to modal dialog box still won't let me delete the OK code line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I opened an OSS note - in the meantime, any other ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2006 18:55:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trip-user-data-add-button/m-p/1452304#M214113</guid>
      <dc:creator>bryan_cain</dc:creator>
      <dc:date>2006-07-06T18:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Trip User Data - add button?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trip-user-data-add-button/m-p/1452305#M214114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAP is not being very helpful, not surprisingly.  They pointed me to some documentation that didn't answer my question at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does it make sense for me to be getting the subscreen error before I've even made any changes to the page?  In other words, the user data screen is activated, but we have changed nothing, and when you press the user data button, we get this error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A: Screen SAPMP56T 9999 must be an Include screen (screen error).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should it be doing that before I've changed anything?  That seems strange to me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Jul 2006 14:33:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trip-user-data-add-button/m-p/1452305#M214114</guid>
      <dc:creator>bryan_cain</dc:creator>
      <dc:date>2006-07-08T14:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Trip User Data - add button?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trip-user-data-add-button/m-p/1452306#M214115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brian,&lt;/P&gt;&lt;P&gt;         I am having the same problem with screen 9999 and the call to it as a subscreen from screen 3999.  Did you ever get this fixed and if so what did you do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 15:16:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trip-user-data-add-button/m-p/1452306#M214115</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T15:16:48Z</dc:date>
    </item>
  </channel>
</rss>

