RG1 table wrong updation

Material document was posed  with posting date 31.03.2009 on 04.04.2009,  movement type 711 and 712 for financial year stock variance posings.
But the J1irg1 is getting upated with register year 2009 instead of 2008.
The material doucment in 2009, but the excise records are financial year basis. This material document has to be posted in Financial year 2008-09, the registering year should be 2008.
Please advise.
Regards
Srinivas.

Excise records gets updated on system date. We had the same problem when we were posting MIGO in back date i.e in 31.03.2009 was getting posted on entry date of 02.04.2009.

Similar Messages

  • Database table wrongly update

    Hi team,
    I have one big production database; under this production database one very important table is there.
    Here I am updated the table wrongly, but I have table backup before updating  the table.
    Here how we can restore the backup table into old backup table.

    In your case, Its better to use the same condition to update the value from backup tables by joining the columns on a key combination.
    update T1
    set T1.<column1>=T2.<column1>,
    T1.<Column2>=T2.<Column2>
    FROM <TableName> T1 INNER JOIN <Table_Backup> T2 on T1.id=T2.id
    Where t1.id between 100 and 1000
    OR
    If there are no inserts/updates/deletes happen after the change, then you can try dropping the original table and rename the backup table by re-creating all the metadata
    -Prashanth

  • Alter table then Update in PL/SQL block

    I am trying to alter the table then update it :
    declare
    colCount number;*
    begin*
    select count(*) into colCount from all_tab_cols where table_name = 'TEST' and owner = 'TEST_OWNER';*
    dbms_output.put_line('No of Columns in the table : ' || colCount);*
    if colCount = 2  then*
    dbms_output.put_line('Table needs upgrade');*
    execute immediate('ALTER TABLE TEST ADD COL1 VARCHAR2(100) NULL');*
    UPDATE TEST SET COL1 = '123';*
    commit;*
    else*
    dbms_output.put_line('No Changes Required');*
    end if;*
    end;*
    Oracle complains that "COL1" is an invalid identifier.
    I also tried substitute the UPDATE statement with
    **     execute immediate('UPDATE TEST SET VCHCHARSET_OUT='UTF8' WHERE VCHCHARSETNAME='UTF8'');**
    and there is something wrong with the construction of an Update statement in the parenthesis.
    Am I taking the right approach and just need to figuire out the syntax of single quotes or something else is wrong?
    thanks in advance.

    Yes, you are absolutely right, I shouldn't alter the table and then update the values.
    The reason I need to do it relates to the migration process we utilize in our company. Initially I had a set of SQL commands which I executed migrating from one environment to another and eventually to Production. I had an error in the last SQL command which caused migration process to produce "Failure", however the table was already altered and all the rows except the last one were updated. Since I can't successfully migrate to Production with the failed process I have to generate a PL/SQL block which will take in consideration that in one environment the table has already been modified and in the other one is still needs to be changed.

  • RG1 registry not updating

    Dears
    I have gone through existing forums and  I was very clear about the functionality of the same but
    there is one error which I am facing
    SCENARIO
    I have proceeded with the steps given in SD wiki and also I have gone through oss note 373001 which was quite helpful to certain limit because when I am using t-code J1I5 and entering parameters as mentioned in sd wiki page,system is givig me message,
    "list contains no data" while execution.
    Kindly let me know which parameters I have to enter or check!
    Regards
    KAPIL MORE

    Hi Kapil,
    Please follow the below steps and confirm:
    1) Update the Packed/Unpacked indicator for each material in the table.
    2) Include 561(initial upload movement type) in the CIN configuration.
    3) Update RG1 for initial update Material documents.
    Now the initial stock will be available in RG1, then you can try updating the regular transactions (601 etc.,).
    With Regards,
    Karthik
    Edited by: sapsd_123 on Jul 18, 2011 3:54 PM

  • RG1 Registers not updating fully

    Dear CIN gurus,
    RG1 register not updating full contents like opening qty  quantity  and closing balance qty  details. we are using ECC 6.0
    Opening balance Quantity , Closing balance quantity are not coming automatcally.its appearing zero while downloading throu Excel. Other receipts and Issues quantity and values are getting updated. Any config check is there.
    Pls help me to resolve the issue
    regards
    Jaffar

    Hi Mr.Muralidhar,
       Even i am facing the same Issue as mentioned above by Mr.Jaffer.
       In RG1 register,opening balances of materials are being updated after
       maintaining J_2IRG1BAL table entry.
       However, closing balance for the same material is not getting updated.
       For example, opening balance of a material is 1250 Units and no Issues
       have been done on the said day. But closing balance in register for the
       same material is getting displayed as Zero (0).
       Can you please help me to resolve the Issue.
        I also request all other CIN Experts to help me in resolving the Issue.
    Thanks & regards,
    RP

  • What are the tables getting updated

    Dear,
    can anybady tell me the what are the table getting updating while doing J1IEX (CAPTURE AND POST). like RG23A, RG23C,RG1,PLA.......
    THANKS
    MRS

    Thanks Ravi,
    Can u help me some more input like how to see the RG23A value and RG23C,PLA.
    what Is the any t code to the know the status?
    Thanks
    mrs

  • RG1 Table - CIN ( Table - J_2IRG1BAL )

    Dear All,
    Can you please inform me meaning of 2 fields in the table J_2IRG1BAL?
    OP_CF & OP_FINISH
    From the name, it appears both are opening stocks in qunatity. If it is so, what is the difference between these two? The Data populated for these 2 fields is also different.
    I am sure SAP would not provide 2 fields for the same purpose.
    Regards
    Nikhil

    Initial RG1 Updation:
    The sequence is like this:
    1. In SE16, enter Table name: J_2IRG1BAL, and click on Create. Enter the material Number and 'P' in Material form (Loose/Pack indicator) and click 'Save'. This step is to be done only for the first time.
    2. Do your Initial Stock entry in MB1C, movement type 561
    2. Go to J1I5, select Posting Date, Document Year and 'ROP in Classification (Receipt from outside under any other provision). Click on Create icon (Register entry)
    4. Go to J2I5 and extract the RG1 Register. You must get a green checkmark.
    5. After doing the PFI, go to J1I5, select Posting Date, Document Year and Classification 'IDH' (For domestic sales) or 'IDE' if the first removal is for Export Sale. Based on the accounting document generated during PGI (MB03) the RG1 Register gets updated with the removal for Outbound Delivery.
    6. Reextract the RG1 register in J2I5. You must get a green checkmark.For the RG1 Register printout, go to J2I6, select the option, 'Script Form' and hit 'Execute.
    All this was in OSS Note: 373001.
    Regards
    Rajesh Banka

  • RG1 is not Updating Automatically

    Dear All Salute !!
    RG1 is not updating automatically in the system due to data migration on cutoff date since February; they are maintaining parallel in the legacy system (in Excel or any other), though here is updated project from 5.0 to 6.0.
    I am unable to understand, how the system is going on in the lacking of this.
    From Accounts Department side: Still Cenvat duty posting & statement (57AE) are done manually by dispatch/stores department. As per ECC6, system generated report should be available to the end users to avoid duplicate work & mistake.
    As per observation from SD side _no Opening Balance is uploaded while data migration_.
    I have got information through SDN about table J_2IRG1BAL but I am unaware of using this.
    Please provide me complete solution for this to do the needful instead of OSS Notes. 
    Rgds
    Srivastav
    +91-9973504950

    Adding to Komals reply,
    Please go through the sap note 951955 and check below comments:
    Please check whether you have maintained opening balances for
    all RG1 material in table J_2IRG1BAL. If not, please maintain opening
    balances for all RG1 material in J_2IRG1BAL for the date from which
    you want to run the RG1 report.
    Thanks
    Murtuza

  • Delete the data in table then update succesful

    I write some code is work, then the update is fail , but if I delete the data in table then update succesful again, what is the possible reason??

    Then you need to find out what you did wrong.
    As you haven't even posted what you did, let alone what you did wrong, I don't know what magical process you're expecting forum members to engage in now.
    This is the second meaningless question you have posted here today. I am locking them both.
    In future if you want help here, you will need to provide a description of what you are trying to do, the code, what happened instead, and any error messages and stack traces, complete, cut and pasted rather than transcribed or otherwise mangled. Otherwise posting here is just a complete waste of everybody's time, including your own.
    Moderator

  • What are the tables will update while loading Master data ?

    Hello Experts,
    What are the tables will update while loading Master data ? And requesting you to provide more information about Master data loading and its related settings in the beginning of creation infoobjects. 

    It depends upon the type of Master data u r loading....
    In all the master data loadings, for every new value of master data an SID will be created in the SID table /BI*/S<INFOOBJECT NAME> irrespective of the type of master data.
    But the exceptional tables that get updated depending on the type of master data are.....
    If it is a time Independent master data then the /BI*/P<INFOOBJECT NAME> table gets updated with the loaded data.
    If it is a time dependent master data then the /BI*/Q<INFOOBJECT NAME> table gets updated with the loaded data.
    If the master data is of time Independent Navigational attributes then for every data load the SID table will get updated first and then the /BI*/X<INFOOBJECT NAME> table gets updated with the SID's created in the SID table (NOT WITH THE MASTER DATA).
    If the master data is of time dependent navigational attributes then for every data load the SID table will get updated first and then the /BI*/Y<INFOOBJECT NAME> table gets updated with the SID's created in the SID table (NOT WITH THE MASTER DATA).
    NOTE: As said above, For all the data in P, Q, T, X, Y tables the SID's will be created in the S table /BI*/S<INFOOBJECT NAME>
    NOTE: Irrespective of the time dependency or Independency the VIEW /BI*/M<INFOOBJECT NAME> defined on the top of /BI*/P<INFOOBJECT NAME> & /BI*/Q<INFOOBJECT NAME> tables gives the view of entire master data.
    NOTE: it is just a View and it is not a Table. So it will not have any physical storage of data.
    All the above tables are for ATTRIBUTES
    But when it comes to TEXTS, irrespective of the Time dependency or Independency, the /BI*/T<INFOOBJECT NAME> table gets updated (and of course the S table also).
    Naming Convention: /BIC/*<InfoObject Name> or /BI0/*<InfoObject Name>
    C = Customer Defined Characteristic
    0 = Standard or SAP defined Characteristic
    * = P, Q, T, X,Y, S (depending on the above said conditions)
    Thanks & regards
    Sasidhar

  • In import GRN - excise duty is wrongly updating..

    hi frnds..
    In import GRN - excise duty is wrongly updating.. How to resolve this...
    Regards
    Raghav.KH

    Hi,
    After Bill of Entry(MIRO), when u do MIGO, pop up will appear, where ur BOE number will reflect, make sure that u r putting year as 2009.
    Regards,
    Piyush

  • Module pool - table control - update ztable

    hello , i doing a module pool that will have few screens , now i have one screen with a table control that fetch the data from a ztable when screen is call the table control is showing the data and is in grey and no editable i add a pf-status for change that mode i can delete the row from the table control but i don't figure out how update to the ztable when i press save , i wan't too another button for add a new row ( and remain the already in grey ) for add new entrie in the table and update the ztable
    pd: sorry for my bad english
    this is my code:
    TOP:
    PROGRAM  z_pp_lote_etiquetas MESSAGE-ID zz.
    TABLES:zc2p_lote_etique,
           zc2p_lider_modul.
    DATA: ok_code LIKE sy-ucomm.
    DATA save_ok LIKE sy-ucomm.
    * internal table
    DATA: it_zc2p_lote_etique LIKE STANDARD TABLE OF zc2p_lote_etique.
    DATA: it_zc2p_lider_modul TYPE STANDARD TABLE OF zc2p_lider_modul WITH HEADER LINE.
    DATA: it_zc2p_lider_modul_del TYPE STANDARD TABLE OF zc2p_lider_modul WITH HEADER LINE.
    **************Workarea
    DATA: wa_c2p_lote_etique TYPE zc2p_lote_etique.
    DATA: wa_c2p_lider_modul TYPE zc2p_lider_modul.
    DATA: wa_c2p_lider_modul_del TYPE zc2p_lider_modul.
    DATA: sel.
    DATA: MARK.
    DATA: init.
    DATA:  col TYPE scxtab_column.
    DATA: lines TYPE i.
    * Variable Declaration
    DATA : flg, "Flag to set the change mode
    ln TYPE i. "No. of records
    * Table Control Declartion.
    CONTROLS: zc2p_lider_crtl TYPE TABLEVIEW USING SCREEN '101'.
    **PROCESS BEFORE OUTPUT INCLUDE **
    *&  Include           Z_PP_LOTE_ETIQUETAS_O01
    *& Module set_status OUTPUT
    * Setting the GUI status
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'Z_PP_LOT_ETIQ_MENU'.
      SET TITLEBAR 'Z_PP_LOT_ETIQ'.
    ENDMODULE. " set_status OUTPUT screen 100
    *  MODULE status_0101 OUTPUT
    * Setting the GUI status
    MODULE status_0101 OUTPUT.
      SET PF-STATUS 'Z_PP_LOT_ETIQ_ME_101'.
      SET TITLEBAR 'Z_PP_LOT_ETIQ'.
    * Data retreving
      if init is INITIAL.
      select * from zc2p_lider_modul into CORRESPONDING FIELDS OF TABLE it_zc2p_lider_modul.
        DESCRIBE TABLE it_zc2p_lider_modul LINES ln.
        zc2p_lider_crtl-lines = ln + 10.
        init = 'X'.
    endif.
    ENDMODULE.                    "status_0101 OUTPUT
    module change_sdyn_conn output.
    * you can change the content of current table control line via
    * sdyn_conn
      READ TABLE it_zc2p_lider_modul INTO zc2p_lider_modul INDEX zc2p_lider_crtl-current_line.
    endmodule.                             " FILL_TABLE_CONTROL  OUTPUT
    MODULE set_screen_fields OUTPUT.
    LOOP AT SCREEN.
    IF flg IS INITIAL.
    screen-input = 0.
    ELSE.
    screen-input = 1.
    ENDIF.
    *ENDIF.
    * Modifying the screen after making changes
    MODIFY SCREEN.
    ENDLOOP.
    ENDMODULE. " set_screen_fields OUTPUT
    PROCESS AFTER INPUT INCLUDE.
    *  MODULE USER_COMMAND_0100 INPUT
    MODULE user_command_0100 INPUT.
      CASE ok_code.
        WHEN 'LIDM'.
          CALL SCREEN 101.
        WHEN 'CANC'.
          LEAVE PROGRAM.
        WHEN 'BACK'.
          LEAVE PROGRAM.
        WHEN 'EXIT'.
          LEAVE PROGRAM.
      ENDCASE.
    ENDMODULE.                    "USER_COMMAND_0100 INPUT
    *  MODULE USER_COMMAND_0101 INPUT
    MODULE user_command_0101 INPUT.
      save_ok = ok_code.
      CLEAR ok_code.
      CASE save_ok.
        WHEN 'SORT'.
          DATA: fldname(100),help(100).
          READ TABLE zc2p_lider_crtl-cols INTO col WITH KEY selected = 'X'.
          SPLIT col-screen-name AT '-' INTO help fldname.
          SORT it_zc2p_lider_modul BY (fldname).
        WHEN 'CHANGE'.
    * Setting the flag to make the table control in editable mode[excluding
    * primary key].
          flg = 'Y'.
        WHEN 'BACK'.
          CALL SCREEN 100.
          LEAVE SCREEN.
        WHEN 'CANCEL'.
          LEAVE PROGRAM.
        WHEN 'EXIT'.
          LEAVE PROGRAM.
        WHEN 'SAVE'.
          MODIFY  zc2p_lider_modul FROM it_zc2p_lider_modul.
          COMMIT WORK.
      ENDCASE.
    ENDMODULE.                    "USER_COMMAND_0101 INPUT
    *  MODULE read_table_control INPUT
    MODULE read_table_control INPUT.
    * Check input values
      IF mark = 'X' AND save_ok = 'DELETE'.
        DELETE TABLE it_zc2p_lider_modul FROM zc2p_lider_modul.
        DESCRIBE TABLE it_zc2p_lider_modul LINES zc2p_lider_crtl-lines.
      ENDIF.
    ENDMODULE.                             " READ_TABLE_CONTROL  INPUT
    Screen Flow Logic 100
    PROCESS BEFORE OUTPUT.
    MODULE status_0100.
    PROCESS AFTER INPUT.
    MODULE user_command_0100.
    Screen Flow Logic 101.
    PROCESS BEFORE OUTPUT.
      MODULE status_0101.
      LOOP AT it_zc2p_lider_modul INTO zc2p_lider_modul WITH CONTROL
    zc2p_lider_crtl.
    * Dynamic screen modifications
        MODULE set_screen_fields.
        MODULE change_sdyn_conn.
      ENDLOOP.
    PROCESS AFTER INPUT.
      MODULE user_command_0101.
      LOOP AT it_zc2p_lider_modul.
        MODULE read_table_control.
      ENDLOOP.
    i hope somebody can help for what i missing here  thanks

    >
    Sanjeev Kumar wrote:
    > Hello Edgar,
    >
    > Problem seems to be there in the flow logic of 101
    >
    >
    > PROCESS BEFORE OUTPUT.
    >   MODULE status_0101.
    >   LOOP AT it_zc2p_lider_modul INTO zc2p_lider_modul WITH CONTROL
    > zc2p_lider_crtl. " no need to have 'INTO zc2p_lider_modul' above
    > * Dynamic screen modifications
    >     MODULE set_screen_fields.
    >     MODULE change_sdyn_conn.
    >   ENDLOOP.
    > *
    > PROCESS AFTER INPUT.
    >   MODULE user_command_0101. "this should be shifted after the following LOOP...ENDLOOP.

    >   LOOP AT it_zc2p_lider_modul. "need to have 'WITH CONTROL zc2p_lider_crtl' here
    >     MODULE read_table_control.
    >   ENDLOOP.
    >
    >
    >
    > With MODULE user_command_0101 call before the LOOP calls the MODIFY statement (under case save_ok 'SAVE') first and Z-table is updated with the old values as the changes are transferred from screen into the internal table it_zc2p_lider_modul in the LOOP...ENDLOOP later.
    >
    > Try these changes and I hope it will work.
    >
    > Thanks
    > Sanjeev
    i do the firts advice but the second one i get syntax error :
    my code :
    PROCESS AFTER INPUT.
      LOOP  at it_zc2p_lider_modul WITH CONTROL zc2p_lider_crtl.
        MODULE read_table_control.
      ENDLOOP.
       MODULE user_command_0101.
    error :
    In the event PROCESS AFTER INPUT, no additions are allowed with "LOOP     
    AT".

  • I bought the wrong update, I need a Mac-Version but ordered a Windows-Version. What can I do?

    I bought the wrong update, I need a Mac-Version but ordered a Windows-Version. What can I do?

    Since this is a user to user help forum, not Adobe support or sales, nobody here will be able to help... you must talk directly to Adobe
    Information for anyone else with a similar problem
    Adobe contact information - http://helpx.adobe.com/contact.html
    Help for Download & Install & Setup & Activation http://forums.adobe.com/community/download_install_setup
    Next link has a "Chat Now" button near the bottom http://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html

  • ERROR (ORA-01002)  when Ioading a table by UPDATE/INSERT

    I get the error message ORA-01002 ( Fetch out of sequence ) when I am loading a table by UPDATE/INSERT.
    At de Runtime Audit Viewer the process of loading update a number of register, in that case 44.050 and to the left register I get the error message that I show above.

    Can you please give us some details about your source and targets. I have used UPDATE/INSERT but I did not get this kind of error.
    rgds
    -AP

  • How to display contents of one table and update another one

    Hi all
    My requirement is the following:
    - Three tables, guard, site and guard_site where guard_site shows which guards are linked to a particular site and vice-versa
    - I need to create one front-end where i allow all guards to be linked with a particular site
    - so the panel must show all guards available (so get display data from guard table) and then i need to introduce a row selector, which allows user to select whichever guards he/she wants
    - There will be a save button and upon pressing it, i will create an entry on the guards_site table for the selected guards against the siteId provided when user goes to this page.
    - Also upon loading this page if there are already any linked guards these must show as ticked in the row selector.
    so I first attempted using a Tabular form or a form on a table/view, but it then forces me to select a table to update, which is not what i want, the data i display is from guard table, which is not the table i want to update... so I then tried a blank page and I created a SQL Query report region... but it doesn't allow me to add a row selector (even if I have added a button on the region).
    Any ideas?
    Regards and thanks
    Jose
    Ps- im using version Application Express 4.0.2.00.09 that came with Oracle Database Express Edition 11g

    Jose,
    Three tables, guard, site and guard_site where guard_site shows which guards are linked to a particular site and vice-versaso I first attempted using a Tabular form or a form on a table/view, but it then forces me to select a table to update, which is not what i want, the data i display is from guard table, which is not the table i want to update...>
    Maybe I am not understanding what you are trying to do but it appears that the table guard_site is the table you should be updating. Doesn't the guard_site table contain foreign keys from both the guard and site tables?
    Jeff

Maybe you are looking for

  • Need help setting up airport express as bridge (Any help is appreciated)

    Hello so before my wifi was switched I was able to use my 802.11g airport express as a wifi card for the xbox 360. I then decided to upgrade my main base station from an 802.11g base station to and airport extreme 802.11n. My problem is that my airpo

  • Missing PO in 2lis_02_itm init extraction / setup tables

    Hello Gurus, could anyone please help me out with this toppic: I want to extract Purchase Orders to BW via DS 2lis_02_itm. Source System is R/3 4.6c. Filling up the setup tables is working. My problem is, that there are several Purchase Orders which

  • CVI fail to compile in release mode

    I am getting linker errors when I attempt to compile or build a project in the Release mode. In Debug mode the compile and build works fine. Any ideas? Dell E6410 OS = XP not using Release64 or Debug64 yet... ChipB Solved! Go to Solution. Attachments

  • DVI / VA Switches and Splitters

    Hello. Can anyone recommend an DVI / AV switch to split a source taken from a PM G5 and a standard AV signal (such as Sky Box / VHS Player etc.). The DVI / AV switch also has to support audio not just on the AV channel but the DVI channel in order to

  • Project-to-date balance

    Hi all, I try to analys gl balances and I found that column project_to_date shows balances from the first balance on the code combination till now. It is cumulatively? Am I right? This balance will increased till code combination is in use? Thank you