SAP SAMPLE_INTERFACE_00001250 Function Module for Interface Description for Event 00001250 (Material)









SAMPLE_INTERFACE_00001250 is a standard sample interface 00001250 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Interface Description for Event 00001250 (Material) 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 sample interface 00001250 FM, simply by entering the name SAMPLE_INTERFACE_00001250 into the relevant SAP transaction such as SE37 or SE38.

Function Group: OFIL
Program Name: SAPLOFIL
Main Program: SAPLOFIL
Appliation area: M
Release date: 19-Mar-1999
Mode(Normal, Remote etc): Normal Function Module
Update:



Function SAMPLE_INTERFACE_00001250 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 'SAMPLE_INTERFACE_00001250'"Interface Description for Event 00001250 (Material)
EXPORTING
* I_MARA_NEW = "Client-Specific Material Data (New Status)
* I_MBEW_NEW = "Valuation Data (New Status)
* I_MBEW_OLD = "Valuation Data (Old Status)
* UPD_MBEW = "Type of Change Regarding MBEW
* I_MFHM_NEW = "Production Resource/Tool Data (New Status)
* I_MFHM_OLD = "Production Resource/Tool Data (Old Status)
* UPD_MFHM = "Type of Change Regarding MFHM
* I_MLGN_NEW = "Warehouse Number-Specific Material Data (New Status)
* I_MLGN_OLD = "Warehouse Number-Specific Material Data (Old Status)
* UPD_MLGN = "Type of Change Regarding MLGN
* I_MLGT_NEW = "Storage Type-Specific Material Data (New Status)
* I_MARA_OLD = "Client-Specific Material Data (Old Status)
* I_MLGT_OLD = "Storage Type-Specific Material Data (Old Status)
* UPD_MLGT = "Type of Change Regarding MLGT
* I_MPGD_NEW = "Planning Data (New Status)
* I_MPGD_OLD = "Planning Data (Old Status)
* UPD_MPGD = "Type of Change Regarding MPGD
* I_MPOP_NEW = "Forecast Parameter (New Status)
* I_MPOP_OLD = "Forecast Parameter (Old Status)
* UPD_MPOP = "Type of Change Regarding MPOP
* I_MVKE_NEW = "Sales Data (New Status)
* I_MVKE_OLD = "Sales Data (Old Status)
* UPD_MARA = "Type of Change Regarding MARA
* UPD_MVKE = "Type of Change Regarding MVKE
* UPD_MAKT = "Type of Change Regarding MAKT
* UPD_MARM = "Type of Change Regarding MARM
* UPD_MEAN = "Type of Change Regarding MEAN
* UPD_MLAN = "Type of Change Regarding MLAN
* UPD_ICDTXT_MATERIAL = "Change Regarding Long Texts
* UPD_PROW = "Type of Change Regarding PROW
* UPD_GESV = "Type of Change Regarding GESV
* UPD_UNGV = "Type of Change Regarding UNGV
* UPD_MAEX = "Type of Change Regarding MAEX
* I_MARC_NEW = "Plant-Specific Material Data (New Status)
* UPD_MAPE = "Type of Change Regarding MAPE
* UPD_MKAL = "Type of Change Regarding MKAL
* UPD_QMAT = "Type of Change Regarding QMAT
* FL_UPD_TASK = "Checkbox
* I_MARC_OLD = "Plant-Specific Material Data (Old Status)
* UPD_MARC = "Type of Change Regarding MARC
* I_MARD_NEW = "Storage Location-Specific Material Data (New Status)
* I_MARD_OLD = "Storage Location-Specific Material Data (Old Status)
* UPD_MARD = "Type of Change Regarding MARD

TABLES
* T_ICDTXT_MATERIAL = "Key for Changed Long Texts
* T_MAEX_NEW = "Export Control Data (New Status)
* T_MAEX_OLD = "Export Control Data (Old Status)
* T_MAPE_NEW = "Material Short Texts (Old Status)
* T_MAPE_OLD = "Customs Tariff Preference (Old Status)
* T_MKAL_NEW = "Production Versions (New Status)
* T_MKAL_OLD = "Production Versions (Old Status)
* T_PROW_NEW = "Forecast Values (New Status)
* T_PROW_OLD = "Forecast Values (Old Status)
* T_QMAT_NEW = "QM Check Data (New Status)
* T_QMAT_OLD = "QM Check Data (Old Status)
* T_MAKT_NEW = "Material Short Texts (New Status)
* T_GESV_NEW = "Total Consumption (New Status)
* T_GESV_OLD = "Total Consumption (Old Status)
* T_UNGV_NEW = "Unplanned Consumption (New Status)
* T_UNGV_OLD = "Unplanned Consumption (Old Status)
* T_MAKT_OLD = "Material Short Texts (New Status)
* T_MARM_NEW = "Unit of Measure (New Status)
* T_MARM_OLD = "Unit of Measure (Old Status)
* T_MEAN_NEW = "International Article Number (New Status)
* T_MEAN_OLD = "International Article Number (Old Status)
* T_MLAN_NEW = "Tax Classifications (New Status)
* T_MLAN_OLD = "Tax Classifications (Old Status)
.



IMPORTING Parameters details for SAMPLE_INTERFACE_00001250

I_MARA_NEW - Client-Specific Material Data (New Status)

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

I_MBEW_NEW - Valuation Data (New Status)

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

I_MBEW_OLD - Valuation Data (Old Status)

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

UPD_MBEW - Type of Change Regarding MBEW

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

I_MFHM_NEW - Production Resource/Tool Data (New Status)

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

I_MFHM_OLD - Production Resource/Tool Data (Old Status)

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

UPD_MFHM - Type of Change Regarding MFHM

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

I_MLGN_NEW - Warehouse Number-Specific Material Data (New Status)

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

I_MLGN_OLD - Warehouse Number-Specific Material Data (Old Status)

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

UPD_MLGN - Type of Change Regarding MLGN

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

I_MLGT_NEW - Storage Type-Specific Material Data (New Status)

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

I_MARA_OLD - Client-Specific Material Data (Old Status)

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

I_MLGT_OLD - Storage Type-Specific Material Data (Old Status)

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

UPD_MLGT - Type of Change Regarding MLGT

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

I_MPGD_NEW - Planning Data (New Status)

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

I_MPGD_OLD - Planning Data (Old Status)

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

UPD_MPGD - Type of Change Regarding MPGD

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

I_MPOP_NEW - Forecast Parameter (New Status)

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

I_MPOP_OLD - Forecast Parameter (Old Status)

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

UPD_MPOP - Type of Change Regarding MPOP

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

I_MVKE_NEW - Sales Data (New Status)

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

I_MVKE_OLD - Sales Data (Old Status)

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

UPD_MARA - Type of Change Regarding MARA

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

UPD_MVKE - Type of Change Regarding MVKE

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

UPD_MAKT - Type of Change Regarding MAKT

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

UPD_MARM - Type of Change Regarding MARM

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

UPD_MEAN - Type of Change Regarding MEAN

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

UPD_MLAN - Type of Change Regarding MLAN

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

UPD_ICDTXT_MATERIAL - Change Regarding Long Texts

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

UPD_PROW - Type of Change Regarding PROW

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

UPD_GESV - Type of Change Regarding GESV

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

UPD_UNGV - Type of Change Regarding UNGV

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

UPD_MAEX - Type of Change Regarding MAEX

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

I_MARC_NEW - Plant-Specific Material Data (New Status)

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

UPD_MAPE - Type of Change Regarding MAPE

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

UPD_MKAL - Type of Change Regarding MKAL

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

UPD_QMAT - Type of Change Regarding QMAT

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

FL_UPD_TASK - Checkbox

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

I_MARC_OLD - Plant-Specific Material Data (Old Status)

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

UPD_MARC - Type of Change Regarding MARC

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

I_MARD_NEW - Storage Location-Specific Material Data (New Status)

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

I_MARD_OLD - Storage Location-Specific Material Data (Old Status)

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

UPD_MARD - Type of Change Regarding MARD

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

TABLES Parameters details for SAMPLE_INTERFACE_00001250

T_ICDTXT_MATERIAL - Key for Changed Long Texts

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

T_MAEX_NEW - Export Control Data (New Status)

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

T_MAEX_OLD - Export Control Data (Old Status)

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

T_MAPE_NEW - Material Short Texts (Old Status)

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

T_MAPE_OLD - Customs Tariff Preference (Old Status)

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

T_MKAL_NEW - Production Versions (New Status)

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

T_MKAL_OLD - Production Versions (Old Status)

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

T_PROW_NEW - Forecast Values (New Status)

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

T_PROW_OLD - Forecast Values (Old Status)

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

T_QMAT_NEW - QM Check Data (New Status)

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

T_QMAT_OLD - QM Check Data (Old Status)

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

T_MAKT_NEW - Material Short Texts (New Status)

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

T_GESV_NEW - Total Consumption (New Status)

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

T_GESV_OLD - Total Consumption (Old Status)

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

T_UNGV_NEW - Unplanned Consumption (New Status)

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

T_UNGV_OLD - Unplanned Consumption (Old Status)

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

T_MAKT_OLD - Material Short Texts (New Status)

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

T_MARM_NEW - Unit of Measure (New Status)

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

T_MARM_OLD - Unit of Measure (Old Status)

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

T_MEAN_NEW - International Article Number (New Status)

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

T_MEAN_OLD - International Article Number (Old Status)

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

T_MLAN_NEW - Tax Classifications (New Status)

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

T_MLAN_OLD - Tax Classifications (Old Status)

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

Copy and paste ABAP code example for SAMPLE_INTERFACE_00001250 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_i_mara_new  TYPE MARA, "   
lt_t_icdtxt_material  TYPE STANDARD TABLE OF CDTXT, "   
lv_i_mbew_new  TYPE MBEW, "   
lt_t_maex_new  TYPE STANDARD TABLE OF XDMAEX, "   
lv_i_mbew_old  TYPE MBEW, "   
lt_t_maex_old  TYPE STANDARD TABLE OF XDMAEX, "   
lv_upd_mbew  TYPE CDPOS-CHNGIND, "   
lt_t_mape_new  TYPE STANDARD TABLE OF XDMAPE, "   
lv_i_mfhm_new  TYPE MFHM, "   
lt_t_mape_old  TYPE STANDARD TABLE OF XDMAPE, "   
lv_i_mfhm_old  TYPE MFHM, "   
lt_t_mkal_new  TYPE STANDARD TABLE OF XDMKAL, "   
lv_upd_mfhm  TYPE CDPOS-CHNGIND, "   
lt_t_mkal_old  TYPE STANDARD TABLE OF XDMKAL, "   
lv_i_mlgn_new  TYPE MLGN, "   
lt_t_prow_new  TYPE STANDARD TABLE OF XDPROW, "   
lv_i_mlgn_old  TYPE MLGN, "   
lt_t_prow_old  TYPE STANDARD TABLE OF XDPROW, "   
lv_upd_mlgn  TYPE CDPOS-CHNGIND, "   
lt_t_qmat_new  TYPE STANDARD TABLE OF XDQMAT, "   
lv_i_mlgt_new  TYPE MLGT, "   
lt_t_qmat_old  TYPE STANDARD TABLE OF XDQMAT, "   
lv_i_mara_old  TYPE MARA, "   
lt_t_makt_new  TYPE STANDARD TABLE OF XDMAKT, "   
lv_i_mlgt_old  TYPE MLGT, "   
lt_t_gesv_new  TYPE STANDARD TABLE OF XDGESV, "   
lv_upd_mlgt  TYPE CDPOS-CHNGIND, "   
lt_t_gesv_old  TYPE STANDARD TABLE OF XDGESV, "   
lv_i_mpgd_new  TYPE MPGD, "   
lt_t_ungv_new  TYPE STANDARD TABLE OF XDUNGV, "   
lv_i_mpgd_old  TYPE MPGD, "   
lt_t_ungv_old  TYPE STANDARD TABLE OF XDUNGV, "   
lv_upd_mpgd  TYPE CDPOS-CHNGIND, "   
lv_i_mpop_new  TYPE MPOP, "   
lv_i_mpop_old  TYPE MPOP, "   
lv_upd_mpop  TYPE CDPOS-CHNGIND, "   
lv_i_mvke_new  TYPE MVKE, "   
lv_i_mvke_old  TYPE MVKE, "   
lv_upd_mara  TYPE CDPOS-CHNGIND, "   
lt_t_makt_old  TYPE STANDARD TABLE OF XDMAKT, "   
lv_upd_mvke  TYPE CDPOS-CHNGIND, "   
lv_upd_makt  TYPE CDPOS-CHNGIND, "   
lv_upd_marm  TYPE CDPOS-CHNGIND, "   
lv_upd_mean  TYPE CDPOS-CHNGIND, "   
lv_upd_mlan  TYPE CDPOS-CHNGIND, "   
lv_upd_icdtxt_material  TYPE CDPOS-CHNGIND, "   
lv_upd_prow  TYPE CDPOS-CHNGIND, "   
lv_upd_gesv  TYPE CDPOS-CHNGIND, "   
lv_upd_ungv  TYPE CDPOS-CHNGIND, "   
lv_upd_maex  TYPE CDPOS-CHNGIND, "   
lv_i_marc_new  TYPE MARC, "   
lt_t_marm_new  TYPE STANDARD TABLE OF XDMARM, "   
lv_upd_mape  TYPE CDPOS-CHNGIND, "   
lv_upd_mkal  TYPE CDPOS-CHNGIND, "   
lv_upd_qmat  TYPE CDPOS-CHNGIND, "   
lv_fl_upd_task  TYPE XFELD, "   
lv_i_marc_old  TYPE MARC, "   
lt_t_marm_old  TYPE STANDARD TABLE OF XDMARM, "   
lv_upd_marc  TYPE CDPOS-CHNGIND, "   
lt_t_mean_new  TYPE STANDARD TABLE OF XDMEAN, "   
lv_i_mard_new  TYPE MARD, "   
lt_t_mean_old  TYPE STANDARD TABLE OF XDMEAN, "   
lv_i_mard_old  TYPE MARD, "   
lt_t_mlan_new  TYPE STANDARD TABLE OF XDMLAN, "   
lv_upd_mard  TYPE CDPOS-CHNGIND, "   
lt_t_mlan_old  TYPE STANDARD TABLE OF XDMLAN. "   

  CALL FUNCTION 'SAMPLE_INTERFACE_00001250'  "Interface Description for Event 00001250 (Material)
    EXPORTING
         I_MARA_NEW = lv_i_mara_new
         I_MBEW_NEW = lv_i_mbew_new
         I_MBEW_OLD = lv_i_mbew_old
         UPD_MBEW = lv_upd_mbew
         I_MFHM_NEW = lv_i_mfhm_new
         I_MFHM_OLD = lv_i_mfhm_old
         UPD_MFHM = lv_upd_mfhm
         I_MLGN_NEW = lv_i_mlgn_new
         I_MLGN_OLD = lv_i_mlgn_old
         UPD_MLGN = lv_upd_mlgn
         I_MLGT_NEW = lv_i_mlgt_new
         I_MARA_OLD = lv_i_mara_old
         I_MLGT_OLD = lv_i_mlgt_old
         UPD_MLGT = lv_upd_mlgt
         I_MPGD_NEW = lv_i_mpgd_new
         I_MPGD_OLD = lv_i_mpgd_old
         UPD_MPGD = lv_upd_mpgd
         I_MPOP_NEW = lv_i_mpop_new
         I_MPOP_OLD = lv_i_mpop_old
         UPD_MPOP = lv_upd_mpop
         I_MVKE_NEW = lv_i_mvke_new
         I_MVKE_OLD = lv_i_mvke_old
         UPD_MARA = lv_upd_mara
         UPD_MVKE = lv_upd_mvke
         UPD_MAKT = lv_upd_makt
         UPD_MARM = lv_upd_marm
         UPD_MEAN = lv_upd_mean
         UPD_MLAN = lv_upd_mlan
         UPD_ICDTXT_MATERIAL = lv_upd_icdtxt_material
         UPD_PROW = lv_upd_prow
         UPD_GESV = lv_upd_gesv
         UPD_UNGV = lv_upd_ungv
         UPD_MAEX = lv_upd_maex
         I_MARC_NEW = lv_i_marc_new
         UPD_MAPE = lv_upd_mape
         UPD_MKAL = lv_upd_mkal
         UPD_QMAT = lv_upd_qmat
         FL_UPD_TASK = lv_fl_upd_task
         I_MARC_OLD = lv_i_marc_old
         UPD_MARC = lv_upd_marc
         I_MARD_NEW = lv_i_mard_new
         I_MARD_OLD = lv_i_mard_old
         UPD_MARD = lv_upd_mard
    TABLES
         T_ICDTXT_MATERIAL = lt_t_icdtxt_material
         T_MAEX_NEW = lt_t_maex_new
         T_MAEX_OLD = lt_t_maex_old
         T_MAPE_NEW = lt_t_mape_new
         T_MAPE_OLD = lt_t_mape_old
         T_MKAL_NEW = lt_t_mkal_new
         T_MKAL_OLD = lt_t_mkal_old
         T_PROW_NEW = lt_t_prow_new
         T_PROW_OLD = lt_t_prow_old
         T_QMAT_NEW = lt_t_qmat_new
         T_QMAT_OLD = lt_t_qmat_old
         T_MAKT_NEW = lt_t_makt_new
         T_GESV_NEW = lt_t_gesv_new
         T_GESV_OLD = lt_t_gesv_old
         T_UNGV_NEW = lt_t_ungv_new
         T_UNGV_OLD = lt_t_ungv_old
         T_MAKT_OLD = lt_t_makt_old
         T_MARM_NEW = lt_t_marm_new
         T_MARM_OLD = lt_t_marm_old
         T_MEAN_NEW = lt_t_mean_new
         T_MEAN_OLD = lt_t_mean_old
         T_MLAN_NEW = lt_t_mlan_new
         T_MLAN_OLD = lt_t_mlan_old
. " SAMPLE_INTERFACE_00001250




ABAP code using 7.40 inline data declarations to call FM SAMPLE_INTERFACE_00001250

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 CHNGIND FROM CDPOS INTO @DATA(ld_upd_mbew).
 
 
 
 
 
 
"SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_mfhm).
 
 
 
 
 
 
"SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_mlgn).
 
 
 
 
 
 
 
 
"SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_mlgt).
 
 
 
 
 
 
"SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_mpgd).
 
 
 
"SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_mpop).
 
 
 
"SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_mara).
 
 
"SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_mvke).
 
"SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_makt).
 
"SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_marm).
 
"SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_mean).
 
"SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_mlan).
 
"SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_icdtxt_material).
 
"SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_prow).
 
"SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_gesv).
 
"SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_ungv).
 
"SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_maex).
 
 
 
"SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_mape).
 
"SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_mkal).
 
"SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_qmat).
 
 
 
 
"SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_marc).
 
 
 
 
 
 
"SELECT single CHNGIND FROM CDPOS INTO @DATA(ld_upd_mard).
 
 


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!