BEFWRIBOP: Initialization of the specific fields of the BOMPRN table

This entry point is used to take control just before writing a recording in the BOMPRN table in order to update the specific fields for example.

Context and operating mode

Transaction

There is one transaction in progress.

To cancel the transaction if there is a problem, the GOK variable must be set to 0.

Log file

There is no open log file.

Available screens and file classes

The [F:BOP] buffer is loaded when calling the entry point.

The test on the [F :BOP]NIV field value is used to identify the level (0 for the parent product, 1 for the first level,

 etc.). 

Open tables

In the table below, the significant content flag indicates that the content matches the context (…).

Grid

Significant content

Table title

BOP

Yes

BOM printing

BOMD

Yes if level 1 or more

BOM detail

BOM

Yes

BOM header

BOMDRL: Descent through the BOM

Use this entry point to force or stop the calculation of all BOM levels (by modifying GPE) or to change the related BOM code type (by modifying LBOMALTTYP).

Context and operating mode

Before calling the entry point, the values of the GPE and LBOMALLTYP variables are set by the standard according to the product-site of the BOM component for which BOM levels are to be calculated:

- GPE indicates if the calculation of all BOM levels must be

GPE= 0 => Yes

GPE =1 => No

- LBOMALTTYPindicates the BOM code type to include in the BOM levels calculation

LBOMALLTYP = 2 => Production

LBOMALLTYP = 3 => Subcontracting

Transaction block

There is no transaction in progress.

Available screens

BOP0 [BOP0]

Open tables

In the table below, the significant content flag indicates that the content matches the context (…).


Grid

Abbreviation

Significant content

Table title

ITMMASTER

ITM1

Yes

Products

ITMFACILIT

ITF

Yes

Product-sites

BOMD

BOD

Yes

BOM lines

BOM

BOH1

Yes

BOM headers

ITMBOM

ITB

Yes

Products - BOMs