SAP Function Module CJPN_PROJECT_ATTACH

Zuordnung Auftrag zum Projekt

Recommended Now

Fire TV Stick Lite Essentials Bundle

This bundle contains Amazon Fire TV Stick Lite and Mission USB Power Cable. The USB power cable eliminates the need to find an AC outlet near your TV by powering Amazon Fire TV directly from your TV's USB port. Includes special power management circuitry that enhances the peak power capability of the USB port by storing excess energy and then releasing it as needed.

Check it out on amazon.com →

The Function Module CJPN_PROJECT_ATTACH (Zuordnung Auftrag zum Projekt) is a standard Function Module in SAP ERP and is part of the function group CJPN within the package CN_PSP_OPR.

Technical Information

Function Module CJPN_PROJECT_ATTACH
Short Text Zuordnung Auftrag zum Projekt
Function Group CJPN
Package CN_PSP_OPR
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
AUF_OBJNR LIKE JEST-OBJNR SPACE Object number of assigned order
CHECK_ONLY LIKE RCWBS-SEL01 SPACE Check only, no status changes
INT_NUM LIKE PRPS-PSPNR
I_VRGNG LIKE TJ01-VRGNG CON_VNG_AUFTZUO Business transaction
RKBUK LIKE TKA00-RKBUK SPACE
TEST_BUKRS LIKE PRPS-PBUKR SPACE Company code (check for consistency)
TEST_GSBER LIKE PRPS-PGSBR SPACE Business area (check for consistency)
TEST_KOKRS LIKE PRPS-PKOKR SPACE Controlling area (check for consistency)
TYP LIKE AUFK-AUTYP
VKT LIKE TJ02-NODIS 'X' Activity-assignment indicator

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
BUKRS LIKE PRPS-PBUKR
ERROR_OCCURRED LIKE RCWBS-SEL01
GSBER LIKE PRPS-PGSBR
KOKRS LIKE PRPS-PKOKR Controlling area of WBS element
PSPHI LIKE PROJ-PSPNR
PSPRI LIKE PRPS-PSPRI

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
ACTIVITY_NOT_ALLOWED
ALLOCATION_NOT_ALLOWED Order assignment denied (locked/deletion flag..)
ELEMENT_NOT_RELEASED WBS element neither released nor partially released
NOT_FOUND WBS element does not exist
NO_ACCOUNT_ELEMENT No account assignment element
NO_INVOICE_ELEMENT No billing element
NO_ORDERS_INBETWEEN No orders between billing and accnt assignmnt elem.
OBJECT_NOT_FOUND Object number for WBS element does not exist
WRONG_BUKRS
WRONG_GSBER
WRONG_KOKRS