cancel
Showing results for 
Search instead for 
Did you mean: 

Create/change measuring point

Former Member
0 Kudos

Hi to all,

in our scenario we have many functional locations with counter measuring point to record readings of a phisical electronic gas counter.

Quite often happens that the phisical counter get low of battery, or is replaced by another electronic counter, in any of the cases the counter restart from zero.

In PM we have to deactivate the corresponding measuring point and create another identical for the same FL.

We produce a little manual to do this operation for our users, but since they are operative and not employee they say it's too difficult ...

No problem (we thought) let's ABAP e pushbutton that deactivate old measuring point and create a new one. Unforunely, after a long search we didn't find any BAPI or function module that does what we need ...

Prior to prepare a BDC session, do you know a function module/rfc (or a couple of them), to create a measuring point and to modify/deactivate another one ?

Thanks in advance

Andrea

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

Have you tried Replace counter (IK11 ---> Edit ---> Replace coutner) option ?

Babu

Answers (2)

Answers (2)

Former Member
0 Kudos

Andrea,

Check out these RFC calls MP_RFC_INACT_CHANGE(API to activate/inactivate measuring points) and RFC MP_RFC_SINGLE_CREATE to create Measurement points.

Regards

Narasimhan

Former Member
0 Kudos

Hi Narasimhan,

I try Babu's suggestion and it seems to work correctly, even if we have to adapt some reports and query to use this.

I'd like to try RFC you mentioned above, but I didn't found them in function modules (SE37) and abap editor (SE38) ...

Can you please tell me how can I use them ?

We have ECC 6.0

Thanks a lot

Andrea

Former Member
0 Kudos

Andrea,

These are RFC Enabled Function modules. It looks like these are available from EHP2 of ECC6.0. They belong to function group IMR0.

Regards

Narasimhan

Former Member
0 Kudos

Hi Narasimhan,

we haven't that EHP2 on our release.

Reading the name of the two FM seems they does exactly what I need ...

I cannot ask my system administrator to install EHP2 now. I'll try to ask OSS to obtain only that two FM.

Evenctually (only if it doesn't take a lot of time) could you include them in a change request, or copy and paste in a text file and send it to me ?

Thanks in advance

Andrea

Former Member
0 Kudos

Andrea,

There are a couple of more FM embedded within these calls and hence it might be a futile exercise. I would suggest to do a BDC now and then once you upgrade to later versions use these calls.

Regards

Narasimhan

Former Member
0 Kudos

Ok,

I'm going to modify and adapt reports and query to follow Babu's solution through BDC,the MEASUREM_DOCUM_RFC_SINGLE_001 doesn't allow to set the "replace counter" flag.

It seems to work fine.

Thanks to all contributors

Andrea

Former Member
0 Kudos

Hi,

Check these links, will surely help you. from SAP help

[http://help.sap.com/saphelp_47x200/HELPDATA/EN/b0/df293581dc1f79e10000009b38f889/frameset.htm]

regards,

N.Nagaraju

Edited by: nandipati nagaraju on Nov 27, 2009 8:13 AM