SAP OIJ_NOMST_STATUS_LTEXT_GET Function Module for Get all long text relevant status codes









OIJ_NOMST_STATUS_LTEXT_GET is a standard oij nomst status ltext get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Get all long text relevant status codes 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 oij nomst status ltext get FM, simply by entering the name OIJ_NOMST_STATUS_LTEXT_GET into the relevant SAP transaction such as SE37 or SE38.

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



Function OIJ_NOMST_STATUS_LTEXT_GET 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 'OIJ_NOMST_STATUS_LTEXT_GET'"Get all long text relevant status codes
EXPORTING
IV_NOMTYP = "Nomination type
* IV_ITEM = ' ' "boolean variable (X=true, -=false, space=unknown)

TABLES
ET_STATUS = "Nomination status codes
ET_STATUS_DESCR = "Nomination status code texts
.



IMPORTING Parameters details for OIJ_NOMST_STATUS_LTEXT_GET

IV_NOMTYP - Nomination type

Data type: OIJNOMH-NOMTYP
Optional: No
Call by Reference: Yes

IV_ITEM - boolean variable (X=true, -=false, space=unknown)

Data type: BOOLEAN
Default: ' '
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for OIJ_NOMST_STATUS_LTEXT_GET

ET_STATUS - Nomination status codes

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

ET_STATUS_DESCR - Nomination status code texts

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

Copy and paste ABAP code example for OIJ_NOMST_STATUS_LTEXT_GET 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:
lt_et_status  TYPE STANDARD TABLE OF TOIJNOM_ST01, "   
lv_iv_nomtyp  TYPE OIJNOMH-NOMTYP, "   
lv_iv_item  TYPE BOOLEAN, "   ' '
lt_et_status_descr  TYPE STANDARD TABLE OF TOIJNOM_ST01T. "   

  CALL FUNCTION 'OIJ_NOMST_STATUS_LTEXT_GET'  "Get all long text relevant status codes
    EXPORTING
         IV_NOMTYP = lv_iv_nomtyp
         IV_ITEM = lv_iv_item
    TABLES
         ET_STATUS = lt_et_status
         ET_STATUS_DESCR = lt_et_status_descr
. " OIJ_NOMST_STATUS_LTEXT_GET




ABAP code using 7.40 inline data declarations to call FM OIJ_NOMST_STATUS_LTEXT_GET

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 NOMTYP FROM OIJNOMH INTO @DATA(ld_iv_nomtyp).
 
DATA(ld_iv_item) = ' '.
 
 


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!