<?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_Scrolling_Code_Check in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-scrolling-code-check/m-p/1605487#M271712</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi..&lt;/P&gt;&lt;P&gt;I am showing you the following piece of code whic one of my peers has written but I am unable to understand the scrolloing part :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                LOOP AT vit_ekpo1 WHERE ebeln = lit_lips-vgbel.&lt;/P&gt;&lt;P&gt;                  l_line_no = l_line_no + 1.&lt;/P&gt;&lt;P&gt;                  IF vit_ekpo1-ebelp = lit_lips-vgpos.&lt;/P&gt;&lt;P&gt;                    vit_ekpo1-flag = 'X'.&lt;/P&gt;&lt;P&gt;                    MODIFY vit_ekpo1 TRANSPORTING flag.&lt;/P&gt;&lt;P&gt;                    EXIT.&lt;/P&gt;&lt;P&gt;                  ENDIF.&lt;/P&gt;&lt;P&gt;                ENDLOOP.&lt;/P&gt;&lt;P&gt;                l_cno = l_line_no.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;              Calculation for table controller&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                CONCATENATE 'LIPSD-G_LFIMG(0' l_cno ')' INTO l_fname.&lt;/P&gt;&lt;P&gt;                WRITE lit_lips-lfimg TO l_lfimg UNIT lit_lips-meins.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                 For scrolling the table control&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                IF l_line_no &amp;gt; 3.&lt;/P&gt;&lt;P&gt;                  PERFORM sub_bdcfill USING :&lt;/P&gt;&lt;P&gt;                     space  space  space 'BDC_OKCODE' '=POPO_T',&lt;/P&gt;&lt;P&gt;                     'SAPMV50A' '0111' 'X' space space,&lt;/P&gt;&lt;P&gt;                     space  space  space 'RV50A-POSNR' l_cno,&lt;/P&gt;&lt;P&gt;                     space  space  space 'BDC_OKCODE' '=WEIT',&lt;/P&gt;&lt;P&gt;                     'SAPMV50A' '1000' 'X' space space.&lt;/P&gt;&lt;P&gt;                  MOVE 'LIPSD-G_LFIMG(01)' TO l_fname.&lt;/P&gt;&lt;P&gt;&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;I want to know what exactly does '=POPO_T' and '=WEIT' do and what is the logic behind seeting the condition &amp;gt; 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any guesses are also welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Sep 2006 12:45:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-19T12:45:08Z</dc:date>
    <item>
      <title>BDC_Scrolling_Code_Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-scrolling-code-check/m-p/1605487#M271712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi..&lt;/P&gt;&lt;P&gt;I am showing you the following piece of code whic one of my peers has written but I am unable to understand the scrolloing part :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                LOOP AT vit_ekpo1 WHERE ebeln = lit_lips-vgbel.&lt;/P&gt;&lt;P&gt;                  l_line_no = l_line_no + 1.&lt;/P&gt;&lt;P&gt;                  IF vit_ekpo1-ebelp = lit_lips-vgpos.&lt;/P&gt;&lt;P&gt;                    vit_ekpo1-flag = 'X'.&lt;/P&gt;&lt;P&gt;                    MODIFY vit_ekpo1 TRANSPORTING flag.&lt;/P&gt;&lt;P&gt;                    EXIT.&lt;/P&gt;&lt;P&gt;                  ENDIF.&lt;/P&gt;&lt;P&gt;                ENDLOOP.&lt;/P&gt;&lt;P&gt;                l_cno = l_line_no.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;              Calculation for table controller&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                CONCATENATE 'LIPSD-G_LFIMG(0' l_cno ')' INTO l_fname.&lt;/P&gt;&lt;P&gt;                WRITE lit_lips-lfimg TO l_lfimg UNIT lit_lips-meins.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                 For scrolling the table control&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                IF l_line_no &amp;gt; 3.&lt;/P&gt;&lt;P&gt;                  PERFORM sub_bdcfill USING :&lt;/P&gt;&lt;P&gt;                     space  space  space 'BDC_OKCODE' '=POPO_T',&lt;/P&gt;&lt;P&gt;                     'SAPMV50A' '0111' 'X' space space,&lt;/P&gt;&lt;P&gt;                     space  space  space 'RV50A-POSNR' l_cno,&lt;/P&gt;&lt;P&gt;                     space  space  space 'BDC_OKCODE' '=WEIT',&lt;/P&gt;&lt;P&gt;                     'SAPMV50A' '1000' 'X' space space.&lt;/P&gt;&lt;P&gt;                  MOVE 'LIPSD-G_LFIMG(01)' TO l_fname.&lt;/P&gt;&lt;P&gt;&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;I want to know what exactly does '=POPO_T' and '=WEIT' do and what is the logic behind seeting the condition &amp;gt; 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any guesses are also welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2006 12:45:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-scrolling-code-check/m-p/1605487#M271712</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-19T12:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: BDC_Scrolling_Code_Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-scrolling-code-check/m-p/1605488#M271713</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;The scrolling should be handled by us,as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U have to handle this ur self based on the size of ur table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If suppose ur table control fits 7 line items, then u have to handle the records from 8 the record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ADD 1 TO w_line_i.&lt;/P&gt;&lt;P&gt;IF w_line_i &amp;gt; 7.&lt;/P&gt;&lt;P&gt;w_line_i = 1.&lt;/P&gt;&lt;P&gt;PERFORM bdc_dynpro USING 'SAPMM07M' '0421'.&lt;/P&gt;&lt;P&gt;PERFORM bdc_field USING 'BDC_OKCODE' '=NP'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set a flag once the line item are greater than 7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It depend on ur case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2006 12:49:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-scrolling-code-check/m-p/1605488#M271713</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-19T12:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: BDC_Scrolling_Code_Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-scrolling-code-check/m-p/1605489#M271714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You Ravi!...but what does &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'BDC_OKCODE' '=NP'.&lt;/P&gt;&lt;P&gt; imply?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And what is the function code to indicate a scrolling on the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2006 12:52:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-scrolling-code-check/m-p/1605489#M271714</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-19T12:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: BDC_Scrolling_Code_Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-scrolling-code-check/m-p/1605490#M271715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This means that this Function Code is to be executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if you check the GUI status you would see this is assigned and internally this would be the same function code that is linked to scrolling&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nishant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2006 13:06:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-scrolling-code-check/m-p/1605490#M271715</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-19T13:06:49Z</dc:date>
    </item>
  </channel>
</rss>

