WAUF_DETERMINE_GENERATION_DATE 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 WAUF_DETERMINE_GENERATION_DATE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
WAUF
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'WAUF_DETERMINE_GENERATION_DATE' "
EXPORTING
* fbi_called_by_alloc_generation = ' ' " rw00a-aktsw
fbi_material = " aupo-matnr Material
fbi_fiwrk = " aufi-fiwrk Plant
fbi_filnr = " aufi-filnr Customer Number
fbi_vzwrk = " aufi-vzwrk
fbi_plifz = " aufi-plifz Planned Delivery Time
fbi_webaz = " aufi-webaz GR Processing Time
fbi_wedat = " aulw-wedat Planned Delivery Date
fbi_header_po_gen_date = " auko-fbdat
fbi_header_wo_gen_date = " auko-fudat
fbi_header_dl_gen_date = " auko-fldat
* fbi_plant_fod_gen_date = " aufi-bedat
* fbi_plant_dp_po_gen_date = " aulw-bedat
* fbi_plant_dp_wo_gen_date = " aulw-umdat
* fbi_plant_dp_dl_gen_date = " aulw-ledat
fbi_t621 = " t621
* fbi_no_message = ' ' " rw00a-aktsw
IMPORTING
fbo_po_gen_date = " aulw-bedat
fbo_wo_gen_date = " aulw-umdat
fbo_dl_gen_date = " aulw-ledat
fbo_wedat_neu = " aulw-wedat
EXCEPTIONS
DETERMINATION_GEN_DATE_FAILED = 1 "
. " WAUF_DETERMINE_GENERATION_DATE
The ABAP code below is a full code listing to execute function module WAUF_DETERMINE_GENERATION_DATE 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).
| ld_fbo_po_gen_date | TYPE AULW-BEDAT , |
| ld_fbo_wo_gen_date | TYPE AULW-UMDAT , |
| ld_fbo_dl_gen_date | TYPE AULW-LEDAT , |
| ld_fbo_wedat_neu | TYPE AULW-WEDAT . |
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_fbo_po_gen_date | TYPE AULW-BEDAT , |
| ld_fbi_called_by_alloc_generation | TYPE RW00A-AKTSW , |
| ld_fbo_wo_gen_date | TYPE AULW-UMDAT , |
| ld_fbi_material | TYPE AUPO-MATNR , |
| ld_fbo_dl_gen_date | TYPE AULW-LEDAT , |
| ld_fbi_fiwrk | TYPE AUFI-FIWRK , |
| ld_fbo_wedat_neu | TYPE AULW-WEDAT , |
| ld_fbi_filnr | TYPE AUFI-FILNR , |
| ld_fbi_vzwrk | TYPE AUFI-VZWRK , |
| ld_fbi_plifz | TYPE AUFI-PLIFZ , |
| ld_fbi_webaz | TYPE AUFI-WEBAZ , |
| ld_fbi_wedat | TYPE AULW-WEDAT , |
| ld_fbi_header_po_gen_date | TYPE AUKO-FBDAT , |
| ld_fbi_header_wo_gen_date | TYPE AUKO-FUDAT , |
| ld_fbi_header_dl_gen_date | TYPE AUKO-FLDAT , |
| ld_fbi_plant_fod_gen_date | TYPE AUFI-BEDAT , |
| ld_fbi_plant_dp_po_gen_date | TYPE AULW-BEDAT , |
| ld_fbi_plant_dp_wo_gen_date | TYPE AULW-UMDAT , |
| ld_fbi_plant_dp_dl_gen_date | TYPE AULW-LEDAT , |
| ld_fbi_t621 | TYPE T621 , |
| ld_fbi_no_message | TYPE RW00A-AKTSW . |
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 WAUF_DETERMINE_GENERATION_DATE or its description.