SAP FSCD_INSOBJECT_CREATE_BAPI Function Module for
FSCD_INSOBJECT_CREATE_BAPI is a standard fscd insobject create bapi 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 fscd insobject create bapi FM, simply by entering the name FSCD_INSOBJECT_CREATE_BAPI into the relevant SAP transaction such as SE37 or SE38.
Function Group: FSCDMAD_IO_RFC
Program Name: SAPLFSCDMAD_IO_RFC
Main Program: SAPLFSCDMAD_IO_RFC
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function FSCD_INSOBJECT_CREATE_BAPI 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 'FSCD_INSOBJECT_CREATE_BAPI'".
EXPORTING
INSOBJECTDATA = "
* WAIT = ' ' "
INSOBJECTDATAX = "
* TESTRUN = ' ' "
* WRITECHANGEDOCUMENTS = 'X' "
* NODATA = '/' "
* COMMIT_ROLLBACK = 'X' "
* PROT_ERROR = ' ' "
* PROT_ERROR_EXTID = "
* RAISE_ERROR = ' ' "
IMPORTING
INSOBJECT = "
TABLES
INSOBJECTPARTNER = "
* INSOBJECTPARTNERBROKERX = "
* INSOBJECTPARTNERPAY = "
* INSOBJECTPARTNERPAYX = "
* INSOBJECTPARTNERWHV = "
* INSOBJECTPARTNERWHVX = "
* RETURN = "
* EXTENSIONIN = "
INSOBJECTPARTNERX = "
* INSOBJECTPARTNERCORR = "
* INSOBJECTPARTNERCORRX = "
* INSOBJECTPARTNERLOCK = "
* INSOBJECTPARTNERLOCKX = "
* INSOBJECTPARTNERBRKASSGN = "
* INSOBJECTPARTNERBRKASSGNX = "
* INSOBJECTPARTNERBROKER = "
IMPORTING Parameters details for FSCD_INSOBJECT_CREATE_BAPI
INSOBJECTDATA -
Data type: BAPI_INSOBJECT_H_CREATEOptional: No
Call by Reference: No ( called with pass by value option)
WAIT -
Data type: XFELDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
INSOBJECTDATAX -
Data type: BAPI_INSOBJECT_H_CREATEXOptional: No
Call by Reference: No ( called with pass by value option)
TESTRUN -
Data type: BAPI_INSOBJECT_CONTROL-TESTRUNDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
WRITECHANGEDOCUMENTS -
Data type: BAPI_INSOBJECT_CONTROL-WRITECHANGEDOCUMENTSDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
NODATA -
Data type: BAPI_INSOBJECT_CONTROL-NODATADefault: '/'
Optional: Yes
Call by Reference: No ( called with pass by value option)
COMMIT_ROLLBACK -
Data type: XFELDDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
PROT_ERROR -
Data type: XFELDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
PROT_ERROR_EXTID -
Data type: BALNREXTOptional: Yes
Call by Reference: No ( called with pass by value option)
RAISE_ERROR -
Data type: XFELDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FSCD_INSOBJECT_CREATE_BAPI
INSOBJECT -
Data type: BAPI_INSOBJECT_KEY-INSOBJECTOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FSCD_INSOBJECT_CREATE_BAPI
INSOBJECTPARTNER -
Data type: BAPI_INSOBJECT_P_CREATEOptional: No
Call by Reference: No ( called with pass by value option)
INSOBJECTPARTNERBROKERX -
Data type: BAPI_INSOBJECT_P_BROKERXOptional: Yes
Call by Reference: No ( called with pass by value option)
INSOBJECTPARTNERPAY -
Data type: BAPI_INSOBJECT_P_PAYOptional: Yes
Call by Reference: No ( called with pass by value option)
INSOBJECTPARTNERPAYX -
Data type: BAPI_INSOBJECT_P_PAYXOptional: Yes
Call by Reference: No ( called with pass by value option)
INSOBJECTPARTNERWHV -
Data type: BAPI_INSOBJECT_P_WHVOptional: Yes
Call by Reference: No ( called with pass by value option)
INSOBJECTPARTNERWHVX -
Data type: BAPI_INSOBJECT_P_WHVXOptional: Yes
Call by Reference: No ( called with pass by value option)
RETURN -
Data type: BAPIRET2Optional: Yes
Call by Reference: No ( called with pass by value option)
EXTENSIONIN -
Data type: BAPIPAREXOptional: Yes
Call by Reference: No ( called with pass by value option)
INSOBJECTPARTNERX -
Data type: BAPI_INSOBJECT_P_CREATEXOptional: No
Call by Reference: No ( called with pass by value option)
INSOBJECTPARTNERCORR -
Data type: BAPI_INSOBJECT_P_CORROptional: Yes
Call by Reference: No ( called with pass by value option)
INSOBJECTPARTNERCORRX -
Data type: BAPI_INSOBJECT_P_CORRXOptional: Yes
Call by Reference: No ( called with pass by value option)
INSOBJECTPARTNERLOCK -
Data type: BAPI_INSOBJECT_P_LOCKOptional: Yes
Call by Reference: No ( called with pass by value option)
INSOBJECTPARTNERLOCKX -
Data type: BAPI_INSOBJECT_P_LOCKXOptional: Yes
Call by Reference: No ( called with pass by value option)
INSOBJECTPARTNERBRKASSGN -
Data type: BAPI_INSOBJECT_P_BRKASS_CROptional: Yes
Call by Reference: No ( called with pass by value option)
INSOBJECTPARTNERBRKASSGNX -
Data type: BAPI_INSOBJECT_P_BRKASS_CRXOptional: Yes
Call by Reference: No ( called with pass by value option)
INSOBJECTPARTNERBROKER -
Data type: BAPI_INSOBJECT_P_BROKEROptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FSCD_INSOBJECT_CREATE_BAPI 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_insobject | TYPE BAPI_INSOBJECT_KEY-INSOBJECT, " | |||
| lv_insobjectdata | TYPE BAPI_INSOBJECT_H_CREATE, " | |||
| lt_insobjectpartner | TYPE STANDARD TABLE OF BAPI_INSOBJECT_P_CREATE, " | |||
| lv_wait | TYPE XFELD, " SPACE | |||
| lt_insobjectpartnerbrokerx | TYPE STANDARD TABLE OF BAPI_INSOBJECT_P_BROKERX, " | |||
| lt_insobjectpartnerpay | TYPE STANDARD TABLE OF BAPI_INSOBJECT_P_PAY, " | |||
| lt_insobjectpartnerpayx | TYPE STANDARD TABLE OF BAPI_INSOBJECT_P_PAYX, " | |||
| lt_insobjectpartnerwhv | TYPE STANDARD TABLE OF BAPI_INSOBJECT_P_WHV, " | |||
| lt_insobjectpartnerwhvx | TYPE STANDARD TABLE OF BAPI_INSOBJECT_P_WHVX, " | |||
| lt_return | TYPE STANDARD TABLE OF BAPIRET2, " | |||
| lt_extensionin | TYPE STANDARD TABLE OF BAPIPAREX, " | |||
| lv_insobjectdatax | TYPE BAPI_INSOBJECT_H_CREATEX, " | |||
| lt_insobjectpartnerx | TYPE STANDARD TABLE OF BAPI_INSOBJECT_P_CREATEX, " | |||
| lv_testrun | TYPE BAPI_INSOBJECT_CONTROL-TESTRUN, " SPACE | |||
| lt_insobjectpartnercorr | TYPE STANDARD TABLE OF BAPI_INSOBJECT_P_CORR, " | |||
| lv_writechangedocuments | TYPE BAPI_INSOBJECT_CONTROL-WRITECHANGEDOCUMENTS, " 'X' | |||
| lt_insobjectpartnercorrx | TYPE STANDARD TABLE OF BAPI_INSOBJECT_P_CORRX, " | |||
| lv_nodata | TYPE BAPI_INSOBJECT_CONTROL-NODATA, " '/' | |||
| lt_insobjectpartnerlock | TYPE STANDARD TABLE OF BAPI_INSOBJECT_P_LOCK, " | |||
| lv_commit_rollback | TYPE XFELD, " 'X' | |||
| lt_insobjectpartnerlockx | TYPE STANDARD TABLE OF BAPI_INSOBJECT_P_LOCKX, " | |||
| lv_prot_error | TYPE XFELD, " SPACE | |||
| lt_insobjectpartnerbrkassgn | TYPE STANDARD TABLE OF BAPI_INSOBJECT_P_BRKASS_CR, " | |||
| lv_prot_error_extid | TYPE BALNREXT, " | |||
| lt_insobjectpartnerbrkassgnx | TYPE STANDARD TABLE OF BAPI_INSOBJECT_P_BRKASS_CRX, " | |||
| lv_raise_error | TYPE XFELD, " SPACE | |||
| lt_insobjectpartnerbroker | TYPE STANDARD TABLE OF BAPI_INSOBJECT_P_BROKER. " |
|   CALL FUNCTION 'FSCD_INSOBJECT_CREATE_BAPI' " |
| EXPORTING | ||
| INSOBJECTDATA | = lv_insobjectdata | |
| WAIT | = lv_wait | |
| INSOBJECTDATAX | = lv_insobjectdatax | |
| TESTRUN | = lv_testrun | |
| WRITECHANGEDOCUMENTS | = lv_writechangedocuments | |
| NODATA | = lv_nodata | |
| COMMIT_ROLLBACK | = lv_commit_rollback | |
| PROT_ERROR | = lv_prot_error | |
| PROT_ERROR_EXTID | = lv_prot_error_extid | |
| RAISE_ERROR | = lv_raise_error | |
| IMPORTING | ||
| INSOBJECT | = lv_insobject | |
| TABLES | ||
| INSOBJECTPARTNER | = lt_insobjectpartner | |
| INSOBJECTPARTNERBROKERX | = lt_insobjectpartnerbrokerx | |
| INSOBJECTPARTNERPAY | = lt_insobjectpartnerpay | |
| INSOBJECTPARTNERPAYX | = lt_insobjectpartnerpayx | |
| INSOBJECTPARTNERWHV | = lt_insobjectpartnerwhv | |
| INSOBJECTPARTNERWHVX | = lt_insobjectpartnerwhvx | |
| RETURN | = lt_return | |
| EXTENSIONIN | = lt_extensionin | |
| INSOBJECTPARTNERX | = lt_insobjectpartnerx | |
| INSOBJECTPARTNERCORR | = lt_insobjectpartnercorr | |
| INSOBJECTPARTNERCORRX | = lt_insobjectpartnercorrx | |
| INSOBJECTPARTNERLOCK | = lt_insobjectpartnerlock | |
| INSOBJECTPARTNERLOCKX | = lt_insobjectpartnerlockx | |
| INSOBJECTPARTNERBRKASSGN | = lt_insobjectpartnerbrkassgn | |
| INSOBJECTPARTNERBRKASSGNX | = lt_insobjectpartnerbrkassgnx | |
| INSOBJECTPARTNERBROKER | = lt_insobjectpartnerbroker | |
| . " FSCD_INSOBJECT_CREATE_BAPI | ||
ABAP code using 7.40 inline data declarations to call FM FSCD_INSOBJECT_CREATE_BAPI
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 INSOBJECT FROM BAPI_INSOBJECT_KEY INTO @DATA(ld_insobject). | ||||
| DATA(ld_wait) | = ' '. | |||
| "SELECT single TESTRUN FROM BAPI_INSOBJECT_CONTROL INTO @DATA(ld_testrun). | ||||
| DATA(ld_testrun) | = ' '. | |||
| "SELECT single WRITECHANGEDOCUMENTS FROM BAPI_INSOBJECT_CONTROL INTO @DATA(ld_writechangedocuments). | ||||
| DATA(ld_writechangedocuments) | = 'X'. | |||
| "SELECT single NODATA FROM BAPI_INSOBJECT_CONTROL INTO @DATA(ld_nodata). | ||||
| DATA(ld_nodata) | = '/'. | |||
| DATA(ld_commit_rollback) | = 'X'. | |||
| DATA(ld_prot_error) | = ' '. | |||
| DATA(ld_raise_error) | = ' '. | |||
Search for further information about these or an SAP related objects