SAP ISCD_CREATE_CPD_PARTNER Function Module for Create a Partner in the Invoicing Interface in FS-CD









ISCD_CREATE_CPD_PARTNER is a standard iscd create cpd partner SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Create a Partner in the Invoicing Interface in FS-CD 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 iscd create cpd partner FM, simply by entering the name ISCD_CREATE_CPD_PARTNER into the relevant SAP transaction such as SE37 or SE38.

Function Group: VKKR
Program Name: SAPLVKKR
Main Program: SAPLVKKR
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function ISCD_CREATE_CPD_PARTNER 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 'ISCD_CREATE_CPD_PARTNER'"Create a Partner in the Invoicing Interface in FS-CD
EXPORTING
I_PARTNER = "

IMPORTING
E_EMGPA = "
E_EMADI = "
E_EMBVT = "
E_XERROR = "

TABLES
T_MESSAGE = "
.



IMPORTING Parameters details for ISCD_CREATE_CPD_PARTNER

I_PARTNER -

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

EXPORTING Parameters details for ISCD_CREATE_CPD_PARTNER

E_EMGPA -

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

E_EMADI -

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

E_EMBVT -

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

E_XERROR -

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

TABLES Parameters details for ISCD_CREATE_CPD_PARTNER

T_MESSAGE -

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

Copy and paste ABAP code example for ISCD_CREATE_CPD_PARTNER 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_e_emgpa  TYPE VVKKFOP-EMGPA, "   
lv_i_partner  TYPE SI_ISCD_BUPA, "   
lt_t_message  TYPE STANDARD TABLE OF BUS0MSG1, "   
lv_e_emadi  TYPE VVKKFOP-EMADR, "   
lv_e_embvt  TYPE VVKKFOP-EMBVT, "   
lv_e_xerror  TYPE BUS000FLDS-CHAR1. "   

  CALL FUNCTION 'ISCD_CREATE_CPD_PARTNER'  "Create a Partner in the Invoicing Interface in FS-CD
    EXPORTING
         I_PARTNER = lv_i_partner
    IMPORTING
         E_EMGPA = lv_e_emgpa
         E_EMADI = lv_e_emadi
         E_EMBVT = lv_e_embvt
         E_XERROR = lv_e_xerror
    TABLES
         T_MESSAGE = lt_t_message
. " ISCD_CREATE_CPD_PARTNER




ABAP code using 7.40 inline data declarations to call FM ISCD_CREATE_CPD_PARTNER

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 EMGPA FROM VVKKFOP INTO @DATA(ld_e_emgpa).
 
 
 
"SELECT single EMADR FROM VVKKFOP INTO @DATA(ld_e_emadi).
 
"SELECT single EMBVT FROM VVKKFOP INTO @DATA(ld_e_embvt).
 
"SELECT single CHAR1 FROM BUS000FLDS INTO @DATA(ld_e_xerror).
 


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!