How to find CDHDR / CDPOS table object class (OBJECTCLAS), object value (the OBJECTID)

As we all know, change the document header table CDHDR and change document preservation project to create SAP business data tables CDPOS and change history.

However, when you query the two tables, often face not know how to fill value OBJECTCLAS and OBJECTID these two fields.

For OBJECTCLAS, you can be found by the table TCDOB to TABNAME condition, the query corresponding OBJECTCLAS.

For example, the figure below, enter EKKO, EKPO ... such as the table name can be found on the project

Purchase order header line item, the corresponding object name is EINKBELEG;

Sales order header line item, the corresponding object name is VERKBELEG;

Delivery header line item data, the corresponding object name is LIEFERUNG.

For object value OBJECTID look a little more complicated to object class EINKBELEG purchase order example:

First, find the information generated by the object class OBJECTCLAS tcode SCDO.

Here you can also see all of the tables under the object class can be changed.

The update function can be found in EINKBELEG_WRITE_DOCUMENT generation information

SE37, find all the procedures used by EINKBELEG_WRITE_DOCUMENT where use list, double-click the jump to find a corresponding program,

And then you see this object value, objectID fill out a purchase order number (EKKO-EBELN). This method can also find other object value object class.

the above.

Guess you like

Origin www.cnblogs.com/datie/p/11428461.html