Skip to Content

Cannot seem to use transaction OLI1 in LSMW, why?


Hi there,

I need to update an LIS Info structure table (S906) with some historical data that did not update due to missing maintenance (which is now fixed). I discovered that transaction OLI1 (Path: SPRO - Logistic General- LIS - Logistic data warehouse - Data Basis - Tools -Setup statistical Data - Application specific set up of statistical data) can be used to update the table for specific article documents. The article doc field however does not have a multiple selection button to allow multiple documents. It only allows a range of documents (from and to). My documents are not in a specific range and are staggered so cannot use range.

I created an LSMW but everytime I create a batch session, it finishes successfully (with no errors) but fails to update the LIS info structure table. I was told that the 'COMMIT WORK' statement early in the program which updates the log after going through the selection screen (before actually doing any table updates) is causing the SM35 batch session to end without doing any updates.

Is there perhaps a different way to run OLI1 for multiple article docs, or even a way to get my LSMW batch session to not end at first 'COMMIT WORK'?

Any assistance will be appreciated.

Regards

Fawaaz

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Dec 27, 2013 at 05:05 PM

    I dont think that LSMW will be of any help here, especially as an update of an info structure from a single material document can only reflect this single document.

    If you have period with 2 material documents, then the second OLI run would overwrite the result from the first material document.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Jurgen,

      I don't fully understand your response above.

      I have executed transaction OLI1 manually in foreground for various article docs and it doesn't overwrite. Even where the article doc contains 2 packaging articles and only 1 of them updated to my LIS Info Structure (S906), when executing OLI1 for that specific article doc, it updates the LIS Info Structure (S906) with only the missing entry i.e. the LIS Info Structure now contains both packaging articles as expected.

      I need to do this for +- 1,400 article docs so need a way to process this in background (en masse).

      Regards

      Fawaaz

  • author's profile photo Former Member
    Former Member
    Posted on Aug 19, 2016 at 09:25 AM

    This message was moderated.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.