INI_SSC: Before automatic adjustment following a receipt to stock

This entry point filters the suspended movements or shortages to be processed, during the automatic adjustment triggered following a receipt to stock.

Context and operating method

Transaction

There is one transaction in progress.

Log file                        

There is no open log file.

Different call cases - Significant variables

This entry point is located in the sub-program REGFROMENT of the TRTSHTCOM processing.

It is called after the loading of the adjustment setups in the STKSHTCRIT [SSC] screen.

To filter the elements to be adjusted, it is necessary to load the screen variable [M :SSC]FILTSUP.

 For instance     :

To only adjust the normal sales orders whose number starts with "CDE", it is necessary to proceed as follows:

[M :SSC]FILTSUP = ‘VCRTYP=2 & pat(VCRNUM, ‘CDE*’)’

Warning:

The length of [M :SSC]FILTSUP is 100 characters.

This filter is likely to be applied to the STOALL and STOJOU tables (according to the shortage management setup). As a result it is necessary to take this into account during its loading.  

Open tables

In the table below, the significant content flag indicates that the content is in phase with the context (the current customer is loaded...).

Table

Significant content

Table Title

ITMMASTER

No

Products

ITMFACILIT

No

Products - Sites

STOJOU

No

Stock movements

STOALL

No

Allocations