SAP PROMOTION_SOURCE_OF_SUPPLY_RFC Function Module for NOTRANSL: Bezugsquellenfindung Aktion (rfc-fähig









PROMOTION_SOURCE_OF_SUPPLY_RFC is a standard promotion source of supply rfc 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: Bezugsquellenfindung Aktion (rfc-fähig 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 promotion source of supply rfc FM, simply by entering the name PROMOTION_SOURCE_OF_SUPPLY_RFC into the relevant SAP transaction such as SE37 or SE38.

Function Group: WAK1
Program Name: SAPLWAK1
Main Program: SAPLWAK1
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function PROMOTION_SOURCE_OF_SUPPLY_RFC 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 'PROMOTION_SOURCE_OF_SUPPLY_RFC'"NOTRANSL: Bezugsquellenfindung Aktion (rfc-fähig
EXPORTING
PI_WAKHD = "Screen Field String for Promotion Header Data
PI_TESTRUN = "Checkbox
* PI_WAKH_DB = "Promotion Header Data, IS-R

IMPORTING
PE_ANZ_BZQFI_BLANK = "
PE_ANZ_BZQFI_A = "
PE_ANZ_BZQFI_B = "

TABLES
PI_T_WAKPD = "Screen Field String for Promotion Item Data
PI_T_WALED = "Processing of records in WALE table
PI_T_FILIALE = "
* PE_T_XERRO = "Message Collector
* PI_T_WAKP_DB = "Table Type for DB Table WAKP
.



IMPORTING Parameters details for PROMOTION_SOURCE_OF_SUPPLY_RFC

PI_WAKHD - Screen Field String for Promotion Header Data

Data type: WAKHD
Optional: No
Call by Reference: No ( called with pass by value option)

PI_TESTRUN - Checkbox

Data type: XFELD
Optional: No
Call by Reference: No ( called with pass by value option)

PI_WAKH_DB - Promotion Header Data, IS-R

Data type: WAKH
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for PROMOTION_SOURCE_OF_SUPPLY_RFC

PE_ANZ_BZQFI_BLANK -

Data type: I
Optional: No
Call by Reference: No ( called with pass by value option)

PE_ANZ_BZQFI_A -

Data type: I
Optional: No
Call by Reference: No ( called with pass by value option)

PE_ANZ_BZQFI_B -

Data type: I
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for PROMOTION_SOURCE_OF_SUPPLY_RFC

PI_T_WAKPD - Screen Field String for Promotion Item Data

Data type: WAKPD
Optional: No
Call by Reference: Yes

PI_T_WALED - Processing of records in WALE table

Data type: WALED
Optional: No
Call by Reference: Yes

PI_T_FILIALE -

Data type: WAKW
Optional: No
Call by Reference: Yes

PE_T_XERRO - Message Collector

Data type: SMESG
Optional: Yes
Call by Reference: Yes

PI_T_WAKP_DB - Table Type for DB Table WAKP

Data type: WAKP_TAB
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for PROMOTION_SOURCE_OF_SUPPLY_RFC 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_wakhd  TYPE WAKHD, "   
lt_pi_t_wakpd  TYPE STANDARD TABLE OF WAKPD, "   
lv_pe_anz_bzqfi_blank  TYPE I, "   
lv_pi_testrun  TYPE XFELD, "   
lt_pi_t_waled  TYPE STANDARD TABLE OF WALED, "   
lv_pe_anz_bzqfi_a  TYPE I, "   
lv_pi_wakh_db  TYPE WAKH, "   
lt_pi_t_filiale  TYPE STANDARD TABLE OF WAKW, "   
lv_pe_anz_bzqfi_b  TYPE I, "   
lt_pe_t_xerro  TYPE STANDARD TABLE OF SMESG, "   
lt_pi_t_wakp_db  TYPE STANDARD TABLE OF WAKP_TAB. "   

  CALL FUNCTION 'PROMOTION_SOURCE_OF_SUPPLY_RFC'  "NOTRANSL: Bezugsquellenfindung Aktion (rfc-fähig
    EXPORTING
         PI_WAKHD = lv_pi_wakhd
         PI_TESTRUN = lv_pi_testrun
         PI_WAKH_DB = lv_pi_wakh_db
    IMPORTING
         PE_ANZ_BZQFI_BLANK = lv_pe_anz_bzqfi_blank
         PE_ANZ_BZQFI_A = lv_pe_anz_bzqfi_a
         PE_ANZ_BZQFI_B = lv_pe_anz_bzqfi_b
    TABLES
         PI_T_WAKPD = lt_pi_t_wakpd
         PI_T_WALED = lt_pi_t_waled
         PI_T_FILIALE = lt_pi_t_filiale
         PE_T_XERRO = lt_pe_t_xerro
         PI_T_WAKP_DB = lt_pi_t_wakp_db
. " PROMOTION_SOURCE_OF_SUPPLY_RFC




ABAP code using 7.40 inline data declarations to call FM PROMOTION_SOURCE_OF_SUPPLY_RFC

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.

 
 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!