J_1B_NF_OBJECT_READ 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 J_1B_NF_OBJECT_READ into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
J1BB
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'J_1B_NF_OBJECT_READ' "Nota Fiscal System - Read object
EXPORTING
obj_number = " j_1binterf-nfobjn Nota Fiscal object number
IMPORTING
obj_header = " j_1bnfdoc Nota Fiscal object header
TABLES
obj_partner = " j_1bnfnad Nota Fiscal object partner
obj_item = " j_1bnflin Nota Fiscal object item
obj_item_tax = " j_1bnfstx Nota Fiscal object item tax
obj_header_msg = " j_1bnfftx Nota Fiscal object header message
obj_refer_msg = " j_1bnfref Nota Fiscal message references
* obj_ot_partner = " j_1bnfcpd Nota Fiscal one-time account data
* obj_import_di = " j_1bnfimport_di Nota Fiscal Data for Import Documents
* obj_import_adi = " j_1bnfimport_adi Nota Fiscal Data for Additions to Import Documents
* obj_cte_res = " j_1bcte_d_res Information about resource
* obj_cte_docref = " j_1bcte_d_docref Reference to the NF-e being transported
* obj_trans_volumes = " j_1bnftransvol Transported Volumes
* obj_trailer_info = " j_1bnftrailer Trailer Information
* obj_trade_notes = " j_1bnftradenotes Trade Notes
* obj_add_info = " j_1bnfadd_info Free Usage Fields for Additional Information
* obj_ref_proc = " j_1bnfrefproc Additional Information: Referenced Processes
* obj_sugar_suppl = " j_1bnfsugarsuppl Daily Supply of Sugarcane
* obj_sugar_deduc = " j_1bnfsugardeduc Taxes and Contributions on Sugarcane
* obj_vehicle = " j_1bnfvehicle Nota Fiscal: Vehicle Details
* obj_pharmaceut = " j_1bnfpharmaceut Nota Fiscal: Pharmaceutical
* obj_fuel = " j_1bnffuel Nota Fiscal: Fuel Details
EXCEPTIONS
OBJECT_NOT_FOUND = 1 " Object not found in the work area
. " J_1B_NF_OBJECT_READ
The ABAP code below is a full code listing to execute function module J_1B_NF_OBJECT_READ 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_obj_header | TYPE J_1BNFDOC , |
| it_obj_partner | TYPE STANDARD TABLE OF J_1BNFNAD,"TABLES PARAM |
| wa_obj_partner | LIKE LINE OF it_obj_partner , |
| it_obj_item | TYPE STANDARD TABLE OF J_1BNFLIN,"TABLES PARAM |
| wa_obj_item | LIKE LINE OF it_obj_item , |
| it_obj_item_tax | TYPE STANDARD TABLE OF J_1BNFSTX,"TABLES PARAM |
| wa_obj_item_tax | LIKE LINE OF it_obj_item_tax , |
| it_obj_header_msg | TYPE STANDARD TABLE OF J_1BNFFTX,"TABLES PARAM |
| wa_obj_header_msg | LIKE LINE OF it_obj_header_msg , |
| it_obj_refer_msg | TYPE STANDARD TABLE OF J_1BNFREF,"TABLES PARAM |
| wa_obj_refer_msg | LIKE LINE OF it_obj_refer_msg , |
| it_obj_ot_partner | TYPE STANDARD TABLE OF J_1BNFCPD,"TABLES PARAM |
| wa_obj_ot_partner | LIKE LINE OF it_obj_ot_partner , |
| it_obj_import_di | TYPE STANDARD TABLE OF J_1BNFIMPORT_DI,"TABLES PARAM |
| wa_obj_import_di | LIKE LINE OF it_obj_import_di , |
| it_obj_import_adi | TYPE STANDARD TABLE OF J_1BNFIMPORT_ADI,"TABLES PARAM |
| wa_obj_import_adi | LIKE LINE OF it_obj_import_adi , |
| it_obj_cte_res | TYPE STANDARD TABLE OF J_1BCTE_D_RES,"TABLES PARAM |
| wa_obj_cte_res | LIKE LINE OF it_obj_cte_res , |
| it_obj_cte_docref | TYPE STANDARD TABLE OF J_1BCTE_D_DOCREF,"TABLES PARAM |
| wa_obj_cte_docref | LIKE LINE OF it_obj_cte_docref , |
| it_obj_trans_volumes | TYPE STANDARD TABLE OF J_1BNFTRANSVOL,"TABLES PARAM |
| wa_obj_trans_volumes | LIKE LINE OF it_obj_trans_volumes , |
| it_obj_trailer_info | TYPE STANDARD TABLE OF J_1BNFTRAILER,"TABLES PARAM |
| wa_obj_trailer_info | LIKE LINE OF it_obj_trailer_info , |
| it_obj_trade_notes | TYPE STANDARD TABLE OF J_1BNFTRADENOTES,"TABLES PARAM |
| wa_obj_trade_notes | LIKE LINE OF it_obj_trade_notes , |
| it_obj_add_info | TYPE STANDARD TABLE OF J_1BNFADD_INFO,"TABLES PARAM |
| wa_obj_add_info | LIKE LINE OF it_obj_add_info , |
| it_obj_ref_proc | TYPE STANDARD TABLE OF J_1BNFREFPROC,"TABLES PARAM |
| wa_obj_ref_proc | LIKE LINE OF it_obj_ref_proc , |
| it_obj_sugar_suppl | TYPE STANDARD TABLE OF J_1BNFSUGARSUPPL,"TABLES PARAM |
| wa_obj_sugar_suppl | LIKE LINE OF it_obj_sugar_suppl , |
| it_obj_sugar_deduc | TYPE STANDARD TABLE OF J_1BNFSUGARDEDUC,"TABLES PARAM |
| wa_obj_sugar_deduc | LIKE LINE OF it_obj_sugar_deduc , |
| it_obj_vehicle | TYPE STANDARD TABLE OF J_1BNFVEHICLE,"TABLES PARAM |
| wa_obj_vehicle | LIKE LINE OF it_obj_vehicle , |
| it_obj_pharmaceut | TYPE STANDARD TABLE OF J_1BNFPHARMACEUT,"TABLES PARAM |
| wa_obj_pharmaceut | LIKE LINE OF it_obj_pharmaceut , |
| it_obj_fuel | TYPE STANDARD TABLE OF J_1BNFFUEL,"TABLES PARAM |
| wa_obj_fuel | LIKE LINE OF it_obj_fuel . |
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_obj_header | TYPE J_1BNFDOC , |
| ld_obj_number | TYPE J_1BINTERF-NFOBJN , |
| it_obj_partner | TYPE STANDARD TABLE OF J_1BNFNAD , |
| wa_obj_partner | LIKE LINE OF it_obj_partner, |
| it_obj_item | TYPE STANDARD TABLE OF J_1BNFLIN , |
| wa_obj_item | LIKE LINE OF it_obj_item, |
| it_obj_item_tax | TYPE STANDARD TABLE OF J_1BNFSTX , |
| wa_obj_item_tax | LIKE LINE OF it_obj_item_tax, |
| it_obj_header_msg | TYPE STANDARD TABLE OF J_1BNFFTX , |
| wa_obj_header_msg | LIKE LINE OF it_obj_header_msg, |
| it_obj_refer_msg | TYPE STANDARD TABLE OF J_1BNFREF , |
| wa_obj_refer_msg | LIKE LINE OF it_obj_refer_msg, |
| it_obj_ot_partner | TYPE STANDARD TABLE OF J_1BNFCPD , |
| wa_obj_ot_partner | LIKE LINE OF it_obj_ot_partner, |
| it_obj_import_di | TYPE STANDARD TABLE OF J_1BNFIMPORT_DI , |
| wa_obj_import_di | LIKE LINE OF it_obj_import_di, |
| it_obj_import_adi | TYPE STANDARD TABLE OF J_1BNFIMPORT_ADI , |
| wa_obj_import_adi | LIKE LINE OF it_obj_import_adi, |
| it_obj_cte_res | TYPE STANDARD TABLE OF J_1BCTE_D_RES , |
| wa_obj_cte_res | LIKE LINE OF it_obj_cte_res, |
| it_obj_cte_docref | TYPE STANDARD TABLE OF J_1BCTE_D_DOCREF , |
| wa_obj_cte_docref | LIKE LINE OF it_obj_cte_docref, |
| it_obj_trans_volumes | TYPE STANDARD TABLE OF J_1BNFTRANSVOL , |
| wa_obj_trans_volumes | LIKE LINE OF it_obj_trans_volumes, |
| it_obj_trailer_info | TYPE STANDARD TABLE OF J_1BNFTRAILER , |
| wa_obj_trailer_info | LIKE LINE OF it_obj_trailer_info, |
| it_obj_trade_notes | TYPE STANDARD TABLE OF J_1BNFTRADENOTES , |
| wa_obj_trade_notes | LIKE LINE OF it_obj_trade_notes, |
| it_obj_add_info | TYPE STANDARD TABLE OF J_1BNFADD_INFO , |
| wa_obj_add_info | LIKE LINE OF it_obj_add_info, |
| it_obj_ref_proc | TYPE STANDARD TABLE OF J_1BNFREFPROC , |
| wa_obj_ref_proc | LIKE LINE OF it_obj_ref_proc, |
| it_obj_sugar_suppl | TYPE STANDARD TABLE OF J_1BNFSUGARSUPPL , |
| wa_obj_sugar_suppl | LIKE LINE OF it_obj_sugar_suppl, |
| it_obj_sugar_deduc | TYPE STANDARD TABLE OF J_1BNFSUGARDEDUC , |
| wa_obj_sugar_deduc | LIKE LINE OF it_obj_sugar_deduc, |
| it_obj_vehicle | TYPE STANDARD TABLE OF J_1BNFVEHICLE , |
| wa_obj_vehicle | LIKE LINE OF it_obj_vehicle, |
| it_obj_pharmaceut | TYPE STANDARD TABLE OF J_1BNFPHARMACEUT , |
| wa_obj_pharmaceut | LIKE LINE OF it_obj_pharmaceut, |
| it_obj_fuel | TYPE STANDARD TABLE OF J_1BNFFUEL , |
| wa_obj_fuel | LIKE LINE OF it_obj_fuel. |
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 J_1B_NF_OBJECT_READ or its description.
J_1B_NF_OBJECT_READ - Nota Fiscal System - Read object J_1B_NF_OBJECT_J1BB2_FOR_ERROR - Nota Fiscal System - Prepare J1BB2 for error processing J_1B_NF_OBJECT_EDIT_NEW - Nota Fiscal System - Edit object (with dialog) J_1B_NF_OBJECT_EDIT - Nota Fiscal System - Edit object (with dialog) J_1B_NF_OBJECT_DROP - Nota Fiscal System - Drop object J_1B_NF_OBJECT_DISPLAY - Nota Fiscal System - Display object (with dialog)