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: 

BAPI for Info records

former_member1110335
Participant
0 Kudos

Hi,

I need to find a BAPI to create / update info records for prices.

The transactions are ME11 & ME12.

Thanks in advance for the help.

regards,

Karen

4 REPLIES 4

former_member555112
Active Contributor
0 Kudos

HI,

You have the standard IDOC IDOCINFREC for the same.

Regards,

Ankur Parab

0 Kudos

currentlr our system does not use info-records for pricing. This has to be changed. we need to upload this data through a file.

Need to do this using a BAPI.

0 Kudos

try below Funtion modules

ME_CREATE_CHANGEDOC_INFORE

ME_DB_UPDATE_INFORECORDS

ME_UPDATE_INFORECORD

ME_UPDATE_INFORECORD_COND

ME_UPDATE_INFORECORD_PD

ME_CHECK_CHARGEABLE_INFO

or use below LSMW method

Object 0060 Purchasing info rec.

Method 0000

Program Name RM06IBI0

Program Type B Batch Input

0 Kudos

You can use the idoc provided by Ankur Parab, and then use <a class="jive-link-external" href="http://forums.sdn.sap.com/search.jspa?threadID=&q=IDOC_INPUT_INFREC&objID=c42&dateRange=all&numResults=30&rankBy=10001" target="_newWindow">IDOC_INPUT_INFREC</a>. (use search tools, there are many threads with the same question) (see limitations <a class="jive-link-external" href="https://service.sap.com/sap/support/notes/327083" target="_newWindow">327083</a>)<br />

<br />

<i>NB: Beware, some of the ME* function modules provided are "update task" function modules, they <b>must not</b> be called as those are not better than direct update of the database, "update task" function modules are the last tasks executed by SAP application after checks and Commit, and are usually executed with others FM to insure database consistency...</i><br />

<br />

Take a look at <a class="jive-link-external" href="https://service.sap.com/sap/support/notes/481034" target="_newWindow">Note 481034 - FAQ: Data transfer (batch input) in purchasing</a> and <a class="jive-link-external" href="https://service.sap.com/sap/support/notes/327083" target="_newWindow">Note 327083 - INFREC: Data transfer of purchasing info records</a><br />

<br />

Regards,<br />

Raymond