SAP ISH_GRAPHIC_ORGID_SELECT Function Module for
ISH_GRAPHIC_ORGID_SELECT is a standard ish graphic orgid select 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 graphic orgid select FM, simply by entering the name ISH_GRAPHIC_ORGID_SELECT into the relevant SAP transaction such as SE37 or SE38.
Function Group: NGR1
Program Name: SAPLNGR1
Main Program: SAPLNGR1
Appliation area: N
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISH_GRAPHIC_ORGID_SELECT 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_GRAPHIC_ORGID_SELECT'".
EXPORTING
* AMBES = '*' "Indicator outpatient visit allowed
* EINRI = ' ' "Institution
* ERBKZ = '*' "Indicator dept. assignment allowed
* FAZUW = '*' "Indicator dept. assignment allowed
* FREIG = '*' "Release flag
* GRAPH_TITLE = ' ' "Tile of graphic to be displayed
* INTEN = '*' "Intensive care ind. of an org. unit
* INTKZ = '*' "Supports multi-specialty bed asgmt
* LGTXT = '*' "Indicator Whether Long Text Exists
* LOEKZ = '*' "Deletion indicator
* NO_BAUID = ' ' "Indicator display building units
* ANFKZ = '*' "Indicator dept. assignment allowed
* ORGDS = '*' "Data protection indicator of an org. unit
* PFZUW = '*' "Indicator nursing asignment allowed
* SPERR = '*' "Blocking Indicator
* START_BAUID = ' ' "Building unit for hierarchy access
* VCODE = 'UPD' "
* ZIMKZ = ' ' "
* START_ORGFA = ' ' "Dept. OU for hierarchy access
* START_ORGPF = ' ' "Nursing OU for hierarchy access
* DISP_NOT_REL = ' ' "
* ARCHV = '*' "Archived data indicator
* ARCOE = '*' "
* AUFKZ = '*' "Admission department indicator
* BELEG = '*' "OU May Assign Patients to Beds on OU of Other Dept
* BETKZ = ' ' "
* DATE = SY-DATUM "Validity date of hierarchy
* DISKZ = '*' "
IMPORTING
NOTHING_SELECTED = "Nothing was selected
PLACED_ABOVE_ORGFA = "
PLACED_ABOVE_ORGPF = "
PLACED_ABOVE_ROOM = "
SELECTED_BAUID = "Selected building unit
SELECTED_ORGID = "Selected org. unit
EXCEPTIONS
BAUID_NOT_IN_NBAU = 1 EINRI_NOT_IN_TN01 = 2 NO_HIERARCHY = 3 ORGID_NOT_IN_NORG = 4
IMPORTING Parameters details for ISH_GRAPHIC_ORGID_SELECT
AMBES - Indicator outpatient visit allowed
Data type: NORG-AMBESDefault: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EINRI - Institution
Data type: TN01-EINRIDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
ERBKZ - Indicator dept. assignment allowed
Data type: NORG-N1ERBRKZDefault: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)
FAZUW - Indicator dept. assignment allowed
Data type: NORG-FAZUWDefault: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)
FREIG - Release flag
Data type: NORG-FREIGDefault: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)
GRAPH_TITLE - Tile of graphic to be displayed
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
INTEN - Intensive care ind. of an org. unit
Data type: NORG-INTENDefault: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)
INTKZ - Supports multi-specialty bed asgmt
Data type: NORG-INTKZDefault: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)
LGTXT - Indicator Whether Long Text Exists
Data type: NORG-LGTXTDefault: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)
LOEKZ - Deletion indicator
Data type: NORG-LOEKZDefault: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)
NO_BAUID - Indicator display building units
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
ANFKZ - Indicator dept. assignment allowed
Data type: NORG-N1ANFKZDefault: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)
ORGDS - Data protection indicator of an org. unit
Data type: NORG-ORGDSDefault: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)
PFZUW - Indicator nursing asignment allowed
Data type: NORG-PFZUWDefault: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)
SPERR - Blocking Indicator
Data type: NORG-SPERRDefault: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)
START_BAUID - Building unit for hierarchy access
Data type: NBAU-BAUIDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
VCODE -
Data type:Default: 'UPD'
Optional: Yes
Call by Reference: No ( called with pass by value option)
ZIMKZ -
Data type: TN11B-ZIMKZDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
START_ORGFA - Dept. OU for hierarchy access
Data type: NORG-ORGIDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
START_ORGPF - Nursing OU for hierarchy access
Data type: NORG-ORGIDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
DISP_NOT_REL -
Data type: ISH_ON_OFFDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
ARCHV - Archived data indicator
Data type: NORG-ARCHVDefault: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)
ARCOE -
Data type: NORG-ARCOEDefault: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)
AUFKZ - Admission department indicator
Data type: NORG-AUFKZDefault: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)
BELEG - OU May Assign Patients to Beds on OU of Other Dept
Data type: NORG-BELEGDefault: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)
BETKZ -
Data type: TN11B-BETKZDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
DATE - Validity date of hierarchy
Data type: TN10H-BEGDTDefault: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)
DISKZ -
Data type: NORG-N1DIKZDefault: '*'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISH_GRAPHIC_ORGID_SELECT
NOTHING_SELECTED - Nothing was selected
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
PLACED_ABOVE_ORGFA -
Data type: NORG-ORGIDOptional: No
Call by Reference: No ( called with pass by value option)
PLACED_ABOVE_ORGPF -
Data type: NORG-ORGIDOptional: No
Call by Reference: No ( called with pass by value option)
PLACED_ABOVE_ROOM -
Data type: NBAU-BAUIDOptional: No
Call by Reference: No ( called with pass by value option)
SELECTED_BAUID - Selected building unit
Data type: NBAU-BAUIDOptional: No
Call by Reference: No ( called with pass by value option)
SELECTED_ORGID - Selected org. unit
Data type: NORG-ORGIDOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
BAUID_NOT_IN_NBAU - Wrong building unit
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
EINRI_NOT_IN_TN01 - Institution not in TN01
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_HIERARCHY - Could not build hierarchy
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ORGID_NOT_IN_NORG - Wrong org. unit
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISH_GRAPHIC_ORGID_SELECT 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_ambes | TYPE NORG-AMBES, " '*' | |||
| lv_nothing_selected | TYPE NORG, " | |||
| lv_bauid_not_in_nbau | TYPE NORG, " | |||
| lv_einri | TYPE TN01-EINRI, " SPACE | |||
| lv_erbkz | TYPE NORG-N1ERBRKZ, " '*' | |||
| lv_fazuw | TYPE NORG-FAZUW, " '*' | |||
| lv_freig | TYPE NORG-FREIG, " '*' | |||
| lv_graph_title | TYPE NORG, " SPACE | |||
| lv_inten | TYPE NORG-INTEN, " '*' | |||
| lv_intkz | TYPE NORG-INTKZ, " '*' | |||
| lv_lgtxt | TYPE NORG-LGTXT, " '*' | |||
| lv_loekz | TYPE NORG-LOEKZ, " '*' | |||
| lv_no_bauid | TYPE NORG, " SPACE | |||
| lv_anfkz | TYPE NORG-N1ANFKZ, " '*' | |||
| lv_einri_not_in_tn01 | TYPE NORG, " | |||
| lv_placed_above_orgfa | TYPE NORG-ORGID, " | |||
| lv_orgds | TYPE NORG-ORGDS, " '*' | |||
| lv_pfzuw | TYPE NORG-PFZUW, " '*' | |||
| lv_sperr | TYPE NORG-SPERR, " '*' | |||
| lv_start_bauid | TYPE NBAU-BAUID, " SPACE | |||
| lv_vcode | TYPE NBAU, " 'UPD' | |||
| lv_zimkz | TYPE TN11B-ZIMKZ, " SPACE | |||
| lv_start_orgfa | TYPE NORG-ORGID, " SPACE | |||
| lv_start_orgpf | TYPE NORG-ORGID, " SPACE | |||
| lv_disp_not_rel | TYPE ISH_ON_OFF, " SPACE | |||
| lv_archv | TYPE NORG-ARCHV, " '*' | |||
| lv_no_hierarchy | TYPE NORG, " | |||
| lv_placed_above_orgpf | TYPE NORG-ORGID, " | |||
| lv_arcoe | TYPE NORG-ARCOE, " '*' | |||
| lv_orgid_not_in_norg | TYPE NORG, " | |||
| lv_placed_above_room | TYPE NBAU-BAUID, " | |||
| lv_aufkz | TYPE NORG-AUFKZ, " '*' | |||
| lv_selected_bauid | TYPE NBAU-BAUID, " | |||
| lv_beleg | TYPE NORG-BELEG, " '*' | |||
| lv_selected_orgid | TYPE NORG-ORGID, " | |||
| lv_betkz | TYPE TN11B-BETKZ, " SPACE | |||
| lv_date | TYPE TN10H-BEGDT, " SY-DATUM | |||
| lv_diskz | TYPE NORG-N1DIKZ. " '*' |
|   CALL FUNCTION 'ISH_GRAPHIC_ORGID_SELECT' " |
| EXPORTING | ||
| AMBES | = lv_ambes | |
| EINRI | = lv_einri | |
| ERBKZ | = lv_erbkz | |
| FAZUW | = lv_fazuw | |
| FREIG | = lv_freig | |
| GRAPH_TITLE | = lv_graph_title | |
| INTEN | = lv_inten | |
| INTKZ | = lv_intkz | |
| LGTXT | = lv_lgtxt | |
| LOEKZ | = lv_loekz | |
| NO_BAUID | = lv_no_bauid | |
| ANFKZ | = lv_anfkz | |
| ORGDS | = lv_orgds | |
| PFZUW | = lv_pfzuw | |
| SPERR | = lv_sperr | |
| START_BAUID | = lv_start_bauid | |
| VCODE | = lv_vcode | |
| ZIMKZ | = lv_zimkz | |
| START_ORGFA | = lv_start_orgfa | |
| START_ORGPF | = lv_start_orgpf | |
| DISP_NOT_REL | = lv_disp_not_rel | |
| ARCHV | = lv_archv | |
| ARCOE | = lv_arcoe | |
| AUFKZ | = lv_aufkz | |
| BELEG | = lv_beleg | |
| BETKZ | = lv_betkz | |
| DATE | = lv_date | |
| DISKZ | = lv_diskz | |
| IMPORTING | ||
| NOTHING_SELECTED | = lv_nothing_selected | |
| PLACED_ABOVE_ORGFA | = lv_placed_above_orgfa | |
| PLACED_ABOVE_ORGPF | = lv_placed_above_orgpf | |
| PLACED_ABOVE_ROOM | = lv_placed_above_room | |
| SELECTED_BAUID | = lv_selected_bauid | |
| SELECTED_ORGID | = lv_selected_orgid | |
| EXCEPTIONS | ||
| BAUID_NOT_IN_NBAU = 1 | ||
| EINRI_NOT_IN_TN01 = 2 | ||
| NO_HIERARCHY = 3 | ||
| ORGID_NOT_IN_NORG = 4 | ||
| . " ISH_GRAPHIC_ORGID_SELECT | ||
ABAP code using 7.40 inline data declarations to call FM ISH_GRAPHIC_ORGID_SELECT
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 AMBES FROM NORG INTO @DATA(ld_ambes). | ||||
| DATA(ld_ambes) | = '*'. | |||
| "SELECT single EINRI FROM TN01 INTO @DATA(ld_einri). | ||||
| DATA(ld_einri) | = ' '. | |||
| "SELECT single N1ERBRKZ FROM NORG INTO @DATA(ld_erbkz). | ||||
| DATA(ld_erbkz) | = '*'. | |||
| "SELECT single FAZUW FROM NORG INTO @DATA(ld_fazuw). | ||||
| DATA(ld_fazuw) | = '*'. | |||
| "SELECT single FREIG FROM NORG INTO @DATA(ld_freig). | ||||
| DATA(ld_freig) | = '*'. | |||
| DATA(ld_graph_title) | = ' '. | |||
| "SELECT single INTEN FROM NORG INTO @DATA(ld_inten). | ||||
| DATA(ld_inten) | = '*'. | |||
| "SELECT single INTKZ FROM NORG INTO @DATA(ld_intkz). | ||||
| DATA(ld_intkz) | = '*'. | |||
| "SELECT single LGTXT FROM NORG INTO @DATA(ld_lgtxt). | ||||
| DATA(ld_lgtxt) | = '*'. | |||
| "SELECT single LOEKZ FROM NORG INTO @DATA(ld_loekz). | ||||
| DATA(ld_loekz) | = '*'. | |||
| DATA(ld_no_bauid) | = ' '. | |||
| "SELECT single N1ANFKZ FROM NORG INTO @DATA(ld_anfkz). | ||||
| DATA(ld_anfkz) | = '*'. | |||
| "SELECT single ORGID FROM NORG INTO @DATA(ld_placed_above_orgfa). | ||||
| "SELECT single ORGDS FROM NORG INTO @DATA(ld_orgds). | ||||
| DATA(ld_orgds) | = '*'. | |||
| "SELECT single PFZUW FROM NORG INTO @DATA(ld_pfzuw). | ||||
| DATA(ld_pfzuw) | = '*'. | |||
| "SELECT single SPERR FROM NORG INTO @DATA(ld_sperr). | ||||
| DATA(ld_sperr) | = '*'. | |||
| "SELECT single BAUID FROM NBAU INTO @DATA(ld_start_bauid). | ||||
| DATA(ld_start_bauid) | = ' '. | |||
| DATA(ld_vcode) | = 'UPD'. | |||
| "SELECT single ZIMKZ FROM TN11B INTO @DATA(ld_zimkz). | ||||
| DATA(ld_zimkz) | = ' '. | |||
| "SELECT single ORGID FROM NORG INTO @DATA(ld_start_orgfa). | ||||
| DATA(ld_start_orgfa) | = ' '. | |||
| "SELECT single ORGID FROM NORG INTO @DATA(ld_start_orgpf). | ||||
| DATA(ld_start_orgpf) | = ' '. | |||
| DATA(ld_disp_not_rel) | = ' '. | |||
| "SELECT single ARCHV FROM NORG INTO @DATA(ld_archv). | ||||
| DATA(ld_archv) | = '*'. | |||
| "SELECT single ORGID FROM NORG INTO @DATA(ld_placed_above_orgpf). | ||||
| "SELECT single ARCOE FROM NORG INTO @DATA(ld_arcoe). | ||||
| DATA(ld_arcoe) | = '*'. | |||
| "SELECT single BAUID FROM NBAU INTO @DATA(ld_placed_above_room). | ||||
| "SELECT single AUFKZ FROM NORG INTO @DATA(ld_aufkz). | ||||
| DATA(ld_aufkz) | = '*'. | |||
| "SELECT single BAUID FROM NBAU INTO @DATA(ld_selected_bauid). | ||||
| "SELECT single BELEG FROM NORG INTO @DATA(ld_beleg). | ||||
| DATA(ld_beleg) | = '*'. | |||
| "SELECT single ORGID FROM NORG INTO @DATA(ld_selected_orgid). | ||||
| "SELECT single BETKZ FROM TN11B INTO @DATA(ld_betkz). | ||||
| DATA(ld_betkz) | = ' '. | |||
| "SELECT single BEGDT FROM TN10H INTO @DATA(ld_date). | ||||
| DATA(ld_date) | = SY-DATUM. | |||
| "SELECT single N1DIKZ FROM NORG INTO @DATA(ld_diskz). | ||||
| DATA(ld_diskz) | = '*'. | |||
Search for further information about these or an SAP related objects