01-09-2008 3:09 PM
Dear All,
Could you please let me know how to change BOM Item text from ABAP.
I tested without success the Function Module
BAPI_MATERIAL_BOM_GROUP_CREATE .
I can read the BOM Item text from via FM READ_TEXT, does it exist a corresponding FM to change this text ?
Thanks in advance for your help
Alain.
01-09-2008 3:39 PM
01-09-2008 3:39 PM
01-09-2008 4:32 PM
Thanks for your prompt reply but I'm not sure that in my case it the right FM to use
Indeed to read the Bom item text I use the FM read_text (see parameter below)
The result is: i_TOPO_EXIST-TDLINE = U62,U110,U111,U112,U113,
I want to change this value into XXXXXXXXXXXXXXXXXXXXXXXXXX.
How can I do, could you please give me an example.
Kind regards,
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT 200
ID = 'MPO'
LANGUAGE = SY-LANGU FR
NAME = W_OBJNAME 200M000002600000162600003303
OBJECT = 'BOM'
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
TABLES
LINES = i_TOPO_EXIST
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8