<?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 Entering data into custom table programmatically in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-into-custom-table-programmatically/m-p/6276853#M1387564</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 want to send data in internal table to a custom Z-table through a report program. How can I do this?&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>Thu, 05 Nov 2009 11:31:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-11-05T11:31:46Z</dc:date>
    <item>
      <title>Entering data into custom table programmatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-into-custom-table-programmatically/m-p/6276853#M1387564</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 want to send data in internal table to a custom Z-table through a report program. How can I do this?&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>Thu, 05 Nov 2009 11:31:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-into-custom-table-programmatically/m-p/6276853#M1387564</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-05T11:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Entering data into custom table programmatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-into-custom-table-programmatically/m-p/6276854#M1387565</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;Please search on SCN. You will get many threads.&lt;/P&gt;&lt;P&gt;Or write Insert and press F1 in abap editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Insert statement is used for this purpose.&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;Dhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2009 11:34:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-into-custom-table-programmatically/m-p/6276854#M1387565</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-05T11:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Entering data into custom table programmatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-into-custom-table-programmatically/m-p/6276855#M1387566</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;You can use INSERT statement to do the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer below code for reference :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: wa TYPE scustom. &lt;/P&gt;&lt;P&gt;wa-id        = '12400177'. &lt;/P&gt;&lt;P&gt;wa-name      = 'Robinson'. &lt;/P&gt;&lt;P&gt;wa-postcode  = '69542'. &lt;/P&gt;&lt;P&gt;wa-city      = 'Heidelberg'. &lt;/P&gt;&lt;P&gt;wa-custtype  = 'P'. &lt;/P&gt;&lt;P&gt;wa-discount  = '003'. &lt;/P&gt;&lt;P&gt;wa-telephone = '06201/44889'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT INTO scustom VALUES wa. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please set to resolved if it answers your question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2009 11:36:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-into-custom-table-programmatically/m-p/6276855#M1387566</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-05T11:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Entering data into custom table programmatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-into-custom-table-programmatically/m-p/6276856#M1387567</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;Create internal table of type z custom table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;populate the data into internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;insert Zcutom from table internal_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnx&lt;/P&gt;&lt;P&gt;RK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2009 11:37:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-into-custom-table-programmatically/m-p/6276856#M1387567</guid>
      <dc:creator>RahulKeshav</dc:creator>
      <dc:date>2009-11-05T11:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: Entering data into custom table programmatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-into-custom-table-programmatically/m-p/6276857#M1387568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi K V Subbarao,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   I guess your requirement is to save the data present in internal table into a custom table.&lt;/P&gt;&lt;P&gt;   If so,&lt;/P&gt;&lt;P&gt;   create the internal table type as custom z table and use the INSERT command to create entries in the z table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2009 11:39:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-into-custom-table-programmatically/m-p/6276857#M1387568</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-05T11:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: Entering data into custom table programmatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-into-custom-table-programmatically/m-p/6276858#M1387569</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;Just refer the code I have posted, &amp;amp; try coding your code according to your requirement. You will find an answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise write the details of your requirement, will suggest you an exact anwer.&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;Abhii...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2009 12:00:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-into-custom-table-programmatically/m-p/6276858#M1387569</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-05T12:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Entering data into custom table programmatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-into-custom-table-programmatically/m-p/6276859#M1387570</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 have written this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT it_status INTO wa_status.&lt;/P&gt;&lt;P&gt;      IF wa_status-m_typ = 'E'.&lt;/P&gt;&lt;P&gt;        wa_ztable-mandt = sy-mandt.&lt;/P&gt;&lt;P&gt;        wa_ztable-aufnr = wa_status-aufnr.&lt;/P&gt;&lt;P&gt;        wa_ztable-objnr = wa_status-objnr.&lt;/P&gt;&lt;P&gt;        wa_ztable-charg = wa_status-charg.&lt;/P&gt;&lt;P&gt;        wa_ztable-matnr = wa_status-matnr.&lt;/P&gt;&lt;P&gt;        wa_ztable-autyp = wa_status-autyp.&lt;/P&gt;&lt;P&gt;        wa_ztable-auart = wa_status-auart.&lt;/P&gt;&lt;P&gt;        wa_ztable-m_typ = wa_status-m_typ.&lt;/P&gt;&lt;P&gt;        wa_ztable-msg = wa_status-msg.&lt;/P&gt;&lt;P&gt;        wa_ztable-user_id = sy-uname.&lt;/P&gt;&lt;P&gt;        wa_ztable-date_occur = sy-datum.&lt;/P&gt;&lt;P&gt;        wa_ztable-aufnr = sy-uzeit.&lt;/P&gt;&lt;P&gt;        INSERT into zqm_qn_testorder values wa_ztable.&lt;/P&gt;&lt;P&gt;        CLEAR wa_ztable.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the records are not appended.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The database table zqm_qn_testorder doesn't have a table maintainence generator created. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it require to create parameter transaction and then pass these vales by calling the transaction?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2009 12:09:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-into-custom-table-programmatically/m-p/6276859#M1387570</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-05T12:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Entering data into custom table programmatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-into-custom-table-programmatically/m-p/6276860#M1387571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just get all teh data into one internla table like ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gt_ztable ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT it_status INTO wa_status.&lt;/P&gt;&lt;P&gt;IF wa_status-m_typ = 'E'.&lt;/P&gt;&lt;P&gt;wa_ztable-mandt = sy-mandt.&lt;/P&gt;&lt;P&gt;wa_ztable-aufnr = wa_status-aufnr.&lt;/P&gt;&lt;P&gt;wa_ztable-objnr = wa_status-objnr.&lt;/P&gt;&lt;P&gt;wa_ztable-charg = wa_status-charg.&lt;/P&gt;&lt;P&gt;wa_ztable-matnr = wa_status-matnr.&lt;/P&gt;&lt;P&gt;wa_ztable-autyp = wa_status-autyp.&lt;/P&gt;&lt;P&gt;wa_ztable-auart = wa_status-auart.&lt;/P&gt;&lt;P&gt;wa_ztable-m_typ = wa_status-m_typ.&lt;/P&gt;&lt;P&gt;wa_ztable-msg = wa_status-msg.&lt;/P&gt;&lt;P&gt;wa_ztable-user_id = sy-uname.&lt;/P&gt;&lt;P&gt;wa_ztable-date_occur = sy-datum.&lt;/P&gt;&lt;P&gt;wa_ztable-aufnr = sy-uzeit.&lt;/P&gt;&lt;P&gt;append wa_ztable to gt_table.&lt;/P&gt;&lt;P&gt;CLEAR wa_ztable.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if gt_table[] is not initial.&lt;/P&gt;&lt;P&gt;insert zcustom_table from table gt_table.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thats it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;RK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2009 12:15:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-into-custom-table-programmatically/m-p/6276860#M1387571</guid>
      <dc:creator>RahulKeshav</dc:creator>
      <dc:date>2009-11-05T12:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Entering data into custom table programmatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-into-custom-table-programmatically/m-p/6276861#M1387572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please post the full code. I need to check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Abhii...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2009 12:16:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-into-custom-table-programmatically/m-p/6276861#M1387572</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-05T12:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Entering data into custom table programmatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-into-custom-table-programmatically/m-p/6276862#M1387573</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;Use Rahul Keshav  code and have a COMMIT WORK. after the insert .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then the database will get modified &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2009 12:20:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-into-custom-table-programmatically/m-p/6276862#M1387573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-05T12:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: Entering data into custom table programmatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-into-custom-table-programmatically/m-p/6276863#M1387574</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;Thanx I have solved the proble. The error is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_ztable-time_occur = sy-uzeit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here. the field name should be this but initally I had given key field aufnr and hence data is not posted properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thax once again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2009 12:36:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/entering-data-into-custom-table-programmatically/m-p/6276863#M1387574</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-05T12:36:09Z</dc:date>
    </item>
  </channel>
</rss>

