SAP IBSD_CREATE_IBASE Function Module for NOTRANSL: Installation zur Position eines Kundenauftrages anlegen









IBSD_CREATE_IBASE is a standard ibsd create ibase 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: Installation zur Position eines Kundenauftrages anlegen 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 ibsd create ibase FM, simply by entering the name IBSD_CREATE_IBASE into the relevant SAP transaction such as SE37 or SE38.

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



Function IBSD_CREATE_IBASE 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 'IBSD_CREATE_IBASE'"NOTRANSL: Installation zur Position eines Kundenauftrages anlegen
EXPORTING
I_VBELN = "Sales Document
I_POSNR = "Item
I_AS_SOLD = "Sales
I_AS_BUILD = "Production
I_CAPID = "BOM Application
* I_CHANGE = ' ' "Checkbox
* I_COMMIT = ' ' "Checkbox
* I_COMMIT_WAIT = ' ' "Checkbox

IMPORTING
E_IBASE = "IBase: Number of the Installed Base/IBase

EXCEPTIONS
ORDER_NOT_FOUND = 1 POSITION_NOT_FOUND = 2 NOTHING_TO_DO = 3 TOO_MUCH_TO_DO = 4 MISSING_AUTHORIZATION = 5 FOREIGN_LOCK = 6
.




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_SAPLIBSD_001 Filter Components

IMPORTING Parameters details for IBSD_CREATE_IBASE

I_VBELN - Sales Document

Data type: VBAP-VBELN
Optional: No
Call by Reference: Yes

I_POSNR - Item

Data type: VBAP-POSNR
Optional: No
Call by Reference: Yes

I_AS_SOLD - Sales

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

I_AS_BUILD - Production

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

I_CAPID - BOM Application

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

I_CHANGE - Checkbox

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

I_COMMIT - Checkbox

Data type: XFELD
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_COMMIT_WAIT - Checkbox

Data type: XFELD
Default: SPACE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for IBSD_CREATE_IBASE

E_IBASE - IBase: Number of the Installed Base/IBase

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

EXCEPTIONS details

ORDER_NOT_FOUND - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

POSITION_NOT_FOUND - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

NOTHING_TO_DO - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

TOO_MUCH_TO_DO - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

MISSING_AUTHORIZATION - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

FOREIGN_LOCK - Object Locked

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

Copy and paste ABAP code example for IBSD_CREATE_IBASE 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_e_ibase  TYPE IB_IBASE, "   
lv_i_vbeln  TYPE VBAP-VBELN, "   
lv_order_not_found  TYPE VBAP, "   
lv_i_posnr  TYPE VBAP-POSNR, "   
lv_position_not_found  TYPE VBAP, "   
lv_i_as_sold  TYPE AS_SOLD, "   
lv_nothing_to_do  TYPE AS_SOLD, "   
lv_i_as_build  TYPE AS_BUILD, "   
lv_too_much_to_do  TYPE AS_BUILD, "   
lv_i_capid  TYPE CAPID, "   
lv_missing_authorization  TYPE CAPID, "   
lv_i_change  TYPE XFELD, "   SPACE
lv_foreign_lock  TYPE XFELD, "   
lv_i_commit  TYPE XFELD, "   SPACE
lv_i_commit_wait  TYPE XFELD. "   SPACE

  CALL FUNCTION 'IBSD_CREATE_IBASE'  "NOTRANSL: Installation zur Position eines Kundenauftrages anlegen
    EXPORTING
         I_VBELN = lv_i_vbeln
         I_POSNR = lv_i_posnr
         I_AS_SOLD = lv_i_as_sold
         I_AS_BUILD = lv_i_as_build
         I_CAPID = lv_i_capid
         I_CHANGE = lv_i_change
         I_COMMIT = lv_i_commit
         I_COMMIT_WAIT = lv_i_commit_wait
    IMPORTING
         E_IBASE = lv_e_ibase
    EXCEPTIONS
        ORDER_NOT_FOUND = 1
        POSITION_NOT_FOUND = 2
        NOTHING_TO_DO = 3
        TOO_MUCH_TO_DO = 4
        MISSING_AUTHORIZATION = 5
        FOREIGN_LOCK = 6
. " IBSD_CREATE_IBASE




ABAP code using 7.40 inline data declarations to call FM IBSD_CREATE_IBASE

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 VBELN FROM VBAP INTO @DATA(ld_i_vbeln).
 
 
"SELECT single POSNR FROM VBAP INTO @DATA(ld_i_posnr).
 
 
 
 
 
 
 
 
DATA(ld_i_change) = ' '.
 
 
DATA(ld_i_commit) = ' '.
 
DATA(ld_i_commit_wait) = ' '.
 


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!