Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

FM to update Measurement Document Processing Status

I833978
Employee
Employee
0 Likes
1,666

Hi everyone,

I am facing the following issue.  Hope someone can help me with it.

I have created a program to create measurement documents (PM Module) from a file.  It will be an initial batch load.

For this purpose, I am using FM MEASUREM_DOCUM_CREATE_SINGLE.

Documents are being created fine.

The only problem is that I need to create such documents with a given Processing Status (field IMRG-PREST).  The input file that the program uses to get all data to be created has a field which contains the corresponding Processing Status that the Measurement Document should have once created.

The FM MEASUREM_DOCUM_CREATE_SINGLE does not provide any way to update such field, and I could not find any FM (BAPI or whatever) to update this field in particular.

I really would like to avoid creating a Batch Input for this.

Does anyone knows how to achieve this? I would really apreciate your help.

Regards,

Martin

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,040

FM MEASUREM_DOCUM_CREATE_SINGLE is not a released FM. I would not recommend to use it. Last time I had to upload measuring points, I had used BDC. It is easier way.

Hi everyone,

I am facing the following issue.  Hope someone can help me with it.

I have created a program to create measurement documents (PM Module) from a file.  It will be an initial batch load.

For this purpose, I am using FM MEASUREM_DOCUM_CREATE_SINGLE.

Documents are being created fine.

The only problem is that I need to create such documents with a given Processing Status (field IMRG-PREST).  The input file that the program uses to get all data to be created has a field which contains the corresponding Processing Status that the Measurement Document should have once created.

The FM MEASUREM_DOCUM_CREATE_SINGLE does not provide any way to update such field, and I could not find any FM (BAPI or whatever) to update this field in particular.

I really would like to avoid creating a Batch Input for this.

Does anyone knows how to achieve this? I would really apreciate your help.

Regards,

Martin

1 REPLY 1
Read only

Former Member
0 Likes
1,041

FM MEASUREM_DOCUM_CREATE_SINGLE is not a released FM. I would not recommend to use it. Last time I had to upload measuring points, I had used BDC. It is easier way.