ME_UPDATE_SOURCES_OF_SUPPLY
Hello,
have anybody used above function module. I have used it and when i test in my program, i get a system error saying " Error while updating EORD".
any idea how to solve this problem
Ok, try this.
Write a custom program with following logic.
Data declaration
call ME_UPDATE_SOURCES_OF_SUPPLY
COMMIT WORK.
For some FMs(like BAPIs) you need to issue COMMIT command explicitly.
Hope this works.
Amit.
Edited by: Amit on Jun 25, 2008 5:13 PM
Similar Messages
-
Function modules to update ME01 transaction
Hi,
Can I get the list of Function modules to update ME01 transaction..
Thnx in advance,
ShivaaHi shiva,
Try this funtion module ,
ME_UPDATE_SOURCES_OF_SUPPLY Update source list
ME_UPDATE_SOURCES_OF_SUPPLY_BA Update source list records in background during generation
I hope,it will help you
<=<< Sharing Knowledge is a way to Innovative >>=>
By,
Yoga -
Updation of sourcelist.(Transaction : ME01)
I need to put new valid to and from dates.Is there a function module whic will do this updation in the source list.I dont want to use BDC.
Plz let me know if the same can be done using the FM.Dear Dheeru,
Use the below F.M
CALL FUNCTION 'ME_UPDATE_SOURCES_OF_SUPPLY'
EXPORTING
DOCUMENT_NUMBER = ' ' " not mandatory
I_CHANGEDOCUMENT = " not mandatory
TABLES
xeord = lt_eordu " table to be updated after making reqd : chnages
yeord = lt_eord " table with out chnages -
BAPI for Source List Upload ( ME01 )
Hi All..
Is there any BAPI available for uploading source list for a material??
Transaction involved - ME01.
Thanks & Regards,
NidhiHi,
Try the below function module ME_UPDATE_SOURCES_OF_SUPPLY which is being used by standard transaction ME01.
sample code
REPORT ZTEST.
DATA: BEGIN OF XORD OCCURS 50.
INCLUDE STRUCTURE EORD.
DATA: UPDKZ,
END OF XORD,
YORD type table of EORD with header line.
clear xord.
clear yord.
xord-MATNR = '100-100'.
xord-WERKS = '3000'.
xord-ZEORD = '00001'.
xord-ERDAT = '20080403'.
xord-ERNAM = 'SAPDEV02'.
xord-VDATU = '20080403'.
xord-BDATU = '20100510'.
xord-LIFNR = '0000001000'.
xord-FLIFN = 'X'.
xord-EKORG = '1000'.
xord-UPDKZ = 'U'.
append xord.
move-corresponding xord to yord.
append yord.
CALL FUNCTION 'ME_UPDATE_SOURCES_OF_SUPPLY' IN UPDATE TASK
EXPORTING
I_CHANGEDOCUMENT = 'X'
TABLES
XEORD = XORD
YEORD = YORD.
COMMIT WORK.
Cheers,
vasavi.v
Maybe you are looking for
-
hi All, i have one of the requirement for an application, we do upload some release not in file server and that is used in application link to see the note. in this note i have converted the Excel into .HTM format(web page). this was working fine, bu
-
In InfoPath 2007, decimals not displayed in form library list.
I have an InfoPath form that I created that I have set all the fields correctly to display as a Decimal, set to display as US currency, and to maintain 2 decimals. The form looks correct and displays the 2 decimal places correctly, but in the listing
-
i've installed the new beta Yosemite. After i found i didnt like it, i decided to return to Mavericks. Now, at the installation process i dont know what happened and now i dont have any admin account. so, the system keeps asking me to Type an adminis
-
I would like to know how record a call with a BlackBerry 8220 ??? Thank you. Message Edited by M-Jo on 01-09-2009 01:33 PM
-
How to retrieve data from cluster
Hi, Can any body tell how to get the basic salary of an employee using cluster. I am doing a EPF/ETF calculation in which I need to get the basic salary of the employee for a particular month.I am new to HR abap.Kindly provide some sample c