SAP /SAPAPO/SEQV_SAVE_SEQUENCE Function Module for Save Sequencing
/SAPAPO/SEQV_SAVE_SEQUENCE is a standard /sapapo/seqv save sequence SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Save Sequencing 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 /sapapo/seqv save sequence FM, simply by entering the name /SAPAPO/SEQV_SAVE_SEQUENCE into the relevant SAP transaction such as SE37 or SE38.
Function Group: /SAPAPO/SEQ_VISUAL_01
Program Name: /SAPAPO/SAPLSEQ_VISUAL_01
Main Program: /SAPAPO/SAPLSEQ_VISUAL_01
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function /SAPAPO/SEQV_SAVE_SEQUENCE 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 '/SAPAPO/SEQV_SAVE_SEQUENCE'"Save Sequencing.
EXPORTING
IV_SIMID = "Planversion (operativ oder eine Simulationsversion)
IT_AOINT = "PPDS-PT: Interne Aktivitäts-Auftragstabelle
IT_AOINT_PLAN = "PPDS-PT: Interne Aktivitäts-Auftragstabelle
IT_AOINT_UNPL = "PPDS-PT: Interne Aktivitäts-Auftragstabelle
IV_COMMIT = "Dummy Datenlement für Boolean-Felder
CHANGING
CV_SIMSESSION = "GUID zur Identifikation transaktionale Simulations-Session
CS_WARNING = "Flags und Warnungen
CT_STACK = "PPDS-PT: Interne Aktivitäts-Auftragstabelle
IMPORTING Parameters details for /SAPAPO/SEQV_SAVE_SEQUENCE
IV_SIMID - Planversion (operativ oder eine Simulationsversion)
Data type: /SAPAPO/VRSIOIDOptional: No
Call by Reference: Yes
IT_AOINT - PPDS-PT: Interne Aktivitäts-Auftragstabelle
Data type: /SAPAPO/PT_AOINT_TABOptional: No
Call by Reference: Yes
IT_AOINT_PLAN - PPDS-PT: Interne Aktivitäts-Auftragstabelle
Data type: /SAPAPO/PT_AOINT_TABOptional: No
Call by Reference: Yes
IT_AOINT_UNPL - PPDS-PT: Interne Aktivitäts-Auftragstabelle
Data type: /SAPAPO/PT_AOINT_TABOptional: No
Call by Reference: Yes
IV_COMMIT - Dummy Datenlement für Boolean-Felder
Data type: /SAPAPO/BOOLEANOptional: No
Call by Reference: Yes
CHANGING Parameters details for /SAPAPO/SEQV_SAVE_SEQUENCE
CV_SIMSESSION - GUID zur Identifikation transaktionale Simulations-Session
Data type: /SAPAPO/OM_SIMSESSIONOptional: No
Call by Reference: Yes
CS_WARNING - Flags und Warnungen
Data type: /SAPAPO/SEQ_WARNING_STROptional: No
Call by Reference: Yes
CT_STACK - PPDS-PT: Interne Aktivitäts-Auftragstabelle
Data type: /SAPAPO/SEQ_STACK_TABOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for /SAPAPO/SEQV_SAVE_SEQUENCE 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_iv_simid | TYPE /SAPAPO/VRSIOID, " | |||
| lv_cv_simsession | TYPE /SAPAPO/OM_SIMSESSION, " | |||
| lv_it_aoint | TYPE /SAPAPO/PT_AOINT_TAB, " | |||
| lv_cs_warning | TYPE /SAPAPO/SEQ_WARNING_STR, " | |||
| lv_ct_stack | TYPE /SAPAPO/SEQ_STACK_TAB, " | |||
| lv_it_aoint_plan | TYPE /SAPAPO/PT_AOINT_TAB, " | |||
| lv_it_aoint_unpl | TYPE /SAPAPO/PT_AOINT_TAB, " | |||
| lv_iv_commit | TYPE /SAPAPO/BOOLEAN. " |
|   CALL FUNCTION '/SAPAPO/SEQV_SAVE_SEQUENCE' "Save Sequencing |
| EXPORTING | ||
| IV_SIMID | = lv_iv_simid | |
| IT_AOINT | = lv_it_aoint | |
| IT_AOINT_PLAN | = lv_it_aoint_plan | |
| IT_AOINT_UNPL | = lv_it_aoint_unpl | |
| IV_COMMIT | = lv_iv_commit | |
| CHANGING | ||
| CV_SIMSESSION | = lv_cv_simsession | |
| CS_WARNING | = lv_cs_warning | |
| CT_STACK | = lv_ct_stack | |
| . " /SAPAPO/SEQV_SAVE_SEQUENCE | ||
ABAP code using 7.40 inline data declarations to call FM /SAPAPO/SEQV_SAVE_SEQUENCE
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