SAP SHP_CHANGE_ACTIVE Function Module for NOTRANSL: Prüft auf aktiviertes Changemanagement









SHP_CHANGE_ACTIVE is a standard shp change active SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Prüft auf aktiviertes Changemanagement processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for shp change active FM, simply by entering the name SHP_CHANGE_ACTIVE into the relevant SAP transaction such as SE37 or SE38.

Function Group: V50K
Program Name: SAPLV50K
Main Program: SAPLV50K
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function SHP_CHANGE_ACTIVE pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'SHP_CHANGE_ACTIVE'"NOTRANSL: Prüft auf aktiviertes Changemanagement
EXPORTING
IF_VBTYP = "SD document category
IF_LGNUM = "Warehouse Number/Warehouse Complex
IF_LOGSYS = "Logical System of Receiver

IMPORTING
EF_ACTIVE = "Checkbox
EF_EMERGENCY_OFF = "Checkbox
EF_ACTIVE_ASYNC = "Checkbox
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLV50K_005 User Exit BAPI Inbound Delivery Replication (Outbound from Sending System)
EXIT_SAPLV50K_006 User Exit BAPI Inbound Deliv. Confirmation (Outbound from Sending System)
EXIT_SAPLV50K_007 User Exit BAPI Outbound Delivery Replication (Outbound from Sender System)
EXIT_SAPLV50K_008 User Exit BAPI Outbound Deliv. Confirmation (Outbound from Sending System)
EXIT_SAPLV50K_011 User Exit BAPI for Changing Inbound Deliveries (Outbound)
EXIT_SAPLV50K_012 User Exit BAPI for Changing Outbound Deliveries (Outbound)

IMPORTING Parameters details for SHP_CHANGE_ACTIVE

IF_VBTYP - SD document category

Data type: VBTYP
Optional: No
Call by Reference: Yes

IF_LGNUM - Warehouse Number/Warehouse Complex

Data type: LGNUM
Optional: No
Call by Reference: Yes

IF_LOGSYS - Logical System of Receiver

Data type: LOGSYS
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for SHP_CHANGE_ACTIVE

EF_ACTIVE - Checkbox

Data type: XFELD
Optional: No
Call by Reference: No ( called with pass by value option)

EF_EMERGENCY_OFF - Checkbox

Data type: XFELD
Optional: No
Call by Reference: No ( called with pass by value option)

EF_ACTIVE_ASYNC - Checkbox

Data type: XFELD
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for SHP_CHANGE_ACTIVE Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_if_vbtyp  TYPE VBTYP, "   
lv_ef_active  TYPE XFELD, "   
lv_if_lgnum  TYPE LGNUM, "   
lv_ef_emergency_off  TYPE XFELD, "   
lv_if_logsys  TYPE LOGSYS, "   
lv_ef_active_async  TYPE XFELD. "   

  CALL FUNCTION 'SHP_CHANGE_ACTIVE'  "NOTRANSL: Prüft auf aktiviertes Changemanagement
    EXPORTING
         IF_VBTYP = lv_if_vbtyp
         IF_LGNUM = lv_if_lgnum
         IF_LOGSYS = lv_if_logsys
    IMPORTING
         EF_ACTIVE = lv_ef_active
         EF_EMERGENCY_OFF = lv_ef_emergency_off
         EF_ACTIVE_ASYNC = lv_ef_active_async
. " SHP_CHANGE_ACTIVE




ABAP code using 7.40 inline data declarations to call FM SHP_CHANGE_ACTIVE

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!