SAP PVSHI_PNACT_READ Function Module for NOTRANSL: iPPE: Objekte der Prozeßstruktur lesen









PVSHI_PNACT_READ is a standard pvshi pnact read 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: iPPE: Objekte der Prozeßstruktur lesen 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 pvshi pnact read FM, simply by entering the name PVSHI_PNACT_READ into the relevant SAP transaction such as SE37 or SE38.

Function Group: PPEHI_ACT
Program Name: SAPLPPEHI_ACT
Main Program: SAPLPPEHI_ACT
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function PVSHI_PNACT_READ 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 'PVSHI_PNACT_READ'"NOTRANSL: iPPE: Objekte der Prozeßstruktur lesen
EXPORTING
* I_MODE_ALL = 'X' "Ignore Errors
* I_MSG_HANDLING = 'A' "Message Handling
* I_CHANGENO_SPECIFIED = ' ' "Read Specified Change States Only

TABLES
* ACTIVITYNODEDATA = "iPPE/BAPI: Attributes of the Process Structure Node
* ACTIVITYALTLONGTEXT = "iPPE/BAPI: Long Text for the Alternative
* ACTIVITYALTCAPA = "iPPE/BAPI: Alternatives for Activity/Capacity Requirement
* ACTIVITYRELATIONDATA = "iPPE/BAPI: Activities Relationship
* ACTIVITYRELATIONCONSTRAINT = "iPPE / BAPI: Additional Constraints
* REPORTINGPOINT = "iPPE/BAPI: Reporting Point
* LINEBALANCINGRELATION = "iPPE/BAPI: Line Balance Relationships
* FACTORYLAYOUTRELATION = "iPPE/BAPI: Factory Layout Relationships
* GENERICRELATION = "iPPE / BAPI: Relationships of Generic Engineering Node
* ADMINDATA = "Administrative data for iPPE objects
* RETURN = "Return Parameter
* ACTIVITYNODETEXT = "iPPE/BAPI: Text for the Activity Node
* ACTIVITYNODELONGTEXTHEADER = "iPPE/BAPI: Header Long Text for Node
* ACTIVITYNODELONGTEXT = "iPPE/BAPI: Long Text for Node
* SUPPLYAREAASSIGNMENT = "iPPE / BAPI: Assignment of Supply Area
* ACTIVITYALTDATA = "iPPE/BAPI: Activity Alternative
* ACTIVITYALTEXTENSION = "iPPE/BAPI: Customer Enhancements - Mode of Activity
* ACTIVITYALTTEXT = "iPPE/BAPI: Text for the Alternative at the Activity
* ACTIVITYALTLONGTEXTHEADER = "iPPE/BAPI: Header Long Text for the Alternative
.



IMPORTING Parameters details for PVSHI_PNACT_READ

I_MODE_ALL - Ignore Errors

Data type: PPE_MODE_ALL
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_MSG_HANDLING - Message Handling

Data type: PPE_MESSAGE_OPTION
Default: 'A'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CHANGENO_SPECIFIED - Read Specified Change States Only

Data type: PPE_CHANGENO_SPECIFIED
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for PVSHI_PNACT_READ

ACTIVITYNODEDATA - iPPE/BAPI: Attributes of the Process Structure Node

Data type: BAPI1179_ACT_NODEDATA
Optional: Yes
Call by Reference: Yes

ACTIVITYALTLONGTEXT - iPPE/BAPI: Long Text for the Alternative

Data type: BAPI_PPE_ALT_LONGTEXT
Optional: Yes
Call by Reference: Yes

ACTIVITYALTCAPA - iPPE/BAPI: Alternatives for Activity/Capacity Requirement

Data type: BAPI1179_ACT_ALTCAPA
Optional: Yes
Call by Reference: Yes

ACTIVITYRELATIONDATA - iPPE/BAPI: Activities Relationship

Data type: BAPI1179_ACT_RELATION
Optional: Yes
Call by Reference: Yes

ACTIVITYRELATIONCONSTRAINT - iPPE / BAPI: Additional Constraints

Data type: BAPI1179_ACT_CONSTRAINT
Optional: Yes
Call by Reference: Yes

REPORTINGPOINT - iPPE/BAPI: Reporting Point

Data type: BAPI1182_FLO_REPPOINT
Optional: Yes
Call by Reference: Yes

LINEBALANCINGRELATION - iPPE/BAPI: Line Balance Relationships

Data type: BAPI1183_BAL_RELATION
Optional: Yes
Call by Reference: Yes

FACTORYLAYOUTRELATION - iPPE/BAPI: Factory Layout Relationships

Data type: BAPI1182_FLO_RELATION
Optional: Yes
Call by Reference: Yes

GENERICRELATION - iPPE / BAPI: Relationships of Generic Engineering Node

Data type: BAPI1197_GEN_RELATION
Optional: Yes
Call by Reference: Yes

ADMINDATA - Administrative data for iPPE objects

Data type: PVSHI_ADMINDATA
Optional: Yes
Call by Reference: Yes

RETURN - Return Parameter

Data type: BAPIRET2
Optional: Yes
Call by Reference: Yes

ACTIVITYNODETEXT - iPPE/BAPI: Text for the Activity Node

Data type: BAPI1179_ACT_NODETEXT
Optional: Yes
Call by Reference: Yes

ACTIVITYNODELONGTEXTHEADER - iPPE/BAPI: Header Long Text for Node

Data type: BAPI_PPE_NODE_LONGTEXT_HD
Optional: Yes
Call by Reference: Yes

ACTIVITYNODELONGTEXT - iPPE/BAPI: Long Text for Node

Data type: BAPI_PPE_NODE_LONGTEXT
Optional: Yes
Call by Reference: Yes

SUPPLYAREAASSIGNMENT - iPPE / BAPI: Assignment of Supply Area

Data type: BAPI1179_ACT_SUPPLYAREA
Optional: Yes
Call by Reference: Yes

ACTIVITYALTDATA - iPPE/BAPI: Activity Alternative

Data type: BAPI1179_ACT_ALTDATA
Optional: Yes
Call by Reference: Yes

ACTIVITYALTEXTENSION - iPPE/BAPI: Customer Enhancements - Mode of Activity

Data type: BAPI_TE_PAMOD
Optional: Yes
Call by Reference: Yes

ACTIVITYALTTEXT - iPPE/BAPI: Text for the Alternative at the Activity

Data type: BAPI1179_ACT_ALTTEXT
Optional: Yes
Call by Reference: Yes

ACTIVITYALTLONGTEXTHEADER - iPPE/BAPI: Header Long Text for the Alternative

Data type: BAPI_PPE_ALT_LONGTEXT_HD
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for PVSHI_PNACT_READ 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_i_mode_all  TYPE PPE_MODE_ALL, "   'X'
lt_activitynodedata  TYPE STANDARD TABLE OF BAPI1179_ACT_NODEDATA, "   
lt_activityaltlongtext  TYPE STANDARD TABLE OF BAPI_PPE_ALT_LONGTEXT, "   
lt_activityaltcapa  TYPE STANDARD TABLE OF BAPI1179_ACT_ALTCAPA, "   
lt_activityrelationdata  TYPE STANDARD TABLE OF BAPI1179_ACT_RELATION, "   
lt_activityrelationconstraint  TYPE STANDARD TABLE OF BAPI1179_ACT_CONSTRAINT, "   
lt_reportingpoint  TYPE STANDARD TABLE OF BAPI1182_FLO_REPPOINT, "   
lt_linebalancingrelation  TYPE STANDARD TABLE OF BAPI1183_BAL_RELATION, "   
lt_factorylayoutrelation  TYPE STANDARD TABLE OF BAPI1182_FLO_RELATION, "   
lt_genericrelation  TYPE STANDARD TABLE OF BAPI1197_GEN_RELATION, "   
lt_admindata  TYPE STANDARD TABLE OF PVSHI_ADMINDATA, "   
lt_return  TYPE STANDARD TABLE OF BAPIRET2, "   
lv_i_msg_handling  TYPE PPE_MESSAGE_OPTION, "   'A'
lt_activitynodetext  TYPE STANDARD TABLE OF BAPI1179_ACT_NODETEXT, "   
lv_i_changeno_specified  TYPE PPE_CHANGENO_SPECIFIED, "   SPACE
lt_activitynodelongtextheader  TYPE STANDARD TABLE OF BAPI_PPE_NODE_LONGTEXT_HD, "   
lt_activitynodelongtext  TYPE STANDARD TABLE OF BAPI_PPE_NODE_LONGTEXT, "   
lt_supplyareaassignment  TYPE STANDARD TABLE OF BAPI1179_ACT_SUPPLYAREA, "   
lt_activityaltdata  TYPE STANDARD TABLE OF BAPI1179_ACT_ALTDATA, "   
lt_activityaltextension  TYPE STANDARD TABLE OF BAPI_TE_PAMOD, "   
lt_activityalttext  TYPE STANDARD TABLE OF BAPI1179_ACT_ALTTEXT, "   
lt_activityaltlongtextheader  TYPE STANDARD TABLE OF BAPI_PPE_ALT_LONGTEXT_HD. "   

  CALL FUNCTION 'PVSHI_PNACT_READ'  "NOTRANSL: iPPE: Objekte der Prozeßstruktur lesen
    EXPORTING
         I_MODE_ALL = lv_i_mode_all
         I_MSG_HANDLING = lv_i_msg_handling
         I_CHANGENO_SPECIFIED = lv_i_changeno_specified
    TABLES
         ACTIVITYNODEDATA = lt_activitynodedata
         ACTIVITYALTLONGTEXT = lt_activityaltlongtext
         ACTIVITYALTCAPA = lt_activityaltcapa
         ACTIVITYRELATIONDATA = lt_activityrelationdata
         ACTIVITYRELATIONCONSTRAINT = lt_activityrelationconstraint
         REPORTINGPOINT = lt_reportingpoint
         LINEBALANCINGRELATION = lt_linebalancingrelation
         FACTORYLAYOUTRELATION = lt_factorylayoutrelation
         GENERICRELATION = lt_genericrelation
         ADMINDATA = lt_admindata
         RETURN = lt_return
         ACTIVITYNODETEXT = lt_activitynodetext
         ACTIVITYNODELONGTEXTHEADER = lt_activitynodelongtextheader
         ACTIVITYNODELONGTEXT = lt_activitynodelongtext
         SUPPLYAREAASSIGNMENT = lt_supplyareaassignment
         ACTIVITYALTDATA = lt_activityaltdata
         ACTIVITYALTEXTENSION = lt_activityaltextension
         ACTIVITYALTTEXT = lt_activityalttext
         ACTIVITYALTLONGTEXTHEADER = lt_activityaltlongtextheader
. " PVSHI_PNACT_READ




ABAP code using 7.40 inline data declarations to call FM PVSHI_PNACT_READ

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.

DATA(ld_i_mode_all) = 'X'.
 
 
 
 
 
 
 
 
 
 
 
 
DATA(ld_i_msg_handling) = 'A'.
 
 
DATA(ld_i_changeno_specified) = ' '.
 
 
 
 
 
 
 
 


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!