SAP Function Modules

LE_MOVEMENT_DATA_BUSTM SAP Function module







LE_MOVEMENT_DATA_BUSTM is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name LE_MOVEMENT_DATA_BUSTM into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: LE_MOV
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM LE_MOVEMENT_DATA_BUSTM - LE MOVEMENT DATA BUSTM





CALL FUNCTION 'LE_MOVEMENT_DATA_BUSTM' "
* EXPORTING
*   is_lips =                   " lipsvb        Reference Structure for XLIPS/YLIPS
*   if_select_mara =            " rvsel-xfeld   Checkbox
*   if_select_t001w =           " rvsel-xfeld   Checkbox
*   if_select_t001k =           " rvsel-xfeld   Checkbox
*   if_select_t156 =            " rvsel-xfeld   Checkbox
*   if_select_t156n =           " rvsel-xfeld   Checkbox
*   if_select_t156_um =         " rvsel-xfeld   Checkbox
*   if_select_t156sy =          " rvsel-xfeld   Checkbox
*   if_select_t156m =           " rvsel-xfeld   Checkbox
*   if_select_t156f =           " rvsel-xfeld   Checkbox
*   if_select_t134m =           " rvsel-xfeld   Checkbox
*   if_det_postingchange =      " rvsel-xfeld   Checkbox
*   if_select_t161w =           " rvsel-xfeld   Checkbox
*   if_select_ekko =            " rvsel-xfeld   Checkbox
*   if_tcode =                  " likp-tcode    Transaction Code
*   if_select_t156q =           " rvsel-xfeld   Checkbox
*   if_select_t156b =           " rvsel-xfeld   Checkbox
*   if_select_ekpo =            " rvsel-xfeld   Checkbox
  IMPORTING
    es_lemovbustm =             " lemovbustm    Structure: Goods Movement-Relevant Data
    .  "  LE_MOVEMENT_DATA_BUSTM

ABAP code example for Function Module LE_MOVEMENT_DATA_BUSTM





The ABAP code below is a full code listing to execute function module LE_MOVEMENT_DATA_BUSTM including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
ld_es_lemovbustm  TYPE LEMOVBUSTM .

DATA(ld_is_lips) = 'Check type of data required'.

DATA(ld_if_select_mara) = some text here

DATA(ld_if_select_t001w) = some text here

DATA(ld_if_select_t001k) = some text here

DATA(ld_if_select_t156) = some text here

DATA(ld_if_select_t156n) = some text here

DATA(ld_if_select_t156_um) = some text here

DATA(ld_if_select_t156sy) = some text here

DATA(ld_if_select_t156m) = some text here

DATA(ld_if_select_t156f) = some text here

DATA(ld_if_select_t134m) = some text here

DATA(ld_if_det_postingchange) = some text here

DATA(ld_if_select_t161w) = some text here

DATA(ld_if_select_ekko) = some text here

SELECT single TCODE
FROM LIKP
INTO @DATA(ld_if_tcode).


DATA(ld_if_select_t156q) = some text here

DATA(ld_if_select_t156b) = some text here

DATA(ld_if_select_ekpo) = some text here . CALL FUNCTION 'LE_MOVEMENT_DATA_BUSTM' * EXPORTING * is_lips = ld_is_lips * if_select_mara = ld_if_select_mara * if_select_t001w = ld_if_select_t001w * if_select_t001k = ld_if_select_t001k * if_select_t156 = ld_if_select_t156 * if_select_t156n = ld_if_select_t156n * if_select_t156_um = ld_if_select_t156_um * if_select_t156sy = ld_if_select_t156sy * if_select_t156m = ld_if_select_t156m * if_select_t156f = ld_if_select_t156f * if_select_t134m = ld_if_select_t134m * if_det_postingchange = ld_if_det_postingchange * if_select_t161w = ld_if_select_t161w * if_select_ekko = ld_if_select_ekko * if_tcode = ld_if_tcode * if_select_t156q = ld_if_select_t156q * if_select_t156b = ld_if_select_t156b * if_select_ekpo = ld_if_select_ekpo IMPORTING es_lemovbustm = ld_es_lemovbustm . " LE_MOVEMENT_DATA_BUSTM
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_es_lemovbustm  TYPE LEMOVBUSTM ,
ld_is_lips  TYPE LIPSVB ,
ld_if_select_mara  TYPE RVSEL-XFELD ,
ld_if_select_t001w  TYPE RVSEL-XFELD ,
ld_if_select_t001k  TYPE RVSEL-XFELD ,
ld_if_select_t156  TYPE RVSEL-XFELD ,
ld_if_select_t156n  TYPE RVSEL-XFELD ,
ld_if_select_t156_um  TYPE RVSEL-XFELD ,
ld_if_select_t156sy  TYPE RVSEL-XFELD ,
ld_if_select_t156m  TYPE RVSEL-XFELD ,
ld_if_select_t156f  TYPE RVSEL-XFELD ,
ld_if_select_t134m  TYPE RVSEL-XFELD ,
ld_if_det_postingchange  TYPE RVSEL-XFELD ,
ld_if_select_t161w  TYPE RVSEL-XFELD ,
ld_if_select_ekko  TYPE RVSEL-XFELD ,
ld_if_tcode  TYPE LIKP-TCODE ,
ld_if_select_t156q  TYPE RVSEL-XFELD ,
ld_if_select_t156b  TYPE RVSEL-XFELD ,
ld_if_select_ekpo  TYPE RVSEL-XFELD .

ld_is_lips = 'Check type of data required'.

ld_if_select_mara = some text here

ld_if_select_t001w = some text here

ld_if_select_t001k = some text here

ld_if_select_t156 = some text here

ld_if_select_t156n = some text here

ld_if_select_t156_um = some text here

ld_if_select_t156sy = some text here

ld_if_select_t156m = some text here

ld_if_select_t156f = some text here

ld_if_select_t134m = some text here

ld_if_det_postingchange = some text here

ld_if_select_t161w = some text here

ld_if_select_ekko = some text here

SELECT single TCODE
FROM LIKP
INTO ld_if_tcode.


ld_if_select_t156q = some text here

ld_if_select_t156b = some text here

ld_if_select_ekpo = some text here

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name LE_MOVEMENT_DATA_BUSTM or its description.