<?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: problem in screen painter in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-screen-painter/m-p/5162888#M1195839</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;check the screen fields whether they are initial or not and then insert them into database table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;parameters:
  p_name type char20.

if p_name is not initial.
insert into dbtab from p_name.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will definitely work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;sarvesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Feb 2009 10:45:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-10T10:45:34Z</dc:date>
    <item>
      <title>problem in screen painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-screen-painter/m-p/5162886#M1195837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     i have created a screen with a lot of drop down list boxes and input-output fields...&lt;/P&gt;&lt;P&gt;     this screen has details about projects which the user can create...&lt;/P&gt;&lt;P&gt;     i want the user to be able to create a new project and  insert all the info about that project(fields)&lt;/P&gt;&lt;P&gt;     into the table through that screen...&lt;/P&gt;&lt;P&gt;     all the values in the list box are fetched from transparant table...&lt;/P&gt;&lt;P&gt;     i have been able to retrieve values from table to the screen fields but it is other way round,&lt;/P&gt;&lt;P&gt;     i.e from screen to the table...&lt;/P&gt;&lt;P&gt;     plz help me... how do i do this???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 10:40:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-screen-painter/m-p/5162886#M1195837</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T10:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: problem in screen painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-screen-painter/m-p/5162887#M1195838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi aarti,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PAI of screen.&lt;/P&gt;&lt;P&gt;module save_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LSitBO1-filename = 'XXX' .&lt;/P&gt;&lt;P&gt;update data to dtabase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you explain little bit more i can give u the correct solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 10:45:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-screen-painter/m-p/5162887#M1195838</guid>
      <dc:creator>tarangini_katta</dc:creator>
      <dc:date>2009-02-10T10:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: problem in screen painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-screen-painter/m-p/5162888#M1195839</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;check the screen fields whether they are initial or not and then insert them into database table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;parameters:
  p_name type char20.

if p_name is not initial.
insert into dbtab from p_name.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will definitely work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;sarvesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 10:45:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-screen-painter/m-p/5162888#M1195839</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T10:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: problem in screen painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-screen-painter/m-p/5162889#M1195840</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;Are u unable to transport values from screen to table or table to screen ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 10:47:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-screen-painter/m-p/5162889#M1195840</guid>
      <dc:creator>rejish_balakrishnan</dc:creator>
      <dc:date>2009-02-10T10:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: problem in screen painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-screen-painter/m-p/5162890#M1195841</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;In PBO of the screen just read all relevant data (table with projects) and in PAI in turn update it (db table with new entries) if such were created. In this case you will synchronize db changes with the screen (redisplaying all the table again in PBO after new were added in PAI).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 10:52:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-screen-painter/m-p/5162890#M1195841</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-02-10T10:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: problem in screen painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-screen-painter/m-p/5162891#M1195842</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;Get the details from the screen fields, store it in a workarea and use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;insert into table values wa. "wa is workarea&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can refer to this sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;wa_shop-zshop_id = return_no.
  wa_shop-zuser_id = id.
  wa_shop-zmat = zmat.
  wa_shop-zorder = order_quan.

  INSERT INTO zshop_info VALUES wa_shop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the values from the screen field are populated into the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepthi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Deepthi S on Feb 10, 2009 4:28 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 10:56:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-screen-painter/m-p/5162891#M1195842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T10:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: problem in screen painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-screen-painter/m-p/5162892#M1195843</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;There is a one to one mapping between the screen fields and the fields in your program having same name. &lt;/P&gt;&lt;P&gt;for eg: if you have an i/o box TEXT on screen and in program you have: DATA TEXT(10), then both will contain same data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now to store the data the user enters on the screen into your ztable, you must declare fields with same name as your screen fields in your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in PAI write a module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Process After Input.&lt;/P&gt;&lt;P&gt;  module store_details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: itab type table of urztable with header line,&lt;/P&gt;&lt;P&gt;           NAME(10),&lt;/P&gt;&lt;P&gt;            TEXT(10). "Declare all your screen fields appropriately&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE STORE_DETAILS INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   itab-field1 = NAME.&lt;/P&gt;&lt;P&gt;   itab-field2 = TEXT.&lt;/P&gt;&lt;P&gt;  .&lt;/P&gt;&lt;P&gt;  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT URZTBLE FROM ITAB.          "store in your ztable&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jayanthi.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 11:05:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-screen-painter/m-p/5162892#M1195843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T11:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: problem in screen painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-screen-painter/m-p/5162893#M1195844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    look, i have 3 input output fields and 3 dropdown list boxes on a screen,&lt;/P&gt;&lt;P&gt;    the first i/p o/p field is project_id,  thats the primary key of table zproject_details(a transparant table)&lt;/P&gt;&lt;P&gt;    when i enter the rest of the fields and even select values from list boxes, and then say &lt;/P&gt;&lt;P&gt;    save(push button) i want all these records  to insert into the table zproject_details...&lt;/P&gt;&lt;P&gt;    my project is to store all info details of project in table and to display it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   have i made myself clear???&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 11:06:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-screen-painter/m-p/5162893#M1195844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T11:06:18Z</dc:date>
    </item>
  </channel>
</rss>

