SAP ISH_NGPA_CONCATENATE Function Module for IS-H: Create Name String from Business Partner Data









ISH_NGPA_CONCATENATE is a standard ish ngpa concatenate SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IS-H: Create Name String from Business Partner Data 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 ish ngpa concatenate FM, simply by entering the name ISH_NGPA_CONCATENATE into the relevant SAP transaction such as SE37 or SE38.

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



Function ISH_NGPA_CONCATENATE 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 'ISH_NGPA_CONCATENATE'"IS-H: Create Name String from Business Partner Data
EXPORTING
SS_GPART = "Business Partner Key
* SS_READ_NGPA = ' ' "Read Business Partner Data from DB (ON/OFF)
* SS_NGPA = "Business Partner Data
* SS_ROLLE = '1' "Function for which Name to be Formatted ->
* SS_LIST = ' ' "Output Name on List (ON/OFF)

IMPORTING
SS_PNAME = "Formatted Name String

EXCEPTIONS
WRONG_GPART = 1
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLN003_001 IS-H: Create Name String from Business Partner Data

IMPORTING Parameters details for ISH_NGPA_CONCATENATE

SS_GPART - Business Partner Key

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

SS_READ_NGPA - Read Business Partner Data from DB (ON/OFF)

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

SS_NGPA - Business Partner Data

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

SS_ROLLE - Function for which Name to be Formatted ->

Data type: RNG10-GPART
Default: '1'
Optional: Yes
Call by Reference: No ( called with pass by value option)

SS_LIST - Output Name on List (ON/OFF)

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

EXPORTING Parameters details for ISH_NGPA_CONCATENATE

SS_PNAME - Formatted Name String

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

EXCEPTIONS details

WRONG_GPART - Business Partner Does not Exist in DB

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

Copy and paste ABAP code example for ISH_NGPA_CONCATENATE 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_ss_gpart  TYPE NGPA-GPART, "   
lv_ss_pname  TYPE NGPA, "   
lv_wrong_gpart  TYPE NGPA, "   
lv_ss_read_ngpa  TYPE NPDOK-XFELD, "   ' '
lv_ss_ngpa  TYPE NGPA, "   
lv_ss_rolle  TYPE RNG10-GPART, "   '1'
lv_ss_list  TYPE NPDOK-XFELD. "   ' '

  CALL FUNCTION 'ISH_NGPA_CONCATENATE'  "IS-H: Create Name String from Business Partner Data
    EXPORTING
         SS_GPART = lv_ss_gpart
         SS_READ_NGPA = lv_ss_read_ngpa
         SS_NGPA = lv_ss_ngpa
         SS_ROLLE = lv_ss_rolle
         SS_LIST = lv_ss_list
    IMPORTING
         SS_PNAME = lv_ss_pname
    EXCEPTIONS
        WRONG_GPART = 1
. " ISH_NGPA_CONCATENATE




ABAP code using 7.40 inline data declarations to call FM ISH_NGPA_CONCATENATE

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 GPART FROM NGPA INTO @DATA(ld_ss_gpart).
 
 
 
"SELECT single XFELD FROM NPDOK INTO @DATA(ld_ss_read_ngpa).
DATA(ld_ss_read_ngpa) = ' '.
 
 
"SELECT single GPART FROM RNG10 INTO @DATA(ld_ss_rolle).
DATA(ld_ss_rolle) = '1'.
 
"SELECT single XFELD FROM NPDOK INTO @DATA(ld_ss_list).
DATA(ld_ss_list) = ' '.
 


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!