How to view the modification record of BOM in SAP
Editor to share with you how to view the revision records of BOM in SAP, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
Option 1: se38:RCS00100,F8 implementation (DATUM indicates the start date, Header of tabname:BOM, fill in STKO; if implemented to item level, enter STPO). Then you can see that 00104708 of the user has created, modified and deleted all the records of bom ( is very simple, I also think it is very simple, and the results do see, I do have every piece of data about bom, the test is successful! )
Option 2: se11/se12:CDHDR [CDHDR is a Change,CDPOS record at the Header level, Change at the item level] (utility-table content-display)
Step one: SE12,Table=CDHDR,Table Contents. Fill in the field selection as follows:
Change doc. Object=STUE (exclusive)
Date: the starting and ending dates are determined by yourself. The larger the date paragraph, the longer the running time.
Transaction:CS02 (apart from CS02 changing BOM, I can't think of any other way to delete BOM)
Appl.obj.change:U (can only be U, but I am also confused about why the deleted BOM cannot be D). The system will display the relevant record and record the relevant Object value number.
Step 2: SE12,Table=CDPOS,Table Contents. Fill in the field selection as follows:
Change doc. Object=STUE (exclusive)
Object Value: get from the first step
Table name:STPO (exclusive)
Change ID:D,U reflects the new and old comparative records of item values.
Concatenate sy-mandt 'M'itab_bom-stlnr into objectid. Clear itab_cdhdr. Refresh itab_cdhdr. Clear change_data. Refresh change_data. CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS' EXPORTING DATE_OF_CHANGE =' 00000000' OBJECTCLASS = 'STUE' OBJECTID = objectid TIME_OF_CHANGE =' 000000' USERNAME =''TABLES I_CDHDR = ICDHDR EXCEPTIONS NO_POSITION_FOUND = 1 OTHERS = 2. If icdhdr [] is not initial. Loop at icdhdr where udate > = s_erdat-low. Itab_cdhdr-objectclas = icdhdr-objectclas. Itab_cdhdr-objectid = icdhdr-objectid. Itab_cdhdr-changenr = icdhdr-changenr. Itab_cdhdr-udate = icdhdr-udate. Append itab_cdhdr. CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS' EXPORTING CHANGENUMBER = ICDHDR-CHANGENR* TABLEKEY = TABKEY TABLENAME =' STPO' IMPORTING HEADER = CDHDR TABLES EDITPOS = ICDSHW EXCEPTIONS NO_POSITION_FOUND = 1 OTHERS = 2.0 * select objectclas objectid changenr Tabname tabkey fname chngind* value_new value_old from cdpos into table change_data* where objectclas = 'STUE' and objectid = bom_temp-objectid* and tabkey = bom_temp-tabkey and tabname =' STPO' and* (fname = 'IDNRK' or fname =' MENGE' or fname = 'KEY'). If icdshw [] is not initial. Loop at icdshw. MOVE itab_cdhdr-objectclas TO change_data-objectclas. MOVE itab_cdhdr-objectid TO change_data-objectid. MOVE itab_cdhdr-changenr TO change_data-changenr. MOVE itab_cdhdr-udate TO change_data-udate. MOVE ICDSHW-TABNAME TO change_data-tabname. MOVE ICDSHW-TABKEY TO change_data-tabkey. MOVE ICDSHW-FNAME TO change_data-fname. MOVE ICDSHW-F_OLD TO change_data-value_old. MOVE ICDSHW-F_NEW TO change_data-value_new. MOVE ICDSHW-CHNGIND TO change_data-chngind. APPEND change_data. Endloop. Endif. Endloop. Endif. The above is all the contents of the article "how to view the modification record of BOM in SAP". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!