<?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: Regarding bdc line items in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc-line-items/m-p/1918145#M381694</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;Do you mean all the values are getting displayed in 1 field or 1 record. If you are doing BDC for a table control, then you would have recorded for only 1 line item and the table index in your recording would have hard coded as &lt;/P&gt;&lt;P&gt;VBAP-MATNR( 01 ). Hence you will have to remove the hardcoding ( 01 ) and give the corresponding Index of the Line item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Feb 2007 06:53:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-12T06:53:38Z</dc:date>
    <item>
      <title>Regarding bdc line items</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc-line-items/m-p/1918142#M381691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi everybody,&lt;/P&gt;&lt;P&gt;                    how r u all.  i have a prob with bdc line items. all the fields r getting displayed in only one field.  tell me clearly how to handle bdc line items.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;sindhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2007 06:47:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc-line-items/m-p/1918142#M381691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-12T06:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding bdc line items</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc-line-items/m-p/1918143#M381692</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 check in the program , have you mapped the header line to one field itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Send me the program that you have been using for your recording.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sunmit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2007 06:51:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc-line-items/m-p/1918143#M381692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-12T06:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding bdc line items</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc-line-items/m-p/1918144#M381693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi umbala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. We have to give like this in table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELDNAME(1)   - for row number 1&lt;/P&gt;&lt;P&gt;FIELDNAME(2)   - for row number 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2007 06:53:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc-line-items/m-p/1918144#M381693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-12T06:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding bdc line items</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc-line-items/m-p/1918145#M381694</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;Do you mean all the values are getting displayed in 1 field or 1 record. If you are doing BDC for a table control, then you would have recorded for only 1 line item and the table index in your recording would have hard coded as &lt;/P&gt;&lt;P&gt;VBAP-MATNR( 01 ). Hence you will have to remove the hardcoding ( 01 ) and give the corresponding Index of the Line item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2007 06:53:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc-line-items/m-p/1918145#M381694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-12T06:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding bdc line items</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc-line-items/m-p/1918146#M381695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;check this code for line items&lt;/P&gt;&lt;P&gt;FORM POPULATE_BDC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:L_COUNTER TYPE N,&lt;/P&gt;&lt;P&gt;         L_STRING TYPE STRING.&lt;/P&gt;&lt;P&gt;LOOP AT IT_CUSTOMER.&lt;/P&gt;&lt;P&gt;AT NEW KUNNR.&lt;/P&gt;&lt;P&gt; CLEAR L_COUNTER.&lt;/P&gt;&lt;P&gt;      L_INDEX = SY-TABIX.&lt;/P&gt;&lt;P&gt;      READ TABLE IT_CUSTOMER INDEX L_INDEX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPMV10A' '0100'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MV10A-KUNNR'&lt;/P&gt;&lt;P&gt;                              IT_CUSTOMER-KUNNR.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MV10A-VKORG'&lt;/P&gt;&lt;P&gt;                              IT_CUSTOMER-VKORG.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MV10A-VTWEG'&lt;/P&gt;&lt;P&gt;                              IT_CUSTOMER-VTWEG.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '/00'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;L_COUNTER = L_COUNTER + 1.&lt;/P&gt;&lt;P&gt;    CLEAR L_STRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPMV10A' '0200'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE 'MV10A-MATNR(' L_COUNTER ')' INTO L_STRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field       using L_STRING&lt;/P&gt;&lt;P&gt;                        IT_CUSTOMER-MATNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE 'MV10A-KDMAT(' L_COUNTER ')' INTO L_STRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field       using     L_STRING&lt;/P&gt;&lt;P&gt;                                 IT_CUSTOMER-KDMAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE 'MV10A-MEGRU(' L_COUNTER ')' INTO L_STRING.&lt;/P&gt;&lt;P&gt;perform bdc_field       using   L_STRING&lt;/P&gt;&lt;P&gt;                                IT_CUSTOMER-MEGRU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '/00'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*-- For Page down in Call Transaction Mode&lt;/P&gt;&lt;P&gt;    IF L_COUNTER = 14.&lt;/P&gt;&lt;P&gt;      CLEAR L_COUNTER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      PERFORM BDC_DYNPRO      USING 'SAPMV45A' '4001'.&lt;/P&gt;&lt;P&gt;      PERFORM BDC_FIELD       USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                            '=P+'.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPMV10A' '0200'.&lt;/P&gt;&lt;P&gt;CONCATENATE 'MV10A-SELKZ(' L_COUNTER ')' INTO L_STRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field       using L_STRING&lt;/P&gt;&lt;P&gt;                          IT_CUSTOMER-SELKZ.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=SELE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPMV10A' '0300'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MV10A-KDMAT'&lt;/P&gt;&lt;P&gt;                              IT_CUSTOMER-KDMAT.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MV10A-LPRIO'&lt;/P&gt;&lt;P&gt;                              IT_CUSTOMER-LPRIO.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MV10A-ANTLF'&lt;/P&gt;&lt;P&gt;                              IT_CUSTOMER-ANTLF.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD       USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                    '/EBACK'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at end of kunnr.&lt;/P&gt;&lt;P&gt; READ TABLE IT_CUSTOMER INDEX L_INDEX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=SICH'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'VD51' USING IT_BDC MODE 'A' UPDATE 'S'&lt;/P&gt;&lt;P&gt;      MESSAGES INTO IT_MESSAGES.&lt;/P&gt;&lt;P&gt;      CLEAR IT_BDC.&lt;/P&gt;&lt;P&gt;      REFRESH IT_BDC.&lt;/P&gt;&lt;P&gt;ENDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF NOT IT_MESSAGES[] IS INITIAL.&lt;/P&gt;&lt;P&gt;    PERFORM FORMAT_MESSAGE.&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;ENDFORM.                    " POPULATE_BDC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;keerthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2007 06:59:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-bdc-line-items/m-p/1918146#M381695</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-12T06:59:27Z</dc:date>
    </item>
  </channel>
</rss>

