How to use AT new instead of ON CHANGE OF as it is obselete.

How can I use
two at new stmt  in the below code ?
LOOP AT gt_869_input_rec_final INTO wa_869_input_rec.
IF wa_869_input_rec-rec_type = '10'
AND wa_869_input_rec-selection = 'PP'.
CLEAR : lv_canc_date, count.
REFRESH : r2_shipto, r3_vbeln.
*------As we are getting sorted set of records in file by edi_tr_par brd_idfr
*-----and based on EDI team request, appending '00' record.
ON CHANGE OF wa_869_input_rec-edi_tr_par OR wa_869_input_rec-brd_idfr.
wa_870_output_rec-rec_type = '00'.
wa_870_output_rec-edi_tr_par = wa_869_input_rec-edi_tr_par.
wa_870_output_rec-brd_idfr = wa_869_input_rec-brd_idfr.
APPEND wa_870_output_rec TO gt_870_output_rec.
CLEAR : wa_870_output_rec.
ENDON.
Thanks in adv

LOOP AT gt_869_input_rec_final INTO wa_869_input_rec.
IF wa_869_input_rec-rec_type = '10'
AND wa_869_input_rec-selection = 'PP'.
CLEAR : lv_canc_date, count.
REFRESH : r2_shipto, r3_vbeln.
*------As we are getting sorted set of records in file by edi_tr_par brd_idfr
*-----and based on EDI team request, appending '00' record.
AT NEW wa_869_input_rec-edi_tr_par.
    FLAG1 = 'X'.
ENDAT.
AT NEW wa_869_input_rec-brd_idfr.
    FLAG1 = 'X'.
ENDAT.
IF FLAG1 EQ 'X'.
wa_870_output_rec-rec_type = '00'.
wa_870_output_rec-edi_tr_par = wa_869_input_rec-edi_tr_par.
wa_870_output_rec-brd_idfr = wa_869_input_rec-brd_idfr.
APPEND wa_870_output_rec TO gt_870_output_rec.
CLEAR : wa_870_output_rec.
CLEAR FLAG1.
ENDIF.

Similar Messages

  • HT1695 I know nothing about how to use my new ipod and when reading the little bit of information in the folder that came with it, all I can do is turn it on, but it just powers down after a few seconds.  How do I work this thing?

    I know nothing about how to use my new ipod and when reading the little information that came with it, all I can do is turn it on.  Then in a few seconds it goes black, never having brought up a screen to do anything!  Help!  What do I do to get this thing going?

    You might consider connecting it to the charger and charging up the battery overnight.
    Please Get the iPod Touch User Manual for iOS 5

  • How to use my new 02 sim

    How to use my new 02  sim on iPhone 4

    Put it in the phone. Turn the phone on. Make calls... I don't understand what you mean by "how to use" it...

  • HT1208 Where do I find a tutorial about how to use the new iTunes? I have version 11.1.3 (8). I looked on the Apple web site but only found info extolling the virtues of iTunes, not how to use it.

    Where do I find a tutorial about how to use the new iTunes? I have version 11.1.3 (8). I looked on the Apple web site but only found info extolling the virtues of iTunes, not how to use it.

    Use it the same way as previously.
    ctrl B shows the menus.
    ctrl S shows the sidebar.
    What else do you need help with?

  • When i update apps on my iphone they need the ID that i used when i downloaded these app and i forgot this ID and a make a new ID how i used the new one to update these apps thanks

    Hello all,
    when i update apps on my iphone they need the ID that i used when i downloaded these apps and i forgot this ID and a make a new ID
    How i used the new one to update these apps?
    thanks

    Your device can hold apps from multiple IDs, but to update them you have to swicth identities which is time consuming. If possible use only the one ID. If you need to reset the password for your old ID visit My Apple ID.
    tt2

  • Can anyone help me figure out how to use my new LaCie external hard drive to import movies from my camcorder into imovie '09? I ran into so many problems last night!! Was up way past my bedtime!

    Can anyone help me figure out how to use my new LaCie external hard drive to import movies from my camcorder into imovie '09? I ran into so many problems last night!! Was up way past my bedtime!

    I'll stay in this chat ... I answered in the other one ... I have a Sony digital Handycam ... from years ago.  I just got the LaCie and I think I formatted it for only to be used on my Mac ... how should I go about reformatting it to be HFS Extended like you said?

  • I found a page with a long list of short videos to wathc on how to use my new mac, now I can't find it anywhere--anybody know where this is?

    I found a page with a long list of short videos on how to use my new imac, now I can't remember how I got there--anyone know where i can find?

    Assuming Safari, CMD+OPT+2 brings up history.

  • How to Create a New Admin Account and Change Original to Standard Account?

    I have a single user admin account that I set up when I got my PowerBook. Now I want to have two accounts with the new one being the admin account. This way I can leave most of the data files, email accounts, etc. with the old account and use the new one for personal data and admininistration. Then I could give out the password for the original account without fear that a user could change permissions and get access to the new account with the personal data. Can I create a new admin account and then change the original account to "Standard" instead of "admin"? What problems will this create?
    PowerBook G4   Mac OS X (10.3.9)  

    i2:
    Not sure if you are asking if or how. Templeton has
    answered if. Here's how.
    Apple Menu > System Prefs > Accounts. Click on the +
    under User Options to create new account. Go to
    Security and check box at bottom to make account
    admin. You can take care of the other items, picture
    etc, login options etc.
    To make the other account Standard select the
    account, go to Security and deselect box "Allow User
    to Administer".
    Hope this answers your questions.
    Good luck.
    cornelius
    PismoG4 550,
    100GB 5400 Toshiba internal, 1 GB RAM; Pismo 500 OS
    (10.4.4)   Mac OS X (10.3.9)   Beige G3 OS
    8.6
    Thanks, I'm tying to find out if I will run into problems, such as not being able to use the new admin account to change permissions in the old.

  • How to create a New Tranport Request for changed  Extract structure

    How to create a New Tranport Request for changed  Extract structure ?
    Hi Experts,
    I have a FI AP Generic Datasource containing extract structure with appended fields.
    It has already been activated and transported to Testing System.
    Now, I am to create a new transport request for this DataSource and Extract structure.
    I do not want to delete and recreate the Generic Datasource.
    I am trying to look at the options in the extract structure top menu from where I can create a new Tranport Request.
    Please let me know the steps
    URGENT

    Hi Dev,
    Once you send the transport request for any data source from Dev to Testing you wont find that again in your Dev (I mean the TR). So, when you change anything for this data source or view now in Dev and try to save it, it will ask for a new transport request and here you can mention a new one starting from View then activate it and go to RSO2 regenerate it and use the same transport request for this too. When you transport this TR to Testing Environment the data source will automatically get changed.
    Hope it helps...

  • I have no idea how to use the new "messages" instead of ichat

    i have recently got my first macbook. it isnt the first time i used one.  my friend has the macbook pro as well.  she has the "ichat" app for connecting with her friends.  but i have the "messages" app and i have no idea how to use it.. i cant find the buddy list to add friends... i dont know how to sign in to my account.. and when i try to send a message to someones id it says they arnt registered with ichat.. i have no idea what to do or where to begin!

    Hi Alexaaa,
    Open the Messages app and under the Messages menu go to Preferences>Accounts and set up your account using your AppleID and password.
    Once you have your account set up, then open the messages window. Next to the Search window you will see a little square with a pencil in it, click on that to start a new message. The cursor will be in the "To" line, and at the end of that line you will see a ". Click on that, and your contacts list will come up. Find the contact you want to send a message to, and select either their email or their phone number to send a message. Type in your message in the little message window at the bottom and press Enter to send.
    Hope this helps! Let us know if you have any other questions!
    Cheers,
    GB

  • How to use URL class instead of Socket

    Hi all. I am developing a small inventory control system for a warehouse.
    I am suing a Java desktop application that connects to a servlet via Internet.
    I have been searching the net how to use JSSE for my application since i am new to secure sockets and JSSE.
    Since I havent implemented security In my current system yet, i am using URLConnection conn = url.openConnection(); to connect to a servlet.
    However, in a good tutorial that I found about JSSE, sockets are used directly for connection, insted of URLCOnnection. They use the code like this: SSLSocketFactory sf = sslContext.getSocketFactory();
    SSLSocket socket = (SSLSocket)sf.createSocket( host, port ); Since, using sockets is overly complex for me, I want to make use of the URLConnection class instead to keep it simple.
    Could anyone please tell me how to make use of the URLConnection class to establish secure http connection.
    by the way, the tutorial is here:
    http://www.panix.com/~mito/articles/articles/jsse/j-jsse-ltr.pdf
    thanks.

    Here you go. The following code snippet allows you post data to http URL. If you have to do the same to https URL , please let me know.
    OutputStream writeOut = null;
    HttpURLConnection appConnection = null;
    URL appUrlOpen = null;
    //data to be posted.
    String data = "This is the test message to post";
    byte[] bytesData = this.data.getBytes();
    appUrlOpen = new URL(""Your Servlet URL");
    appConnection = (HttpURLConnection) appUrlOpen.openConnection();
    appConnection.setDoOutput(true);
    appConnection.setDoInput(true);
    appConnection.setUseCaches(false);
    appConnection.setInstanceFollowRedirects(false);
    appConnection.setRequestMethod("post");
    appConnection.setRequestProperty("Content-Type","application/text");
    appConnection.setRequestProperty("Content-length", String.valueOf(bytesData.length));
    writeOut=appConnection.getOutputStream();
    writeOut.write(bytesData);
    writeOut.flush();
    writeOut.close();
    String inputLine;
    StringBuffer sb = new StringBuffer();
    reader = new BufferedReader(new InputStreamReader(appConnection.getInputStream()));
    char chars[] = new char[1024];
    int len = 0;
    //Write chunks of characters to the StringBuffer
    while ((len = reader.read(chars, 0, chars.length)) >= 0)
    sb.append(chars, 0, len);
    System.out.println("Response " + sb.toString());
    reader.close();
    sb=null;
    chars = null;
    responseBytes = null;
    ******************************************************************************************

  • How to use Spring MVC instead of assembler.jsp in endeca 3.1.0

    Hi ,
    I am new to Endeca . I want to use spring MVC instead of assembler.jsp .Some body please help
    me how can i do it. Wht all i have to do to achieve it.
    Thanks
    Mark

    Hi Mark,
    When using the 3.1 Assembler in your application, you can use either the jar file directly or set up the Assembler as an HTTP service and process the XML or JSON responses. Neither of these approaches conflicts with using Spring in your application.
    Sean

  • HT1807 I travelled to a different country & using a new sim; with the change in sim, I have been unable to use iMessage & FaceTime. Cant replace replace the earlier no with the current one and it reads error. how to correct this?

    I traveled to a different country and using a new sim/new carrier. With the change in the sim, I have been unable to use the iMessage--outside of WiFi coverage area, and FaceTime at all time. I believe it is due to the phone number registered as an address in the phone, which has not changed with the change of sim; so it countinues to showing as an error while varifying the data.
    Wonder if any of you are in a position to advise as to how to address the following.
    1. I need to input correct phone no, meaning the number I am using in the correct location.
    2. I need to activate FaceTime and be able to use it.
    3. I need to be able to use iMessage and/or ordinary sms while outside of WiFi coverage area.
    It may be mentioned in my current location I don't have GPRS on the cell phone which is the case in my regular station.
    Thanks for your help.

    for #1
    Frequently asked questions about Apple ID - Apple Support
    I have multiple Apple IDs. Is there a way for me to merge them into a single Apple ID?
    Apple IDs cannot be merged. You should use your preferred Apple ID from now on, but you can still access your purchased items such as music, movies, or software using your other Apple IDs.
    If you are wondering how using multiple Apple IDs relate to iCloud, see Apple IDs and iCloud.
    for #2
    Apple does not accept unsolicited ideas see Apple - Legal - Unsolicited Idea Submission Policy

  • How to use an instance instead of the class itself

    I am building a program but have a problem.
    My program uses a controller class which instantiates a World-class. In the world class has a Vector I make a Vector in which I place all the elements in the world. (I also made an Element class from which all the objects that I put into this Vector extend.)
    Everything except for some methods in the controller class are declared public. I might need to use static, but I do not know how.
    // CONSTRUCTOR CONTROLLER CLASS
    world = new World ();  // instantiate one and only one world
    world.newElement (new Beamer ("beamer", 20. , 20.));  // use a selfwritten method to add a "Star Trek"-like
                              // beamer to the world. I give it a name and position.
    world.newElement (new Avatar ("avt", "beamer"));  // add an avatar which is "beamed up". so what I do is that I use the beamer for the beginposition of the avatar. However, and this is my problem, in the constructor of Avatar (see below) i need the beamer in world, but my compiler cant find world. I probably need to import my World or controller class, but even then: I do not understand how to use an instance (world is an instance. I cant use the World-class as the class does not contain the beamer element)
    public class Avatar extends Element {
         public Avatar (String n, String beamer){
              name = n;
              posx = world.named("beamer").getPosx; // the selfwritten method named finds the
                // element in the Vector that goes with the name. Any ideas to make this code better are welcome too.
              posy = world.named("beamer").getPosy;
    } Any ideas on how to solve this (common) problem in good coding are most welcome.

    I think you are best off if you use static methods and static fields only in your World class. That way you don't have to instantiate it and everyone has access to its methods. This would be then completely analogous to how you access methods and fields of the well-known class System (e.g. when you use System.out.println). This also has the advantage that you are guaranteed to have only one copy of the World.
    Here is an example of how your World class, Avatar class and main code would look like.
    Main code: (note the use of capital W in the name World, referring to class rather than instance).
    // no need to instantiate World, as we call its static methods only
    World.newElement (new Beamer ("beamer", 20. , 20.));
    World.newElement (new Avatar ("avt", "beamer"));  // add an avatar which is "beamed up". World class: (note the static keyword in front of the vector and the methods)
    public class World {
      private static Vector v;       // static field, only one copy of it ever exists
      public static void newElement(Element e)   // static method, can call without instantiating world
         v.addElement(e);
      public static Element named(String n)  // use to look up elements
         ... some code which goes through v and finds element named "n" ...
         ... return reference to that element ...
    }and finally the Avatar: (again note the use of reference to World as a class rather than instance)
    public class Avatar extends Element {
         public Avatar (String n, String beamer){
              name = n;
              posx = World.named("beamer").getPosx;
              posy = World.named("beamer").getPosy;
    } The above example is how I would implement it when you don't actually need instances of the World class.

  • How to use a new apple id to replace my old apple id without deleting everything on my old apple id?

    I want to use a new apple id for everything on my computer with out erasing my downloads, music and stuff that was on my old apple id.

    Settings > iTunes and App Store
    SEttings > Messages > Send/Recieve at
    SEttings > Facetime
    Sign out of your apple id in these location for your son

Maybe you are looking for

  • More than one invoice for a single material document

    Dear all, If a material document contains 10 items,while creating invoice in J1IS with reference to that material document.The system is generating one invoice for the first 8 items in the material doc.& one more invoice for the balance items. Is it

  • Windows error 2

    I just purchased an Ipod Touch 4th Gen and iTunes 10 is required. I have tried downloading it and I keep getting windows error 2, apple support application not installed. I have went through all the steps to uninstall and reinstall several times and

  • TRIP Workflow

    We have created a version of the Trip workflow based on but not the same as the SAP standard offering, but from what we can find, neither TRIP or PR05 when used to create a Trip expense in ESS will cause the workflow to start. They both trigger the e

  • When I open itunes on my laptop, how do i stop itunes from automatically prompting for my apple account info?

    When I open itunes on my laptop, and I have connected my iPod Touch, how do I stop itunes from automatically prompting for my apple account info?  I'm usually not intending to make any purchases at that time, so do they need to know my account info?

  • Validation in FBCJ

    Hi All While saving FBCJ (cash journal) in cash payment tab, i need to restrict the amount. Suppose if i entered Rs. 20000 and press enter error has to come, HOW CAN I DO IT IN VALIDATION pls Regds Rajesh Gupta