LIS -  Correct entries in Logistic tables.

Dear friends ,
We are appling procedures from OSS notes 64636, 79083, 111691 and 518876 to re-structure the data in LIS tables
So we run tcodes OLIZ , OLI2 , OLI3 , OMO9 also run program RMCBNEUB. Check values in MC.5.
When we checked the entries only current month and previous period was updated.
How could I update all months starting from January of 2008? Is it necessary to open the periods in FI to do this ?
best regards,
Alessandro

Notes reported solved our problem.

Similar Messages

  • How to schedule a job poles for a entry in a table.

    Hi All ,
    I have to schedule a job which runs somw stored procedures only on sunday and monday of a week at 3 AM in the morning.
    The condition is that another application puts an entry into a table around 3 AM (some times before and some times late), now my should query
    count in the table and runs the procs , however once its done ,it should do it monday and then it should not run till next sunday.
    I have successfully created a job which keeps failing till it receives the entry and successfully runs the proc once the entry is there...
    However how to schedule this thing ..correctly I need help , I want this job to disable itself on sunday once the procs are run wake up next morning
    run again..and then next week ..
    Following is the job ,
    BEGIN
    -- Job defined entirely by the CREATE JOB procedure.
    DBMS_SCHEDULER.create_job (
    job_name => 'TESTING_FIRST_JOB',
    job_type => 'PLSQL_BLOCK',
    job_action => 'BEGIN SEODS.test_procedure_11292011(); END;',
    start_date => SYSTIMESTAMP,
    repeat_interval => 'freq=minutely; byminute=5',
    end_date => NULL,
    enabled => TRUE,
    comments => 'Job defined entirely by the CREATE JOB procedure.');
    end;
    =====================================================
    and following is the proc...
    create or replace
    procedure
    test_procedure_11292011 as
    var number;
    begin
    insert into SEODS.job_status
    values (systimestamp, 'JOB TEST_PROCEDURE_11292011 HAS STARTED SUCCESSFULLY');
    commit;
    SELECT COUNT(*)
    INTO var
    FROM seods.student_weekend_status;
    if var=0 then
    raise_application_error(-20101, 'There is no record in the student_weekend_status table');
    else
    all_realtime();
    end if;
    insert into SEODS.job_status
    values (systimestamp, 'JOB TEST_PROCEDURE_11292011 HAS FINISHED SUCCESSFULLY');
    commit;
    end;
    Thanks in advance , please help

    Hi,
    This is a known issue in the previous SQL Server version and has been fixed in SQL Server 2012. You should be able to set 90 minutes and the change would be saved in SQL Server 2012.
    http://connect.microsoft.com/SQLServer/feedback/details/346786/ssms-does-not-support-job-schedule-frequencies-greater-than-60-minutes
    Currently, you may schedule the job to occur every 1 hour or you may refer to the suggestion by Latheesh to get around this.
    Thank you for your understanding.
    Tracy Cai
    TechNet Community Support

  • Update the correct profit center in tables BSEG / BSAS / BSIS / BSIK / BSAK

    Hi FI Gurus,
    I am looking after a Support Project in SAP IS-Retail. I am from the FI functional and possess very limited knowledge in FI.
    My client has done the sales posting in SAP using IDOC's. During the postings, it was found that wrong Profit Centers were assigned. Due to this, the sales reports based on Profit Center are coming wrong. It was suggested to the client to reverse the IDOCs, do necessary changes in Profit Centers and re-post the IDOCs. The client wanted a short method to get the reports right. A senior consultant (Non FI) in the Company and the Management are forcing me to write a ABAP program to update certain (not all) FI tables. According to me, it will have some negative impact on the system for which reason I am not ready to take the call as a Project Manager. The management wants me to do the following (I am quoting the same mail which I received from the consultant ) :
    We need to update the correct profit center in tables BSEG / BSAS / BSIS / BSIK / BSAK / BSID / BSAD, wherever the records exists against billing document numbers provided.
    BAPI for updating profit center in Accounting documents: BAPI_ACC_DOCUMENT_POST
    Function Module : 'BAPI_DOCUMENT_CHANGE'
    Also look at SAP Note: Note 966428 - FB02: Functional area (FKBER) can be changed on coding block
    Based on the above, the ABAPer has written the program, the program will update the tables BSEG, BSIS, BSIK, according to the selection criteria of document number, company code and line item number with the new profit centers.
    Please clarify me about the following :
    1. This program is updating profit center in just the FI tables (BSEG, BSIS, BSIK etc.), but the New GL tables (faglflexa and faglflext) which have approx. 65 lakh entries in PRD do not get updated with the correct profit center.
    2. The Controlling tables also do not get updated with this program yet. Also since the previoius updation of Profit centers did not happen correctly, most of the times the controlling document has not been generated at all. Since we will be updating the profit center in just the FI tables, the controlling document will not be created still. Though there are SAP notes suggesting re-creation of the Controlling documents, which is still an option you can choose. Please confirm.
    3. The Special GL also does not get updated because of this.
    This is a very critical and hot issue. My job is at Stake as the Management has threatened me of sacking if I do not follow their directives as they are only concerned with their money.
    Is the consultant who suggested this change RIGHT ?
    Your early replies will help me take the decision.
    Regards

    Hi,
    There is no standard program or BAPI that would update profit centre in a posted document. You should either develop your own process for it,which is not recommended, but sometimes is essential, or reverse the existing documents and post them with the correct profit centre.
    Regards,
    Eli

  • How to populate multiple entries to Bapi Table

    Hi all,
      How to populate multiple entries to Bapi Table.....
    Here is the code(in component controller)
      Z_Recr_Apply_Point_Input request = new Z_Recr_Apply_Point_Input(WDModelScopeType.TASK_SCOPE);
           int  size = wdContext.nodeApplicants().size();
                for(int i = 0 ; i < size ; i++)
                    String isselected = wdThis.wdGetContext().nodeApplicants().getElementAt(i).getAttributeAsText("Appl_Number");
                     if(isselected == "true")
                               com.models.veteranpoint.Zrecr_Aplno appid = new
                                    com.models.veteranpoint.Zrecr_Aplno();                                        
                                    appid.setAppl_Number(wdContext.nodeApplicants().
                                        getApplicantsElementAt(i).getAppl_Number());
                               request.addApplicants(appid);
    I want to pass the selected input field to bapi..
    Please tel me where i pass the input field...
    Please correct my code...
    Thanks & regards
    Mathi s

    Hi,
    Steps to insert multiple entries to BAPI table.
    1.Create an instance for BAPI input
    2.Bind the instance to the Node of the BAPI input
    3.Create instance of the Structure(BAPI table) to which input has to be added.
    4.Set the input values to the Structure instance.
    5.Add the instance to the BAPI input.
    6.Execute
    From the given example,I assume Z_Recr_Apply_Point_Input  is the BAPI Input and com.epiuse.us.recruitment.models.veteranpoint.Zrecr_Aplno as Structure
    Step 1:
    Z_Recr_Apply_Point_Input request = new Z_Recr_Apply_Point_Input(WDModelScopeType.TASK_SCOPE);
    Step 2:
    <b>wdContext.nodeZ_Recr_Apply_Point_Input.bind(request);</b>
    Steps 3 & 4:
    int size = wdContext.nodeApplicants().size();
    for(int i = 0 ; i < size ; i++)
    String isselected = wdThis.wdGetContext().nodeApplicants().getElementAt(i).getAttributeAsText("Appl_Number");
    if(isselected == "true")
    com.epiuse.us.recruitment.models.veteranpoint.Zrecr_Aplno appid = new
    com.epiuse.us.recruitment.models.veteranpoint.Zrecr_Aplno();
    appid.setAppl_Number(wdContext.nodeApplicants().
    getApplicantsElementAt(i).getAppl_Number());
    <b>wdContext.currentZ_Recr_Apply_Point_InputElement().modelObject().addRecr_Aplno(appid);</b>
    Step 5:
    <b>wdContext.currentZ_Recr_Apply_Point_InputElement().modelObject().execute();</b>
    Regards,
    Viji Priya

  • Getting idoc error - Entry in outbound table not found- in outbound scenari

    hi,
    while generating idoc for outbound idoc to file scenario - i am getting error
    "Entry in outbound table not found" (29 - error in ALE service)
    Diagnosis
    No partner profile (outbound parameter) could be found using the following key:
    /C100/KU//WP_EAN////
    This refers to the key fields in table EDP13:
    RCVPRN  Partner number
    RCVPRT  Partner type
    RCVPFC  Partner function
    MESTYP  Logical message
    MESTYP  Message code
    but already entry has been maintained in partner profiles for the corresponding message.
    same setup is working for other message types. pls let me know what might be the problem

    Hi,
    Check whether partner name is correct or not in WE20/outbound parameters undoer Logical System.
    Regards,
    Sreenivas.

  • How to validate an entry in a table?

    I have a (single column) table view linked to an NSArrayController that has a custom class definition as its 'Class Name'. I also have KVC compliant methods to populate the array controller within my 'model'. I can see the 'countOf...' and 'objectIn...AtIndex' methods being called and the table contains the correct data.
    I have the 'Validates Immediately' option set on both the table column binding and the controller content array binding.
    My problems come when I alter the contents of an entry in the table. Firstly, the only 'validate...:error:' method that is called is on the custom class for the field that is updated.
    Secondly, the 'insertObject:in...:AtIndex' and similar (especially the 'replaceObjectIn...AtIndex:withObject:') methods are not called.
    I have checked and rechecked that the KVC names include the correctly capitalised name of the class.
    How can I get the validation (and other) routines to be called?
    Thanks
    Susan

    Abandoned!!

  • Initial filling of logistic table is not working for Volume Tracking

    Hi,
    I have set up the TSCA 12B scenario for volume tracking. When starting the initial filling of the logistic tables the system recognizes the composition correctly (log file is OK). However the result is that table CCRCT_EHS_COMP is not filled at all and the table CCRCT_EHS_COMP_REG is filled correctly. Has anyone experience what could be the reason that table CCRT_EHS_COMP is not filled?
    Thanks,
    Paul
    I found the solution. There are 2 different version of determining the composition for TSCA 12B. I changed to the other one and the problem was solved.
    Edited by: P. Hensgens on Feb 21, 2012 1:17 PM

    Hi,
    You have to debug the entire system behaviour , the approval process using the second approver.
    As first step , please check the security level of the second approver. Restart of workflow is based on the security level of the approver.
    you can find the parameter for security level in the personalization tab of the user .
    there is one function module  which determines wether the workflow should be restarted (or) not.
    i do not remember the exact name of the function module.
    1)start transaction se37
    2)enter bbpwflrestart*.
    3) system will return a number of function modules , of them one function module determines wether to restart the workflow (or) not.
    Please check what does the above function module return for the user and the shopping cart , there will be one parameter 'restart' which triggers the start

  • Entry in outbound table not found E0 400

    Hi all,
        Can anyone please help me with the below error which i am facing in ALE IDOCS.
    status 29: Entry in outbound table not found E0 400
    I am unable to see my port name in the created IDOC and the basic type is incorrectly called.
    may I know what settings need to be verified.
    Thanks in advance.

    SAP checks the IDoc control record for outbound IDoc against EDP13 (outbound partner profile table). EDP13 is updated when you create outbound partner profile parameter in WE20
    Check if you have created the partner profile outbound parameter in WE20 correctly to match your outbound IDoc control record.
    SAP checks partner number, port, partner function of the receiver along with message type, message code and message function. They all should match between WE20 outbound partner profile parameter for your message type and the IDoc control record (EDIDC) segment.
    This is the SAP code that throws the error message you mentioned
    read table q_edidc index 1.
      select single * from edp13
                      where rcvprn eq q_edidc-rcvprn
                      and   rcvprt eq q_edidc-rcvprt
                      and   rcvpfc eq q_edidc-rcvpfc
                      and   mestyp eq q_edidc-mestyp
                      and   mescod eq q_edidc-mescod
                      and   mesfct eq q_edidc-mesfct
                      and   test   eq q_edidc-test.
      if sy-subrc ne 0.
        concatenate q_edidc-rcvprn '/' q_edidc-rcvprt '/' q_edidc-rcvpfc '/'
                    q_edidc-mestyp '/' q_edidc-mescod '/' q_edidc-mesfct '/'
                    q_edidc-test into text.
        condense text no-gaps.
        message a400(E0) with text(50).
      endif.

  • Error Creating Entries in EDISEGMENT Table for Data Src 0MATL_TYPE_TEXT

    Hello,
    We are facing issues for data sources after doing a client switch in Quality - BW system. 0MATL_TYPE_TEXT is one of the Data Sources which is throwing such an error.  I tried to delete entries from EDISEGMENT table in BW system. But this one being system tables without table maintenance, can't delete the entries for relevant datasources with Basis help (after opening the system for editing) as well. Can you suggest proper steps how we can delete entries from this table?
    Also, do we need to delete entries from EDISEGMENT tables in ECC as well for the data source? Is there any other table from which we should be deleting entries also and is there any risk associated with such deletion of table entries in BW/ ECC?
    If you have any other way of resolving this issue, please suggest.
    Regards,
    Dibyendu

    Hi,
    This is a standard table, so deleting entry from it is not advisable. You can any ways try correcting it.
    Check out note 493422. This may help.
    Regards,
    Shyam.

  • Entry missing in table TMC6 for unit KOEIN

    Hi,
    The STD Info structure S071 us marked for VA (Sales Order), it does not allows to change as it is SAP STD. I have a scenarios where these tables to be updated for VB (Contract). So i thought of creating a new table copying the existing S071, while i try to Update Rules for the new Info structure, i am getting the below copied error.
    I went through some of the links, but those are not giving the right answer. All comments are welcome...thanks
    Entry missing in table TMC6 for unit KOEIN:
    Message no. M2108
    Diagnosis
    The system attempts to determine the unit of the source field for field
    KAWRT. The data element KOEIN was defined as part of this process.
    The system now searches table TMC6 for this data element in order to
    define the two-character units ID. However, no appropriate entry could
    be found.

    Hi,
    It says -
    Solution
    This is corrected in the Support Package for Release 4.70, 5.00, 6.00, 6.02 and 6.03.
    We are running on 6.00 , how ever i will go through the Correction Instruction... thanks

  • Error: No entry exists in table TA20B argument (Create Expense Report page)

    Hello,
    I'm using SAP EP7 and configuring Travel&Expenses (ESS). When trying to display Create Expense Report page, I get the following errror: No entry exists in table TA20B argument and before this error: TA20C argument 01.
    Please, could you help me so as to show the correct content?
    Thanks

    Hi,
    it looks like there is missing record in the table AGR_FLAGS. But I do not know why it's not there. You can try to find some relevant OSS note. There are couple of notes related to the table AGR_FLAGS. Check this one 770358. It looks like it describes your problem. Btw this question is more suitable for Security forum and you will have higher chance of getting answer there.
    Cheers

  • Manage a new entry into V_T020R table for RFEBBECODA00 program

    Hello SDN,
    For the bank statement integration with the Belgium format Coda 2.1, I need to use a new conversion program so called RFEBBECODA00. This program is an update of RFEBBE00.
    The customizing table V_T020R (OT61 transaction) allows to manage a dedicated variant for FEBC user transaction and the program used for file conversion to Multicash.
    I do not need to use anymore RFEBBE00 program, but I am not able to manage a new entry into V_T020R for the new program RFEBBECODA00.
    Any idea on how too update V_T020R in order to keep using FEBC transaction ?
    Many thx for your help.
    Regards,
    Aurelien

    Guess you have completed all the manual activities specified in the attachmet to the following SAP Note.
    https://service.sap.com/sap/support/notes/1035142
    In the attachment titled "Manual_Activities_Required_FI.doc" to the above SAP Note, the last step to add an entry to table T020R.  I was just wondering if completing the manual activities is a prerequisite to add a new entry to the table T020R.  As such, if you go to OT61 transaction, you don't see the 'New Entries' button.
    The attachment to the above SAP Note has the following text as a last step.
    Also maintain the following entry in Table T020R:
    MANDT      TCODE                  REPID                                    VARIANT        NSHOW
    000      FEBC                  RFEBBECODA00
    Activate the table. Now run transaction FEBC and check if the program RFEBBECODA00 is being displayed.
    As per the Note, complete the manual activities, then apply the correction instruction in the Note, activate the program and then maintain the text symbols and selection text a shown in the document.  Just check the note in the above link and follow the instructions.  Let me know if you finally succeed in maintaining this entry in table T020R.  I'll be happy to hear a 'yes' from you!

  • Unable to display data no entry in the table without using Model clause

    Hi,
    I've an urgent requirement described below :
    The previously posted Question has been answerted using Model Clause:
    Is there any way out to solve it without using Model clause:
    I've a table named as "sale" consisting of three columns : empno, sale_amt and sale_date.
    (Please ref. The table script with data as given below)
    Now if I execute the query :
    "select trunc(sale_date) sale_date, sum(sale_amt) total_sale from sale group by trunc(sale_date) order by 1"
    then it displays the data for the dates of which there is an entry in that table. But it does not display data for the
    date of which there is no entry in that table.
    If you run the Table script with data in your schema, then u'll see that there is no entry for 28th. Nov. 2009 in
    sale table. Now the above query displays data for rest of the dates as its are in sale table except for 28th. Nov. 2009.
    But I need its presence in the query output with a value of "sale_date" as "28th. Nov. 2009" and that of "total_sale" as
    "0".
    Is there any means to get the result as I require?
    Please help ASAP.
    Thanks in advance.
    Create table script with data:
    CREATE TABLE SALE
    EMPNO NUMBER,
    SALE_AMT NUMBER,
    SALE_DATE DATE
    SET DEFINE OFF;
    Insert into SALE
    (EMPNO, SALE_AMT, SALE_DATE)
    Values
    (100, 1000, TO_DATE('12/01/2009 10:20:10', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into SALE
    (EMPNO, SALE_AMT, SALE_DATE)
    Values
    (100, 1000, TO_DATE('11/30/2009 10:21:04', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into SALE
    (EMPNO, SALE_AMT, SALE_DATE)
    Values
    (100, 1000, TO_DATE('11/29/2009 10:21:05', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into SALE
    (EMPNO, SALE_AMT, SALE_DATE)
    Values
    (100, 1000, TO_DATE('11/26/2009 10:21:06', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into SALE
    (EMPNO, SALE_AMT, SALE_DATE)
    Values
    (100, 1000, TO_DATE('11/25/2009 10:21:07', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into SALE
    (EMPNO, SALE_AMT, SALE_DATE)
    Values
    (200, 5000, TO_DATE('11/27/2009 10:23:06', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into SALE
    (EMPNO, SALE_AMT, SALE_DATE)
    Values
    (200, 4000, TO_DATE('11/29/2009 10:23:08', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into SALE
    (EMPNO, SALE_AMT, SALE_DATE)
    Values
    (200, 3000, TO_DATE('11/24/2009 10:23:09', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into SALE
    (EMPNO, SALE_AMT, SALE_DATE)
    Values
    (200, 2000, TO_DATE('11/30/2009 10:23:10', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into SALE
    (EMPNO, SALE_AMT, SALE_DATE)
    Values
    (300, 7000, TO_DATE('11/24/2009 10:24:19', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into SALE
    (EMPNO, SALE_AMT, SALE_DATE)
    Values
    (300, 5000, TO_DATE('11/25/2009 10:24:20', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into SALE
    (EMPNO, SALE_AMT, SALE_DATE)
    Values
    (300, 3000, TO_DATE('11/27/2009 10:24:21', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into SALE
    (EMPNO, SALE_AMT, SALE_DATE)
    Values
    (300, 2000, TO_DATE('11/29/2009 10:24:22', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into SALE
    (EMPNO, SALE_AMT, SALE_DATE)
    Values
    (300, 1000, TO_DATE('11/30/2009 10:24:22', 'MM/DD/YYYY HH24:MI:SS'));
    COMMIT;
    Any help will be needful for me
    Regards,

    select sale_date,sum(sale_amt) total_sale
    from
    select empno,0 sale_amt,(sale_date + ao.rn) sale_date
    from
    select empno,sale_amt,sale_date ,(t.nxt_dt - t.sale_date) diff
    from
    select empno
    ,sale_amt,trunc(sale_date) sale_date
    ,trunc(nvl(lead(sale_date) over (partition by 1 order by sale_date),sale_date)) nxt_dt
    from sale
    ) t
    where (t.nxt_dt - t.sale_date) >1
    ) rec,(select rownum rn from user_objects where rownum<=200) ao
    where ao.rn <=(rec.diff-1)
    union all
    select empno,sale_amt,trunc(sale_date) sale_date
    from sale
    group by sale_date
    order by 1;
    ~~~~Guess this will serve the purpose...
    Cheers Arpan

  • How to delete the entries in CDCLS table

    Hi All,
    There is a potential issue with the size of table CDCLS on production system. We need to reduce or manage the amount of data in this table. CDCLS is a cluster table and cannot be reduced directly,
    So first we were reduced the entries in CDHDR and then from CDPOS tables.
    After that we tried to reduce the entries from CDCLS table through the program - RSSCD7RE, We are facing the error as - no data available and No active archive key was selected.
    Please help me out, how to proceed further in this task. Thanks in advance.

    Go to DB15 and see the archiving object.
    You can also use the archiving object CHANGEDOCU, please refer SAP documents for that.
    Transaction is
    SARA -> Archive object CHANGEDOCU
    Message was edited by:
            ANIRUDDHA DAS

  • How to delete the NULL entries in nest table

    Hi,
    After I used a loop and open/fetch cursor populated the object table
    I found there are random NULL entries in my object table (nest table)
    The data look like this
    NULL NULL           NULL
    NULL NULL           NULL
    123     03-MAY-04     ACTIVE
    NULL NULL           NULL
    NULL NULL           NULL
    234     21-MAY-04     ACTIVE
    NULL NULL           NULL
    345     11-MAY-04     ACTIVE
    NULL NULL           NULL
    How can I get rid of those NULL entries in my nest table? So it can become
    123     03-MAY-04     ACTIVE
    234     21-MAY-04     ACTIVE
    345     11-MAY-04     ACTIVE
    Additional info:
    create type myType as object
    (id NUMBER (10,0),
    eff_date date,
    status VARCHAR2(17)
    create type myNestTab as table of myType;
    I have tried Delete procedure in following two ways.
    Version 1:
    FOR i IN l_my_nest_tab.FIRST..l_my_nest_tab.LAST
    LOOP
    IF l_my_nest_tab(i).id IS NULL THEN
    l_curr_event_tb.DELETE(i);
                   END IF;                         
    END LOOP;
    Version 2:
    FOR i IN l_my_nest_tab.FIRST..l_my_nest_tab.LAST
    LOOP
    IF l_my_nest_tab(i) IS NULL THEN
    l_curr_event_tb.DELETE(i);
                   END IF;                         
    END LOOP;
    Both of them give me the error “no data found.” And only left me the first NOT NULL entry in the table.
    123     03-MAY-04     ACTIVE
    Thanks in avdance.

    Hi Vishnu,
    u can write a report program for this and in that use the event  :
    AT NEW <field-name> ( use primary key)
    your statements
    ENDAT
    for eg.
    loop at itab ( herfe itab must be of type of table for which u want to track new entries)
    at new matnr
    write:/ new record
    endat
    endloop.
    schedule this report in background to run in every 5 or 10 mins as per your requirement and hence changes can be tracked.
    regards
    Vinod

Maybe you are looking for