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

Unsere Literaturempfehlung

ABAP Workbench - 100 Tipps & Tricks

Es gibt 100 gute Gründe, warum Sie dieses Buch kaufen sollten. Doch die verraten wir Ihnen hier nicht. Nur so viel: Wenn Sie die ABAP Workbench als Ihr zweites Wohnzimmer begreifen, ist dieses Buch genau das richtige für Sie! Die Mini-Tutorials in diesem Buch unterstützen Sie dabei, Software in ABAP effizienter zu entwickeln. Tipps und Tricks, wie Sie sich bei der Bearbeitung von Quelltext das Leben leichter machen, wie Sie häufig wiederkehrende Programmieraufgaben automatisieren oder umständliches Vorgehen früherer Tage endlich über Bord werfen. Sie werden die ABAP Workbench in einem ganz neuen Licht erleben. Eine klare Sprache, Klick-für-Klick-Anleitungen, Zusammenfassungen und Hervorhebungen sorgen dabei für einen schnellen und unkomplizierten Lernerfolg.

Bei amazon.de ansehen →

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