BAPI_INSPOPER_GETCHAR is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name BAPI_INSPOPER_GETCHAR into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
2045
Released Date:
22.09.1997
Processing type: Remote-Enabled
CALL FUNCTION 'BAPI_INSPOPER_GETCHAR' "Select Inspection Characteristics
EXPORTING
insplot = " bapi2045l3-insplot Inspection Lot Number
inspoper = " bapi2045l3-inspoper Inspection Lot Operation Number
* char_filter_no = '1 ' " bapi2045s1-filter Filter Number for Characteristics To Be Processed
* char_filter_tcode = 'QE11' " bapi2045s1-filter_tcode Transaction Code
* res_org = SPACE " bapi2045d3-res_org Data Origin
* read_chars_with_classes = SPACE " bapi2045s1-ind_x_or_blank X and Blank
* read_chars_without_recording = SPACE " bapi2045s1-ind_x_or_blank X and Blank
IMPORTING
return = " bapireturn1 Return Value
return2 = " bapiret2 Return Parameter as BAPIRET2
TABLES
inspchar_list = " bapi2045l3 List of Inspection Lot Characteristics
. " BAPI_INSPOPER_GETCHAR
The ABAP code below is a full code listing to execute function module BAPI_INSPOPER_GETCHAR including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_return | TYPE BAPIRETURN1 , |
| ld_return2 | TYPE BAPIRET2 , |
| it_inspchar_list | TYPE STANDARD TABLE OF BAPI2045L3,"TABLES PARAM |
| wa_inspchar_list | LIKE LINE OF it_inspchar_list . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_return | TYPE BAPIRETURN1 , |
| ld_insplot | TYPE BAPI2045L3-INSPLOT , |
| it_inspchar_list | TYPE STANDARD TABLE OF BAPI2045L3 , |
| wa_inspchar_list | LIKE LINE OF it_inspchar_list, |
| ld_return2 | TYPE BAPIRET2 , |
| ld_inspoper | TYPE BAPI2045L3-INSPOPER , |
| ld_char_filter_no | TYPE BAPI2045S1-FILTER , |
| ld_char_filter_tcode | TYPE BAPI2045S1-FILTER_TCODE , |
| ld_res_org | TYPE BAPI2045D3-RES_ORG , |
| ld_read_chars_with_classes | TYPE BAPI2045S1-IND_X_OR_BLANK , |
| ld_read_chars_without_recording | TYPE BAPI2045S1-IND_X_OR_BLANK . |
This method provides inspection characteristics for an inspection lot
operation. The scope of the delivered characteristics can be limited by
...See here for full SAP fm documentation
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name BAPI_INSPOPER_GETCHAR or its description.
BAPI_INSPOPER_GETCHAR - Select Inspection Characteristics BAPI_INSPOPER_ACKNOWLEDGE - Confirm Receipt of Handheld Worklist BAPI_INSPLOT_STATINTERFACE - QM-STI Interface BAPI_INSPLOT_SETUSAGEDECISION - Automatic Usage Decision BAPI_INSPLOT_GETSTATUS - Get Current Status Information for Inspection Lot BAPI_INSPLOT_GETOPERATIONS - Select Inspection Operations for Inspection Lots