<?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: BDC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2577251#M589033</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sandeep,&lt;/P&gt;&lt;P&gt;Here is an example where I am &lt;/P&gt;&lt;P&gt;Creating one BDC program with transaction ME21.&lt;/P&gt;&lt;P&gt;Transaction ME21 is related to purchase order creation.&lt;/P&gt;&lt;P&gt;First record the session from SM35.&lt;/P&gt;&lt;P&gt;Identify the screens and fields populated to create purchase order.&lt;/P&gt;&lt;P&gt;Create program using recorded session from SM35.&lt;/P&gt;&lt;P&gt;Use appropriate logic for page plus in case there are multiple line items more than table control.&lt;/P&gt;&lt;P&gt;Create session with input file by using BDC program.&lt;/P&gt;&lt;P&gt;Go to SM35, run the session, here we have different types of modes to run the session select one mode and run the session.&lt;/P&gt;&lt;P&gt;Find out whether the session is successful or erroneous.&lt;/P&gt;&lt;P&gt;Go to error log to see what is the problem when ever the transaction is erroneous.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First screen       :	This is header screen for purchase order creation. The fields are vendor number, purchase order type, purchase order date, currency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second screen  : 	This is the purchase order item screen. The fields are item category, account assignment, material number, material short description, Quantity, Delivery date, Net price, material group, plant.&lt;/P&gt;&lt;P&gt;Third screen      : 	This is the purchase order item account assignment. Based on input value of item category is empty and account assignment is K.&lt;/P&gt;&lt;P&gt;Fourth screen    : 	This is purchase order service screen here user enters Service text, Quantity, Gross price, Unit of measure.&lt;/P&gt;&lt;P&gt;Fifth screen       : 	This is purchase order service sub screen here user enters cost center  and GL account value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this the recording is done. Then the recorded program is used in the object. When this object is executed with BDC_INSERT method without submitting the BDC,  we can go to SM35 to manually process the BDC. If we execute the program while submitting the BDC , the BDC processing will be done automatically. The following slides explain the manual processing of a BDC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will be a useful example  reward points if  useful &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;cheers!!!&lt;/P&gt;&lt;P&gt;Twinkle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Aug 2007 09:17:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-01T09:17:46Z</dc:date>
    <item>
      <title>BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2577250#M589032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;           how to upload data into SPFLI,SFLIGHT,SBOOK Tables using a program?&lt;/P&gt;&lt;P&gt;           show also the program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2007 12:08:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2577250#M589032</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-27T12:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2577251#M589033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sandeep,&lt;/P&gt;&lt;P&gt;Here is an example where I am &lt;/P&gt;&lt;P&gt;Creating one BDC program with transaction ME21.&lt;/P&gt;&lt;P&gt;Transaction ME21 is related to purchase order creation.&lt;/P&gt;&lt;P&gt;First record the session from SM35.&lt;/P&gt;&lt;P&gt;Identify the screens and fields populated to create purchase order.&lt;/P&gt;&lt;P&gt;Create program using recorded session from SM35.&lt;/P&gt;&lt;P&gt;Use appropriate logic for page plus in case there are multiple line items more than table control.&lt;/P&gt;&lt;P&gt;Create session with input file by using BDC program.&lt;/P&gt;&lt;P&gt;Go to SM35, run the session, here we have different types of modes to run the session select one mode and run the session.&lt;/P&gt;&lt;P&gt;Find out whether the session is successful or erroneous.&lt;/P&gt;&lt;P&gt;Go to error log to see what is the problem when ever the transaction is erroneous.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First screen       :	This is header screen for purchase order creation. The fields are vendor number, purchase order type, purchase order date, currency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second screen  : 	This is the purchase order item screen. The fields are item category, account assignment, material number, material short description, Quantity, Delivery date, Net price, material group, plant.&lt;/P&gt;&lt;P&gt;Third screen      : 	This is the purchase order item account assignment. Based on input value of item category is empty and account assignment is K.&lt;/P&gt;&lt;P&gt;Fourth screen    : 	This is purchase order service screen here user enters Service text, Quantity, Gross price, Unit of measure.&lt;/P&gt;&lt;P&gt;Fifth screen       : 	This is purchase order service sub screen here user enters cost center  and GL account value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this the recording is done. Then the recorded program is used in the object. When this object is executed with BDC_INSERT method without submitting the BDC,  we can go to SM35 to manually process the BDC. If we execute the program while submitting the BDC , the BDC processing will be done automatically. The following slides explain the manual processing of a BDC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will be a useful example  reward points if  useful &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;cheers!!!&lt;/P&gt;&lt;P&gt;Twinkle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 09:17:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2577251#M589033</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T09:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2577252#M589034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SPFLI,SFLIGHT,SBOOK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;they above table are directly insert values.&lt;/P&gt;&lt;P&gt;becaues display maintance allowed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_code se11&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tab-&amp;gt;field.&lt;/P&gt;&lt;P&gt;utilitize -&amp;gt;table content -&amp;gt;crate entirs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using bdc program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 09:21:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2577252#M589034</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T09:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2577253#M589035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The INSERT statement is used to insert values into a single database table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This graphic is explained in the accompanying text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;insert statement&amp;gt; ::= INSERT INTO &amp;lt;table name&amp;gt; &amp;lt;insert column list&amp;gt; &amp;lt;insert source&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;insert source&amp;gt; ::= VALUES '(' &amp;lt;value&amp;gt; ( ',' &amp;lt;value&amp;gt; )* ')'&lt;/P&gt;&lt;P&gt;                            | &amp;lt;query specification&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;value&amp;gt; ::= &amp;lt;value expression&amp;gt;&lt;/P&gt;&lt;P&gt;                | &amp;lt;dynamic parameter specification&amp;gt;&lt;/P&gt;&lt;P&gt;                | NULL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;insert column list&amp;gt; ::= '(' &amp;lt;column name&amp;gt; ( ',' &amp;lt;column name&amp;gt; )* ')'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Open SQL the &amp;lt;insert column list&amp;gt; is not optional.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Caution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot specify string literals as values for CLOB columns. Hex literals are not supported in Open SQL.&lt;/P&gt;&lt;P&gt;Examples&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT INTO employees (employee_id, employee_name)&lt;/P&gt;&lt;P&gt;              VALUES (4711, 'John Smith')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inserting Values. A new row is inserted into the table employees with the values 4711 and 'John Smith' for the columns employee_id and employee_name respectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT INTO well_paid_employees (employee_id, salary)&lt;/P&gt;&lt;P&gt;             SELECT employee_id, salary&lt;/P&gt;&lt;P&gt;                            FROM employees&lt;/P&gt;&lt;P&gt;                            WHERE salary &amp;gt; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inserting the Result of a Query.  The employee_idand the salaryof all employees from table employeeswith a salary exceeding a certain value are inserted into the table well_paid_employees.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also refer this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdb.org/7.4/htmhelp/34/ee7fb7293911d3a97d00a0c9449261/content.htm" target="test_blank"&gt;http://www.sapdb.org/7.4/htmhelp/34/ee7fb7293911d3a97d00a0c9449261/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;srinivas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;*&lt;STRONG&gt;reward for useful answers&lt;/STRONG&gt;*&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 09:59:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/2577253#M589035</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T09:59:34Z</dc:date>
    </item>
  </channel>
</rss>

