Skip to Content
avatar image
Former Member

Enter measuring documents automatically, each month

Hi everyone,

I have a simple question but I have no idea where to start:
I'd like to enter measurement documents for all of my measuring points, once every month. Now, with transaction LSMW I can easily enter measurement documents, but I don't want to do this manually every month. I want to have this done automatically each month. These measurement documents are each month the same; for all measuring points a difference of 0 must be entered.

How do I do this?

Thanks in advance for your answer! Points will be rewarded.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

7 Answers

  • May 26, 2017 at 09:32 PM

    It is possible to achieve your requirement without using ABAP development using the following steps:
    Step 1: Create Flat file via Excel IBIP Tool or via Microsoft Access (see IBIP documentation) - see attached .txt sample file
    Step 2: Upload the flat file to the application server via tcode CG3Z
    this file can be replace everytime new measurment points lists is updated )
    Step 3: Create variant at SAP program RIIBIP00 (can be navigated to from within the IBIP transaction or from SE38 )
    use in the variant the flat file uploaded to the application server file in Step 2.
    Step 4: Create Monthly JOB via transaction SM36 .
    I have tried these steps and it works fine , let me know if you have any questions

    Add comment
    10|10000 characters needed characters exceeded

  • May 25, 2017 at 11:43 AM

    "These measurement documents are each month the same"

    If I understand that your are referring to the Values of the readings, it is very strange, but that makes your requirement quite simple. A program can be easily developed by your ABAPer using which you just need to run a ZTcode and click on Execute button. It will take milliseconds to complete your job.

    So, key to the solution is your ABAPer.

    Add comment
    10|10000 characters needed characters exceeded

  • May 25, 2017 at 11:46 AM

    It does a seem an odd requirement - can you give more details to illustrate the process.

    PeteA

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 25, 2017 at 12:22 PM

    There is no ABAPer, so I can't ask this to him otherwise I would have done that already...

    So, what I want: I want to create new measurement documents for certain measuring points, each month automatically. These contain always the same values.Can I do this via IDocs? And how do I do this?

    Add comment
    10|10000 characters needed characters exceeded

  • May 26, 2017 at 08:07 AM

    It could be done with ABAP via a batch program or BAPI, or via LSMW as you state above.

    But you don't explain the business reason as to WHY you want to do this?

    If these readings are always the same, then why not use a time based maintenance plan?

    PeteA

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 29, 2017 at 07:11 AM

    @Peter:

    I have a performance based maintenance strategy, but I need to enter an annual estimate. Depending on this estimate, SAP schedules maintenance call objects at a certain date (due date). The counter on which the performance based maintenance strategy is based, is updated each time a production order is confirmed. Each time this counter is updated, the maintenance call objects are rescheduled based on the reading of the measuring point and the annual estimate. However, if since the start of the maintenance plan and the due date of the first maintenance call objects, the measuring point is not updated; the maintenance call object will be released on the due date. I don't want this.

    So, therefore I'd like to enter monthly measurement documents with a 0 for all measuring point.

    If you have a better solution, feel free to share!

    Add comment
    10|10000 characters needed characters exceeded

  • May 30, 2017 at 10:27 AM

    Create an LSMW and run it in batch: https://archive.sap.com/discussions/thread/1729003

    PeteA

    Add comment
    10|10000 characters needed characters exceeded