SAP FT_COCKPIT_IMP_ORDERS_SELECT Function Module for NOTRANSL: Außenhandel: Cockpit: Datenselektion Bestellungen









FT_COCKPIT_IMP_ORDERS_SELECT is a standard ft cockpit imp orders select 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: Außenhandel: Cockpit: Datenselektion Bestellungen 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 ft cockpit imp orders select FM, simply by entering the name FT_COCKPIT_IMP_ORDERS_SELECT into the relevant SAP transaction such as SE37 or SE38.

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



Function FT_COCKPIT_IMP_ORDERS_SELECT 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 'FT_COCKPIT_IMP_ORDERS_SELECT'"NOTRANSL: Außenhandel: Cockpit: Datenselektion Bestellungen
EXPORTING
* I_REDUCED_SEL_LINES = "

TABLES
* I_RANGE_ILAND = "
* I_RANGE_WERKS = "
* I_RANGE_RESWK = "
* ITAB_EKKO = "Purchasing Document Header
* ITAB_EKPO = "Purchasing Document Item
* ITAB_LFA1 = "Vendor Master (General Section)
* I_RANGE_EBELN = "
* I_RANGE_BUKRS = "
* I_RANGE_BSART = "
* I_RANGE_ERNAM = "
* I_RANGE_BEDAT = "
* I_RANGE_EKORG = "
* I_RANGE_LIFNR = "
* I_RANGE_LLIEF = "

EXCEPTIONS
NO_DATA_SELECTED = 1
.



IMPORTING Parameters details for FT_COCKPIT_IMP_ORDERS_SELECT

I_REDUCED_SEL_LINES -

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

TABLES Parameters details for FT_COCKPIT_IMP_ORDERS_SELECT

I_RANGE_ILAND -

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

I_RANGE_WERKS -

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

I_RANGE_RESWK -

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

ITAB_EKKO - Purchasing Document Header

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

ITAB_EKPO - Purchasing Document Item

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

ITAB_LFA1 - Vendor Master (General Section)

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

I_RANGE_EBELN -

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

I_RANGE_BUKRS -

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

I_RANGE_BSART -

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

I_RANGE_ERNAM -

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

I_RANGE_BEDAT -

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

I_RANGE_EKORG -

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

I_RANGE_LIFNR -

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

I_RANGE_LLIEF -

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

EXCEPTIONS details

NO_DATA_SELECTED -

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

Copy and paste ABAP code example for FT_COCKPIT_IMP_ORDERS_SELECT 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:
lt_i_range_iland  TYPE STANDARD TABLE OF VFBS_RANGE_ILAND, "   
lv_no_data_selected  TYPE VFBS_RANGE_ILAND, "   
lv_i_reduced_sel_lines  TYPE VFTU_REC_AREA_SETUP-FTNOE, "   
lt_i_range_werks  TYPE STANDARD TABLE OF VFBS_RANGE_WERKS, "   
lt_i_range_reswk  TYPE STANDARD TABLE OF VFBS_RANGE_RESWK, "   
lt_itab_ekko  TYPE STANDARD TABLE OF EKKO, "   
lt_itab_ekpo  TYPE STANDARD TABLE OF EKPO, "   
lt_itab_lfa1  TYPE STANDARD TABLE OF LFA1, "   
lt_i_range_ebeln  TYPE STANDARD TABLE OF VFBS_RANGE_EBELN, "   
lt_i_range_bukrs  TYPE STANDARD TABLE OF VFBS_RANGE_BUKRS, "   
lt_i_range_bsart  TYPE STANDARD TABLE OF VFBS_RANGE_BSART, "   
lt_i_range_ernam  TYPE STANDARD TABLE OF VFBS_RANGE_ERNAM, "   
lt_i_range_bedat  TYPE STANDARD TABLE OF VFBS_RANGE_BEDAT, "   
lt_i_range_ekorg  TYPE STANDARD TABLE OF VFBS_RANGE_EKORG, "   
lt_i_range_lifnr  TYPE STANDARD TABLE OF VFBS_RANGE_LIFNR, "   
lt_i_range_llief  TYPE STANDARD TABLE OF VFBS_RANGE_LLIEF. "   

  CALL FUNCTION 'FT_COCKPIT_IMP_ORDERS_SELECT'  "NOTRANSL: Außenhandel: Cockpit: Datenselektion Bestellungen
    EXPORTING
         I_REDUCED_SEL_LINES = lv_i_reduced_sel_lines
    TABLES
         I_RANGE_ILAND = lt_i_range_iland
         I_RANGE_WERKS = lt_i_range_werks
         I_RANGE_RESWK = lt_i_range_reswk
         ITAB_EKKO = lt_itab_ekko
         ITAB_EKPO = lt_itab_ekpo
         ITAB_LFA1 = lt_itab_lfa1
         I_RANGE_EBELN = lt_i_range_ebeln
         I_RANGE_BUKRS = lt_i_range_bukrs
         I_RANGE_BSART = lt_i_range_bsart
         I_RANGE_ERNAM = lt_i_range_ernam
         I_RANGE_BEDAT = lt_i_range_bedat
         I_RANGE_EKORG = lt_i_range_ekorg
         I_RANGE_LIFNR = lt_i_range_lifnr
         I_RANGE_LLIEF = lt_i_range_llief
    EXCEPTIONS
        NO_DATA_SELECTED = 1
. " FT_COCKPIT_IMP_ORDERS_SELECT




ABAP code using 7.40 inline data declarations to call FM FT_COCKPIT_IMP_ORDERS_SELECT

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 FTNOE FROM VFTU_REC_AREA_SETUP INTO @DATA(ld_i_reduced_sel_lines).
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!