SAP ISH_BUP_API_GPART_FILL Function Module for IS-H: Map Temporary to Permanent GPART









ISH_BUP_API_GPART_FILL is a standard ish bup api gpart fill 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: Map Temporary to Permanent GPART 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 bup api gpart fill FM, simply by entering the name ISH_BUP_API_GPART_FILL into the relevant SAP transaction such as SE37 or SE38.

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



Function ISH_BUP_API_GPART_FILL 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_BUP_API_GPART_FILL'"IS-H: Map Temporary to Permanent GPART
EXPORTING
I_ROLECATEGORY = "BP Role Category
* I_PERMANENT_NO = "Get Permanent Number (Yes/No)
* I_PERM_PART_NO = "Business Partner Number
* I_EXT_GPART_NO = "IS-H: Business Partner
* I_CALL_FROM_BAPI = ' ' "IS-H: Flag Indicating Call from BAPI

IMPORTING
ET_PART_DETAIL = "Table of Temporary to Permanent GPART Identifiers
E_FROM_NUMBER = "From Number
E_NR_RANGE_NR = "Number Range Number
E_NR_RANGE_TYPE = "Number Range Type
E_TO_NUMBER = "To Number
E_INTERN = "IS-H: Boolean Data Type for ON (= 'X') and OFF (= ' ')
E_EXTERN = "IS-H: Boolean Data Type for ON (= 'X') and OFF (= ' ')
E_ALPHA = "IS-H: Boolean Data Type for ON (= 'X') and OFF (= ' ')
.



IMPORTING Parameters details for ISH_BUP_API_GPART_FILL

I_ROLECATEGORY - BP Role Category

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

I_PERMANENT_NO - Get Permanent Number (Yes/No)

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

I_PERM_PART_NO - Business Partner Number

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

I_EXT_GPART_NO - IS-H: Business Partner

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

I_CALL_FROM_BAPI - IS-H: Flag Indicating Call from BAPI

Data type: NPDOK-XFELD
Default: ' '
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for ISH_BUP_API_GPART_FILL

ET_PART_DETAIL - Table of Temporary to Permanent GPART Identifiers

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

E_FROM_NUMBER - From Number

Data type: NRIV-FROMNUMBER
Optional: No
Call by Reference: Yes

E_NR_RANGE_NR - Number Range Number

Data type: NRIV-NRRANGENR
Optional: No
Call by Reference: Yes

E_NR_RANGE_TYPE - Number Range Type

Data type:
Optional: No
Call by Reference: Yes

E_TO_NUMBER - To Number

Data type: NRIV-TONUMBER
Optional: No
Call by Reference: Yes

E_INTERN - IS-H: Boolean Data Type for ON (= 'X') and OFF (= ' ')

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

E_EXTERN - IS-H: Boolean Data Type for ON (= 'X') and OFF (= ' ')

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

E_ALPHA - IS-H: Boolean Data Type for ON (= 'X') and OFF (= ' ')

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

Copy and paste ABAP code example for ISH_BUP_API_GPART_FILL 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_et_part_detail  TYPE ISH_T_MAP_PART, "   
lv_i_rolecategory  TYPE BU_PARTNERROLECAT, "   
lv_e_from_number  TYPE NRIV-FROMNUMBER, "   
lv_i_permanent_no  TYPE ISH_ON_OFF, "   
lv_e_nr_range_nr  TYPE NRIV-NRRANGENR, "   
lv_i_perm_part_no  TYPE BU_PARTNER, "   
lv_i_ext_gpart_no  TYPE GPARTNER, "   
lv_e_nr_range_type  TYPE GPARTNER, "   
lv_e_to_number  TYPE NRIV-TONUMBER, "   
lv_i_call_from_bapi  TYPE NPDOK-XFELD, "   ' '
lv_e_intern  TYPE ISH_ON_OFF, "   
lv_e_extern  TYPE ISH_ON_OFF, "   
lv_e_alpha  TYPE ISH_ON_OFF. "   

  CALL FUNCTION 'ISH_BUP_API_GPART_FILL'  "IS-H: Map Temporary to Permanent GPART
    EXPORTING
         I_ROLECATEGORY = lv_i_rolecategory
         I_PERMANENT_NO = lv_i_permanent_no
         I_PERM_PART_NO = lv_i_perm_part_no
         I_EXT_GPART_NO = lv_i_ext_gpart_no
         I_CALL_FROM_BAPI = lv_i_call_from_bapi
    IMPORTING
         ET_PART_DETAIL = lv_et_part_detail
         E_FROM_NUMBER = lv_e_from_number
         E_NR_RANGE_NR = lv_e_nr_range_nr
         E_NR_RANGE_TYPE = lv_e_nr_range_type
         E_TO_NUMBER = lv_e_to_number
         E_INTERN = lv_e_intern
         E_EXTERN = lv_e_extern
         E_ALPHA = lv_e_alpha
. " ISH_BUP_API_GPART_FILL




ABAP code using 7.40 inline data declarations to call FM ISH_BUP_API_GPART_FILL

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 FROMNUMBER FROM NRIV INTO @DATA(ld_e_from_number).
 
 
"SELECT single NRRANGENR FROM NRIV INTO @DATA(ld_e_nr_range_nr).
 
 
 
 
"SELECT single TONUMBER FROM NRIV INTO @DATA(ld_e_to_number).
 
"SELECT single XFELD FROM NPDOK INTO @DATA(ld_i_call_from_bapi).
DATA(ld_i_call_from_bapi) = ' '.
 
 
 
 


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!