SAP production order modification record query

Whether in the process of project implementation or in the operation and maintenance project, it is often encountered that the production order is modified, resulting in a change in demand. At this time, users often need to query the modification record of the production order. There is no way to query the modification records of the production order through SAP's standard procedures. At this time, it is implemented in an enhanced way from the perspective of development.

1. It must be to record the modification record of the production order when the production order is saved. The
PP consultant must know that there is an export enhancement when the production order is saved.

TCode: CMOD creates an enhanced project
insert image description here
insert image description here
2. We want to modify the production order record for record saving. At this time, we must create a self-built table. The table structure is listed below. You can create a custom table through SE11. Students who don’t understand can Baidu by themselves, or consult an ABAP consultant

The following is the table structure
insert image description here
3, and then write the code in the enhanced export, all the codes are listed below, and the
DATA can be used directly by copying: t_zpp006 TYPE TABLE OF ZZTPOLOG,
w_zpp006 LIKE LINE OF t_zpp006,
lt_status TYPE jstat OCCURS 0 WITH HEADER LINE.
DATA : l_wsrcd TYPE ZZTPOLOG-wsrcd, "serial code
l_subrc TYPE sy-subrc,
n_inact TYPE jest-inact,
o_in

Guess you like

Origin blog.csdn.net/u014469625/article/details/130404705