SAP ISHMED_CHECK_NGPA Function Module for
ISHMED_CHECK_NGPA is a standard ishmed check ngpa 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 ishmed check ngpa FM, simply by entering the name ISHMED_CHECK_NGPA into the relevant SAP transaction such as SE37 or SE38.
Function Group: N1LT
Program Name: SAPLN1LT
Main Program: SAPLN1LT
Appliation area: N
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function ISHMED_CHECK_NGPA 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 'ISHMED_CHECK_NGPA'".
EXPORTING
* SS_CHECK = 'O' "
* SS_ORGFA = "
* SS_FPV = ' ' "
* SS_PARM_OECHK = OFF "
* SS_EINRI = '*' "Institution
* SS_GDATUM = SY-DATUM "Validity Date
* SS_ORGID = ' ' "
SS_PERNR = "
* SS_VORGANG = ' ' "Task
* SS_CHK_AUTH = 'X' "
* SS_INVOLV_MA = ' ' "
* SS_ABLH = '*' "
IMPORTING
E_NGPA = "Business Partners
E_NPER = "Employee
EXCEPTIONS
NOT_FOUND = 1 NOT_VALID = 2 NOT_AUTH = 3
IMPORTING Parameters details for ISHMED_CHECK_NGPA
SS_CHECK -
Data type:Default: 'O'
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_ORGFA -
Data type: N1ANF-ANFOEOptional: Yes
Call by Reference: No ( called with pass by value option)
SS_FPV -
Data type: ISH_ON_OFFDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_PARM_OECHK -
Data type: ISH_ON_OFFDefault: OFF
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_EINRI - Institution
Data type: TN01-EINRIDefault: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_GDATUM - Validity Date
Data type: NORG-BEGDTDefault: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_ORGID -
Data type: NORG-ORGIDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_PERNR -
Data type: NPER-PERNROptional: No
Call by Reference: No ( called with pass by value option)
SS_VORGANG - Task
Data type: N1AUFGA-VORGANGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_CHK_AUTH -
Data type: RNT40-MARKDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_INVOLV_MA -
Data type: RNT40-MARKDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_ABLH -
Data type: RNT40-MARKDefault: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISHMED_CHECK_NGPA
E_NGPA - Business Partners
Data type: NGPAOptional: No
Call by Reference: No ( called with pass by value option)
E_NPER - Employee
Data type: NPEROptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NOT_FOUND - Employee not found
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NOT_VALID -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NOT_AUTH -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISHMED_CHECK_NGPA 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_ngpa | TYPE NGPA, " | |||
lv_ss_check | TYPE NGPA, " 'O' | |||
lv_not_found | TYPE NGPA, " | |||
lv_ss_orgfa | TYPE N1ANF-ANFOE, " | |||
lv_ss_fpv | TYPE ISH_ON_OFF, " SPACE | |||
lv_ss_parm_oechk | TYPE ISH_ON_OFF, " OFF | |||
lv_e_nper | TYPE NPER, " | |||
lv_ss_einri | TYPE TN01-EINRI, " '*' | |||
lv_not_valid | TYPE TN01, " | |||
lv_not_auth | TYPE TN01, " | |||
lv_ss_gdatum | TYPE NORG-BEGDT, " SY-DATUM | |||
lv_ss_orgid | TYPE NORG-ORGID, " SPACE | |||
lv_ss_pernr | TYPE NPER-PERNR, " | |||
lv_ss_vorgang | TYPE N1AUFGA-VORGANG, " SPACE | |||
lv_ss_chk_auth | TYPE RNT40-MARK, " 'X' | |||
lv_ss_involv_ma | TYPE RNT40-MARK, " SPACE | |||
lv_ss_ablh | TYPE RNT40-MARK. " '*' |
  CALL FUNCTION 'ISHMED_CHECK_NGPA' " |
EXPORTING | ||
SS_CHECK | = lv_ss_check | |
SS_ORGFA | = lv_ss_orgfa | |
SS_FPV | = lv_ss_fpv | |
SS_PARM_OECHK | = lv_ss_parm_oechk | |
SS_EINRI | = lv_ss_einri | |
SS_GDATUM | = lv_ss_gdatum | |
SS_ORGID | = lv_ss_orgid | |
SS_PERNR | = lv_ss_pernr | |
SS_VORGANG | = lv_ss_vorgang | |
SS_CHK_AUTH | = lv_ss_chk_auth | |
SS_INVOLV_MA | = lv_ss_involv_ma | |
SS_ABLH | = lv_ss_ablh | |
IMPORTING | ||
E_NGPA | = lv_e_ngpa | |
E_NPER | = lv_e_nper | |
EXCEPTIONS | ||
NOT_FOUND = 1 | ||
NOT_VALID = 2 | ||
NOT_AUTH = 3 | ||
. " ISHMED_CHECK_NGPA |
ABAP code using 7.40 inline data declarations to call FM ISHMED_CHECK_NGPA
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.DATA(ld_ss_check) | = 'O'. | |||
"SELECT single ANFOE FROM N1ANF INTO @DATA(ld_ss_orgfa). | ||||
DATA(ld_ss_fpv) | = ' '. | |||
DATA(ld_ss_parm_oechk) | = OFF. | |||
"SELECT single EINRI FROM TN01 INTO @DATA(ld_ss_einri). | ||||
DATA(ld_ss_einri) | = '*'. | |||
"SELECT single BEGDT FROM NORG INTO @DATA(ld_ss_gdatum). | ||||
DATA(ld_ss_gdatum) | = SY-DATUM. | |||
"SELECT single ORGID FROM NORG INTO @DATA(ld_ss_orgid). | ||||
DATA(ld_ss_orgid) | = ' '. | |||
"SELECT single PERNR FROM NPER INTO @DATA(ld_ss_pernr). | ||||
"SELECT single VORGANG FROM N1AUFGA INTO @DATA(ld_ss_vorgang). | ||||
DATA(ld_ss_vorgang) | = ' '. | |||
"SELECT single MARK FROM RNT40 INTO @DATA(ld_ss_chk_auth). | ||||
DATA(ld_ss_chk_auth) | = 'X'. | |||
"SELECT single MARK FROM RNT40 INTO @DATA(ld_ss_involv_ma). | ||||
DATA(ld_ss_involv_ma) | = ' '. | |||
"SELECT single MARK FROM RNT40 INTO @DATA(ld_ss_ablh). | ||||
DATA(ld_ss_ablh) | = '*'. | |||
Search for further information about these or an SAP related objects