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

Which function to use to create Material Purchasing Info Record?

Former Member
0 Likes
956

I have written a program which creates a new material using function module BAPI_MATERIAL_MAINTAINDATA_RT. In addition to this, I have to create the Purchasing Info Record.

I do not want to use IDOCs. I prefer a clean function call.

Is there a function module which I could use to create the Purchasing Info Record? I need to create records in tables EINA and EINE.

So far I have found the following function modules:

- MASS_INFREC01_CHANGE

- EINE_SAVE

- ME_DIRECT_INPUT_INFORECORD

- ME_POST_INFORECORD,

- MASS_EINE_CUSTOM_SAVE

- ME_MAINTAIN_INFORECORD

These function modules are not documented, so I'm asking you if you have successfully used any of them (or any other function module) to create the Purchasing Info Record (tables EINA and EINE)?

We are using IS-Retail - but perhaps it makes no difference here...

2 REPLIES 2
Read only

Former Member
0 Likes
706

WRF_MATERIAL_MAINTAINDATA_RT was the solution.

Read only

0 Likes
706

Hi,

Thanks for sharing the solution but FM "WRF_MATERIAL_MAINTAINDATA_RT " does not have any documentation.

could you please share how to use this , i mean what information we need to pass?

Please help.

Best Regars,

Raj