07-28-2008 9:10 AM
Hi all,
I've searched a lot, but I'm unable to create an INFORECORD.
When creating a quotation, I need to check if the materials have an inforecord, if they don't have an inforecord I have to create it.
I'm using ME_PURCHDOC_POSTED badi to input my code.
How do I accomplish it?
Witch FM or BAPI do I have to use and how?
If you have some sample code, I appreciate it a lot!
Best regards,
Carlos Constantino
07-28-2008 9:16 AM
You can use this Update Function to create the Inforecord.
ME_UPDATE_INFORECORD
it is update Function , call it in Update Task.
07-28-2008 9:16 AM
You can use this Update Function to create the Inforecord.
ME_UPDATE_INFORECORD
it is update Function , call it in Update Task.
07-28-2008 9:19 AM
07-28-2008 9:24 AM
Carlos,
To create InfoRecords use the functions :
-> ME_INITIALIZE_INFORECORD
-> ME_DIRECT_INPUT_INFORECORD
-> ME_POST_INFORECORD
Amit.
07-28-2008 9:48 AM
Hi Carlos,
I would like to suggest,
ME_CREATE_COND_INFOREC
INFORECORD_GETLIST - Display Purchasing Info Records
HR_ECM_CHECK_INFOTYPE_RECORD - Perform checks on compensation process infotype record data
CO_MK_IBAPI_GET_INFO_RECORD
MB_CHK_MATERIAL_FOR_INFORECORD
BAPI_INFORECORD_GETLIST - Display Purchasing Info Records
WSTN1_INFO_RECORD_BUILD - Fill data of the purchasing info records
I would also like to suggest a reference for the code,
[SDN - Standard Reference for adding inforecord price 2lis_o2_scl |;
[SAP HELP - Standard Reference for Number for purchasing info record|http://help.sap.com/saphelp_nw04/helpdata/en/7b/71d238d7554c49e10000000a11402f/content.htm]
Hope that's usefull.
Good Luck & Regards.
Harsh Dave
07-28-2008 4:15 PM
all of you helped! Thanks a lot!
But one final qwestion: How do I update conditions?! (or price?)?
thanks!
07-28-2008 4:24 PM
You want it for Inforecords..?
For condtions maintenance
RV_CONDITION_SAVE
RV_CONDITION_POST
07-28-2008 4:54 PM
yes, I need it for updating the price of the inforecord.
In order to update the price, need to insert/create a condition (at least thats the way it is made on ME11)
11-29-2011 10:44 AM
Hiii
Please go through the following link
[http://wiki.sdn.sap.com/wiki/display/SI/Createandmassupdateofpurchaseinforecordsfromaninputexcelfile.|http://wiki.sdn.sap.com/wiki/display/SI/Createandmassupdateofpurchaseinforecordsfromaninputexcelfile.]