co01/co02/co03 增强 EXIT_SAPLCOSD_001

本文介绍如何通过客户退出功能自定义SAP系统中的存储地点和回冲指示符。主要涉及如何确定回冲指示符及存储地点,包括从物料主数据、物料清单(BOM)和供应区域中获取相关信息。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

This customer exit can be used to change the fields LGORT (storage location) and RGEKZ (backflushing indicator) in the reservation.

Input for the customer exit are the complete reservation structure (RESV_I), the storage location that was taken from the BOM item (STRLCBOM_I) or the material master (STRLC_I) as well as the table entry for the supply area (SUPAR_I).

Output for customer exits are the storage location and the indicator for backflushing.

This function exit is only accessed on a BOM explosion (that is, when an order is created using CO01 or when reading master data) or when components are copied to the production order on planned order conversion.

1. Determining the backflushing indicator

In the structure RESV_I two fields, among others, are copied 
that are defined as follows:

RESV_I-RGEKZ contains either

a. the definition from the material master 
0 - indicator not set 
1 - indicator always set 
2 - the work center decides

or b. the definition from the component allocation 
' ' / 'X'

The value was calculated before the user exit was called up

RESV_I-RGEKZSAV contains the definition of the indicator 
changed from the material master 
(0 / 1 / 2 see also)

With the material number RESVI-MATNR the material data can also be 
read to determine the backflushing indicator using their 
own algorithms.

2. Determining the storage location

The field STRLC_I contains the storage location from the material

master 
The field STRLCBOM_I contains the storage location from the BOM 
The field SUPAR_I-LGORT contains the storage location from the 
supply area.

The field STRLCBOM_I is only filled if the order is created 
directly (e.g. CO01), not however, if the order was for example 
converted from a planned order. In this case the parameter 
STRLC_I contains the storage location from the planned order.

In parameters BCKFL_E and STRLC_E the backflushing indicator determined 
as well as the storage location determined are copied to the calling 
program.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

ChampaignWolf

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值