cancel
Showing results for 
Search instead for 
Did you mean: 

Enter measuring documents automatically, each month

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (7)

Answers (7)

marc_marco
Contributor

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

Former Member
0 Kudos

My supervisor doesn't want to upload any files to the application server directly. Is it also possible to do via IDocs or something like that?

marc_marco
Contributor
0 Kudos

no idoc is not possible without developemt .

but you can also do it with LSMW which upload the flat file automaticly to the application server

Folow these screenshots:

peter_atkin
Active Contributor
0 Kudos

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

PeteA

Former Member
0 Kudos

@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!

peter_atkin
Active Contributor
0 Kudos

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

Former Member
0 Kudos

See my post below.

Former Member
0 Kudos

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?

peter_atkin
Active Contributor
0 Kudos

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

PeteA

jogeswararao_kavala
Active Contributor
0 Kudos

"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.