BDC scroll down with OK_CODE '=P+'

Hi All,
    I am facing a problem with BDC scoll down. I have written BDC for MB1C with serial numbers. i have 100 serial numbers for my 100 qty. While running BDC i am not able to fill more than 19 rows( max allowed rows for that windaw) . So i have used '=P' OK_CODE.....while excecuting this i am getting error......"P Function not defined".
Can anyone help me ........Following is the my BDC code for looping to enter serial numbers.
MOVE 1 TO v_indx.
*DO V_CNT TIMES.
LOOP AT IT_EXCEL1 WHERE WERKS = IT_EXCEL-WERKS
                  AND   LGORT = IT_EXCEL-LGORT
                  AND   MATNR = IT_EXCEL-MATNR
                  AND   CHARG = IT_EXCEL-CHARG.
perform bdc_dynpro      using 'SAPLIPW1' '0200'.
CONCATENATE 'RIPW0-SERNR(' v_indx ')' INTO V_FNAM.
perform bdc_field       using 'BDC_CURSOR'
                              V_FNAM.
perform bdc_field       using  V_FNAM
                               IT_EXCEL1-SERNR.
perform bdc_field       using 'BDC_OKCODE'
                              '=P+'.
v_indx = v_indx + 1.
ENDLOOP.

Instead of Using '=p+' try with Insert OK CODE IT WILL WORK FINE in your items table .
This is VA01 item table loop condition ..
loop at it_va01a into wa_va01a where index = wa_header-index.
if sy-tabix = 1.
     concatenate 'RV45A-MABNR(' idx ')' into fnam.
     perform bdc_field       using fnam
                              wa_va01a-mabnr.
     concatenate 'RV45A-KWMENG(' idx ')' into fnam.
     perform bdc_field       using fnam
                              wa_va01a-kwmeng.
endif.
if sy-tabix >= 2.
     idx = 2.
     perform bdc_dynpro using 'SAPMV45A' '4001'.
     perform bdc_field using 'BDC_OKCODE'
                             '=POAN'.
     concatenate 'RV45A-MABNR(' idx ')' into fnam.
     perform bdc_field       using fnam
                              wa_va01a-mabnr.
     concatenate 'RV45A-KWMENG(' idx ')' into fnam.
     perform bdc_field       using fnam
                              wa_va01a-kwmeng.
endif.
endloop.
Hope this will solve your issue.
Regards,
Alan Babu

Similar Messages

  • How to create a button which scrolls down with the page automatically?

    Hello,
    I wanted to create a button which takes u back to the top of the page when pressed on, but I was wondering how to make it scroll down with the page on the right side automatically when some1 scrolls down the page.
    An example I saw was on tumblr.com
    P.S I'm a newbie, so please explain it clearly ;d.
    Thanks.

    Create a button, position it as fixed at the top right say,
    a button{
              position:fixed;
              top:50px;
              right:50px; 
    <a href="#home"><button> Button</button></a>
    The <a> is the link to take you to the top of the page
    Just be sure to set the id home on an element at the top of the page

  • Scroll down with the mouse while the crop tool window is open

    I would like to know if there is a way to scroll down with the mouse while the crop tool window is open, like in Acrobat 5.0. If not with the mouse, is there another shortcut to go through the pages and adjust the size of the crop and see it on different pages? Thanks!

    Yes, but I won't see what I'm cropping if I cannot scroll down while the window is open. Thank you for answering anyway!

  • Lenovo Ideapad U410 scrolling down with a grey screen

    HI,
    I just recently purchased the Lenovo Ideapad U410 and sometimes when I try to scroll down with both fingers, a grey line and background bar starts to come down and encompass the whole screen, rendering the screen and all my apps useless. And then on the right side, it shows the time and date squished togetherand I can't seem to get out of it unless I go back to the start and then open the desktop again.
    Why is it doing this and is there a way to stop it because when it scrolls all the way down, the laptop won't work and if I don't touch the touchpad, bubbles start forming forming as if it's a screen saver.
    Thanks

    It sounds like your hard drive is failing or has failed. It cannot repair the disk and is suggesting you back up and format the drive. Do you already have a backup?
    A couple of things to try first:
    NVRAM reset: http://support.apple.com/kb/HT1379
    SMC reset: http://support.apple.com/kb/ht3964

  • PDF opens fine, but when I try to page down or scroll down with the mouse, it hangs the file

    Pdf files open fine in Acrobat 9 pro.  I am having problems in page down or scroll down on the document.  Only way to close the file is to go to task manager and end the program.  In task manager it shows that there are 2 adobe acrobat files opened and not responding.  What can I check or do about it?  I have tried to disable all plug-ins, but that didn't help.

    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

  • TS2634 how do i scroll down with speak selection?

    i accedentily turned on speak selection on my ipod, and i need it off. i have been trying to scroll down but i just dont know how. i am trying to scroll down to the accesibility but i need help in figureing it out? help!!!

    Hi there,
    To scroll with VoiceOver on, swipe up or down iwht THREE FINGERS.
    To Click, double tap.
    To turn off, go to settings>accessibility>voiceover>turn off
    Hope this helps

  • I am unable to press ctrl "F" to find anything or scroll down with my error keys

    I can't select anything, scroll down or even press ctrl f to find things like I use to

    Under what coditions is the happening and with what interface - the Flash IDE or the player?

  • I can't seem to find any information on how to troubleshoot why I can't scroll down with my optical mouse. It works fine otherwise.

    My mouse works fine except it just started not letting me scroll down.  I can't find anything on how to clean it.  I tried unplugging the mouse from the keyboard then the keyboard from its USB port and there was no change.

    If it's the Mighty Mouse with the scroll ball on top then the problem is usually debris logged under the ball.
    Turn the mouse over and rub briskly with a microfiber cloth.  It should clear it.
    Regards,
    Captfred

  • Best method to "scroll down" in a BDC?

    I'm trying to write a BDC where the incoming data may or may not take up more than 1 screen's worth.  In other words, I may have to have the BDC scroll down once or I may have to have the BDC scroll down more than once.
    Is there a best practice for handling this?  Do I have to count the number of rows I have and program to hit down arrows accordingly?
    Thanks!

    Hi,
    There could be two ways.
    1. After entering the records have the OK_CODE 'P+' every time.
    This will ensure that your subsequent lines are always placed on Line 2 of the table control. This will relieve you the headache of having to count the rows and use that logic.
    2.If available use the button to append new rows.. This implies every row you enter is a new row. It is equaly helpful.
    Regards,

  • Itunes Crashes when scrolling down in Podcasts

    Everytime I go into my podcasts in iTunes and try to scroll down, a window pops up saying iTunes has stopped working and tells me to close the program. I haven't had this happen before and it is only doing this for the podcasts. I can scroll down with no problem with my music.

    jabtv1 wrote:
    uninstalling and reinstalling did NOT work for me.
    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    If you've already tried a complete uninstall and reinstall try opening iTunes in safe mode (hold down CTRL+SHIFT as you start iTunes) then going to Edit > Preferences > Store and turning off Show iTunes in the Cloud purchases. You may find iTunes will now start normally.
    You could also try working through
    TS1717: iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
    tt2

  • Ok-code to scroll down in a table control on batch input

    Hello,
    I'm trying to create a batch input session for transaction VA02 (Change  sales  order) :
    I need to go scroll down in the table control of the screen (item -> Conditions) 3 times to delete the a line; In the batch input (SHDB), i go scroll down by clicking on the scroll bar of the table control, mark the line of the page and delete it.
    The recording show me the ok-code /00 to scroll down (with BDC_CURSOR in the second line), but in the program it don't work, the ok do nothing the 3 times and mark the incorrect line.
    Can anyone tell an idea of what is the correct ok-code to scroll down?
    Thanks in advance
    Alvaro
    PD:  My SAP system is an ECC 6.0

    Hi Alvaro
    One time i had to do similar work for Creation of General Task List in PM module and this is how i did it
                             'X'      'SAPLCMDI'             '3500',
                             ' '      'BDC_CURSOR'          'RIHSTPX-DISP(01)',
                             ' '      'BDC_OKCODE'          '=P+',
                             ' '      'RIHSTPX-IDNRK(01)'    itab-idnrk,
                             ' '      'RIHSTPX-MENGE(01)'    itab-menge,
                             ' '      'RIHSTPX-MEINS(01)'    itab-meins,
                             ' '      'RIHSTPX-DISP(01)'     itab-disp.
    I had to select line 1 hence you can see the position number ( 01 ) in the field name. As you can see based on this positioning you can select the appropriate line and make modifications as you like and also use okcode of  '=P+' to scroll done. Hope this  helps. Reward if appropriate.
    Best Regards
    Sid Arora

  • How can I Scroll Down without losing the lightbox in the center of the screen?

    I already tried with different slideshow presets with no results.
    If I click in the first photo the slideshow screen remains on the top, It seems that it doesn't scroll down with me. I would like to slidedown and click into the last photo without losing the lightbox in the center.
    I already ask for help by chat, but you didn't answer how i expect.
    here the link of the example:
    FOR MUSE STAFF

    Hi
    This is not possible directly using the widgets, as you would need customize this where the page scrolls but lightbox should still be centered.
    Another way of doing would be aligning the images horizontally on page with smaller version and then use lightbox effect , where the clicked image will still be on page but user can click on other images.
    Thanks,
    Sanjit

  • How to scroll map with page

    I have a google map image on my page. How can I have this scroll down with the page as the user scrolls down?
    Right now I'm using the Basic Google API maps, but I can use the iframe maps if that would work also.

    See this sticky tutorial.
    http://alt-web.com/DEMOS/CSS2-Sticky-Text.shtml
    Fixed positioning works in most browsers but it doesn't work in pre-IE7 on anything except the body tag.
    Also, you need to define top/bottom & left/right positioning.
    Hope this helps,
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Missing Scroll Down Bar

    Robohelp V8.0.1.204
    I have a single page project that I have unticked all the Toolbar Button options (via Webhelp) and now I can no longer scroll down the screen. If I enable the Toolbar Buttons\Content option I get the scrollbar back along with the unwanted lefthand side Contents column. Is there a way to have the scroll down with out Toolbar Button options??
    Thanks wowronin

    Hi Peter,
    Sometimes you can't see the forrest for all the trees.
    I was loading the project file which in turn loaded the file I wanted to display.
    The solution was to just load the file I wanted to display and presto all is good.
    sorry ,
    Wowronnin   

  • Scrolling Down Within a Long Email on an iPad 2

    Hello,
    Help!  Just bought an iPad 2.  How does one scroll down within a long email?  The user manual doesn't seem to address this.  When I attempt to scroll down (with either 1 or 2 fingers), the entire screen scrolls.  But no additional email text becomes visable.
    Thanks,
    Jack

    That should do it, so there is something wrong. Try a reset. Press & hold the Power and Home buttons together for 10+ seconds, ignoring the red power-off slider, until you see the Apple logo. It is safe to do, there should be no content loss. It is the same as rebooting your computer.

Maybe you are looking for

  • How to displaying "my favorite Links" as a tree view menu

    Gurus, I have a KM iView in portal home page, where users keep adding their favourite links from time to time.  Now I want to display all the links as in tree structure say - Content Admin          |--> Page A          |--> Page B System Admin       

  • Photoshop cs3 and cs4 brush lag /snow leopard 10.6.6

    Having occasional brush lag using these apps. Not due to wacom, does same with mouse. Discussions going on at adobe forums. I have ATI 5770 in mac pro 2.8 quad. Don't want to update to 10.6.7 due to font/pdf issues. Spoke to apple person, who couldn'

  • Lost in Time Machine

    Document completely lost in Time Machine. Any other way to recover? Trash does not have document

  • Itunes has stopped

    Hello all,    I'm scratching my head here.  My Itunes crahes as soon as it connect to the store.  If I disable the internet accses, all works.  has anyone else run into it?

  • What is the right 1G RAM upgrade for Aluminium G4 1,25 GHzPowerBook ?

    After 6 months of struggle I am ready to throw my PB into trash bin and a buy a powerPC that works. I tried to upgrade RAM from 1G to 1,5G - the older RAMs being 2x512MB Kingston copies and working well but getting slow for multitasking (photo editin