<?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: Questions on BDC program statements..... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/questions-on-bdc-program-statements/m-p/2690022#M622267</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;There must be a table control in this screen. So the first entry is denoted as (01) second as (02) and so on in the table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 18 Aug 2007 02:50:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-18T02:50:32Z</dc:date>
    <item>
      <title>Questions on BDC program statements.....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/questions-on-bdc-program-statements/m-p/2690021#M622266</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;Currently i am checking below BDC program for packing material use.&lt;/P&gt;&lt;P&gt;But there is a statement that i am not very clear what it is for...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;    PERFORM bdc_field       USING 'BDC_CURSOR'
                                  'V51VE-EXIDV(01)'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the  'V51VE-EXIDV(01)', here why need to add an (01) at the end.  What does the (01) means??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!!!&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;PRE&gt;&lt;CODE&gt;
  LOOP AT i_lips.

    CLEAR: i_bdc_tab,i_msg_tab.
    REFRESH: i_bdc_tab,i_msg_tab.

    PERFORM bdc_dynpro      USING 'SAPMV50A' '4004'.
    PERFORM bdc_field       USING 'BDC_CURSOR'
                                  'LIKP-VBELN'.
    PERFORM bdc_field       USING 'BDC_OKCODE'
                                  '/00'.
    PERFORM bdc_field       USING 'LIKP-VBELN'
                                  i_lips-vbeln.
    PERFORM bdc_dynpro      USING 'SAPMV50A' '1000'.
    PERFORM bdc_field       USING 'BDC_OKCODE'
                                  '=VERP_T'.
*perform bdc_field       using 'LIKP-BLDAT'
*                              record-BLDAT_002.
    PERFORM bdc_field       USING 'BDC_CURSOR'
                                  'LIPS-POSNR(01)'.
*perform bdc_field       using 'LIKP-WADAT'
*                              record-WADAT_003.
*perform bdc_field       using 'LIKP-WAUHR'
*                              record-WAUHR_004.
*perform bdc_field       using 'LIKP-BTGEW'
*                              record-BTGEW_005.
*perform bdc_field       using 'LIKP-GEWEI'
*                              record-GEWEI_006.
    PERFORM bdc_dynpro      USING 'SAPLV51G' '6000'.
    PERFORM bdc_field       USING 'BDC_OKCODE'
                                  '=ENTR'.
    PERFORM bdc_field       USING 'BDC_CURSOR'
                                  'V51VE-VHILM(01)'.
    PERFORM bdc_field       USING 'V51VE-VHILM(01)'
                                  'BOX'.
*Select all materails
    PERFORM bdc_dynpro      USING 'SAPLV51G' '6000'.
    PERFORM bdc_field       USING 'BDC_OKCODE'
                                  '=HU_MARKA'.

*Select all Boxes
    PERFORM bdc_dynpro      USING 'SAPLV51G' '6000'.
    PERFORM bdc_field       USING 'BDC_OKCODE'
                                  '=HUMARKHU'.

*perform bdc_field       using 'V51VE-SELKZ(01)'
*                              record-SELKZ_01_008.
    PERFORM bdc_dynpro      USING 'SAPLV51G' '6000'.
    PERFORM bdc_field       USING 'BDC_OKCODE'
                                  '=HU_VERP'.
    PERFORM bdc_field       USING 'BDC_CURSOR'
                                  'V51VE-EXIDV(01)'.
    PERFORM bdc_dynpro      USING 'SAPLV51G' '6000'.
    PERFORM bdc_field       USING 'BDC_OKCODE'
                                  '=SICH'.
    PERFORM bdc_field       USING 'BDC_CURSOR'
                                  'V51VE-EXIDV(01)'.

    CALL TRANSACTION 'VL02N' USING i_bdc_tab
                      MODE p_mode
                      MESSAGES INTO i_msg_tab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Hoo Laa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Aug 2007 02:46:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/questions-on-bdc-program-statements/m-p/2690021#M622266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-18T02:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Questions on BDC program statements.....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/questions-on-bdc-program-statements/m-p/2690022#M622267</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;There must be a table control in this screen. So the first entry is denoted as (01) second as (02) and so on in the table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Aug 2007 02:50:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/questions-on-bdc-program-statements/m-p/2690022#M622267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-18T02:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Questions on BDC program statements.....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/questions-on-bdc-program-statements/m-p/2690023#M622268</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;PRE&gt;&lt;CODE&gt;
    PERFORM bdc_field       USING 'BDC_CURSOR'
                                  'V51VE-EXIDV(01)'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its for placing the cursor in the first line of the table control in field V51VE-EXIDV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Aug 2007 02:58:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/questions-on-bdc-program-statements/m-p/2690023#M622268</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-08-18T02:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Questions on BDC program statements.....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/questions-on-bdc-program-statements/m-p/2690024#M622269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And if this is a BDC running in background, or a call transaction, then placing the cursor on a given field has no effect unless it is needed for navigation to the next screen.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you record a BDC using SHDB there are a lot of statements like this that are added in but are not needed for the BDC to work.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another example is the "BDC_SUBSCR" field name - this does not in most cases appear to have any effect on how the BDC is processed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, the recording will include fields which have default values on the screen that you do not need to overwrite with the same value from the BDC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I often delete these statements from the recording, taking care that I understand what the impact is.  You can try commenting out the line and see what difference it makes to processing.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When using a BDC for updating a lot of records, having less of these types of lines in the BDCDATA table will speed performance a bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Aug 2007 03:45:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/questions-on-bdc-program-statements/m-p/2690024#M622269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-18T03:45:13Z</dc:date>
    </item>
  </channel>
</rss>

