LFA1_MATERIAL_TREX_TRIGGER 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 LFA1_MATERIAL_TREX_TRIGGER into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
WSD_TREX_ENH
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'LFA1_MATERIAL_TREX_TRIGGER' "Lieferant: Änderungszeiger für TREX schreiben
* EXPORTING
* i_lfa1 = " lfa1 Vendor Master (General Section)
* i_lfa1_old = " lfa1 Vendor Master (General Section) Old Status
* i_lfb1 = " lfb1 Vendor Master (Company Code)
* i_lfb1_old = " lfb1 Vendor Master (Company Code) Old Status
* i_lfm1 = " lfm1 Vendor Master Purchasing Organization Data
* i_lfm1_old = " lfm1 Vendor Master Purchasing Organization Data Old Status
* upd_lfa1 = " cdpos-chngind Type of Change to LFA1
* upd_lfas = " cdpos-chngind Type of Change to LFAS
* upd_lfat = " cdpos-chngind Type of Change to LFAT
* upd_lfb1 = " cdpos-chngind Type of Change to LFB1
* upd_lfb5 = " cdpos-chngind Type of Change to LFB5
* upd_lfbk = " cdpos-chngind Type of Change to LFBK
* upd_lfbw = " cdpos-chngind Type of Change to LFBW
* upd_lfei = " cdpos-chngind Type of Change to LFEI
* upd_lflr = " cdpos-chngind Type of Change to LFLR
* upd_lfm1 = " cdpos-chngind Type of Change to LFM1
* upd_lfm2 = " cdpos-chngind Type of Change to LFM2
* upd_lfza = " cdpos-chngind Type of Change to LFZA
* upd_wyt1 = " cdpos-chngind Type of Change to WYT1
* upd_wyt1t = " cdpos-chngind Type of Change to WYT1T
* upd_wyt3 = " cdpos-chngind Type of Change to WYT3
* i_add_on_data = " vend_add_on_data Add-On Data Changed in Vendor Master
* TABLES
* t_xlfas = " flfas VAT Registration Numbers
* t_ylfas = " flfas EU Tax Numbers Old Status
* t_xlfat = " flfat Tax Groupings
* t_ylfat = " flfat Tax Groupings Old Status
* t_xlfb5 = " flfb5 Dunning Data
* t_ylfb5 = " flfb5 Dunning Data Old Status
* t_xlfbk = " flfbk Bank Details
* t_ylfbk = " flfbk Bank Details Old Status
* t_xlfbw = " flfbw Withholding Tax Types
* t_ylfbw = " flfbw Withholding Tax Types Old Status
* t_xlfei = " flfei Preference for Import and Export
* t_ylfei = " flfei Preference for Import and Export Old Status
* t_xlflr = " flflr Supply Regions
* t_ylflr = " flflr Supply Regions Old Status
* t_xlfm2 = " flfm2 Purchasing Different Data Retention
* t_ylfm2 = " flfm2 Purchasing Different Data Retention Old Status
* t_xlfza = " flfza Alternative Payee
* t_ylfza = " flfza Alternative Payee Old Status
* t_xwyt1 = " fwyt1 Vendor Sub-Range
* t_ywyt1 = " fwyt1 Vendor Sub-Range Old Status
* t_xwyt1t = " fwyt1t Vendor Sub-Range Description
* t_ywyt1t = " fwyt1t Vendor Sub-Range Description Old Status
* t_xwyt3 = " fwyt3 Partner Functions
* t_ywyt3 = " fwyt3 Partner Functions Old Status
. " LFA1_MATERIAL_TREX_TRIGGER
The ABAP code below is a full code listing to execute function module LFA1_MATERIAL_TREX_TRIGGER 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).
| it_t_xlfas | TYPE STANDARD TABLE OF FLFAS,"TABLES PARAM |
| wa_t_xlfas | LIKE LINE OF it_t_xlfas , |
| it_t_ylfas | TYPE STANDARD TABLE OF FLFAS,"TABLES PARAM |
| wa_t_ylfas | LIKE LINE OF it_t_ylfas , |
| it_t_xlfat | TYPE STANDARD TABLE OF FLFAT,"TABLES PARAM |
| wa_t_xlfat | LIKE LINE OF it_t_xlfat , |
| it_t_ylfat | TYPE STANDARD TABLE OF FLFAT,"TABLES PARAM |
| wa_t_ylfat | LIKE LINE OF it_t_ylfat , |
| it_t_xlfb5 | TYPE STANDARD TABLE OF FLFB5,"TABLES PARAM |
| wa_t_xlfb5 | LIKE LINE OF it_t_xlfb5 , |
| it_t_ylfb5 | TYPE STANDARD TABLE OF FLFB5,"TABLES PARAM |
| wa_t_ylfb5 | LIKE LINE OF it_t_ylfb5 , |
| it_t_xlfbk | TYPE STANDARD TABLE OF FLFBK,"TABLES PARAM |
| wa_t_xlfbk | LIKE LINE OF it_t_xlfbk , |
| it_t_ylfbk | TYPE STANDARD TABLE OF FLFBK,"TABLES PARAM |
| wa_t_ylfbk | LIKE LINE OF it_t_ylfbk , |
| it_t_xlfbw | TYPE STANDARD TABLE OF FLFBW,"TABLES PARAM |
| wa_t_xlfbw | LIKE LINE OF it_t_xlfbw , |
| it_t_ylfbw | TYPE STANDARD TABLE OF FLFBW,"TABLES PARAM |
| wa_t_ylfbw | LIKE LINE OF it_t_ylfbw , |
| it_t_xlfei | TYPE STANDARD TABLE OF FLFEI,"TABLES PARAM |
| wa_t_xlfei | LIKE LINE OF it_t_xlfei , |
| it_t_ylfei | TYPE STANDARD TABLE OF FLFEI,"TABLES PARAM |
| wa_t_ylfei | LIKE LINE OF it_t_ylfei , |
| it_t_xlflr | TYPE STANDARD TABLE OF FLFLR,"TABLES PARAM |
| wa_t_xlflr | LIKE LINE OF it_t_xlflr , |
| it_t_ylflr | TYPE STANDARD TABLE OF FLFLR,"TABLES PARAM |
| wa_t_ylflr | LIKE LINE OF it_t_ylflr , |
| it_t_xlfm2 | TYPE STANDARD TABLE OF FLFM2,"TABLES PARAM |
| wa_t_xlfm2 | LIKE LINE OF it_t_xlfm2 , |
| it_t_ylfm2 | TYPE STANDARD TABLE OF FLFM2,"TABLES PARAM |
| wa_t_ylfm2 | LIKE LINE OF it_t_ylfm2 , |
| it_t_xlfza | TYPE STANDARD TABLE OF FLFZA,"TABLES PARAM |
| wa_t_xlfza | LIKE LINE OF it_t_xlfza , |
| it_t_ylfza | TYPE STANDARD TABLE OF FLFZA,"TABLES PARAM |
| wa_t_ylfza | LIKE LINE OF it_t_ylfza , |
| it_t_xwyt1 | TYPE STANDARD TABLE OF FWYT1,"TABLES PARAM |
| wa_t_xwyt1 | LIKE LINE OF it_t_xwyt1 , |
| it_t_ywyt1 | TYPE STANDARD TABLE OF FWYT1,"TABLES PARAM |
| wa_t_ywyt1 | LIKE LINE OF it_t_ywyt1 , |
| it_t_xwyt1t | TYPE STANDARD TABLE OF FWYT1T,"TABLES PARAM |
| wa_t_xwyt1t | LIKE LINE OF it_t_xwyt1t , |
| it_t_ywyt1t | TYPE STANDARD TABLE OF FWYT1T,"TABLES PARAM |
| wa_t_ywyt1t | LIKE LINE OF it_t_ywyt1t , |
| it_t_xwyt3 | TYPE STANDARD TABLE OF FWYT3,"TABLES PARAM |
| wa_t_xwyt3 | LIKE LINE OF it_t_xwyt3 , |
| it_t_ywyt3 | TYPE STANDARD TABLE OF FWYT3,"TABLES PARAM |
| wa_t_ywyt3 | LIKE LINE OF it_t_ywyt3 . |
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:
| it_t_xlfas | TYPE STANDARD TABLE OF FLFAS , |
| wa_t_xlfas | LIKE LINE OF it_t_xlfas, |
| ld_i_lfa1 | TYPE LFA1 , |
| it_t_ylfas | TYPE STANDARD TABLE OF FLFAS , |
| wa_t_ylfas | LIKE LINE OF it_t_ylfas, |
| ld_i_lfa1_old | TYPE LFA1 , |
| it_t_xlfat | TYPE STANDARD TABLE OF FLFAT , |
| wa_t_xlfat | LIKE LINE OF it_t_xlfat, |
| ld_i_lfb1 | TYPE LFB1 , |
| it_t_ylfat | TYPE STANDARD TABLE OF FLFAT , |
| wa_t_ylfat | LIKE LINE OF it_t_ylfat, |
| ld_i_lfb1_old | TYPE LFB1 , |
| it_t_xlfb5 | TYPE STANDARD TABLE OF FLFB5 , |
| wa_t_xlfb5 | LIKE LINE OF it_t_xlfb5, |
| ld_i_lfm1 | TYPE LFM1 , |
| it_t_ylfb5 | TYPE STANDARD TABLE OF FLFB5 , |
| wa_t_ylfb5 | LIKE LINE OF it_t_ylfb5, |
| ld_i_lfm1_old | TYPE LFM1 , |
| it_t_xlfbk | TYPE STANDARD TABLE OF FLFBK , |
| wa_t_xlfbk | LIKE LINE OF it_t_xlfbk, |
| ld_upd_lfa1 | TYPE CDPOS-CHNGIND , |
| it_t_ylfbk | TYPE STANDARD TABLE OF FLFBK , |
| wa_t_ylfbk | LIKE LINE OF it_t_ylfbk, |
| ld_upd_lfas | TYPE CDPOS-CHNGIND , |
| it_t_xlfbw | TYPE STANDARD TABLE OF FLFBW , |
| wa_t_xlfbw | LIKE LINE OF it_t_xlfbw, |
| ld_upd_lfat | TYPE CDPOS-CHNGIND , |
| it_t_ylfbw | TYPE STANDARD TABLE OF FLFBW , |
| wa_t_ylfbw | LIKE LINE OF it_t_ylfbw, |
| ld_upd_lfb1 | TYPE CDPOS-CHNGIND , |
| it_t_xlfei | TYPE STANDARD TABLE OF FLFEI , |
| wa_t_xlfei | LIKE LINE OF it_t_xlfei, |
| ld_upd_lfb5 | TYPE CDPOS-CHNGIND , |
| it_t_ylfei | TYPE STANDARD TABLE OF FLFEI , |
| wa_t_ylfei | LIKE LINE OF it_t_ylfei, |
| ld_upd_lfbk | TYPE CDPOS-CHNGIND , |
| it_t_xlflr | TYPE STANDARD TABLE OF FLFLR , |
| wa_t_xlflr | LIKE LINE OF it_t_xlflr, |
| ld_upd_lfbw | TYPE CDPOS-CHNGIND , |
| ld_upd_lfei | TYPE CDPOS-CHNGIND , |
| it_t_ylflr | TYPE STANDARD TABLE OF FLFLR , |
| wa_t_ylflr | LIKE LINE OF it_t_ylflr, |
| ld_upd_lflr | TYPE CDPOS-CHNGIND , |
| it_t_xlfm2 | TYPE STANDARD TABLE OF FLFM2 , |
| wa_t_xlfm2 | LIKE LINE OF it_t_xlfm2, |
| ld_upd_lfm1 | TYPE CDPOS-CHNGIND , |
| it_t_ylfm2 | TYPE STANDARD TABLE OF FLFM2 , |
| wa_t_ylfm2 | LIKE LINE OF it_t_ylfm2, |
| ld_upd_lfm2 | TYPE CDPOS-CHNGIND , |
| it_t_xlfza | TYPE STANDARD TABLE OF FLFZA , |
| wa_t_xlfza | LIKE LINE OF it_t_xlfza, |
| ld_upd_lfza | TYPE CDPOS-CHNGIND , |
| it_t_ylfza | TYPE STANDARD TABLE OF FLFZA , |
| wa_t_ylfza | LIKE LINE OF it_t_ylfza, |
| ld_upd_wyt1 | TYPE CDPOS-CHNGIND , |
| it_t_xwyt1 | TYPE STANDARD TABLE OF FWYT1 , |
| wa_t_xwyt1 | LIKE LINE OF it_t_xwyt1, |
| ld_upd_wyt1t | TYPE CDPOS-CHNGIND , |
| it_t_ywyt1 | TYPE STANDARD TABLE OF FWYT1 , |
| wa_t_ywyt1 | LIKE LINE OF it_t_ywyt1, |
| ld_upd_wyt3 | TYPE CDPOS-CHNGIND , |
| it_t_xwyt1t | TYPE STANDARD TABLE OF FWYT1T , |
| wa_t_xwyt1t | LIKE LINE OF it_t_xwyt1t, |
| ld_i_add_on_data | TYPE VEND_ADD_ON_DATA , |
| it_t_ywyt1t | TYPE STANDARD TABLE OF FWYT1T , |
| wa_t_ywyt1t | LIKE LINE OF it_t_ywyt1t, |
| it_t_xwyt3 | TYPE STANDARD TABLE OF FWYT3 , |
| wa_t_xwyt3 | LIKE LINE OF it_t_xwyt3, |
| it_t_ywyt3 | TYPE STANDARD TABLE OF FWYT3 , |
| wa_t_ywyt3 | LIKE LINE OF it_t_ywyt3. |
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 LFA1_MATERIAL_TREX_TRIGGER or its description.