This entry point, located in the TRTACHCDE2 processing for purchase order generation, generates a "ALIMSKPOH" action.
The aim of this action is to provide the possibility to populate specific screen fields for the generation of a purchase order.
There is no transaction in progress if the WADXLOG local variable is equal to zero.
A log file is open if the value of the WTRA local variable is greater than 2
The entry point is called for each purchase order to be generated, just after the screen classes are loaded and before entering the purchase order.
The following screen classes are loaded: [M:POH0], [MPOH1], [M:POH2] and [M:POH3]
The [M:POHx] classes can be modified without any problem for specific fields, but they should be modified with caution for standard fields.
It is also possible to load other specific/custom screen classes.
To abort the generation of the current invoice, set the value of the global variable GPOH_WERR to 1.
In the table below, the significant content flag indicates that the content is in phase with the context.
Table | Significant content | Table title |
PORDER | No | Purchase order headers |
PORDERQ | No | Purchase order quantity lines |
PORDERP | No | Purchase order price lines |
BPARTNER | No | BP |
BPSUPPLIER | No | Suppliers |
ITMMASTER | No | Products |