<?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: Urgent Please in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-please/m-p/1603501#M270932</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pratyusha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the second doubt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the table control attributes give the column to be fixed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Sep 2006 10:41:27 GMT</pubDate>
    <dc:creator>former_member404244</dc:creator>
    <dc:date>2006-09-22T10:41:27Z</dc:date>
    <item>
      <title>Urgent Please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-please/m-p/1603498#M270929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello SDN's,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doubt : 1 I have a requirement where in i need to place a button in the table control of a customised screen. when ever user clicks the screen, i should go to a screen similar like SO10, where user keys in some texts in multiple lines.&lt;/P&gt;&lt;P&gt;How to achieve this?&lt;/P&gt;&lt;P&gt;And how should i save the texts entered by the user? i have a Z table which has a field long text, so my question is how to save the texts entered by the user into my Z Table.&lt;/P&gt;&lt;P&gt;Please go through IW32 - &amp;gt; Operations Tab - &amp;gt; LT. the LT is a button which leads to text editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doubt 2 : i have a empty table control, how do i save the entered data into a ztable and i shud not allow the user to enter values in rows which are already being entered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.. its very very urgent&lt;/P&gt;&lt;P&gt;Rewards for sure.&lt;/P&gt;&lt;P&gt;Pratyusha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2006 10:18:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-please/m-p/1603498#M270929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-22T10:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent Please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-please/m-p/1603499#M270930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pratyusha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a screen with one push button.The first screen number is 1001 and second screen number is 1002.Then write the logic in the PAI of that screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 'PB'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;leave to screen 1002.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when u click on push button it will take u next screen.Now design ur second screen like SO10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inorder to save the zfield then u need to write the logic in PAI and under sy-ucomm 'SAVE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2006 10:36:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-please/m-p/1603499#M270930</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2006-09-22T10:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent Please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-please/m-p/1603500#M270931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For LONGTEXT try using the function module EDIT_TEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : header LIKE thead.&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF lines OCCURS 0,&lt;/P&gt;&lt;P&gt;         lines LIKE tline,&lt;/P&gt;&lt;P&gt;       END OF lines.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;AT USER COMMAND WRITE THIS CODE. just design a simple screen with a button on it and try this.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CASE sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN 'LT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      header-tdobject = 'BOM'.&lt;/P&gt;&lt;P&gt;      header-tdid     = 'DKO'.&lt;/P&gt;&lt;P&gt;      header-tdspras  = 'EN'.&lt;/P&gt;&lt;P&gt;      header-tdlinesize = 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'EDIT_TEXT'&lt;/P&gt;&lt;P&gt;           EXPORTING&lt;/P&gt;&lt;P&gt;                header = header&lt;/P&gt;&lt;P&gt;           TABLES&lt;/P&gt;&lt;P&gt;                lines  = lines.&lt;/P&gt;&lt;P&gt;      IF sy-subrc &amp;lt;&amp;gt; 0.&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;  ENDCASE.&lt;/P&gt;&lt;P&gt;&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;Gopi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Gopi Narendra&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2006 10:38:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-please/m-p/1603500#M270931</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2006-09-22T10:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent Please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-please/m-p/1603501#M270932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pratyusha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the second doubt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the table control attributes give the column to be fixed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2006 10:41:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-please/m-p/1603501#M270932</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2006-09-22T10:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent Please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-please/m-p/1603502#M270933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi usha,&lt;/P&gt;&lt;P&gt;Doubt 1: Using okcode or sy-ucomm check for the event in push button then in code,,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when 'SO10'.&lt;/P&gt;&lt;P&gt;SET SCREEN '0010'.   'Screen similar to so10&lt;/P&gt;&lt;P&gt;LEAVE SCREEN.&lt;/P&gt;&lt;P&gt;END CASE&lt;/P&gt;&lt;P&gt;END MODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN Module '0010'&lt;/P&gt;&lt;P&gt;you will be having push button to enter the field text to ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when 'lt'.&lt;/P&gt;&lt;P&gt;INSERT ztable.&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;message&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end module.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2006 10:48:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-please/m-p/1603502#M270933</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-22T10:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent Please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-please/m-p/1603503#M270934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nagraj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for doubt 1 u did not understood me, just see IW32 - &amp;gt; Operations Tab - &amp;gt; LT Column. the LT which is seen there is a Button. so if u press that button you will come to know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My 2nd doubt was i shud nt be able to enter multiple entries in the table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line no   LT      Qty   Unit   Price   Curr&lt;/P&gt;&lt;P&gt;10        BUTTON  10    EA     100     INR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when in enter values in 2nd row i should not be able to enter 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;these values whihc i enter am supposed to store in a Ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pratyusha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2006 10:49:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-please/m-p/1603503#M270934</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-22T10:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent Please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-please/m-p/1603504#M270935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pratyusha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the second doubt,if iam not wrong ur ztable should hv some key(primary).See i have three fields matnr,mtart,werks.I have made matnr as primary key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the PAI event &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop the table control(itab).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now create the pai module and write.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 'SAVE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT matnr werks mtart from ztable&lt;/P&gt;&lt;P&gt;where matnr = itab-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc eq  0.&lt;/P&gt;&lt;P&gt;throw error message saying entry already exists.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;insert ztable.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try like this.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2006 11:05:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-please/m-p/1603504#M270935</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2006-09-22T11:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent Please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-please/m-p/1603505#M270936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SDN,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Urgent Please....HELP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rewards for &amp;lt;b&amp;gt;SURE&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2006 11:06:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-please/m-p/1603505#M270936</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-22T11:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent Please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-please/m-p/1603506#M270937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For your second pt related to error msg on duplicate line no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the module to validate lineno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can just check the internal table where you store the item level data..for the particular lineno..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the count is more than one you should show an error message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2006 11:19:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-please/m-p/1603506#M270937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-22T11:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent Please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-please/m-p/1603507#M270938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Usha,&lt;/P&gt;&lt;P&gt;Please let me know how you have implemented this.&lt;/P&gt;&lt;P&gt;nvreddi@gmail.com&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2007 03:33:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-please/m-p/1603507#M270938</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-10T03:33:21Z</dc:date>
    </item>
  </channel>
</rss>

