SAP Reports / Programs

SAPFS006 SAP ABAP dialog Program - documentation and ABAP source code







SAPFS006 is a standard Module pool for a dialog screen ABAP Program available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter SAPFS006 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT SAPFS006. "Basic submit
SUBMIT SAPFS006 AND RETURN. "Return to original report after report execution complete
SUBMIT SAPFS006 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Text Symbol: 001 = Links to document &1 &2 &3
Text Symbol: 002 = Store original document
Text Symbol: 003 = Would you like to store the original
Text Symbol: 004 = document displayed for posting &1 &2 ?
Text Symbol: 005 = SAP document &1 &2 &3
Text Symbol: 006 = SAP transaction &1
Text Symbol: 007 = Unknown bar code type


INCLUDES used within this REPORT SAPFS006

INCLUDE FIN_UI_DECO_INCLUDE.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

ALINK_BARCODE_POPUP CALL FUNCTION 'ALINK_BARCODE_POPUP' "Note1837621 EXPORTING "NOte1837621 i_document_type = dokart "Note1837621 object_type = sapobject "Note1837621 IMPORTING "Note1837621 barcode_id = barcode_id "Note1837621 document_type = dokart "Note1837621 EXCEPTIONS "Note1837621 no_customizing = 2 "Note1837621 user_exit = 12 "Note1837621 no_barcode = 14. "Note1837621

ARCHIV_CUSTOMIZE_BARCODE call function 'ARCHIV_CUSTOMIZE_BARCODE' exporting document = fs006-docid object = sapobject no_check = ' ' importing return = return x_no_cancel = l_x_no_cancel "Note 353516 x_duplicate = _duplicate x_check = l_x_check "Note 853344 barcodetype = l_barcode_ty. "Note 853344

WF_COMMIT call function 'WF_COMMIT' importing called_by_workflow = o01-xwfla tables assignments = wfltab exceptions assignment_error = 01.

ARCHIV_APPEND_DIALOG_META call function 'ARCHIV_APPEND_DIALOG_META' exporting ar_object = dokart object_id = objectid sap_object = sapobject auth_flag = 'X' importing nothing_done = nothing_done exceptions others = 1.

POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' exporting titel = text-002 textline1 = text-003 textline2 = char35 importing answer = antwort.

FI_REFERENCE_CREATE call function 'FI_REFERENCE_CREATE' exporting i_bukrs = bkpf-bukrs i_gjahr = bkpf-gjahr i_belnr = bkpf-belnr importing e_awtyp = bkpf-awtyp e_awkey = bkpf-awkey e_awsys = bkpf-awsys.

FI_REFERENCE_CREATE call function 'FI_REFERENCE_CREATE' exporting i_bukrs = bkpf-bukrs i_gjahr = bkpf-gjahr i_belnr = bkpf-belnr importing e_awtyp = bkpf-awtyp e_awkey = bkpf-awkey e_awsys = bkpf-awsys.

OBJECT_DISPLAY_CONNECTIONS call function 'OBJECT_DISPLAY_CONNECTIONS' tables object = objtab parameter = partab exceptions not_found = 01 " Note 391017 others = 0.

ARCHIV_DISPLAY_META * CALL FUNCTION 'ARCHIV_DISPLAY_META' * EXPORTING AR_OBJECT = DOKART * OBJECT_ID = OBJECTID * SAP_OBJECT = SAPOBJECT * WINDOW_ID = SAPB-SAPWINID * WINDOW_TITLE = CHAR40.

ARCHIV_BARCODE_GET CALL FUNCTION 'ARCHIV_BARCODE_GET' EXPORTING objecttype = 'BKPF' objectid = objectid TABLES barcodes = l_barcodes EXCEPTIONS nothing_found = 1 OTHERS = 0.

ARCHIV_BARCODE_GET CALL FUNCTION 'ARCHIV_BARCODE_GET' "Note1228741 EXPORTING "Note1228741 objecttype = 'FIPP' "Note1228741 objectid = objectid "Note1228741 TABLES "Note1228741 barcodes = l_barcodes "Note1228741 EXCEPTIONS "Note1228741 nothing_found = 1 "Note1228741 OTHERS = 0. "Note1228741

ARCHIV_CONNECTINFO_GET_META call function 'ARCHIV_CONNECTINFO_GET_META' exporting object_id = objectid sap_object = 'BKPF' exceptions others = 1.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name SAPFS006 or its description.