SAP BBP_PARTNER_GET_PURCH_DATA_NEW Function Module for









BBP_PARTNER_GET_PURCH_DATA_NEW is a standard bbp partner get purch data new SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 bbp partner get purch data new FM, simply by entering the name BBP_PARTNER_GET_PURCH_DATA_NEW into the relevant SAP transaction such as SE37 or SE38.

Function Group: BBP_BUPA
Program Name: SAPLBBP_BUPA
Main Program: SAPLBBP_BUPA
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function BBP_PARTNER_GET_PURCH_DATA_NEW 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 'BBP_PARTNER_GET_PURCH_DATA_NEW'"
EXPORTING
* PARTNER = "
* PARTNER_GUID = "
* PD_ORG = "
* X_SHOW_INV_PARTIES = ' ' "
* X_RESET_BUFFER = ' ' "

TABLES
* ET_PURCH_ORG_SET = "
* ET_MAPPING_SET = "
* ET_PCARD_SET = "
* ET_SENDMEDIUM = "

EXCEPTIONS
PARTNER_NOT_VALID = 1
.



IMPORTING Parameters details for BBP_PARTNER_GET_PURCH_DATA_NEW

PARTNER -

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

PARTNER_GUID -

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

PD_ORG -

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

X_SHOW_INV_PARTIES -

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

X_RESET_BUFFER -

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

TABLES Parameters details for BBP_PARTNER_GET_PURCH_DATA_NEW

ET_PURCH_ORG_SET -

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

ET_MAPPING_SET -

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

ET_PCARD_SET -

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

ET_SENDMEDIUM -

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

EXCEPTIONS details

PARTNER_NOT_VALID -

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

Copy and paste ABAP code example for BBP_PARTNER_GET_PURCH_DATA_NEW 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_partner  TYPE BU_PARTNER, "   
lt_et_purch_org_set  TYPE STANDARD TABLE OF BBPM_BUT_FRG0061, "   
lv_partner_not_valid  TYPE BBPM_BUT_FRG0061, "   
lv_partner_guid  TYPE BU_PARTNER_GUID, "   
lt_et_mapping_set  TYPE STANDARD TABLE OF VENMAP, "   
lv_pd_org  TYPE BBP_PROC_ORG, "   
lt_et_pcard_set  TYPE STANDARD TABLE OF BBPM_BUT_FRG0041, "   
lt_et_sendmedium  TYPE STANDARD TABLE OF BBPT_SENDMEDIUM, "   
lv_x_show_inv_parties  TYPE XFELD, "   SPACE
lv_x_reset_buffer  TYPE XFELD. "   SPACE

  CALL FUNCTION 'BBP_PARTNER_GET_PURCH_DATA_NEW'  "
    EXPORTING
         PARTNER = lv_partner
         PARTNER_GUID = lv_partner_guid
         PD_ORG = lv_pd_org
         X_SHOW_INV_PARTIES = lv_x_show_inv_parties
         X_RESET_BUFFER = lv_x_reset_buffer
    TABLES
         ET_PURCH_ORG_SET = lt_et_purch_org_set
         ET_MAPPING_SET = lt_et_mapping_set
         ET_PCARD_SET = lt_et_pcard_set
         ET_SENDMEDIUM = lt_et_sendmedium
    EXCEPTIONS
        PARTNER_NOT_VALID = 1
. " BBP_PARTNER_GET_PURCH_DATA_NEW




ABAP code using 7.40 inline data declarations to call FM BBP_PARTNER_GET_PURCH_DATA_NEW

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.

 
 
 
 
 
 
 
 
DATA(ld_x_show_inv_parties) = ' '.
 
DATA(ld_x_reset_buffer) = ' '.
 


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!