<?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_OKCODE and SCROLL in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-okcode-and-scroll/m-p/1770261#M332649</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I had the same issue some time ago.&lt;/P&gt;&lt;P&gt;It worked fine with this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      DO l_count TIMES.&lt;/P&gt;&lt;P&gt;        PERFORM bdc_dynpro      USING 'SAPLCZDI' '4010'.&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;      ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The counter was used for the case that material is already assigned (before via selected determined).&lt;/P&gt;&lt;P&gt;Remember also, when you did a page down, in table controls the line (01) is filled with the last entry from the page before, so you need to continue with (02).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I remember that I was quite a lot fighting with the transaction and that counter is updated in the loop when the data is filled. So practically after the first filled item I processed that page down. But it can also be that I was not yet so good with the assing in that times to use in a nice way all available lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result of that entry: P+ should work !&lt;/P&gt;&lt;P&gt;Brm&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jan 2007 20:34:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-09T20:34:29Z</dc:date>
    <item>
      <title>BDC_OKCODE and SCROLL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-okcode-and-scroll/m-p/1770258#M332646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;after searching a lot of threads about scrolling in batch input I have to turn to you for HELP. I'm trying to add a new materials in existing inspection plan with QP02.&lt;/P&gt;&lt;P&gt;Extra window is opened (program : SAPLCZDI screen: 4010). The number of lines is limited to 14 (in my case). With scrool bar you can move (vertikaly). There is no menu option (for OKCODE code) or any other button (add new) whith which help I could move around. In SHDB is normaly recorded (scroll) as /00. If you play a little bit you can record also =P+ or =P++. I try to process recording directly and it is NOT workig. As well in ABAP as batch. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SM35 I can see screens as should be:&lt;/P&gt;&lt;P&gt;SAPLCPDI 8010    (open QP02)&lt;/P&gt;&lt;P&gt;SAPLCPDI 1400   (see the operations from menu (Inspection Plan) chose Mat.Tlist assigment ) &lt;/P&gt;&lt;P&gt;SAPLCZDI 4010    (first package)&lt;/P&gt;&lt;P&gt;SAPLCPDI 1400   (back to operations	&lt;/P&gt;&lt;P&gt;SAPLCZDI 4010    (second package)&lt;/P&gt;&lt;P&gt;SAPLCPDI 1400   (back to operations	&lt;/P&gt;&lt;P&gt;SAPLCZDI 4010    (third package)&lt;/P&gt;&lt;P&gt;SAPLCPDI 1400   (back to operations) and save &amp;amp; exit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Evrything is OK except that in batch run-time pagedown is not executed?&lt;/P&gt;&lt;P&gt;I try '=P&lt;EM&gt;',  '=P&lt;/EM&gt;+', '=NP', "/00", ' ' and nothing works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2006 14:42:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-okcode-and-scroll/m-p/1770258#M332646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-19T14:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: BDC_OKCODE and SCROLL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-okcode-and-scroll/m-p/1770259#M332647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check if you can make use of: &amp;lt;b&amp;gt;BAPI_INSPECTIONPLAN_CREATE&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2006 03:38:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-okcode-and-scroll/m-p/1770259#M332647</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-20T03:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: BDC_OKCODE and SCROLL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-okcode-and-scroll/m-p/1770260#M332648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Eswar,&lt;/P&gt;&lt;P&gt;thank you for the answer. I try to use the BAPI_INSPECTIONPLAN_CREATE function unsuccessfuly. I become an error in return table BAPIRET2. Probably because is plan already created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I only have to add some materials (more then 14) for each plan. I will try to use a part of the BAPI_INSPECTIONPLAN_CREATE function. (cp_cc_p_import_mtk).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2007 11:18:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-okcode-and-scroll/m-p/1770260#M332648</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-08T11:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: BDC_OKCODE and SCROLL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-okcode-and-scroll/m-p/1770261#M332649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I had the same issue some time ago.&lt;/P&gt;&lt;P&gt;It worked fine with this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      DO l_count TIMES.&lt;/P&gt;&lt;P&gt;        PERFORM bdc_dynpro      USING 'SAPLCZDI' '4010'.&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;      ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The counter was used for the case that material is already assigned (before via selected determined).&lt;/P&gt;&lt;P&gt;Remember also, when you did a page down, in table controls the line (01) is filled with the last entry from the page before, so you need to continue with (02).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I remember that I was quite a lot fighting with the transaction and that counter is updated in the loop when the data is filled. So practically after the first filled item I processed that page down. But it can also be that I was not yet so good with the assing in that times to use in a nice way all available lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result of that entry: P+ should work !&lt;/P&gt;&lt;P&gt;Brm&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2007 20:34:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-okcode-and-scroll/m-p/1770261#M332649</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-09T20:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: BDC_OKCODE and SCROLL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-okcode-and-scroll/m-p/1770262#M332650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;thank you  for the  answers. In meantime I manage to find the solution &lt;/P&gt;&lt;P&gt;which actually works.&lt;/P&gt;&lt;P&gt;Example code::&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;*********************&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*calling the form 1st time&lt;/P&gt;&lt;P&gt;  perform bdc_dynpro      using 'SAPLCZDI' '4010'.&lt;/P&gt;&lt;P&gt;  perform bdc_field       using 'BDC_CURSOR' 'RC271-PLNNR'.&lt;/P&gt;&lt;P&gt;  perform bdc_field       using 'BDC_OKCODE' '=P++'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*calling the form 2nd time&lt;/P&gt;&lt;P&gt;  perform bdc_dynpro      using 'SAPLCZDI' '4010'.&lt;/P&gt;&lt;P&gt;  perform bdc_field       using 'BDC_CURSOR' 'RC271-PLNNR'.&lt;/P&gt;&lt;P&gt;  perform bdc_field       using 'BDC_OKCODE' '=P+'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*calling the form 3rd time&lt;/P&gt;&lt;P&gt;  perform bdc_dynpro      using 'SAPLCZDI' '4010'.&lt;/P&gt;&lt;P&gt;  perform bdc_field       using 'BDC_CURSOR' 'MAPL-WERKS(14)'.&lt;/P&gt;&lt;P&gt;  perform bdc_field       using 'BDC_OKCODE' '=BACK'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*then you input tha values you want.  &lt;/P&gt;&lt;P&gt;  perform bdc_field       using 'MAPL-PLNAL(14)' ITAB_MAT-ST_PL.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;*********************&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I call 1st time with '=P&lt;EM&gt;' or '=P&lt;/EM&gt;+' and then with the  '=BACK' it doesn't work. &lt;/P&gt;&lt;P&gt;I also use the index 14! (safety) I didn't try with index 01 or 02.&lt;/P&gt;&lt;P&gt;Thanks again &lt;/P&gt;&lt;P&gt;Ales&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2007 06:54:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-okcode-and-scroll/m-p/1770262#M332650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-15T06:54:55Z</dc:date>
    </item>
  </channel>
</rss>

