Anyone know what this code is doing?

Howdy,
Don't suppose ya know what this code could be doing:
TABLES:  nast,
        *nast.
  SELECT * FROM  *nast
         WHERE  kappl       = nast-kappl
         AND    objky       = nast-objky
         AND    kschl       = nast-kschl
         AND    spras       = nast-spras
         AND    parnr       = nast-parnr
         AND    parvw       = nast-parvw.
    IF *nast-vstat = 1.
      processed = 'X'.
    ENDIF.
  ENDSELECT.
  CHECK processed NE 'X'.
Its got me stumped! what on earth is *NAST?
Are we simply looping through all the entries in NAST???
Basically I came across this code because I am trying to write a program that gets triggered when the user saves a Debit note.
My program should then take the billing document number that was saved and use it to create a credit memo request, but finding the billing document number was a pain and someone told me that I had to use NAST or something...
ANyhow, I came a cross the following code but it doesn't make sense...
I think it should be
TABLES:  nast.
data: wa_nast type NAST.
  SELECT single * FROM  nast into wa_nast
         WHERE  kappl       = nast-kappl
         AND    objky       = nast-objky
         AND    kschl       = nast-kschl
         AND    spras       = nast-spras
         AND    parnr       = nast-parnr
         AND    parvw       = nast-parvw.
    IF nast-vstat = 1.
      processed = 'X'.
    ENDIF.
What do you all think?????

Thanks Rich,
May be you are right or may be I didn't amke myself clear.
I think my program will be connected to the output type via transaction NACE. Then whenever the user saves a debit memo it will trigger the output type and this should then trigger my program to produce the BDC based on the billing document number in the debit memo.
I thought this would be passed into nast-objkey and I thought I would write an entry routine that could be placed in NACE that access my program.
AM I correct in thinking that this would work????

Similar Messages

  • Help Dont know what this code is doing ?????

    i dont know what this code is doing from the for part can some one explain it for me
    i am confused starting at the for statement thanks for the help
    public class LeastToGreatestPlaceHolder {
      public static void main(String []args) {
         int [] myArray;
         myArray = new int[3];
         myArray[0] = 6;
         myArray[1] = 7;
         myArray[2] = 9;
        for (int i = 0; i < 2 ; i++){     // confused here
         for(int j = 1; j < 3; j++) {
           int placeholder = myArray[j];
           if (myArray[i] > myArray[j]) {
             myArray[j] = myArray;
    myArray[i] = placeholder;
    System.out.print(myArray[0]);
    System.out.print(myArray[1]);
    System.out.print(myArray[2]);

    Have you tried running the program and seeing what it outputs?
    Have you considered writing out the state of the array and running through the code by hand?
    I'll give you a [head start|http://java.sun.com/docs/books/tutorial/java/nutsandbolts/for.html].

  • TS3694 i tried to reset/restore my daughters i pod but encountered problem 3194??Does anyone know what this code means?Ta

    can someone pls help me-tried to reset daughters i pod but problem code 3194 comes up.what does this mean???

    See the actions for that error here:
    iTunes: Specific update-and-restore error messages and advanced troubleshooting
    iPhone Error 3194 - How to Fix iTunes Error 3194?
      Fix Error 3194 from iTunes during iPhone restore

  • For some reason my iPod will not sync with my computer.  It comes up with an error code of 13019.  Does anyone know what this is or where to find out?

    For some reason my iPod will not sync with my computer.  It comes up with an error code 13019.  Does anyone know what this code means or how I could find out? 

    Sorry for  the typos, I hope my message still gets across!

  • Does anyone know what this error code means?My itunes will not open, no matter how many times i downlaod and restore it??? "The procedure entry point xmlITexTextReaderName could not be located in the dynamic link library libxml2.dlll."

    Does anyone know what this error code means?My itunes will not even open, no matter how many times i downlaod and restore it??? "The procedure entry point xmlITexTextReaderName could not be located in the dynamic link library libxml2.dlll." Please let me know if your know anything! It is greatly apprecitated!

    Taken at face value, you're having trouble with an Apple Application Support program file there. (Apple Application Support is where single copies of program files used by multiple different Apple programs are kept.)
    Let's try something relatively simple first. Restart the PC. Head into your Add or Remove Programs control panel, select "Apple Application Support", click "Change" and then click "Repair".
    If no joy after that, try the more rigorous uninstall/reinstall procedure from the following post. (Although the procedure is for Vista and 7 and you've got XP, just read "Computer" as "My Computer", read "Uninstall a program control panel" as "Add or Remove programs control panel" and assume the system is 32-bit, and you'll be doing the right things.)
    Re: I recently updated to vista service pack 2 and I updated to itunes 10.2.1 and ever since I did that my itunes won't open any more.  Itunes starts but before anything loads a

  • I received error code (-50) when trying to restore my iPad. Does anyone know what this error code means?

    I received error code (-50) when restoring my iPad2. Does anyone know what this error code means and how to fix it?

    See the  More Like This  Section on the right...

  • I ran a apple test and got a error code 4mot/1/40000003:hdd-1376 does anyone know what this is thanks

    I ran a apple test and got a error code 4mot/1/40000003:hdd-1376 does anyone know what this is thanks

    Buy a new drive and replace the old one. While the old one is still working (if it is) I would quickly make a bootable backup to an external drive if you have one, assuming you have no extant backup.
    Clone using Restore Option of Disk Utility
    Open Disk Utility from the Utilities folder.
    Select the destination volume from the left side list.
    Click on the Restore tab in the DU main window.
    Check the box labeled Erase destination.
    Select the destination volume from the left side list and drag it to the Destination entry field.
    Select the source volume from the left side list and drag it to the Source entry field.
    Double-check you got it right, then click on the Restore button.
    Destination means the external backup drive. Source means the internal startup drive.
    You will find suitable replacement drives at OWC.
    They may also have a video tutorial. Or you may find a written tutorial at ifixit.com. Also may find one by Googling for it.

  • Does anyone know what error code -8065 means?

    Does anyone know what error code -8065 means?

    It usually means the iPhone was hacked, with "jailbroken" being the cutsie term for that.
    http://support.apple.com/kb/TS3694#error1015
    Error 1015: This error is typically caused by attempts to downgrade the iPhone, iPad, or iPod touch's software. This can occur when you attempt to restore using an older .ipsw file. Downgrading to a previous version is not supported. To resolve this issue, attempt to restore with the latest iPhone, iPad, or iPod touch software available from Apple. This error can also occur when an unauthorized modification of the iOS has occurred and you are now trying to restore to an authorized, default state.

  • TS3694 Does anyone know what error code 1015 means?

    Does anyone know what error code 1015 means?

    It usually means the iPhone was hacked, with "jailbroken" being the cutsie term for that.
    http://support.apple.com/kb/TS3694#error1015
    Error 1015: This error is typically caused by attempts to downgrade the iPhone, iPad, or iPod touch's software. This can occur when you attempt to restore using an older .ipsw file. Downgrading to a previous version is not supported. To resolve this issue, attempt to restore with the latest iPhone, iPad, or iPod touch software available from Apple. This error can also occur when an unauthorized modification of the iOS has occurred and you are now trying to restore to an authorized, default state.

  • System Extension error does anyone know what this means.

    Does anyone know what this means.
    /System/Library/Extension/ATTOExpressRAID_Enabler.kext

    Using google and entering "ATTOExpressRAID_Enabler.kext" I came across this page. Maybe something there can help:
    "http://macosx.com/tech-support/mac/system-extension-cannot-be-used/4208.html
    In particular DeltaMac's answer seems to be the answer you are looking for.

  • TS4291 I can't send mail from my iPad apps, I just get the error message, 'The recipient- was rejected by the server because it does not allow relaying.' Does anyone know what this means and how to fix the problem.

    I can't send mail from my iPad apps, I just get the error message, 'The recipient… was rejected by the server because it does not allow relaying.' Does anyone know what this means and how to fix the problem.

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    Setting up and troubleshooting Mail
    http://www.apple.com/support/ipad/assistant/mail/
    Using a POP account with multiple devices
    http://support.apple.com/kb/ht3228
    iOS: Adding an email account
    http://support.apple.com/kb/HT4810
    iOS: Setting up an Outlook.com, Hotmail, Live, or MSN email account
    http://support.apple.com/kb/ht1694
    Server does not allow relaying email error, fix
    http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/
    Why Does My iPad Say "Cannot Connect to Server"?
    http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
    How to Sync Contacts with Your iPad Using iTunes
    http://www.dummies.com/how-to/content/how-to-sync-contacts-with-your-ipad-using- itunes.html
    iOS: 'Mailbox Locked', account is in use on another device, or prompt to re-enter POP3 password
    http://support.apple.com/kb/ts2621
    eMail Groups - You can use a third party app that many users recommend.
    MailShot -  https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
    Group Email  -  https://itunes.apple.com/us/app/group-email!-mail-client-attachments/id380690305 ?mt=8
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    Configuration problems with IMAP e-mail on iOS with a non-standard SSL port.
    http://colinrobbins.me/2013/02/09/configuration-problems-with-imap-e-mail-on-ios -with-a-non-standard-ssl-port/
    Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts   Tap on the Account, then on the red button that says Remove Account.
     Cheers, Tom

  • I can't get my project to share. A pop up screen comes up saying, "This item can't be shared while it is still referencing media on the camera". Does anyone know what this means.

    I can't get my project to share. A pop up screen comes up saying, "This item can't be shared while it is still referencing media on the camera". Does anyone know what this means. I'm confused because I don't have a camera hooked up to my computer.

    may you have directly imported clip to timeline without copying it to local drive..
    update project for links and check if missing clips are there..
    reconnect it if you have it on local drive..

  • I'm trying to connect my iPad to my Samsung galaxy s by bluetooth but the ipad will pair with it but not connect and says "its not supported" does anyone know what this means and how I get it to work?

    I'm trying to connect my iPad to my Samsung galaxy s by bluetooth but the ipad will pair with it but not connect and says "its not supported" does anyone know what this means and how I get it to work?

    iOS devices do not have the BT profiles that support file sharing and othr general functions. See:
    iOS: Supported Bluetooth profiles
    Basically it support headphones, keyboards, speakers, peer-to-peer gaming

  • TS3140 I tried to order a book on iPhoto but got the following message from apple :  the file contains text with drop shadows. As a result, Apple is unable to process your order"  Does anyone know what this means and how to fix it?   Thanks!!

    I tried to order a book on iphoto but got the following message from Apple  : "the file contains text with drop shadows.  As a result Apple is unable to process your order"  Does anyone know what this means and how to fix it?  Thanks!! 

    Hello Katiebell62
    Check out the troubleshooting steps to try and resolve your issue with purchasing a book through iPhoto.
    iPhoto: Difficulty submitting a book, card, or calendar order
    http://support.apple.com/kb/TS2516
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Everytime I open Safari I get a message that says the "Safari version you are using doesn't support the Community Toolbar."  Does anyone know what this means?

    Everytime I open Safari I get a message that says "we're sorry but the Safari browser version you are currently using does not support the Community Toolbar." Does anyone know what this means?

    Have a read at this thread https://discussions.apple.com/message/15620421#15620421 with similar problem and a solution.
    Stefan

Maybe you are looking for

  • How to add text to the standard iPad wallpaper

    We have thousands of iPads in our business, all controlled by MobileIron. We would like to put a message on all the iPads pertains to password policy. The way we propose is to take a copy of the standard wallpaper, add the message to that using a Pai

  • IO7 Notes duplicate entries

    After upgrading to IOS 7 (7.0.2) I have run into a perplexing problem where I am seeing duplicate notes with my iPhone when syncing my notes to MS Outlook 2010 (using MS Exchange on the backend, if that makes much difference).  Prior to IOS7, I was a

  • My iPod is locked now after being connected to my JVC receiver in my truck?

    I have had my ipod connected via the usb to my JVC recevier in my truck. It has been like this for sometime as I dont always take it out the truck or unplug it from the receiver all the time. The other day after starting the truck the JVC screen said

  • My mac falls and don't start only makes a beep sound

    please tell how i can fix my mac

  • Win 8 discussion - take note

    All, We truly appreciate for your participation here in Lenovo Community especially in Windows 8 forum. However, please take note that this Windows 8 forum board is created for discussions evolve around Lenovo products. Should it touches specifically