Menu

SAP Function Module CP_SE_ALT_READ_BY_MAT

Read all MAPL and PLKO records for MATNR/WERKS from DB for a key date

Recommended Now

All-new Echo Dot Smart speaker with Alexa

This bundle includes Echo Dot (3rd Gen) Charcoal and Philips Hue White A19 Medium Lumen Smart Bulb, 1100 Lumens. Built in Smart Home hub. Ask Alexa to control Zigbee-compatible devices. No additional Philips Hue hub required. Two choices for easy smart lighting - Start setting the mood with Hue Smart bulbs and your Echo device, supporting up to 5 Hue Bluetooth & Zigbee smart bulbs. Add the Hue Hub for whole-home smart lighting (up to 50 light points) and bonus features.

Check it out on amazon.com →

The Function Module CP_SE_ALT_READ_BY_MAT (Read all MAPL and PLKO records for MATNR/WERKS from DB for a key date) is a standard Function Module in SAP ERP and is part of the function group CPSE within the package CP.

Technical Information

Function Module CP_SE_ALT_READ_BY_MAT
Short Text Read all MAPL and PLKO records for MATNR/WERKS from DB for a key date
Function Group CPSE
Package CP
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
KUNR_MAX LIKE MAPL-KUNR '' Customer number to
KUNR_MIN LIKE MAPL-KUNR '' Customer number from
LIFNR_MAX LIKE MAPL-LIFNR '' Vendor number to
LIFNR_MIN LIKE MAPL-LIFNR '' Vendor number from
LOSGR LIKE PLKO-LOSBS 0
MATNR LIKE MAPL-MATNR
PLNAL_MAX LIKE PLKO-PLNAL '' Alternative to
PLNAL_MIN LIKE PLKO-PLNAL '' Alternative from
PLNME LIKE PLKO-PLNME ''
PLNNR LIKE PLKO-PLNNR ''
PLNTY_MAX LIKE MAPL-PLNTY '' Task list type to
PLNTY_MIN LIKE MAPL-PLNTY '' Task list type from
POSNR LIKE MAPL-POSNR 0
STATU LIKE PLKO-STATU ''
STTAG LIKE RC271-STTAG
VAGRP LIKE PLKO-VAGRP ''
VBELN LIKE MAPL-VBELN ''
VERWE LIKE PLKO-VERWE ''
VERWE2 LIKE PLKO-VERWE ''
VERWE3 LIKE PLKO-VERWE ''
VERWE4 LIKE PLKO-VERWE ''
VERWE5 LIKE PLKO-VERWE ''
WERKS_MAT LIKE MAPL-WERKS Plant of the material
WERKS_MAX LIKE PLKO-WERKS '' Plant of alternatives to
WERKS_MIN LIKE PLKO-WERKS '' Plant of alternatives from

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
FLG_PLNNR LIKE There is exactly one PLNNR/PLNTY

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
MAPL_EXP LIKE MAPLB MAPL document table
PLKO_EXP LIKE PLKOB PLKO document table

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
NOT_FOUND