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: 

Purchase Info Record: modify the Conditions

tafkap95
Participant
0 Kudos
2,145

Hello, I am trying to update the price conditions of a purchase info record via ABAP, for example Amount or Deletion indicator.

I saw that there was the FM ME_UPDATE_INFORECORD_COND but it seems strange to me to just do an update of the EINE table and no return, so I don't think it's correct.

Do you have an FM or class to do this?

Thanks for your help.

4 REPLIES 4

raymond_giuseppi
Active Contributor
0 Kudos
1,755

I agree, ME_UPDATE_INFORECORD is an update function module, so basically just a suite of SQL statements not better than direct update with Abap SQL statements and should never be called in a customer development.

SAP has provided a function module ME_INFORECORD_MAINTAIN_MULTI for your requirement.

0 Kudos
1,755

If not available, look for ME_INFORECORD_MAINTAIN.

  • But perform some tests as SAP suggest to always use the new ME_INFORECORD_MAINTAIN_MULTI when available
  • ME_INFORECORD_MAINTAIN_MULTI is available from SAPKH61717 SAP_APPL 617: SP 0017

tafkap95
Participant
0 Kudos
1,755

Hi Raymond, thank for your answer.

Unfortunately this FM is not available in my environment (SAP ECC6 EHP7) , but available in SAP ECC6 EHP8...

It smells of batch-input 🙂

0 Kudos
1,755

Do not use answer to answer an answer, the purpose of answer is to propose a solution to the initial question (read the text 'Before answering').