<?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 - Header with multiple line items. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-header-with-multiple-line-items/m-p/1584051#M263355</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;See the below link for sample codes....&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-basis-abap.com/abap/handling-table-control-in-bdc.htm" target="test_blank"&gt;http://www.sap-basis-abap.com/abap/handling-table-control-in-bdc.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm" target="test_blank"&gt;http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mark all the helpful answers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Sep 2006 16:53:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-18T16:53:32Z</dc:date>
    <item>
      <title>BDC - Header with multiple line items.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-header-with-multiple-line-items/m-p/1584049#M263353</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;Can anybody please suggest how the BDC data needs to be uploaded if a particular Header item has multiple Line items attached to it? Its only sometimes we get the data wherein 1 header has 1 line item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Innova&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2006 16:24:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-header-with-multiple-line-items/m-p/1584049#M263353</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-18T16:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: BDC - Header with multiple line items.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-header-with-multiple-line-items/m-p/1584050#M263354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;When you have enter multiple line in BDC for a table control use call transaction tcode using i_bdcdata options from opt message into i_messages. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the below example.&lt;/P&gt;&lt;P&gt;data: lws_cnt type char2,&lt;/P&gt;&lt;P&gt;lws_field type char15.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT i_invoicing_plan INTO wa_invoicing_plan.&lt;/P&gt;&lt;P&gt;lws_cnt = sy-tabix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;input = lws_cnt &lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;output = lws_cnt .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE 'FPLT-AFDAT(' lws_cnt ')' INTO lws_field.&lt;/P&gt;&lt;P&gt;CONCATENATE wa_invoicing_plan-date+6(2)&lt;/P&gt;&lt;P&gt;wa_invoicing_plan-date+4(2)&lt;/P&gt;&lt;P&gt;wa_invoicing_plan-date+0(4) INTO lws_date&lt;/P&gt;&lt;P&gt;SEPARATED BY '.'.&lt;/P&gt;&lt;P&gt;PERFORM bdc_field USING lws_field lws_date.&lt;/P&gt;&lt;P&gt;CONCATENATE 'FPLT-FPROZ(' lws_cnt ')' INTO lws_field.&lt;/P&gt;&lt;P&gt;lws_perct = wa_invoicing_plan-percentage.&lt;/P&gt;&lt;P&gt;CONDENSE lws_perct.&lt;/P&gt;&lt;P&gt;PERFORM bdc_field USING lws_field lws_perct.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While calling the transaction give like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: opt TYPE ctu_params.&lt;/P&gt;&lt;P&gt;opt-dismode = 'N'.&lt;/P&gt;&lt;P&gt;opt-updmode = 'A'.&lt;/P&gt;&lt;P&gt;opt-defsize = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION tcode&lt;/P&gt;&lt;P&gt;USING i_bdcdata OPTIONS FROM opt MESSAGES INTO i_messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT i_messages.&lt;/P&gt;&lt;P&gt;ENDLOOP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prakash.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2006 16:50:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-header-with-multiple-line-items/m-p/1584050#M263354</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-18T16:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: BDC - Header with multiple line items.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-header-with-multiple-line-items/m-p/1584051#M263355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;See the below link for sample codes....&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-basis-abap.com/abap/handling-table-control-in-bdc.htm" target="test_blank"&gt;http://www.sap-basis-abap.com/abap/handling-table-control-in-bdc.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm" target="test_blank"&gt;http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mark all the helpful answers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2006 16:53:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-header-with-multiple-line-items/m-p/1584051#M263355</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-18T16:53:32Z</dc:date>
    </item>
  </channel>
</rss>

