SAP AIPS_SIMUL_PBO Function Module for









AIPS_SIMUL_PBO is a standard aips simul pbo SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 aips simul pbo FM, simply by entering the name AIPS_SIMUL_PBO into the relevant SAP transaction such as SE37 or SE38.

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



Function AIPS_SIMUL_PBO 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 'AIPS_SIMUL_PBO'"
EXPORTING
* I_KOKRS = "
* I_BUKRS = "
I_OBJNR = "
* I_IVPRO = "Investment Profile
* I_DATUM = "Start-up date
I_AKTYP = "
* I_SPERR = ' ' "Master Data Block

IMPORTING
E_PUSH_ANLEGEN = "
E_PUSH_AUFTEIL = "
E_PUSH_BEWERT = "
E_ANLKL_TEXT = "
E_CHECKBOX = "

CHANGING
C_ANLKL = "Asset Class
C_AKTIV = "Capitaliz. date
.




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_SAPLAIPS_001 User Exit for Supplements to Overall Plan or Budget

IMPORTING Parameters details for AIPS_SIMUL_PBO

I_KOKRS -

Data type: IMAK-VKOKRS
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_BUKRS -

Data type: ANIA-BUKRS
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_OBJNR -

Data type: ANIA-OBJNR
Optional: No
Call by Reference: No ( called with pass by value option)

I_IVPRO - Investment Profile

Data type: TAIF1-IVPRO
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DATUM - Start-up date

Data type: IMAV-IDATU
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_AKTYP -

Data type: T020-AKTYP
Optional: No
Call by Reference: No ( called with pass by value option)

I_SPERR - Master Data Block

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

EXPORTING Parameters details for AIPS_SIMUL_PBO

E_PUSH_ANLEGEN -

Data type: RAIPS02-COMPRESS_BUTTON
Optional: No
Call by Reference: No ( called with pass by value option)

E_PUSH_AUFTEIL -

Data type: RAIPS02-COMPRESS_BUTTON
Optional: No
Call by Reference: No ( called with pass by value option)

E_PUSH_BEWERT -

Data type: RAIPS02-COMPRESS_BUTTON
Optional: No
Call by Reference: No ( called with pass by value option)

E_ANLKL_TEXT -

Data type: ANKT-TXK20
Optional: No
Call by Reference: No ( called with pass by value option)

E_CHECKBOX -

Data type: ANKT-XLTXID
Optional: No
Call by Reference: No ( called with pass by value option)

CHANGING Parameters details for AIPS_SIMUL_PBO

C_ANLKL - Asset Class

Data type: ANIA-ANLKL
Optional: No
Call by Reference: No ( called with pass by value option)

C_AKTIV - Capitaliz. date

Data type: ANIA-AKTIV
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for AIPS_SIMUL_PBO 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_c_anlkl  TYPE ANIA-ANLKL, "   
lv_i_kokrs  TYPE IMAK-VKOKRS, "   
lv_e_push_anlegen  TYPE RAIPS02-COMPRESS_BUTTON, "   
lv_c_aktiv  TYPE ANIA-AKTIV, "   
lv_i_bukrs  TYPE ANIA-BUKRS, "   
lv_e_push_aufteil  TYPE RAIPS02-COMPRESS_BUTTON, "   
lv_i_objnr  TYPE ANIA-OBJNR, "   
lv_e_push_bewert  TYPE RAIPS02-COMPRESS_BUTTON, "   
lv_i_ivpro  TYPE TAIF1-IVPRO, "   
lv_e_anlkl_text  TYPE ANKT-TXK20, "   
lv_i_datum  TYPE IMAV-IDATU, "   
lv_e_checkbox  TYPE ANKT-XLTXID, "   
lv_i_aktyp  TYPE T020-AKTYP, "   
lv_i_sperr  TYPE T020-AKTYP. "   SPACE

  CALL FUNCTION 'AIPS_SIMUL_PBO'  "
    EXPORTING
         I_KOKRS = lv_i_kokrs
         I_BUKRS = lv_i_bukrs
         I_OBJNR = lv_i_objnr
         I_IVPRO = lv_i_ivpro
         I_DATUM = lv_i_datum
         I_AKTYP = lv_i_aktyp
         I_SPERR = lv_i_sperr
    IMPORTING
         E_PUSH_ANLEGEN = lv_e_push_anlegen
         E_PUSH_AUFTEIL = lv_e_push_aufteil
         E_PUSH_BEWERT = lv_e_push_bewert
         E_ANLKL_TEXT = lv_e_anlkl_text
         E_CHECKBOX = lv_e_checkbox
    CHANGING
         C_ANLKL = lv_c_anlkl
         C_AKTIV = lv_c_aktiv
. " AIPS_SIMUL_PBO




ABAP code using 7.40 inline data declarations to call FM AIPS_SIMUL_PBO

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.

"SELECT single ANLKL FROM ANIA INTO @DATA(ld_c_anlkl).
 
"SELECT single VKOKRS FROM IMAK INTO @DATA(ld_i_kokrs).
 
"SELECT single COMPRESS_BUTTON FROM RAIPS02 INTO @DATA(ld_e_push_anlegen).
 
"SELECT single AKTIV FROM ANIA INTO @DATA(ld_c_aktiv).
 
"SELECT single BUKRS FROM ANIA INTO @DATA(ld_i_bukrs).
 
"SELECT single COMPRESS_BUTTON FROM RAIPS02 INTO @DATA(ld_e_push_aufteil).
 
"SELECT single OBJNR FROM ANIA INTO @DATA(ld_i_objnr).
 
"SELECT single COMPRESS_BUTTON FROM RAIPS02 INTO @DATA(ld_e_push_bewert).
 
"SELECT single IVPRO FROM TAIF1 INTO @DATA(ld_i_ivpro).
 
"SELECT single TXK20 FROM ANKT INTO @DATA(ld_e_anlkl_text).
 
"SELECT single IDATU FROM IMAV INTO @DATA(ld_i_datum).
 
"SELECT single XLTXID FROM ANKT INTO @DATA(ld_e_checkbox).
 
"SELECT single AKTYP FROM T020 INTO @DATA(ld_i_aktyp).
 
"SELECT single AKTYP FROM T020 INTO @DATA(ld_i_sperr).
DATA(ld_i_sperr) = ' '.
 


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!