SAP ISH_TRANSFER_CREATE Function Module for IS-H: Create Transfer (for BAPI)









ISH_TRANSFER_CREATE is a standard ish transfer create 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 Transfer (for BAPI) 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 transfer create FM, simply by entering the name ISH_TRANSFER_CREATE into the relevant SAP transaction such as SE37 or SE38.

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



Function ISH_TRANSFER_CREATE 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_TRANSFER_CREATE'"IS-H: Create Transfer (for BAPI)
EXPORTING
SS_EINRI = "Institution
* SS_CHECK_AUTH = 'X' "Authorization Check (ON/OFF)
* SS_COMM_WAIT = ' ' "Communication: Collect and Maintain Events (ON/OFF)
* SS_CALL_FROM_BAPI = 'X' "Call from BAPI (ON/OFF)
* SS_ACTION = ' ' "If not BAPI: Timepoint for Dependent Objects - Check, Before Save, Adjust
SS_FALNR = "Case Number
* SS_LFDNR = 0 "Sequence Number of the New Movement
* SS_NPAT = "Patient Data -> F2
* SS_NPAE = "Patient Data (Institution-Specific) -> F2
* SS_NADR_PAT = "Patient's Address
SS_TRANSFER = "Transfer Data
* SS_ENQUEUE = ' ' "Lock Case (ON/OFF)
* SS_TESTRUN = 'X' "Test Mode (ON/OFF)

IMPORTING
SS_NFAL = "Case Data -> F2
SS_NBEW = "Movement Data -> F2
SS_RETMAXTYPE = "Most Severe Message Type -> F2

TABLES
SS_RETURN = "Table of Error Messages -> F2
.



IMPORTING Parameters details for ISH_TRANSFER_CREATE

SS_EINRI - Institution

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

SS_CHECK_AUTH - Authorization Check (ON/OFF)

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

SS_COMM_WAIT - Communication: Collect and Maintain Events (ON/OFF)

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

SS_CALL_FROM_BAPI - Call from BAPI (ON/OFF)

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

SS_ACTION - If not BAPI: Timepoint for Dependent Objects - Check, Before Save, Adjust

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

SS_FALNR - Case Number

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

SS_LFDNR - Sequence Number of the New Movement

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

SS_NPAT - Patient Data -> F2

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

SS_NPAE - Patient Data (Institution-Specific) -> F2

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

SS_NADR_PAT - Patient's Address

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

SS_TRANSFER - Transfer Data

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

SS_ENQUEUE - Lock Case (ON/OFF)

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

SS_TESTRUN - Test Mode (ON/OFF)

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

EXPORTING Parameters details for ISH_TRANSFER_CREATE

SS_NFAL - Case Data -> F2

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

SS_NBEW - Movement Data -> F2

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

SS_RETMAXTYPE - Most Severe Message Type -> F2

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

TABLES Parameters details for ISH_TRANSFER_CREATE

SS_RETURN - Table of Error Messages -> F2

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

Copy and paste ABAP code example for ISH_TRANSFER_CREATE 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_nfal  TYPE NFAL, "   
lv_ss_einri  TYPE NFAL-EINRI, "   
lt_ss_return  TYPE STANDARD TABLE OF BAPIRET2, "   
lv_ss_check_auth  TYPE NPDOK-XFELD, "   'X'
lv_ss_comm_wait  TYPE NPDOK-XFELD, "   ' '
lv_ss_call_from_bapi  TYPE NPDOK-XFELD, "   'X'
lv_ss_action  TYPE TNPOL-ACTIO, "   SPACE
lv_ss_nbew  TYPE NBEW, "   
lv_ss_falnr  TYPE NFAL-FALNR, "   
lv_ss_lfdnr  TYPE NBEW-LFDNR, "   0
lv_ss_retmaxtype  TYPE NPDOK-BAPIRETMAXTY, "   
lv_ss_npat  TYPE NPAT, "   
lv_ss_npae  TYPE NPAE, "   
lv_ss_nadr_pat  TYPE NADR, "   
lv_ss_transfer  TYPE NBEW_TRA_IM, "   
lv_ss_enqueue  TYPE NPDOK-XFELD, "   ' '
lv_ss_testrun  TYPE NPDOK-XFELD. "   'X'

  CALL FUNCTION 'ISH_TRANSFER_CREATE'  "IS-H: Create Transfer (for BAPI)
    EXPORTING
         SS_EINRI = lv_ss_einri
         SS_CHECK_AUTH = lv_ss_check_auth
         SS_COMM_WAIT = lv_ss_comm_wait
         SS_CALL_FROM_BAPI = lv_ss_call_from_bapi
         SS_ACTION = lv_ss_action
         SS_FALNR = lv_ss_falnr
         SS_LFDNR = lv_ss_lfdnr
         SS_NPAT = lv_ss_npat
         SS_NPAE = lv_ss_npae
         SS_NADR_PAT = lv_ss_nadr_pat
         SS_TRANSFER = lv_ss_transfer
         SS_ENQUEUE = lv_ss_enqueue
         SS_TESTRUN = lv_ss_testrun
    IMPORTING
         SS_NFAL = lv_ss_nfal
         SS_NBEW = lv_ss_nbew
         SS_RETMAXTYPE = lv_ss_retmaxtype
    TABLES
         SS_RETURN = lt_ss_return
. " ISH_TRANSFER_CREATE




ABAP code using 7.40 inline data declarations to call FM ISH_TRANSFER_CREATE

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 EINRI FROM NFAL INTO @DATA(ld_ss_einri).
 
 
"SELECT single XFELD FROM NPDOK INTO @DATA(ld_ss_check_auth).
DATA(ld_ss_check_auth) = 'X'.
 
"SELECT single XFELD FROM NPDOK INTO @DATA(ld_ss_comm_wait).
DATA(ld_ss_comm_wait) = ' '.
 
"SELECT single XFELD FROM NPDOK INTO @DATA(ld_ss_call_from_bapi).
DATA(ld_ss_call_from_bapi) = 'X'.
 
"SELECT single ACTIO FROM TNPOL INTO @DATA(ld_ss_action).
DATA(ld_ss_action) = ' '.
 
 
"SELECT single FALNR FROM NFAL INTO @DATA(ld_ss_falnr).
 
"SELECT single LFDNR FROM NBEW INTO @DATA(ld_ss_lfdnr).
 
"SELECT single BAPIRETMAXTY FROM NPDOK INTO @DATA(ld_ss_retmaxtype).
 
 
 
 
 
"SELECT single XFELD FROM NPDOK INTO @DATA(ld_ss_enqueue).
DATA(ld_ss_enqueue) = ' '.
 
"SELECT single XFELD FROM NPDOK INTO @DATA(ld_ss_testrun).
DATA(ld_ss_testrun) = 'X'.
 


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!