Sapscript Window Skipped Over Intermittently

Hello,
I've got a problem that I haven't seen anywhere on this forum.  The Main window of our custom payment advice form is being called from driver program RFFOUS_T.  We are occasionally seeing that the line item element is being called by the program and is being skipped over.  I have watched in the sapscript debugger and can see that flow control goes to the first line, /E 625, and then immediately returns to the calling program without stepping into the element logic.  What's supremely baffling, it sometimes will step into the logic, and I can see no indication of why it sometimes does and sometimes doesn't.  In the test data I was given, the first line steps into the element and works fine and the second one does not.  I've check the return code from the driver program's call to function 'WRITE_FORM', and it is 0 in both cases.
Here is the code in the driver:
      CALL FUNCTION 'WRITE_FORM'
           EXPORTING
                element  = '625'
                function = 'APPEND'
           EXCEPTIONS
                window   = 1
                element  = 2.
Here is the line item element in the main window:
/E 625
Line items -
/: PROTECT
T1 ,,&REGUP-XBLNR&,,&REGUP-BLDAT&,,&REGUP-BELNR&
=  ,,&REGUD-WRBTR(13)&
=  ,,&REGUD-WABZG(12)&,,&REGUD-WNETT(13)&
/* Change description based on first character of vendor field
/: IF &REGUH-LIFNR(1)& = '9'
ZE ,,<I>&REGUP-SGTXT&</>
/: ELSE
/: PERFORM GET_SGTXT IN PROGRAM ZFI_CHECK_FOR_USA_FORM
/: USING     &REGUP-BUKRS&
/: USING     &REGUP-BELNR&
/: USING     &REGUP-GJAHR&
/: USING     &REGUP-BUZEI&
/: CHANGING  &V_SGTXT&
/: ENDPERFORM.
ZE ,,<I>&V_SGTXT&</>
/: ENDPROTECT
Is there any reason any of you can think of why this would happen?  I will explore all ideas.
Thanks,
Nathan Beeler

Nathan,
It could be because of the PROTECT command.
It is able to go into the text element for the first item because the system is able to protect the element from a page break.
For the second item maybe there is not enough space to protect it.
Please check that.
Hope it solves the problem.
Regards,
-Ramesh

Similar Messages

  • HT1479 I would like to know how to burn a dvd in such a way that each image can be skipped over by pressing the skip button.

    I would like to know how to burn a dvd in such a way that each image can be skipped over by pressing the skip button? If anyone could help it would be greatly appreciated!

    Here's how top get a slideshow that will let the viewer manually control the forward and backward movement of the slides with the forward and back buttons on the DVD remote.
    1 - put the images you want to use in an iPhoto album.
    2 - launch iDVD, select a theme and add a slideshow using the "+" button at the bottom:
    3 - click on the Media button at the lower right hand corner of the window and then click on the Photos button.
    4 - locate the iPhoto album containing your photos and drag it into the left hand pane:
    5 - select Side Duration to Manual.
    In order to get the maximum manual control of the slides you cannot have add any music to the slideshow.  If you do add music the slideshow will continue you advance unless you pause the slideshow and/or use the advance/back buttons and then pause.
    Once you have the project as you want it save it as a disk image via the  File ➙ Save as Disk Image  menu option.  This will separate the encoding process from the burn process. 
    To check the encoding mount the disk image and launch DVD Player and play it.  If it plays OK with DVD Player the encoding was good.
    Then burn to disk with Disk Utility or Toast at the slowest speed available (2x-4x) to assure the best burn quality.  Always use top quality media:  Verbatim, Maxell or Taiyo Yuden DVD-R are the most recommended in these forums.
    OT

  • I had to reload all my programs after a  hard drive problem. Now certain songs are skipped over or only play for a sec or 2 then it jumps to next song. all songs played before. Some are Itune bought and some are my old music.

    I had to wipe my hard drive clean and reload all my programs. After reloading Itunes, I noticed that some songs will not play, they are skipped over, or the songs plays for 1-2 secs then it skips on to next song. Any ideas what I did wrong? All songs played before and some of affected songs are bought, some are my old library I copied off of CDs

    TimT wrote:
    I had been thinking that the hard dri've is starting to fail on me but then I thought about the fact that, If I play an MP3 and the player freezes up or starts jumping through the mp3 file, Then I restart the player and start the same MP3 agian and this time it plays normally, Is it really a hard dri've problem?
    Could be a lot of things unfortunately, from corrupt firmware, corrupt format on the disk, a problem with the mainboard, or a problem with the hard disk.
    I figure that if the hard dri've was damaged it would always freeze up on the same file at the exact same point in the music wouldn't it's
    Not necessarily. It could be just an intermittent fault.
    I want to Format my Zen Touch and reload the Firmware to start from scratch, but I first want to backup my 28 GBs of MP3 and WMA files. However I noticed that when I transfer the files to my hard dri've, all the ID3 Information is gone. Now adding ID3 info to 28GB of files will take days!
    Strange. Did you edit the tag data on the player? If so what happens is the tag data changes are made in the Music Library but not in the files themselves. There's only one way to write the changes back and this involves getting a copy of MediaSource 3. You then transfer the files back to the PC Music Library, and use an update function to update the files (the PC Music Library will have the same tag data as the Music Library on the player). One problem is that MediaSource 3 is very large, and not available from Creative as a download. I can try and get a copy to you if you can't find it elsewhere.

  • Ipod skips over songs

    my ipod mini skips over songs when i select them to play. This doesnt happen all the time but it seems to happen about have way threw the battery life. I also have to press the selecdt button to turnn it on or else it wont come on.
    What should i do?

    I had this problem with my ipod and it was annoying. I can help. Go to your I-Tunes and go to your ipod. Next click the ADVANCED button from your toollbar. The click de-authorize ipod then you will have to go through a bunch of steps like entering your password. Then after it is all done eject your ipod (hint:after you've clicked de-authorize/authorize ipod a window will pop up and you will have two choices i forget them but click the second one). After you are done your ipod will be fixed and ready to go! Its an annoying but fixable problem. Enjoy your ipod.

  • IPod skipping over cd imported songs?

    First real problem I have had with my iPod video since buying it in December. After I hooked it up to my work computer's iTunes(I normally use my home computer), iTunes(on work computer) indicated that it would only playback the songs I had purchased on iTunes. Now when I listen to my iPod, it skips over every song I imported from CD, and only plays until it reaches something I bought from iTunes. I have looked for settings to change, but I have found none. Does anyone possibly have any suggestions? Thanks!
    PC   Windows XP  

    That's really wierd.
    First off, right click on a song you imported, and Get Info. Paste all the info here.

  • Skipping Over Songs Randomly

    my Mini skips over several (inconsistent number the most i have counted is 21 )songs without even hitting the forward button and also when i do press the forward. This occurs when i use the shuffle songs feature, my playlists, and every other feature to play the music (by album, artist etc)It will also start a playlist, but it will skim over all titles and then revert back to Music or Main Menu, never having played any the songs in the playlist. This occurs not only with purchased music but music I have added to my library from cds and other sources. Any ideas on how to repair this problem. I have already tried the 5R's
      Windows XP  
    Compaq Presario   Windows XP  

    I have tried everything...and my mini still won't play purchased music after 2-3 days.
    I have tried to restore to factory settings. I have tried to restore in disc mode. I have de-authorized, and re-authorized itunes. I have rebuilt the itunes library. Nothing seems to work. I'm no ipod specialist, but I think there has to be a software problem that's causing this, not the ipod itself.
    I have called tech support and spoken with them, and explained what I am experiencing and what all I have tried and their answer is that I have tried everything and that I should take it to a store and have them run a diagnosis on the unit. I did just that, the guys at the store erased the unit and reinstalled the software. I took it home synched it to my itunes and still 3 days later nothing...
    I am guessing that apple cruises through these boards...I would like to challenge them to offer an explaination/solution to this problem. I know that I am not the only one experiencing this. I'm completely frustrated and trying to keep my cool here but I am really loosing patient with this product. So here is my plea...HELP!
    Dell 5100   Windows XP  

  • Trying to fix my sons Ipod before Christmas- it skips over downloaded songs

    I have two questions, but if you can answer the first... I will get the second one later.
    My son's Ipod skips over songs that are downloaded from Itunes... they show up on the playlist and also on the Ipod- but play for one second (actually just show up on the display) and then move on... what's up?
    #2 Question. We have paid for and downloaded songs from Itunes... and some, but not all... will not let us play them.... says something to the effect that we are not authorized...
    Please help.
    Confused in Alabama.
      Windows XP  

    You may find this link helpful to troubleshoot.
    http://docs.info.apple.com/article.html?artnum=303854

  • How can i print all the contect of the code in sapscript window ? ?

    how can i print all the contect of the code in sapscript window ? ?

    Hi,
    Do you mean that you want to print the ABAP code to SAPscrip form ?
    Svetlin

  • My iPod touch is skipping over certain songs it used to be able to play, help?

    It started a little over a week ago. It was after I had downloaded the recent update, I was listening to music and skipped this one song when I noticed it skipped over two. Then I tried playing one song and it skipped over that one and the next completely. I skipped back and it wouldn't play the song I had orginially wanted, but did play the one after it that it had skipped over. I've tried turning it off and reseting it. I'm at a real loss here because I thoughted it would be just a glitch and go away, but at this point I'm really fed up. I have a feeling it has to do with the recent updates since it use to play the songs it skips over now just fine. The songs have almost nothing in common and so far I've found it's about a donzen or so it skips over.

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync all music and resync
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up           
    - Restore to factory settings/new iOS device.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar          

  • Automator (or anything) to mass transfer one file at a time, or skip over corrupted files?

    I'm currently recovering files (using Disk Warrior) from a failing hard drive, but when OS X hits a corrupted file ("Error -36"), it cancels the entire transfer, rather than skipping over it.  Basically, I have to transfer one file at a time, which, on a 2TB hard drive, is going to be insanely tedious, so I was wondering if there's an automation that can transfer one file at a time, or some other way to transfer files that won't stop mid-process?

    in my experience, people who know enough unix to understand what you suggested rarely ask questions about automator.  Auto-mechanics don't generally need advice on choosing an auto repair shop.
    Applescript is probably the easiest way to go with this.  I don't know what the file structure of the recovered documents is, but in general you'd run something like this:
    set sourceFolderPath to "/path/to/recovered items folder/"
    set destinationFolderPath to "/path/to/destination folder/"
    tell application "System Events"
              set theFiles to files of folder sourceFolderPath
              repeat with thisFile in theFiles
                        try
      -- move files one-by-one in an error block
                                  move thisFile to folder sourceFolderPath
                        on error
      -- you can put something here to log the skipped files or display a dialog, if you like
                        end try
              end repeat
    end tell

  • I have an I phone 3g and I downloaded the newest software and I can't get any music to play.  I can't change my playlists and the songs I have on the phone just get skipped over.  What can I do to correct this?

    I have an I phone 3g and I downloaded the newest software and I can't get any music to play.  I can't change my playlists and the songs I have on the phone just get skipped over.  What can I do to correct this?

    it recognizes the iPOD but I can't get any of the new songs to import to the iPOD
    are you getting an error message, Odessa? if so, what does it say? include error message numbers if you're getting any.
    if you're not getting an error message, describe what happens when you try to transfer songs to the ipod as best you can.

  • Installing Windows 7 over XP on a Mac Pro

    Hi Folks,
    I have Windows XP dual booting on my Mac Pro using Bootcamp.  I want to install Windows 7 over Windows XP.  I know I will loose all of my windows files and will need to reinstall all windows software.  But will this work?  Will it impact my mac os?  Are there any issues I should be aware of?
    Any help/suggestions would be most appreciated.
    TIA,
    Shane

    Lion is the easiet way to get current drives and because Apple security is better on 10.6.8 and Lion. Lion though really needs to reformat the drive the OS goes to (keep the old one as dual boot backup) and needs to add Lion Recovery.
    There are no Apple support drivers w/o 10.6.3+.
    8 is free and runs well or better -
    so just boot Windows 7 and format the partitiion. What's to know? You want Windows 7 Pro if you have two processor (dual socket) or want to use more than 16GB RAM.
    You do not want 32-bit. But it does matter what Mac model, 2006-7? or later. 2008 has full support for Windows 64-bit, the others don't but then you get stuck with trouble booting and trouble using more than 1.9GB making it next to impossible. That is and will be an issue.
    And you need 10.6.3 DVD to have the Apple support software.
    The number of threads moved and placed in wrong forum (Mac Pro turns out to be MacBook Pro) so I have to ask and because there ARE issues with Windows 7 on early Mac Pro model.

  • How to install windows 7 over windows 8 HP 2000- 2b16NR

    So, I purchased this laptop at a pawn shop a couple of years ago, and it has served me pretty well up until now.  After the latest windows update, something went terribly, terribly, wrong.  For some unknown reason I am now stuck with Windows 8.1 Evaluation with the license expired, which means it shuts itself down EVERY hour.  I'm done with this, I hate the Windows 8 interface anyway, now its time to go back to something I know and love. I've read up on a lot of these posts, and joined the forums only because I did not see another post that was in direct relation to my own model number.  If someone could please guide me through the process of installing Windows 7 from a disk, it would be ever so helpful.  If you could also post a link pointing me in the right direction for all the drivers specific to my computer, that would be awesome as well, since I'm no techie, and really don't know a whole lot about this sort of thing outside of basic knowledge. Thanks in advance for the help!  

    I got my hands on a bootable copy of Windows 7.  Everything loads up just fine until I make the settings to US English etc, and click install, when I do that I get this error message: "The product key does not match any of the Windows images availible for installation.  Enter a different product key." Which doesn't make any sense to me, because since I've had this computer everything has updated just fine, and worked great up until this stupid update to 8.1. That being said, when I go into other options and select 'Reset my PC' I get another error message: "Unable to reset your PC.  A required driver partition is missing."  I've seen on some other posts where having the drive partitioned in the right way (format I guess?) is another issue with installing Windows 7 over 8.  If this indeed another source of the problem, how do I go about fixing it?

  • I've been running Windows XP over bootcamp on an iMac for a few years now and I can't seem to get any sound from external devices into the machine. Any ideas?

    I've been running Windows XP over Bootcamp on iMac for a few years and I can't seem to get any sound from external devices into the machine. Any ideas?

    O.K. fgonoz98
    I would do 1 thing at a time:"now the micropohone is not working in facetime"
    Here is what you can check to get your mike working in facetime:
    1. Hold down option while you click on the speaker next to time a. date,
    under input Device see if your mic is marked. If not: ✔️
    2. Click the apple top left/System Prefs./click on the Sound speaker:
    under Input highlight microphone.
    3. When you have factime on go to video above scroll and see if your mic is marked ✔️
    If that does not get it to work there is more you can check:
    (Utilities/Audio, midi setup)
    For any other audio device you do this for input and output.
    If you get stock post back

  • I am considering the purchase of an iMac or macbook and want to know whether I can import my iTunes library of  400 albums from my Windows PC over my Home Network?  300 of these albums have been imported from CD's, so would not want to have to do that aga

    I am considering the purchase of an iMac or Macbook and want to know whether I can import my iTunes library of  +400 albums from my Windows PC over my Home Network?  300 of these albums have been imported from CD's, so would not want to have to do that again.

    Just copy the entire /Musci/iTunes/ folder from old computer to /Music/ on new computer.
    The libraries will be identical (date added, ratings, artwork, etc.).
    You can do this easily over the network.

Maybe you are looking for

  • How do you add Google+1 to a BC website?

    Tried putting the script into the template but it does not render.  Probably an easy fix but I'm not seeing it. Thanks

  • Copy and paste forum code

    I don't mean to sound stupid but I'll have a go at it anyway: Can somebody tell me a good way to copy code from a forum post and paste it into something like TextPad? When I try I don't get any linebreaks and it is a pain to put them in manually... I

  • DataAdapter.Fill doesn't include PrimaryKey Info

    We are using Oracle 9i and Odp.net verion 9.2.0.401. I am using the data adapter on a command that is a simple select statement in our code. The code is written generically to support multiple providers using ado.net. The problem I am having is that

  • Find My Friends is Unavailable due to a server error, can't fix!

    Hi, I have been experiencing this problem since September both on my old iPhone5 and now on my iPhone6. Find My Friends App will not allow me to accept an invite or send requests to add. When I try a find my Friends alert pop up displays saying "Find

  • FI Doc does not create CO Document in destination system

    We have implemented CFM on ECC6 which is posting a FI Doc to a destination FI System which is on 4.7. The FI document gets created successfully but the CO Document is not created. CO and PCA is active in the Destination system. Can anyone please tell