<?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 bdc in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/3194670#M761242</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is page up and page down in bdc?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Dec 2007 10:39:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-07T10:39:00Z</dc:date>
    <item>
      <title>bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/3194670#M761242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is page up and page down in bdc?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2007 10:39:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/3194670#M761242</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-07T10:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/3194671#M761243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Step loops are repeated blocks of field in a screen.&lt;/P&gt;&lt;P&gt;Step loops: Method of displaying a set of records.&lt;/P&gt;&lt;P&gt;Page down  &amp;amp; Page up used make step loops work: decrement / increment base counter&lt;/P&gt;&lt;P&gt;Index = base + sy-step1 &amp;#150; 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example of a step loop is a table control in that we find in some sap transactions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAMPLE CODE:&lt;/P&gt;&lt;P&gt;see this example.&lt;/P&gt;&lt;P&gt;report ZBH_PURORDER no standard page heading line-size 255.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS:P_FILE LIKE IBIPPARMS-PATH.&lt;/P&gt;&lt;P&gt;DATA FILENAME TYPE STRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'F4_FILENAME'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;program_name = sy-cprog&lt;/P&gt;&lt;P&gt;dynpro_number = sy-dynnr&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;file_name = P_FILE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;FILENAME = P_FILE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:BEGIN OF XTAB OCCURS 0,&lt;/P&gt;&lt;P&gt;TYP,&lt;/P&gt;&lt;P&gt;DES(255) TYPE C,&lt;/P&gt;&lt;P&gt;END OF XTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:BEGIN OF ITAB OCCURS 0,&lt;/P&gt;&lt;P&gt;SUPERFIELD LIKE MEPO_TOPLINE-SUPERFIELD,&lt;/P&gt;&lt;P&gt;EKORG LIKE MEPO1222-EKORG,&lt;/P&gt;&lt;P&gt;EKGRP LIKE MEPO1222-EKGRP,&lt;/P&gt;&lt;P&gt;BUKRS LIKE MEPO1222-BUKRS,&lt;/P&gt;&lt;P&gt;END OF ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:BEGIN OF JTAB OCCURS 0,&lt;/P&gt;&lt;P&gt;N(4) TYPE C,&lt;/P&gt;&lt;P&gt;EMATN LIKE MEPO1211-EMATN,&lt;/P&gt;&lt;P&gt;MENGE(13) TYPE C,&lt;/P&gt;&lt;P&gt;NETPR(13) TYPE C,&lt;/P&gt;&lt;P&gt;NAME1 LIKE MEPO1211-NAME1,&lt;/P&gt;&lt;P&gt;END OF JTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:BDCTAB LIKE BDCDATA OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:DELIMITER VALUE '*'.&lt;/P&gt;&lt;P&gt;DATA A TYPE I.&lt;/P&gt;&lt;P&gt;DATA M(4) TYPE N.&lt;/P&gt;&lt;P&gt;DATA L_FNAM(30) TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;FILENAME = FILENAME&lt;/P&gt;&lt;P&gt;FILETYPE = 'ASC'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;DATA_TAB = XTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT XTAB.&lt;/P&gt;&lt;P&gt;IF XTAB-TYP = 'H'.&lt;/P&gt;&lt;P&gt;SPLIT XTAB-DES AT DELIMITER INTO ITAB-SUPERFIELD ITAB-EKORG ITAB-EKGRP&lt;/P&gt;&lt;P&gt;ITAB-BUKRS.&lt;/P&gt;&lt;P&gt;JTAB-N = JTAB-N + 1.&lt;/P&gt;&lt;P&gt;APPEND ITAB.&lt;/P&gt;&lt;P&gt;ELSEIF XTAB-TYP = 'I'.&lt;/P&gt;&lt;P&gt;SPLIT XTAB-DES AT DELIMITER INTO JTAB-EMATN JTAB-MENGE JTAB-NETPR&lt;/P&gt;&lt;P&gt;JTAB-NAME1.&lt;/P&gt;&lt;P&gt;APPEND JTAB.&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;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BDC_OPEN_GROUP'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;CLIENT = SY-MANDT&lt;/P&gt;&lt;P&gt;GROUP = 'PORDER'&lt;/P&gt;&lt;P&gt;KEEP = 'X'&lt;/P&gt;&lt;P&gt;USER = SY-UNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;A = SY-TABIX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REFRESH BDCTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPLMEGUI' '0014'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;'MEPO_TOPLINE-SUPERFIELD'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO_TOPLINE-BSART'&lt;/P&gt;&lt;P&gt;'NB'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO_TOPLINE-SUPERFIELD'&lt;/P&gt;&lt;P&gt;ITAB-SUPERFIELD.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO_TOPLINE-BEDAT'&lt;/P&gt;&lt;P&gt;'09.02.2007'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'DYN_6000-LIST'&lt;/P&gt;&lt;P&gt;' 1'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'=MEV4000BUTTON'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPLMEGUI' '0014'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO_TOPLINE-BSART'&lt;/P&gt;&lt;P&gt;'NB'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO_TOPLINE-SUPERFIELD'&lt;/P&gt;&lt;P&gt;ITAB-SUPERFIELD.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO_TOPLINE-BEDAT'&lt;/P&gt;&lt;P&gt;'09.02.2007'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;'MEPO1222-EKORG'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO1222-EKORG'&lt;/P&gt;&lt;P&gt;ITAB-EKORG.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO1222-EKGRP'&lt;/P&gt;&lt;P&gt;ITAB-EKGRP.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO1222-BUKRS'&lt;/P&gt;&lt;P&gt;ITAB-BUKRS.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'DYN_6000-LIST'&lt;/P&gt;&lt;P&gt;' 1'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'=MEV4001BUTTON'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPLMEGUI' '0014'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO_TOPLINE-BSART'&lt;/P&gt;&lt;P&gt;'NB'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO_TOPLINE-SUPERFIELD'&lt;/P&gt;&lt;P&gt;ITAB-SUPERFIELD.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO_TOPLINE-BEDAT'&lt;/P&gt;&lt;P&gt;'09.02.2007'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO1222-EKORG'&lt;/P&gt;&lt;P&gt;ITAB-EKORG.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO1222-EKGRP'&lt;/P&gt;&lt;P&gt;ITAB-EKGRP.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO1222-BUKRS'&lt;/P&gt;&lt;P&gt;ITAB-BUKRS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;M = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT JTAB.&lt;/P&gt;&lt;P&gt;IF JTAB-N = A.&lt;/P&gt;&lt;P&gt;WRITE:/ JTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE 'MEPO1211-EMATN(' M ')' INTO L_FNAM.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;L_FNAM.&lt;/P&gt;&lt;P&gt;perform bdc_field using L_FNAM&lt;/P&gt;&lt;P&gt;JTAB-EMATN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE 'MEPO1211-MENGE(' M ')' INTO L_FNAM.&lt;/P&gt;&lt;P&gt;perform bdc_field using L_FNAM&lt;/P&gt;&lt;P&gt;JTAB-MENGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE 'MEPO1211-NETPR(' M ')' INTO L_FNAM.&lt;/P&gt;&lt;P&gt;perform bdc_field using L_FNAM&lt;/P&gt;&lt;P&gt;JTAB-NETPR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE 'MEPO1211-NAME1(' M ')' INTO L_FNAM.&lt;/P&gt;&lt;P&gt;perform bdc_field using L_FNAM&lt;/P&gt;&lt;P&gt;JTAB-NAME1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;M = M + 1.&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;perform bdc_field using 'DYN_6000-LIST'&lt;/P&gt;&lt;P&gt;' 1'.&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPLMEGUI' '0014'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO_TOPLINE-BSART'&lt;/P&gt;&lt;P&gt;'NB'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO_TOPLINE-SUPERFIELD'&lt;/P&gt;&lt;P&gt;ITAB-SUPERFIELD.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO_TOPLINE-BEDAT'&lt;/P&gt;&lt;P&gt;'09.02.2007'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO1222-EKORG'&lt;/P&gt;&lt;P&gt;ITAB-EKORG.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO1222-EKGRP'&lt;/P&gt;&lt;P&gt;ITAB-EKGRP.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO1222-BUKRS'&lt;/P&gt;&lt;P&gt;ITAB-BUKRS.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'DYN_6000-LIST'&lt;/P&gt;&lt;P&gt;' 1'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;'MEPO1319-MATKL'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO1319-SPINF'&lt;/P&gt;&lt;P&gt;'X'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BD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1000&lt;/STRONG&gt;001*1000&lt;/P&gt;&lt;P&gt;ICPU&lt;STRONG&gt;1&lt;/STRONG&gt;16000*1000&lt;/P&gt;&lt;P&gt;ILEY BOARD&lt;STRONG&gt;10&lt;/STRONG&gt;10000*1000&lt;/P&gt;&lt;P&gt;IMOUSE&lt;STRONG&gt;6&lt;/STRONG&gt;6000*1000&lt;/P&gt;&lt;P&gt;H117171&lt;STRONG&gt;1000&lt;/STRONG&gt;001*1000&lt;/P&gt;&lt;P&gt;ICPU&lt;STRONG&gt;5&lt;/STRONG&gt;80000*1000&lt;/P&gt;&lt;P&gt;H117170&lt;STRONG&gt;1000&lt;/STRONG&gt;001*1000&lt;/P&gt;&lt;P&gt;IMOUSE&lt;STRONG&gt;3&lt;/STRONG&gt;3000*1000&lt;/P&gt;&lt;P&gt;ILEY BOARD&lt;STRONG&gt;10&lt;/STRONG&gt;10000*1000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Kindly Reward points if you found the reply helpful.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;CHAITANYA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2007 10:44:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/3194671#M761243</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-07T10:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/3194672#M761244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2007 11:16:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/3194672#M761244</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-07T11:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/3194673#M761245</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;Specific to transactions... the most common one is to scroll up and scroll down in particular tab. For example if  one is using XK01 transaction then if u are running a BDC we have to take into account the vendor BANK details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Technically speaking run a recording(shdb) of XK01 and check in the vendor bank details screen(tab) what is the sy-ucomm code, there you can find P++ and P--, after you save the recording.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope i interpreted it right. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vinay Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2007 11:29:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/3194673#M761245</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-07T11:29:19Z</dc:date>
    </item>
  </channel>
</rss>

