SAP MM_PARTNER_TEST_NEUE_KTOKK Function Module for NOTRANSL: Prüfen ob Partnerrollen des Lieferanten zur Kontengruppe passen
MM_PARTNER_TEST_NEUE_KTOKK is a standard mm partner test neue ktokk SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Prüfen ob Partnerrollen des Lieferanten zur Kontengruppe passen 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 mm partner test neue ktokk FM, simply by entering the name MM_PARTNER_TEST_NEUE_KTOKK into the relevant SAP transaction such as SE37 or SE38.
Function Group: WY09
Program Name: SAPLWY09
Main Program: SAPLWY09
Appliation area: W
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function MM_PARTNER_TEST_NEUE_KTOKK 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 'MM_PARTNER_TEST_NEUE_KTOKK'"NOTRANSL: Prüfen ob Partnerrollen des Lieferanten zur Kontengruppe passen.
EXPORTING
PI_LIFNR = "Vendor Number
PI_KTOKK = "Account Group
* PI_PARGE = ' ' "
* PI_PARGT = ' ' "
* PI_PARGW = ' ' "
* PI_SCHEMA_NEU = 'X' "
EXCEPTIONS
ROLLE_NICHT_VORHANDEN = 1 ROLLE_FUER_KTOKK_NICHT_ERLAUBT = 2
IMPORTING Parameters details for MM_PARTNER_TEST_NEUE_KTOKK
PI_LIFNR - Vendor Number
Data type: WYT3-LIFNROptional: No
Call by Reference: No ( called with pass by value option)
PI_KTOKK - Account Group
Data type: T077K-KTOKKOptional: No
Call by Reference: No ( called with pass by value option)
PI_PARGE -
Data type: T077K-PARGEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
PI_PARGT -
Data type: T077K-PARGTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
PI_PARGW -
Data type: T077K-PARGWDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
PI_SCHEMA_NEU -
Data type: T077K-LTSNADefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ROLLE_NICHT_VORHANDEN -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ROLLE_FUER_KTOKK_NICHT_ERLAUBT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for MM_PARTNER_TEST_NEUE_KTOKK 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_pi_lifnr | TYPE WYT3-LIFNR, " | |||
| lv_rolle_nicht_vorhanden | TYPE WYT3, " | |||
| lv_pi_ktokk | TYPE T077K-KTOKK, " | |||
| lv_rolle_fuer_ktokk_nicht_erlaubt | TYPE T077K, " | |||
| lv_pi_parge | TYPE T077K-PARGE, " SPACE | |||
| lv_pi_pargt | TYPE T077K-PARGT, " SPACE | |||
| lv_pi_pargw | TYPE T077K-PARGW, " SPACE | |||
| lv_pi_schema_neu | TYPE T077K-LTSNA. " 'X' |
|   CALL FUNCTION 'MM_PARTNER_TEST_NEUE_KTOKK' "NOTRANSL: Prüfen ob Partnerrollen des Lieferanten zur Kontengruppe passen |
| EXPORTING | ||
| PI_LIFNR | = lv_pi_lifnr | |
| PI_KTOKK | = lv_pi_ktokk | |
| PI_PARGE | = lv_pi_parge | |
| PI_PARGT | = lv_pi_pargt | |
| PI_PARGW | = lv_pi_pargw | |
| PI_SCHEMA_NEU | = lv_pi_schema_neu | |
| EXCEPTIONS | ||
| ROLLE_NICHT_VORHANDEN = 1 | ||
| ROLLE_FUER_KTOKK_NICHT_ERLAUBT = 2 | ||
| . " MM_PARTNER_TEST_NEUE_KTOKK | ||
ABAP code using 7.40 inline data declarations to call FM MM_PARTNER_TEST_NEUE_KTOKK
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 LIFNR FROM WYT3 INTO @DATA(ld_pi_lifnr). | ||||
| "SELECT single KTOKK FROM T077K INTO @DATA(ld_pi_ktokk). | ||||
| "SELECT single PARGE FROM T077K INTO @DATA(ld_pi_parge). | ||||
| DATA(ld_pi_parge) | = ' '. | |||
| "SELECT single PARGT FROM T077K INTO @DATA(ld_pi_pargt). | ||||
| DATA(ld_pi_pargt) | = ' '. | |||
| "SELECT single PARGW FROM T077K INTO @DATA(ld_pi_pargw). | ||||
| DATA(ld_pi_pargw) | = ' '. | |||
| "SELECT single LTSNA FROM T077K INTO @DATA(ld_pi_schema_neu). | ||||
| DATA(ld_pi_schema_neu) | = 'X'. | |||
Search for further information about these or an SAP related objects