SAP SD_SALES_DOCU_MAINTAIN Function Module for Edit Document









SD_SALES_DOCU_MAINTAIN is a standard sd sales docu maintain SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Edit Document 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 sd sales docu maintain FM, simply by entering the name SD_SALES_DOCU_MAINTAIN into the relevant SAP transaction such as SE37 or SE38.

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



Function SD_SALES_DOCU_MAINTAIN 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 'SD_SALES_DOCU_MAINTAIN'"Edit Document
EXPORTING
I_VBAKKOM = "Document Header Data
* I_WITHOUT_INIT = ' ' "
* SUPPRESS_AVAILIBILITY_DIA = 'X' "No Dialog for Missing Availability
* I_LOGSYS = "Logical System
* STATUS_BUFFER_REFRESH = 'X' "Initialization of Status Buffer
* I_CRM_LOCK_MODE = ' ' "
* I_CALLER = ' ' "
* CALL_ACTIVE = ' ' "
* I_VBAKKOMX = "
* SIMULATION = ' ' "
* WITH_COMMIT = ' ' "
* I_VBAKKOM_REF = "
* I_POSNR = ' ' "Internal Item Number Assignment
* I_BWE = ' ' "Error Handling
* I_LOGIC_SWITCH = ' ' "Internal Control Parameter
* I_CALL_BAPI = ' ' "

IMPORTING
E_VBAK = "
E_VBUK = "Reference structure for XVBUK/YVBUK

TABLES
* IX_VBAPKOM = "Item Data
* IX_KONVKOMX = "
* IX_KOMFKZM = "Credit Card Data
* SALES_CFGS_REF = "Configuration: Reference Data
* SALES_CFGS_INST = "Configuration: Instances
* SALES_CFGS_PART_OF = "Configuration: Part-of Specifications
* SALES_CFGS_VALUE = "Configuration: Characteristic Values
* SALES_CFGS_BLOB = "Configuration: BLOB Internal Data (SCE)
* SALES_CFGS_VK = "Configuration: Variant Condition Key
* SALES_CFGS_REFINST = "Configuration: Reference Item / Instance
* RETURN = "Error Messages Table
* IX_VBAPKOMX = "
* IX_TEXT_HEADER = "Header texts
* IX_TEXT_ITEM = "Item Texts
* KEY_TABLE = "Output Table of Reference Keys
* VBUVKOM_OUT = "Incompleteness Log
* IX_MDVU = "
* EX_VBKD = "
* EX_VBAP = "Sales Document: Item Data
* EX_VBEP = "Sales Document: Schedule Line Data
* IX_ATPCS_RET = "ATP: Requirements to be Checked/Considered
* IX_MDVE = "
* IX_VBPAKOM = "Document Partner
* IX_ATPTERM = "ATP: Shipping and Transportation Scheduling Dates/Times
* IX_QTVB = "Product Allocation:Product Allocation Contents from Document
* EX_KONV = "Conditions (Transaction Data)
* IX_CUBLB = "BLOB Internal Configuration Data (SCE)
* IX_CUCFG = "CU: Configuration Data
* IX_CUINS = "Instances of Several Configurations
* IX_CUPRT = "Part_Of Information for Several Configurations
* IX_CUVAL = "Characteristic Value Assignments for Several Configurations
* IX_CUVK = "Variant Condition Key for Configurations
* IX_VBXDATA = "
* IX_VBPA2KOM = "Communication Fields for Maintaining Partners in Doc.Header
* IX_VBXHEAD = "
* IX_BOP_XVBEP = "
* IX_VBLBKOM = "
* IX_VBLBKOMX = "Checkbox for maintaining release data
* EX_VBLB = "Sales document: Release order data
* IX_VBKFZKOM = "Communication Structure for Fields from VBKFZ
* IX_VBKFZKOMX = "Checkbox List for Communication Structure for VBKFZ
* EX_VBKFZ = "Cumulative Quantity Corrections
* EX_VBPA = "Sales Document: Partner
* EX_THEADVB = "Reference Structure for XTHEAD
* IX_VBPA3KOM = "
* EX_BAPITEXTLI = "BAPI Structure for STX_LINES Structure
* BATCH_CHARC = "BAPI Transfer Structure Selection Data CRM -> ERP
* IX_BAPIADDR1 = "BAPI Reference Structure for Addresses (Org./Company)
* IX_VBEPKOM = "Schedule Line Data
* IX_VBEPKOMX = "
* IX_KONVKOM = "Condition data
.



IMPORTING Parameters details for SD_SALES_DOCU_MAINTAIN

I_VBAKKOM - Document Header Data

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

I_WITHOUT_INIT -

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

SUPPRESS_AVAILIBILITY_DIA - No Dialog for Missing Availability

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

I_LOGSYS - Logical System

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

STATUS_BUFFER_REFRESH - Initialization of Status Buffer

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

I_CRM_LOCK_MODE -

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

I_CALLER -

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

CALL_ACTIVE -

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

I_VBAKKOMX -

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

SIMULATION -

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

WITH_COMMIT -

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

I_VBAKKOM_REF -

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

I_POSNR - Internal Item Number Assignment

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

I_BWE - Error Handling

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

I_LOGIC_SWITCH - Internal Control Parameter

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

I_CALL_BAPI -

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

EXPORTING Parameters details for SD_SALES_DOCU_MAINTAIN

E_VBAK -

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

E_VBUK - Reference structure for XVBUK/YVBUK

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

TABLES Parameters details for SD_SALES_DOCU_MAINTAIN

IX_VBAPKOM - Item Data

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

IX_KONVKOMX -

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

IX_KOMFKZM - Credit Card Data

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

SALES_CFGS_REF - Configuration: Reference Data

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

SALES_CFGS_INST - Configuration: Instances

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

SALES_CFGS_PART_OF - Configuration: Part-of Specifications

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

SALES_CFGS_VALUE - Configuration: Characteristic Values

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

SALES_CFGS_BLOB - Configuration: BLOB Internal Data (SCE)

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

SALES_CFGS_VK - Configuration: Variant Condition Key

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

SALES_CFGS_REFINST - Configuration: Reference Item / Instance

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

RETURN - Error Messages Table

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

IX_VBAPKOMX -

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

IX_TEXT_HEADER - Header texts

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

IX_TEXT_ITEM - Item Texts

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

KEY_TABLE - Output Table of Reference Keys

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

VBUVKOM_OUT - Incompleteness Log

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

IX_MDVU -

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

EX_VBKD -

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

EX_VBAP - Sales Document: Item Data

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

EX_VBEP - Sales Document: Schedule Line Data

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

IX_ATPCS_RET - ATP: Requirements to be Checked/Considered

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

IX_MDVE -

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

IX_VBPAKOM - Document Partner

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

IX_ATPTERM - ATP: Shipping and Transportation Scheduling Dates/Times

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

IX_QTVB - Product Allocation:Product Allocation Contents from Document

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

EX_KONV - Conditions (Transaction Data)

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

IX_CUBLB - BLOB Internal Configuration Data (SCE)

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

IX_CUCFG - CU: Configuration Data

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

IX_CUINS - Instances of Several Configurations

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

IX_CUPRT - Part_Of Information for Several Configurations

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

IX_CUVAL - Characteristic Value Assignments for Several Configurations

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

IX_CUVK - Variant Condition Key for Configurations

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

IX_VBXDATA -

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

IX_VBPA2KOM - Communication Fields for Maintaining Partners in Doc.Header

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

IX_VBXHEAD -

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

IX_BOP_XVBEP -

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

IX_VBLBKOM -

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

IX_VBLBKOMX - Checkbox for maintaining release data

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

EX_VBLB - Sales document: Release order data

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

IX_VBKFZKOM - Communication Structure for Fields from VBKFZ

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

IX_VBKFZKOMX - Checkbox List for Communication Structure for VBKFZ

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

EX_VBKFZ - Cumulative Quantity Corrections

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

EX_VBPA - Sales Document: Partner

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

EX_THEADVB - Reference Structure for XTHEAD

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

IX_VBPA3KOM -

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

EX_BAPITEXTLI - BAPI Structure for STX_LINES Structure

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

BATCH_CHARC - BAPI Transfer Structure Selection Data CRM -> ERP

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

IX_BAPIADDR1 - BAPI Reference Structure for Addresses (Org./Company)

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

IX_VBEPKOM - Schedule Line Data

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

IX_VBEPKOMX -

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

IX_KONVKOM - Condition data

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

Copy and paste ABAP code example for SD_SALES_DOCU_MAINTAIN 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_vbak  TYPE VBAK, "   
lv_i_vbakkom  TYPE VBAKKOM, "   
lt_ix_vbapkom  TYPE STANDARD TABLE OF VBAPKOM, "   
lt_ix_konvkomx  TYPE STANDARD TABLE OF KONVKOMX, "   
lv_i_without_init  TYPE BAPIFLAG-BAPIFLAG, "   SPACE
lt_ix_komfkzm  TYPE STANDARD TABLE OF KOMFKZM, "   
lv_suppress_availibility_dia  TYPE KOMFKZM, "   'X'
lv_i_logsys  TYPE LOGSYS, "   
lt_sales_cfgs_ref  TYPE STANDARD TABLE OF CUXE1CUCFG, "   
lt_sales_cfgs_inst  TYPE STANDARD TABLE OF CUXE1CUINS, "   
lv_status_buffer_refresh  TYPE CUXE1CUINS, "   'X'
lv_i_crm_lock_mode  TYPE BAPIFLAG-BAPIFLAG, "   SPACE
lt_sales_cfgs_part_of  TYPE STANDARD TABLE OF CUXE1CUPRT, "   
lv_i_caller  TYPE C, "   SPACE
lt_sales_cfgs_value  TYPE STANDARD TABLE OF CUXE1CUVAL, "   
lv_call_active  TYPE CHAR4, "   SPACE
lt_sales_cfgs_blob  TYPE STANDARD TABLE OF CUXE1CUBLB, "   
lt_sales_cfgs_vk  TYPE STANDARD TABLE OF CUXE1CUVK, "   
lt_sales_cfgs_refinst  TYPE STANDARD TABLE OF E1CUREF, "   
lt_return  TYPE STANDARD TABLE OF BAPIRET2, "   
lv_e_vbuk  TYPE VBUK, "   
lv_i_vbakkomx  TYPE VBAKKOMX, "   
lt_ix_vbapkomx  TYPE STANDARD TABLE OF VBAPKOMX, "   
lt_ix_text_header  TYPE STANDARD TABLE OF BAPISDTEXT, "   
lt_ix_text_item  TYPE STANDARD TABLE OF BAPISDTEXT, "   
lt_key_table  TYPE STANDARD TABLE OF BAPISDKEY, "   
lt_vbuvkom_out  TYPE STANDARD TABLE OF VBUVKOM, "   
lt_ix_mdvu  TYPE STANDARD TABLE OF MDVU, "   
lt_ex_vbkd  TYPE STANDARD TABLE OF VBKD, "   
lt_ex_vbap  TYPE STANDARD TABLE OF VBAP, "   
lt_ex_vbep  TYPE STANDARD TABLE OF VBEP, "   
lt_ix_atpcs_ret  TYPE STANDARD TABLE OF ATPCS_RET, "   
lt_ix_mdve  TYPE STANDARD TABLE OF MDVE, "   
lt_ix_vbpakom  TYPE STANDARD TABLE OF VBPAKOM, "   
lv_simulation  TYPE BAPIFLAG-BAPIFLAG, "   SPACE
lt_ix_atpterm  TYPE STANDARD TABLE OF ATPTERM, "   
lt_ix_qtvb  TYPE STANDARD TABLE OF QUOT_VB, "   
lt_ex_konv  TYPE STANDARD TABLE OF KONV, "   
lt_ix_cublb  TYPE STANDARD TABLE OF BAPICUBLB, "   
lt_ix_cucfg  TYPE STANDARD TABLE OF BAPICUCFG, "   
lt_ix_cuins  TYPE STANDARD TABLE OF BAPICUINS, "   
lt_ix_cuprt  TYPE STANDARD TABLE OF BAPICUPRT, "   
lt_ix_cuval  TYPE STANDARD TABLE OF BAPICUVAL, "   
lt_ix_cuvk  TYPE STANDARD TABLE OF BAPICUVK, "   
lt_ix_vbxdata  TYPE STANDARD TABLE OF VBX_S_DATA, "   
lt_ix_vbpa2kom  TYPE STANDARD TABLE OF VBPA2KOM, "   
lv_with_commit  TYPE BAPIFLAG-BAPIFLAG, "   SPACE
lt_ix_vbxhead  TYPE STANDARD TABLE OF VBX_S_HEAD, "   
lt_ix_bop_xvbep  TYPE STANDARD TABLE OF BOP_XVBEP, "   
lt_ix_vblbkom  TYPE STANDARD TABLE OF VBLBKOM, "   
lt_ix_vblbkomx  TYPE STANDARD TABLE OF VBLBKOMX, "   
lt_ex_vblb  TYPE STANDARD TABLE OF VBLB, "   
lt_ix_vbkfzkom  TYPE STANDARD TABLE OF VBKFZKOM, "   
lt_ix_vbkfzkomx  TYPE STANDARD TABLE OF VBKFZKOMX, "   
lt_ex_vbkfz  TYPE STANDARD TABLE OF VBKFZ, "   
lt_ex_vbpa  TYPE STANDARD TABLE OF VBPAVB, "   
lt_ex_theadvb  TYPE STANDARD TABLE OF THEADVB, "   
lt_ix_vbpa3kom  TYPE STANDARD TABLE OF VBPA3KOM, "   
lv_i_vbakkom_ref  TYPE VBAKKOM_REF, "   
lt_ex_bapitextli  TYPE STANDARD TABLE OF BAPITEXTLI, "   
lt_batch_charc  TYPE STANDARD TABLE OF BAPIBTSEL, "   
lv_i_posnr  TYPE BAPIBTSEL, "   SPACE
lt_ix_bapiaddr1  TYPE STANDARD TABLE OF BAPIADDR1, "   
lv_i_bwe  TYPE BAPIADDR1, "   SPACE
lt_ix_vbepkom  TYPE STANDARD TABLE OF VBEPKOM, "   
lt_ix_vbepkomx  TYPE STANDARD TABLE OF VBEPKOMX, "   
lv_i_logic_switch  TYPE BAPISDLS, "   SPACE
lt_ix_konvkom  TYPE STANDARD TABLE OF KONVKOM, "   
lv_i_call_bapi  TYPE KONVKOM. "   SPACE

  CALL FUNCTION 'SD_SALES_DOCU_MAINTAIN'  "Edit Document
    EXPORTING
         I_VBAKKOM = lv_i_vbakkom
         I_WITHOUT_INIT = lv_i_without_init
         SUPPRESS_AVAILIBILITY_DIA = lv_suppress_availibility_dia
         I_LOGSYS = lv_i_logsys
         STATUS_BUFFER_REFRESH = lv_status_buffer_refresh
         I_CRM_LOCK_MODE = lv_i_crm_lock_mode
         I_CALLER = lv_i_caller
         CALL_ACTIVE = lv_call_active
         I_VBAKKOMX = lv_i_vbakkomx
         SIMULATION = lv_simulation
         WITH_COMMIT = lv_with_commit
         I_VBAKKOM_REF = lv_i_vbakkom_ref
         I_POSNR = lv_i_posnr
         I_BWE = lv_i_bwe
         I_LOGIC_SWITCH = lv_i_logic_switch
         I_CALL_BAPI = lv_i_call_bapi
    IMPORTING
         E_VBAK = lv_e_vbak
         E_VBUK = lv_e_vbuk
    TABLES
         IX_VBAPKOM = lt_ix_vbapkom
         IX_KONVKOMX = lt_ix_konvkomx
         IX_KOMFKZM = lt_ix_komfkzm
         SALES_CFGS_REF = lt_sales_cfgs_ref
         SALES_CFGS_INST = lt_sales_cfgs_inst
         SALES_CFGS_PART_OF = lt_sales_cfgs_part_of
         SALES_CFGS_VALUE = lt_sales_cfgs_value
         SALES_CFGS_BLOB = lt_sales_cfgs_blob
         SALES_CFGS_VK = lt_sales_cfgs_vk
         SALES_CFGS_REFINST = lt_sales_cfgs_refinst
         RETURN = lt_return
         IX_VBAPKOMX = lt_ix_vbapkomx
         IX_TEXT_HEADER = lt_ix_text_header
         IX_TEXT_ITEM = lt_ix_text_item
         KEY_TABLE = lt_key_table
         VBUVKOM_OUT = lt_vbuvkom_out
         IX_MDVU = lt_ix_mdvu
         EX_VBKD = lt_ex_vbkd
         EX_VBAP = lt_ex_vbap
         EX_VBEP = lt_ex_vbep
         IX_ATPCS_RET = lt_ix_atpcs_ret
         IX_MDVE = lt_ix_mdve
         IX_VBPAKOM = lt_ix_vbpakom
         IX_ATPTERM = lt_ix_atpterm
         IX_QTVB = lt_ix_qtvb
         EX_KONV = lt_ex_konv
         IX_CUBLB = lt_ix_cublb
         IX_CUCFG = lt_ix_cucfg
         IX_CUINS = lt_ix_cuins
         IX_CUPRT = lt_ix_cuprt
         IX_CUVAL = lt_ix_cuval
         IX_CUVK = lt_ix_cuvk
         IX_VBXDATA = lt_ix_vbxdata
         IX_VBPA2KOM = lt_ix_vbpa2kom
         IX_VBXHEAD = lt_ix_vbxhead
         IX_BOP_XVBEP = lt_ix_bop_xvbep
         IX_VBLBKOM = lt_ix_vblbkom
         IX_VBLBKOMX = lt_ix_vblbkomx
         EX_VBLB = lt_ex_vblb
         IX_VBKFZKOM = lt_ix_vbkfzkom
         IX_VBKFZKOMX = lt_ix_vbkfzkomx
         EX_VBKFZ = lt_ex_vbkfz
         EX_VBPA = lt_ex_vbpa
         EX_THEADVB = lt_ex_theadvb
         IX_VBPA3KOM = lt_ix_vbpa3kom
         EX_BAPITEXTLI = lt_ex_bapitextli
         BATCH_CHARC = lt_batch_charc
         IX_BAPIADDR1 = lt_ix_bapiaddr1
         IX_VBEPKOM = lt_ix_vbepkom
         IX_VBEPKOMX = lt_ix_vbepkomx
         IX_KONVKOM = lt_ix_konvkom
. " SD_SALES_DOCU_MAINTAIN




ABAP code using 7.40 inline data declarations to call FM SD_SALES_DOCU_MAINTAIN

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 BAPIFLAG FROM BAPIFLAG INTO @DATA(ld_i_without_init).
DATA(ld_i_without_init) = ' '.
 
 
DATA(ld_suppress_availibility_dia) = 'X'.
 
 
 
 
DATA(ld_status_buffer_refresh) = 'X'.
 
"SELECT single BAPIFLAG FROM BAPIFLAG INTO @DATA(ld_i_crm_lock_mode).
DATA(ld_i_crm_lock_mode) = ' '.
 
 
DATA(ld_i_caller) = ' '.
 
 
DATA(ld_call_active) = ' '.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
"SELECT single BAPIFLAG FROM BAPIFLAG INTO @DATA(ld_simulation).
DATA(ld_simulation) = ' '.
 
 
 
 
 
 
 
 
 
 
 
 
"SELECT single BAPIFLAG FROM BAPIFLAG INTO @DATA(ld_with_commit).
DATA(ld_with_commit) = ' '.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
DATA(ld_i_posnr) = ' '.
 
 
DATA(ld_i_bwe) = ' '.
 
 
 
DATA(ld_i_logic_switch) = ' '.
 
 
DATA(ld_i_call_bapi) = ' '.
 


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!