SAP ISH_CCPS_OBSTETRIC_SETGET Function Module for









ISH_CCPS_OBSTETRIC_SETGET is a standard ish ccps obstetric setget 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 ish ccps obstetric setget FM, simply by entering the name ISH_CCPS_OBSTETRIC_SETGET into the relevant SAP transaction such as SE37 or SE38.

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



Function ISH_CCPS_OBSTETRIC_SETGET 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_CCPS_OBSTETRIC_SETGET'"
EXPORTING
I_EINRI = "
I_FALNR = "
* I_FALAR = ' ' "
* I_FATYP = ' ' "
* I_FACHR = ' ' "
* I_SET = ' ' "
* I_GET = 'X' "

IMPORTING
E_OBSTETRIC = "
E_FATYP = "
E_FACHR = "

EXCEPTIONS
PARAMETER_ERROR = 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_SAPLNC22_001 IS-H SG: V1.1 user exitr for BGM begin of message
EXIT_SAPLNC22_002 IS-H SG: V1.1 User exit for ADI_03 Additional information
EXIT_SAPLNC22_003 IS-H SG: V1.1 User exit for BIL Bill particulars segment
EXIT_SAPLNC22_004 IS-H SG: V1.1 User exit for DTM Date and time reference segment
EXIT_SAPLNC22_005 IS-H SG: V1.1 User exit for RFF Physician references segment
EXIT_SAPLNC22_006 IS-H SG: V1.1 User exit for ADI Additional diagnosis information segment
EXIT_SAPLNC22_007 IS-H SG: V1.1 User exit for Group 1 Daily tmt. fees and room charges segm
EXIT_SAPLNC22_008 IS-H SG: V1.1 User exit for Group 2 Other charges segment
EXIT_SAPLNC22_009 IS-H SG: V1.1 User exit for Group 3 Operation particulars segment
EXIT_SAPLNC22_010 IS-H SG: V1.1 User exit for Group 4 Patient particulars segment
EXIT_SAPLNC22_011 IS-H SG: V1.1 User exit for Group 5 Payer particulars segment
EXIT_SAPLNC22_012 IS-H SG: V1.1 User exit for Group 6
EXIT_SAPLNC22_013 IS-H SG: User Exit for Suppress Auto Changes

IMPORTING Parameters details for ISH_CCPS_OBSTETRIC_SETGET

I_EINRI -

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

I_FALNR -

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

I_FALAR -

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

I_FATYP -

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

I_FACHR -

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

I_SET -

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

I_GET -

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

EXPORTING Parameters details for ISH_CCPS_OBSTETRIC_SETGET

E_OBSTETRIC -

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

E_FATYP -

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

E_FACHR -

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

EXCEPTIONS details

PARAMETER_ERROR -

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

Copy and paste ABAP code example for ISH_CCPS_OBSTETRIC_SETGET 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_i_einri  TYPE NFAL-EINRI, "   
lv_e_obstetric  TYPE TNKFA-OBSTE, "   
lv_parameter_error  TYPE TNKFA, "   
lv_e_fatyp  TYPE TNKFA-FATYP, "   
lv_i_falnr  TYPE NFAL-FALNR, "   
lv_e_fachr  TYPE TNKFA-FACHR, "   
lv_i_falar  TYPE NFAL-FALAR, "   SPACE
lv_i_fatyp  TYPE TNKFA-FATYP, "   SPACE
lv_i_fachr  TYPE TNKFA-FACHR, "   SPACE
lv_i_set  TYPE RNCOM-XFELD, "   ' '
lv_i_get  TYPE RNCOM-XFELD. "   'X'

  CALL FUNCTION 'ISH_CCPS_OBSTETRIC_SETGET'  "
    EXPORTING
         I_EINRI = lv_i_einri
         I_FALNR = lv_i_falnr
         I_FALAR = lv_i_falar
         I_FATYP = lv_i_fatyp
         I_FACHR = lv_i_fachr
         I_SET = lv_i_set
         I_GET = lv_i_get
    IMPORTING
         E_OBSTETRIC = lv_e_obstetric
         E_FATYP = lv_e_fatyp
         E_FACHR = lv_e_fachr
    EXCEPTIONS
        PARAMETER_ERROR = 1
. " ISH_CCPS_OBSTETRIC_SETGET




ABAP code using 7.40 inline data declarations to call FM ISH_CCPS_OBSTETRIC_SETGET

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_i_einri).
 
"SELECT single OBSTE FROM TNKFA INTO @DATA(ld_e_obstetric).
 
 
"SELECT single FATYP FROM TNKFA INTO @DATA(ld_e_fatyp).
 
"SELECT single FALNR FROM NFAL INTO @DATA(ld_i_falnr).
 
"SELECT single FACHR FROM TNKFA INTO @DATA(ld_e_fachr).
 
"SELECT single FALAR FROM NFAL INTO @DATA(ld_i_falar).
DATA(ld_i_falar) = ' '.
 
"SELECT single FATYP FROM TNKFA INTO @DATA(ld_i_fatyp).
DATA(ld_i_fatyp) = ' '.
 
"SELECT single FACHR FROM TNKFA INTO @DATA(ld_i_fachr).
DATA(ld_i_fachr) = ' '.
 
"SELECT single XFELD FROM RNCOM INTO @DATA(ld_i_set).
DATA(ld_i_set) = ' '.
 
"SELECT single XFELD FROM RNCOM INTO @DATA(ld_i_get).
DATA(ld_i_get) = '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!