CUSADDCRIT: Adding filter criteria on lines

This entry point located in the SUBPODA processing (delivery request management) is used to add filter criteria on the PORDERQ delivery request line file.

The purpose of this entry point is for example not to display closed lines.

Context and operating mode

Transaction

There is no transaction in progress.

Log file

There is no open log file.

Different call cases

The call is performed in the delivery request management before the lines are displayed.

It is located in the DEFLIG action used to define the line file and apply the necessary filters.

Available variables and masks

The CRIT variable is loaded. It is possible to add additional filters.

For example, to exclude closed lines, it is necessary to write:

CRIT-= '& LINSTA <> 3'

Open tables

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 open order header

PORDERC

NO

Early-late total purchase orders

PORDERQ

NO

Purchase order quantities