<?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: module pool-table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control/m-p/3289659#M787097</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunitha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To update the standard SAP tables, you will need to have an access key.&lt;/P&gt;&lt;P&gt;But it is not usually done as the values that you want to change might dependant on many other tables which might be a problem.&lt;/P&gt;&lt;P&gt;But to change the values in a table,you will have to use BDC,BAPI,LSMW or a transaction code where in you can modify data in a standard table.&lt;/P&gt;&lt;P&gt;I think the BAPI to change a planned order is BAPI_PLANNEDORDER_CHANGE.&lt;/P&gt;&lt;P&gt;You can also change the values in a standard table by using a MODIFY statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in order to change the values in the standard table,you need the access key.&lt;/P&gt;&lt;P&gt;It is not advisable to change a standard table in general for the reasons mentioned above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kashyap Ivaturi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jan 2008 13:58:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-03T13:58:43Z</dc:date>
    <item>
      <title>module pool-table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control/m-p/3289655#M787093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am doing module pool program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this i need to create 2screens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one for input and the other for output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the input screen i have 3 fields from 2 diff standard tables and a push button(display).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the output screen i have created a table control with 7fields from 3diff tables and certain push buttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after giving the input if i click on the push button (display) it must go to the output screen and display all the relevant fields in the output screen of the table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after it displays the fields, i must be able to change, delete and merge fields. these changes must be updated even in the standard tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can someone pleaseeeee help me out with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need step wise procedure for this as i am doing my 1st object in module pool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards&lt;/P&gt;&lt;P&gt;-Sunitha.S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2008 10:40:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control/m-p/3289655#M787093</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-02T10:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: module pool-table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control/m-p/3289656#M787094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunitha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you enter the details in the input screen and press the push button(display),inorder to navigate to the output screen, you need to write a code for this in a PAI module of the input screen.The code for this would be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case SY-UCOMM.&lt;/P&gt;&lt;P&gt;when 'DISPLAY'.&lt;/P&gt;&lt;P&gt;call screen 200.            *** 200 is the screen number of the output screen***&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and inorder to display all the relevant fields in the table control in the output screen,you need to write a select querry which would get all the relevant details required into an internal table.This internal table is used for the table control.&lt;/P&gt;&lt;P&gt;The select querry needs to be written in the PBO of the output screen.The code will be :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * INTO CORRESPONDING FIELDS OF ITAB FROM Z84433_MOVIE INNER JOIN&lt;/P&gt;&lt;P&gt;Z84433_BOOKING ON Z84433_MOVIE&lt;SUB&gt;MOV_CODE = Z84433_BOOKING&lt;/SUB&gt;MOV_CODE .&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here in the select querry, itab is the name of the internal table which is used for the table control.So when the internal table is populated,the details would automatically be visible in the table control in the output screen. As u can see in the select querry above, the details are being populated from two Z tables.Here an inner  join has to be used inorder to match with the details in all the talbes and in the where condition the entered value in the first screen is checked with the value present in the reference table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then change the values in the table control and to update those fields in the reference tables,the following code has to be written in a PAI module of  the output screen.&lt;/P&gt;&lt;P&gt;This code works when a push button save is pressed in the output screen.The button has to be created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case SY-UCOMM.&lt;/P&gt;&lt;P&gt;when "SAVE'.              &lt;/P&gt;&lt;P&gt; LOOP AT itab.              "itab is the internal table used for the table control.&lt;/P&gt;&lt;P&gt;ztm09_ekpo-ebeln = ztm09_ekko-ebeln.   "ztm09_ekko and ztm09_ekpo are the names of the Z Tables.&lt;/P&gt;&lt;P&gt;ztm09_ekpo-ebelp = tb_line-ebelp. &lt;/P&gt;&lt;P&gt;ztm09_ekpo-matnr = tb_line-matnr.&lt;/P&gt;&lt;P&gt;ztm09_ekpo-menge = tb_line-menge.&lt;/P&gt;&lt;P&gt;ztm09_ekpo-meins = tb_line-meins.&lt;/P&gt;&lt;P&gt;ztm09_ekpo-netpr = tb_line-netpr.&lt;/P&gt;&lt;P&gt;ztm09_ekpo-waers = tb_line-waers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*****&lt;STRONG&gt;Update the entries into item table&lt;/STRONG&gt;*****&lt;/P&gt;&lt;P&gt;MODIFY ztm09_ekpo.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpfull&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kashyap Ivaturi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Kashyap Ivaturi on Jan 2, 2008 3:50 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2008 14:50:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control/m-p/3289656#M787094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-02T14:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: module pool-table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control/m-p/3289657#M787095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sir thanks for the help..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but sir the coding u have sent is for updating z tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;our requirement is to update the standard tables it self.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;INPUT&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Plant (WERKS)&lt;/P&gt;&lt;P&gt;MRP Controller (MARC-DISPO)&lt;/P&gt;&lt;P&gt;DATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;OUT PUT&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;WORK SCHEDULE NO: 		MERGE(push button)&lt;/P&gt;&lt;P&gt;PLANNED ORDER NO	&lt;/P&gt;&lt;P&gt;MATERIAL NO	&lt;/P&gt;&lt;P&gt;MATERIAL DESCRIPTION	&lt;/P&gt;&lt;P&gt;QUANTITY&lt;/P&gt;&lt;P&gt;SET&lt;/P&gt;&lt;P&gt;PRIORITY&lt;/P&gt;&lt;P&gt;					&lt;/P&gt;&lt;P&gt;					&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WORK SCHEDULE NO: should be taken from req plan number (PLAF/PBIM-PBDNR)&lt;/P&gt;&lt;P&gt;PLANNED ORDER NO (PLAF-PLNUM)&lt;/P&gt;&lt;P&gt;MATERIAL NUMBER (PLAF-MATNR)&lt;/P&gt;&lt;P&gt;MATERIAL DESCRIPTION&lt;/P&gt;&lt;P&gt;QUANTITY (PLAF-GSMNG)&lt;/P&gt;&lt;P&gt;SET: here provision should be given to enter the numeric value (default it should be 1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PRIORITY: provision should be given to enter the numeric value&lt;/P&gt;&lt;P&gt;MERGE: this can be a push button, which is used to merge two planned orders into one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our objective is to create a customized screen in which user can change the planned orders. System should display the existing planned orders list and should be allowed to change the quantity, delete the planned order and create new planned order (change the material). It should also firm the parent planned order&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sir please help me with this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2008 05:24:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control/m-p/3289657#M787095</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-03T05:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: module pool-table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control/m-p/3289658#M787096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai &lt;/P&gt;&lt;P&gt;   Input u enter the 3 three values .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First compare the Date with Work Schedule number then taken that work schedule number compare with palnned order .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way u do ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2008 10:59:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control/m-p/3289658#M787096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-03T10:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: module pool-table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control/m-p/3289659#M787097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunitha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To update the standard SAP tables, you will need to have an access key.&lt;/P&gt;&lt;P&gt;But it is not usually done as the values that you want to change might dependant on many other tables which might be a problem.&lt;/P&gt;&lt;P&gt;But to change the values in a table,you will have to use BDC,BAPI,LSMW or a transaction code where in you can modify data in a standard table.&lt;/P&gt;&lt;P&gt;I think the BAPI to change a planned order is BAPI_PLANNEDORDER_CHANGE.&lt;/P&gt;&lt;P&gt;You can also change the values in a standard table by using a MODIFY statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in order to change the values in the standard table,you need the access key.&lt;/P&gt;&lt;P&gt;It is not advisable to change a standard table in general for the reasons mentioned above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kashyap Ivaturi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2008 13:58:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool-table-control/m-p/3289659#M787097</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-03T13:58:43Z</dc:date>
    </item>
  </channel>
</rss>

