Application Development 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: 

Changing/Updating info record

Former Member
0 Kudos

Hello!

Please help me to know how can I programmatic update or change info record?

I have looked for BAPI, but not successful. I found FM ME_UPDATE_INFORECORD. Can I use this and whether using it to be correctly?

Thanks.

4 REPLIES 4

Former Member
0 Kudos

I try to do it by IDOC RSINFO, but this IDOC not change price condition related to info record.

Former Member
0 Kudos

IDOC type INFREC01, not RSINFO.

0 Kudos

I have used INFREC01. It is true that this Idoc doesn't do the pricing conditions. In the same program I follow up the INFREC01 Idoc with a COND_A02. I use IDOC_INBOUND_SINGLE to post the INFREC01. This function will pass back the IDoc number. You can then read the status table for this IDoc and only attempt to post the COND_A02 if the INFREC01 was successful.

Former Member
0 Kudos

Thank you!

But while doing by this way there is a chance that info record will be changed, and conditions will not... I think this is not good idea to allow user change conditions manually, if this do not changed automatically with IDOC.