SD_PARTNER_DETERMINATION 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 SD_PARTNER_DETERMINATION into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
V09A
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'SD_PARTNER_DETERMINATION' " EXPORTING fic_objecttype = " swo_objtyp Object Type fic_objectkey = " swo_typeid Object Key fif_pargr = " pargr Partner Determination Procedure fif_destination_posnr = " posnr fis_sdorgdata = " sdorgdata SD Organizational Data * fif_parvw = SPACE " parvw_4 * fif_posnr = " posnr * fif_partner = SPACE " sd_partner_parnr * fif_hityp = SPACE " knvh-hityp Cust. Hierarchy Type * fif_hi_date = SY-DATLO " sy-datlo Date and Time, Current (Application Server) Date * fif_partners_of_parvw_only = SPACE " parvw_4 * fif_complete_determination = 'X' " xflag * fif_partial_determination = SPACE " xflag * fif_check_remove_and_find = SPACE " xflag * fif_just_check_and_remove = SPACE " xflag * fif_just_check = SPACE " xflag * fif_new_time_relevant_par = SPACE " xflag * fif_no_log = SPACE " xflag * fif_clear_appl_log = 'X' " xflag * fif_no_dialog = SPACE " xflag * fif_listprocessing = SPACE " xfeld IMPORTING fet_xvbpa = " lv09a_ty_xvbpa Partner Table fef_log_count = " i * TABLES * fet_kupav = " lv09a_ty_kupav_table EXCEPTIONS PARAMETER_INCOMPLETE = 1 " OBJECT_NOT_FOUND = 2 " GIVEN_PARTNER_NOT_FOUND = 3 " MANDATORY_PARTNER_NOT_POSSIBLE = 4 " . " SD_PARTNER_DETERMINATION
The ABAP code below is a full code listing to execute function module SD_PARTNER_DETERMINATION 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_fet_xvbpa | TYPE LV09A_TY_XVBPA , |
ld_fef_log_count | TYPE I , |
it_fet_kupav | TYPE STANDARD TABLE OF LV09A_TY_KUPAV_TABLE,"TABLES PARAM |
wa_fet_kupav | LIKE LINE OF it_fet_kupav . |
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_fet_xvbpa | TYPE LV09A_TY_XVBPA , |
ld_fic_objecttype | TYPE SWO_OBJTYP , |
it_fet_kupav | TYPE STANDARD TABLE OF LV09A_TY_KUPAV_TABLE , |
wa_fet_kupav | LIKE LINE OF it_fet_kupav, |
ld_fef_log_count | TYPE I , |
ld_fic_objectkey | TYPE SWO_TYPEID , |
ld_fif_pargr | TYPE PARGR , |
ld_fif_destination_posnr | TYPE POSNR , |
ld_fis_sdorgdata | TYPE SDORGDATA , |
ld_fif_parvw | TYPE PARVW_4 , |
ld_fif_posnr | TYPE POSNR , |
ld_fif_partner | TYPE SD_PARTNER_PARNR , |
ld_fif_hityp | TYPE KNVH-HITYP , |
ld_fif_hi_date | TYPE SY-DATLO , |
ld_fif_partners_of_parvw_only | TYPE PARVW_4 , |
ld_fif_complete_determination | TYPE XFLAG , |
ld_fif_partial_determination | TYPE XFLAG , |
ld_fif_check_remove_and_find | TYPE XFLAG , |
ld_fif_just_check_and_remove | TYPE XFLAG , |
ld_fif_just_check | TYPE XFLAG , |
ld_fif_new_time_relevant_par | TYPE XFLAG , |
ld_fif_no_log | TYPE XFLAG , |
ld_fif_clear_appl_log | TYPE XFLAG , |
ld_fif_no_dialog | TYPE XFLAG , |
ld_fif_listprocessing | TYPE XFELD . |
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 SD_PARTNER_DETERMINATION or its description.