Please chek my modify code.

Hi all
My code for modifying the rows in my internal table is not working.
**MODIFY STATEMENT
*wa_scarr-carrid = 'RG1'.
*wa_scarr-carrname = 'RG Airlines1'.
*loop at it_scarr into wa_scarr.
*wa_scarr-currcode = 'USD'.
*modify it_scarr index 3 from wa_scarr transporting currcode.
*endloop.
*loop at it_scarr into wa_scarr.
write: / wa_scarr-carrid,
          wa_scarr-carrname,
          wa_scarr-currcode.
*endloop.
Please help.
Thanks in advance.

**MODIFY STATEMENT
*wa_scarr-carrid = 'RG1'.
*wa_scarr-carrname = 'RG Airlines1'.
*wa_scarr-currcode = 'USD'.
*modify it_scarr index 3 from wa_scarr transporting currcode. " If  modifying 3rd record no loop is required
*loop at it_scarr into wa_scarr.
* write: / wa_scarr-carrid,
* wa_scarr-carrname,
* wa_scarr-currcode.
*endloop.
If you want to modify all the records use:
**MODIFY STATEMENT
*wa_scarr-carrid = 'RG1'.
*wa_scarr-carrname = 'RG Airlines1'.
*loop at it_scarr into wa_scarr.
*wa_scarr-currcode = 'USD'.
*modify table it_scarr from wa_scarr transporting currcode.
*endloop.
*loop at it_scarr into wa_scarr.
* write: / wa_scarr-carrid,
* wa_scarr-carrname,
* wa_scarr-currcode.
*endloop.
Regards,
Gurpreet

Similar Messages

  • Please Need to Modify code. Help please.

    Ok you see this code here, it works perfectly for just 1 budgie class but I edited the budgie class and made it an array list with more than one budgie. How would I change the simulator code so it can support more than one budgie?
    import java.util.Random;
    public class Simulator
        // Instance variables
        private Cage cage;
        private int numberOfDays = 0;
        private Random r;
         // To die in 3 days, budgie must lose 50g body weight overall.
        public static final int DAILY_EXERCISE = 18; //PR
         * Constructor for objects of class Simulator
         * @param budgieCage, the cage on which to run the simulation.
        public Simulator(Cage budgieCage)
            cage = budgieCage;
            r = new Random();
        public void simulateDay(int amtFeed)
            //a new Day
            numberOfDays++;
            System.out.println("**************************");
            System.out.println ("Day : " + numberOfDays);
            if(!cage.isEmpty())
                    // Ask the cage to supply its budgie object
                    Budgie theBudgie = cage.getBudgie();
                    /* Check there really is a Bird in the cage. null means that there is no
                     * bird object assigned to the myBudgie variable in class cage.
                    if(theBudgie != null)
                       // Code moved from below.  PR
                       // Budgie gets older because a day has gone by.                     
                       theBudgie.incAge();
                       // Budgie exercises every day PR
                       theBudgie.exercise(DAILY_EXERCISE);
                        // Feed the budgie
                        // To avoid feeding nothing, check that food is given PR
                        // Also rejects negative feed!
                        if(amtFeed > 0)
                            theBudgie.eat(amtFeed);
                            System.out.println("Just been fed " + amtFeed + " grams of bird seed");
                        // Check if the budgie is still alive
                       if(theBudgie.isDead())
                            System.out.println(theBudgie.getName() + " just died...sob");
                            System.out.println("Here lies " + theBudgie.getName() + " this budgie was much loved by its " +
                                                   theBudgie.getNumEggsLaid() + " eggy ofspring");
                            cage.removeBudgie();
                        // If alive is it overweight?
                        else if(theBudgie.isObese())
                            System.out.println(theBudgie.getName() + " is obese it needs some exercise");
                            theBudgie.exercise(10);
                        else // Budgie is alive and not overweight
                            System.out.println(theBudgie.toString());
                           // The budgie gets a day older
                           // theBudgie.incAge(); // Moved to above PR
                            // The budgie may lay an egg                   
                            if(theBudgie.layEgg(r))
                                System.out.println(theBudgie.getName() + " has just laid an egg ");
                                System.out.println("The egg has been removed from the cage for artificial incubation \n"
                                                      + "and will be adopted out after hatching");
                else  // No budgie in the cage
                   System.out.println("The cage is empty");
         * Simulate several days without food.
         * @param numDays, the length of the simulation
        public void simulateDays(int numDays)
            for(int i = 0; i < numDays; i++)
                simulateDay(0); // PR
         * Simulate several days with food.
         * @param numDays, the length of the simulation
         * @param amtFeed, the amount of budgie food in grammes
        public void simulateDays(int numDays, int gmsSeed)
            for(int i = 0; i < numDays; i++)
                simulateDay(gmsSeed);
    Please your help would be greatly appreciated. If you need more infor just ask
    Message was edited by:
    gggman

    As the requirements of your application increase you will end up with an messy bit of code that no one including you can read. The long term solution to this is to redesign application cleanly using proper design patterns (Do a google search and read about theses).
    A quick solution would be, in keeping with the current trend in your design is to introduce another method that would take multiple simulation objects and iterate through theme. It would be better if you introduce a new class to do this. Here is an example.
    class MultiSimulator{
        Collection<Simulator> sims;
        MultiSimulator(){
            sims = new HashSet<Simulator>();
        MultiSimulator(Collection<Simulator> sims){
           this.sims = sims;
        //other constructors as you need theme
        boolean addSim(Simulator sim){
            return sims.add(sim);
        boolean addSim(Cage budgieCage){
            return sims.add(new Simulator(budgieCage));
        boolean removeSim(Simulator sim){
            return sims.remove(sim);
          *Simiulate only one day
        void simulateAll(){
        void simulateAll(int days){
            //use for loop and iterator
        void simulate(Simulator sim){
        void simulate(Simulator sim,int days){
        // and any other methods you can think of
    }

  • Please enter valid Security Code

    My iTunes account wont let me download any apps or update them either because it says that my security code for my card is wrong. I have reentered everything about the card including the security code and it still keeps saying "Please enter valid security code". I'm looking at the security code and I dont know what to do about it. I was going to try and email Apple about it but I cannot find an email address for them and its complicated trying to contact them. How to do I fix this problem or email Apple about it?

    Have a look here  >  http://support.apple.com/kb/TS1646
    And there is this...
    Contact iTunes Customer Service
    Apple  Support  iTunes Store  Contact Us

  • Please advice which T-code can I use

    hi experts,
    I need a report to display the entire PO created by Company code xxxx from July to Sept 08.
    Please advice which T-code can I use.
    thanks in advance,
    mohammad

    Use ME2N Report on Purchase Orders and Input Document Date From Date and To Date Field and Select the scope of List as ALLES_ALV / as per your Requirement and Execute.
    Else Go to SE11 and Input Table EKKO and then Click on Display / F7 then Execute / CtrlShiftF10 and Input Document Date and Execute.

  • Hi guys please give me sample code for call transaction that handles error

    hi guys, please give me sample code for call transaction that handles error,
    please send me the sample code in which there should be all decleration part and everything, based on the sample code i will develop my code.
    please do help me as it is urgent.
    thanks and regards.
    prasadnn.

    Hi Prasad,
    Check this code.
    Source Code for BDC using Call Transaction
    *Code used to create BDC
    *& Report  ZBDC_EXAMPLE                                                *
    *& Example BDC program, which updates net price of item 00010 of a     *
    *& particular Purchase order(EBELN).                                   *
    REPORT  ZBDC_EXAMPLE  NO STANDARD PAGE HEADING
                          LINE-SIZE 132.
    Data declaration
    TABLES: ekko, ekpo.
    TYPES: BEGIN OF t_ekko,
        ebeln TYPE ekko-ebeln,
        waers TYPE ekko-waers,
        netpr TYPE ekpo-netpr,
        err_msg(73) TYPE c,
    END OF t_ekko.
    DATA: it_ekko  TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
          wa_ekko  TYPE t_ekko,
          it_error TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
          wa_error TYPE t_ekko,
          it_success TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
          wa_success TYPE t_ekko.
    DATA: w_textout            LIKE t100-text.
    DATA: gd_update TYPE i,
          gd_lines TYPE i.
    *Used to store BDC data
    DATA: BEGIN OF bdc_tab OCCURS 0.
            INCLUDE STRUCTURE bdcdata.
    DATA: END OF bdc_tab.
    *Used to stores error information from CALL TRANSACTION Function Module
    DATA: BEGIN OF messtab OCCURS 0.
            INCLUDE STRUCTURE bdcmsgcoll.
    DATA: END OF messtab.
    *Screen declaration
    SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME
                                        TITLE text-001. "Purchase order Num
    SELECT-OPTIONS: so_ebeln FOR ekko-ebeln OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK block1.
    SELECTION-SCREEN BEGIN OF BLOCK block2 WITH FRAME
                                        TITLE text-002. "New NETPR value
    PARAMETERS:  p_newpr(14)   TYPE c obligatory.  "LIKE ekpo-netpr.
    SELECTION-SCREEN END OF BLOCK block2.
    *START-OF-SELECTION
    START-OF-SELECTION.
    Retrieve data from Purchase order table(EKKO)
      SELECT ekkoebeln ekkowaers ekpo~netpr
        INTO TABLE it_ekko
        FROM ekko AS ekko INNER JOIN ekpo AS ekpo
          ON ekpoebeln EQ ekkoebeln
       WHERE ekko~ebeln IN so_ebeln AND
             ekpo~ebelp EQ '10'.
    *END-OF-SELECTION
    END-OF-SELECTION.
    Check data has been retrieved ready for processing
      DESCRIBE TABLE it_ekko LINES gd_lines.
      IF gd_lines LE 0.
      Display message if no data has been retrieved
        MESSAGE i003(zp) WITH 'No Records Found'(001).
        LEAVE TO SCREEN 0.
      ELSE.
      Update Customer master data (instalment text)
        LOOP AT it_ekko INTO wa_ekko.
          PERFORM bdc_update.
        ENDLOOP.
      Display message confirming number of records updated
        IF gd_update GT 1.
          MESSAGE i003(zp) WITH gd_update 'Records updated'(002).
        ELSE.
          MESSAGE i003(zp) WITH gd_update 'Record updated'(003).
        ENDIF.
    Display Success Report
      Check Success table
        DESCRIBE TABLE it_success LINES gd_lines.
        IF gd_lines GT 0.
        Display result report column headings
          PERFORM display_column_headings.
        Display result report
          PERFORM display_report.
        ENDIF.
    Display Error Report
      Check errors table
        DESCRIBE TABLE it_error LINES gd_lines.
      If errors exist then display errors report
        IF gd_lines GT 0.
        Display errors report
          PERFORM display_error_headings.
          PERFORM display_error_report.
        ENDIF.
      ENDIF.
    *&      Form  DISPLAY_COLUMN_HEADINGS
          Display column headings
    FORM display_column_headings.
      WRITE:2 ' Success Report '(014) COLOR COL_POSITIVE.
      SKIP.
      WRITE:2 'The following records updated successfully:'(013).
      WRITE:/ sy-uline(42).
      FORMAT COLOR COL_HEADING.
      WRITE:/      sy-vline,
              (10) 'Purchase Order'(004), sy-vline,
              (11) 'Old Netpr'(005), sy-vline,
              (11) 'New Netpr'(006), sy-vline.
      WRITE:/ sy-uline(42).
    ENDFORM.                    " DISPLAY_COLUMN_HEADINGS
    *&      Form  BDC_UPDATE
          Populate BDC table and call transaction ME22
    FORM bdc_update.
      PERFORM dynpro USING:
          'X'   'SAPMM06E'        '0105',
          ' '   'BDC_CURSOR'      'RM06E-BSTNR',
          ' '   'RM06E-BSTNR'     wa_ekko-ebeln,
          ' '   'BDC_OKCODE'      '/00',                      "OK code
          'X'   'SAPMM06E'        '0120',
          ' '   'BDC_CURSOR'      'EKPO-NETPR(01)',
          ' '   'EKPO-NETPR(01)'  p_newpr,
          ' '   'BDC_OKCODE'      '=BU'.                      "OK code
    Call transaction to update customer instalment text
      CALL TRANSACTION 'ME22' USING bdc_tab MODE 'N' UPDATE 'S'
             MESSAGES INTO messtab.
    Check if update was succesful
      IF sy-subrc EQ 0.
        ADD 1 TO gd_update.
        APPEND wa_ekko TO it_success.
      ELSE.
      Retrieve error messages displayed during BDC update
        LOOP AT messtab WHERE msgtyp = 'E'.
        Builds actual message based on info returned from Call transaction
          CALL FUNCTION 'MESSAGE_TEXT_BUILD'
               EXPORTING
                    msgid               = messtab-msgid
                    msgnr               = messtab-msgnr
                    msgv1               = messtab-msgv1
                    msgv2               = messtab-msgv2
                    msgv3               = messtab-msgv3
                    msgv4               = messtab-msgv4
               IMPORTING
                    message_text_output = w_textout.
        ENDLOOP.
      Build error table ready for output
        wa_error = wa_ekko.
        wa_error-err_msg = w_textout.
        APPEND wa_error TO it_error.
        CLEAR: wa_error.
      ENDIF.
    Clear bdc date table
      CLEAR: bdc_tab.
      REFRESH: bdc_tab.
    ENDFORM.                    " BDC_UPDATE
          FORM DYNPRO                                                   *
          stores values to bdc table                                    *
    -->  DYNBEGIN                                                      *
    -->  NAME                                                          *
    -->  VALUE                                                         *
    FORM dynpro USING    dynbegin name value.
      IF dynbegin = 'X'.
        CLEAR bdc_tab.
        MOVE:  name TO bdc_tab-program,
               value TO bdc_tab-dynpro,
               'X'  TO bdc_tab-dynbegin.
        APPEND bdc_tab.
      ELSE.
        CLEAR bdc_tab.
        MOVE:  name TO bdc_tab-fnam,
               value TO bdc_tab-fval.
        APPEND bdc_tab.
      ENDIF.
    ENDFORM.                               " DYNPRO
    *&      Form  DISPLAY_REPORT
          Display Report
    FORM display_report.
      FORMAT COLOR COL_NORMAL.
    Loop at data table
      LOOP AT it_success INTO wa_success.
        WRITE:/      sy-vline,
                (10) wa_success-ebeln, sy-vline,
                (11) wa_success-netpr CURRENCY wa_success-waers, sy-vline,
                (11) p_newpr, sy-vline.
        CLEAR: wa_success.
      ENDLOOP.
      WRITE:/ sy-uline(42).
      REFRESH: it_success.
      FORMAT COLOR COL_BACKGROUND.
    ENDFORM.                    " DISPLAY_REPORT
    *&      Form  DISPLAY_ERROR_REPORT
          Display error report data
    FORM display_error_report.
      LOOP AT it_error INTO wa_error.
        WRITE:/      sy-vline,
                (10) wa_error-ebeln, sy-vline,
                (11) wa_error-netpr CURRENCY wa_error-waers, sy-vline,
                (73) wa_error-err_msg, sy-vline.
      ENDLOOP.
      WRITE:/ sy-uline(104).
      REFRESH: it_error.
    ENDFORM.                    " DISPLAY_ERROR_REPORT
    *&      Form  DISPLAY_ERROR_HEADINGS
          Display error report headings
    FORM display_error_headings.
      SKIP.
      WRITE:2 ' Error Report '(007) COLOR COL_NEGATIVE.
      SKIP.
      WRITE:2 'The following records failed during update:'(008).
      WRITE:/ sy-uline(104).
      FORMAT COLOR COL_HEADING.
      WRITE:/      sy-vline,
              (10) 'Purchase Order'(009), sy-vline,
              (11) 'Netpr'(010), sy-vline,
              (73) 'Error Message'(012), sy-vline.
      WRITE:/ sy-uline(104).
      FORMAT COLOR COL_NORMAL.
    ENDFORM.                    " DISPLAY_ERROR_HEADINGS
    Hope this resolves your query.
    Reward all the helpful answers.
    Regards

  • Internal order for AUC with cost center - 'Please Select proper plant code'

    Hi All,
    User is getting error 'Please Select proper plant code', while inserting 'cost center' in field 'Responsible CCtr' for new Internal order which is for AUC.
    In Devlopment server also when we try to create asset through internal order we get same error.
    For your information this is new Plant, profit center and cost center for which we are trying to create internal order for AUC.
    If we try to post without Cost centre entry is saved. But we want to add cost center.
    Please help to resolve.

    Hi,
    If it is a custom message then please check whether any Validation or USer exit is maintained for the IO master data. If yes, then update the cost centre accordingly.
    Regards
    Sreekanth

  • Please validate my simple code

    I have to process for two occurances of Perform xyz which is in a loop if P_checkbox is checked.
    Please validate my below code
    data : count TYPE i.
    LOOP at ITAB
        IF P_checkbox IS INITIAL.
    " need to process this perfrom xyz as usual.
            PERFORM xyz.    
       ELSEIF NOT P_checkbox IS INITIAL
        AND count LE 2.
    "B'cos I need to proess this perfrom only for two occurances
            PERFORM xyz.    
       ENDIF.
    ENDLOOP.
    FORM xyz.
      IF NOT P_checkbox IS INITIAL.
        count = count + 1.
      ENDIF.
    ENDFORM.

    Hi
    You can rewrite like this..
    I have to process for two occurances of Perform xyz which is in a loop if P_checkbox is checked.
    Please validate my below code
    data : count TYPE i.
    LOOP at ITAB
    IF P_checkbox IS INITIAL.
    " need to process this perfrom xyz as usual.
    PERFORM xyz.
    ELSE.
    while count <=2.
    "B'cos I need to proess this perfrom only for two occurances
    PERFORM xyz.
    endwhile.
    ENDIF.
    ENDLOOP.
    FORM xyz.
    IF NOT P_checkbox IS INITIAL.
    count = count + 1.
    ENDIF.
    ENDFORM.
    Regards,
    Raj

  • Help in modifying codes.

    hi, im having a problem now, lets say i have a table which contain
    (NAME(pk), AGE, GENDER), from program A i will insert the NAME and Age, so in the table it will be like (Tzepin, 20, GENDER), and from program B i wan to insert Male GENDER to my tzepin line, so it will become (Tzepin, 20, Male) but the modifying codes seems to blank the age and the end result is
    (Tzepin, nil, Male). How can i do to let the modify code to only modify the selected fields.

    Hi,
    Try this,
    Modify table i_tab from wa_itab transporting gender.
    This will change only the gender for the matching key in the work area.
    Reward if useful.
    Thanks,
    Muthu.

  • Miro not posted, error "Please Enter the Section Code  Business Place"

    Hi all,
       When I tried to post a document in MIRO, I am getting the following error "Please Enter the Section Code  Business Place" only for the one particular document.
                    However Business place or Segments are not configured. Even purchase documents are getting posted in MIRO, except the above one. If any one have any suggestions let me know...
    Thanks & Regards,
      Balaji
      9080444242

    Hello,
    Business Place & Section code are required to be mentioned in MIRO document for TDS purpose. It could be either determined automatically through substitution rule or the field could be made mandatory through validation.
    Business Place is created for TAN registration that your company has, Section Code is created in line with the bUsiness Place.
    Section Code derives the Business Place.
    Hence its compulsory to mention Sec. Code & Business Place while posting the transactions for TDS.
    Regards,
    jaymin r. bhatt

  • Ringback Tones: System error occurred. Please try again later. code: 4033

    I am consistently getting this message when attempting to manage my Ringback tones with the VZW Media Manager, it partially comes up then that error appears.
    "System error occurred. Please try again later.
    code: 4033"
    Any ideas? I've sent this to Verizon but received no response.
    Another thing, the Media Store is extremely slow most of the time and unresponsive, are they planning on resolving this issue?

    Ok, this is even more weird, some serious system issue apparently.
    I am unable to login to the Media Store now, it tells me it is unavailable.
    Then when attempting to click the "Manage" link on the Media Store homepage under "Ringback Tones", it redirects me to a Yahoo! Page that says "Page Not found".
    Anyone else having these issues?

  • Please help 'Translate' These codes from AS2 to AS3 for me

    Hi, i need help 'translating' these codes from Action Script 2 to Action Script 3. Please Do it for me:
    toc    loadText = new LoadVars();
        loadText.load("Curie.txt");
        loadText.onLoad = function(success) {
            if (success) {
                // trace(success);
                Curie.html = true;
                Curie.htmlText = this.Curie;
    Please translate it for me, i need it ASAP thanks
    Kenneth

    Thank you for helping me
    Kenneth
    Date: Thu, 15 Oct 2009 05:49:14 -0600
    From: [email protected]
    To: [email protected]
    Subject: Please help 'Translate' These codes from AS2 to AS3 for me
    Take a look at that:
    http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/migration.html
    There is a LoadVars section on that.
    There is also a tutorial here:
    http://www.republicofcode.com/tutorials/flash/as3externaltext/
    Cheers,
    CaioToOn!
    >

  • Why does it say my coupon code is "Invalid coupon code. Please check the coupon code and re-enter."

    When I enter my coupon code to get my serial number it says "Invalid coupon code. Please check the coupon code and re-enter." It is the correct coupon code. And I have just deactivated my lisence on my old computer.

    If you had not deactivated it on the old computer and it is a Windows machine there would have been a chance of getting it using Belarc Advisor
    (http://www.belarc.com/free_download.html).  I do not know if you can still do so.
    You can try contacting Adobe support via chat and see if they can help.
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )

  • Can you please give me my code to be able do register Photoshop and Lightroom, I have now got a one month try out version of Photoshop. Can you also give me my log gin, I have two companies, so I my have mixed up the logins. Best R Leif O Pehrson  26 aug

    Can you please give me my code to be able do register Photoshop and Lightroom, I have now got a one month try out version of Photoshop.
    Can you also give me my log gin, I have two companies, so I my have mixed up the logins.
    Best R
    Leif O Pehrson
    26 aug 2014 kl. 14:08 skrev Adobe Creative Cloud <[email protected]>:
    I have a order number, do you want it ?

    Cloud programs do not use serial numbers... you log in to your paid Cloud account to download & install & activate... you MAY need to log out of the Cloud and restart your computer and log back in to the Cloud for things to work
    Some general information for a Cloud subscription
    Log out of your Cloud account... Restart your computer... Log in to your paid Cloud account
    -Sign in help http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html
    http://www.adobe.com/products/creativecloud/faq.html
    http://helpx.adobe.com/creative-cloud/help/install-apps.html to install or uninstall
    http://forums.adobe.com/community/download_install_setup/creative_cloud_faq
    What it is http://helpx.adobe.com/creative-cloud/help/creative-cloud-desktop.html
    Cloud Getting Started https://helpx.adobe.com/creative-cloud.html

  • What is IMPORT/EXORT statements ?please give some example code?

    What is IMPORT/EXORT statements ?please give some example code?

    EXPORT :-To read data objects from an ABAP program into ABAP memory, use the following statement:
    Syntax
    EXPORT <f1> [FROM <g 1>] <f 2> [FROM <g 2>] ... TO MEMORY ID <key>.
    This statement stores the data objects specified in the list as a cluster in memory. If you do not use the option FROM <f i >, the data object <f i > is saved under its own name. If you use the FROM <g i > option, the data objet <g i > is saved under the name <f i >. The name <key> identifies the cluster in memory. It may be up to 32 characters long.
    The EXPORT statement always completely overwrites the contents of any existing data cluster with the same name <key>.
    IMPORT :-To read data objects from ABAP memory into an ABAP program, use the following statement:
    Syntax
    IMPORT <f1> [TO <g 1>] <f 2> [TO <g 2>] ... FROM MEMORY ID <key>.
    This statement reads the data objects specified in the list from a cluster in memory. If you do not use the TO <g i > option, the data object <f i > in memory is assigned to the data object in the program with the same name. If you do use the option, the data object <f i > is read from memory into the field <g i >. The name <key> identifies the cluster in memory. It may be up to 32 characters long.
    You do not have to read all of the objects stored under a particular name <key>. You can restrict the number of objects by specifying their names. If the memory does not contain any objects under the name <key>, SY-SUBRC is set to 4. If, on the other hand, there is a data cluster in memory with the name <key>, SY-SUBRC is always 0, regardless of whether it contained the data object <f i >. If the cluster does not contain the data object <f i >, the target field remains unchanged.
    they are used to save and reterive data in ABAP memory.
    here is an example to clear about them.
    <b>REPORT ZWA_TEST2 .
    data: it_bkpf type table of bkpf with header line.
    SELECT * FROM bkpf into table it_bkpf.
    EXPORT it_bkpf TO MEMORY ID 'MID'.
    refresh it_bkpf.
    IMPORT it_bkpf FROM MEMORY ID 'MID'.
    LOOP AT It_bkpf.
    write:/ it_bkpf-belnr.
    ENDLOOP.</b>
    Reward points if it is useful.......

  • Please provide the abap code for below requirement

    note: if the user exit is not suitable please provide the suitable user exit and code
    1   Business requirement
          In order to update the postings and tracking on Buffer Account postings the User Exists need to be modified and extended where possible in order to trace the Buffer postings in applicable MM and FI reports , i.e. at PO level, GR level and IR level.
    The User-exit used in the document is only for transactions at Invoice Verification level (MIRO).
    Therefore when an Invoice is created and the requirements for Buffer Account postings are met, i.e. relevant doc types and AAC, a table for Buffer Account entries and a subsequent report is required in order to trail the various Buffer entries and postings.
    The User Exit : LMR1M003.
    The Component is  EXIT_SAPLMRMP_003 . 
    The user-exit (LMR1M003) gets triggered when an Invoice is created or changed (MIRO). When an Invoice is cancelled, all entries will have to be reversed.
    The code in this user-exit will identify the invoice number (bkpf-belnr)  that has been created or changed and thus post entries in the applicable buffer accounts for this purpose.
    2.0   Buffer Table
    The Buffer Account table for the Invoice will have the following fields
    Field      DataElement      Data Type     Description                              Saptable     
    mandt     mandt          clnt          client                         key     init     bkpf
    bukrs     bukrs          char          companycode                    key     init     bkpf
    belnr     belnr_d     char          accountdocumentno               key     init     bkpf
    gjahr     gjahr          numc          fiscalyear                    key     init     bkpf
    kostl     kostl          char          cost center                    key     init     csks     
    ebeln     ebeln          char          purchasing document number     key     init     ekko     
    blart     blart          char          document type                         bkpf
    bldat     bldat          dats          document date in document                    bkpf     
    budat     budat          dats          posting date in document                    bkpf
    xblnr     xblnr1          char          reference document number                    bkpf
    bstat     bstat_d     char          Document Status                         bkpf
    xstov     xstov          char          indicator: document is flagged for reversal          bkpf
    xmwst     xmwst          char          calculate tax automatically                    bkpf
    reindat     reindat          dats          invoice receipt date                         bkpf
    werks     werks_d     char          plant                                    csks
    wrbtr     wrbtr          curr          amount in document currency               bseg     
    bsart     esart          char          po doc type                              ekko     
    ebelp     ebelp          numc          item number of purchasing document          bseg     
    nplnr     nplnr          char          network number for account assignment          bseg     
    knttp     knttp          char          account assignment category                    ekpo
    3.0   Detail Design
    3.1   Invoice Details
    •     The User-exit LMR1M003 is only to be used at Invoice level (MIRO).
    •     The user-exit (LMR1M001) gets triggered when an Invoice is created or changed (MIRO) .the field name bkpf-belnr is fetched from the table bkpf and checked whether document created or changed and triggers the user exit LMR!M003 .
    •     When an Invoice is cancelled, all entries will have to be reversed this is done by checking the value of flag indicator  bkpf-xstov fetched from the table bkpf .
    •     The code in this user-exit will identify the invoice number that has been created or changed and thus post entries in the applicable buffer accounts for this purpose.

    Cross-post: http://forum.java.sun.com/thread.jspa?threadID=763485

Maybe you are looking for

  • Problem with Sound in AE CS5

    When previewing or rendering in AE, the sound is sped up giving it a high pitch like the chipmunks, this is especially irritating right now because I am animating based on sound. It is obviously too fast and what ever file type I use MP3, WAV, AIFF t

  • Export Options not displaying in Object Style Options panel

    Hi, I'm trying to create an object style for decorative images as artefacts and set that style for export to PDF, but in the Object Style Options panel the Export Options settings (which I've seen before, bottom left of the panel) are not displayed.

  • Error code 2755 when trying to install latest PC S...

    I have just had my laptop rebuilt and am trying to install Nokia PC Suit 682 rel 27.0. After accepting the terms and conditions and clicking the install button I get the error message saying 'The system cannot open the device or file specified' and a

  • Installation CD,  not DVD

    I purchased a Canon CanoScan 9000F, which included Photoshop elements 8.  I received an installation DVD but only have a cd reader.  What do I do now?

  • How i can download and trial  After Effects CC or cs5-6 medle east edition ??

    how i can download and trial  After Effects CC or cs5-6 medle east edition ??