SAP Reports / Programs | Financial Accounting(FI) SAP FI

SAPF058V SAP ABAP Report - FI, Vendor Master Data Archiving: Proposal List







SAPF058V is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program SAPF058V allows you to automatically set archivable vendor master data for archiving...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter SAPF058V 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 SAPF058V. "Basic submit
SUBMIT SAPF058V AND RETURN. "Return to original report after report execution complete
SUBMIT SAPF058V VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: X_FCONN = FI link validation off
Selection Text: X_BSGMM = MM data
Selection Text: X_BSGFI = FI data
Selection Text: X_ASEGM = General master records
Selection Text: XDE_FLAG = Vendors that cannot be archvd
Selection Text: LIFNRX = Vendor
Selection Text: I_MINZT = Min.no.of days in the system
Selection Text: EKORGX = Purchasing organization
Selection Text: BUKRSX = Company code
Title: FI, Vendor Master Data Archiving: Proposal List
Text Symbol: 043 = Warning: Dependency in several appl
Text Symbol: 044 = Successful updates of general master data
Text Symbol: 045 = Erroneous updates of general master data
Text Symbol: 046 = Batch input error in transaction FK06
Text Symbol: 047 = Error not known
Text Symbol: 050 = Error: Original in other system
Text Symbol: 051 = W: Original in other system
Text Symbol: 052 = Business Partner Exists
Text Symbol: 065 = Error: Blcked from del.
Text Symbol: 066 = Warng: Blocked frm del.
Text Symbol: 102 = Purch. Organization
Text Symbol: 103 = Company code
Text Symbol: 104 = MM
Text Symbol: 105 = FI
Text Symbol: 042 = Error: Dependency in several appl.
Text Symbol: 001 = Archivable general master data
Text Symbol: 002 = Selection of proposed amount
Text Symbol: 003 = Non-archivable general master data
Text Symbol: 004 = Output control
Text Symbol: 005 = No data found for this category
Text Symbol: 006 = Archive select.
Text Symbol: 008 = Vendor
Text Symbol: 009 = Name
Text Symbol: 010 = Error message (E) or warning (W)
Text Symbol: 018 = Save archiving selections
Text Symbol: 019 = Save the archiving selections
Text Symbol: 020 = to the database?
Text Symbol: 030 = Record selected for archiving





Text Symbol: 031 = Error: Dependency in SD
Text Symbol: 032 = Error: Dependency in FI
Text Symbol: 033 = Error: Dependency in MM
Text Symbol: 034 = Error: Deletion flag not set
Text Symbol: 035 = W: Dependency in SD
Text Symbol: 036 = Warning: Dependency in FI
Text Symbol: 037 = Warning: Dependency in MM
Text Symbol: 038 = Warning: Deletion flag not set
Text Symbol: 039 = Error: Other reasons
Text Symbol: 040 = Warning: No appl.data for gen.part
Text Symbol: 041 = Warning: Only appl.data to be arch.


INCLUDES used within this REPORT SAPF058V

No INCLUDES are used within this REPORT code!


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:

FI_ACCPAYB_CALL_TA_XK03 CALL FUNCTION 'FI_ACCPAYB_CALL_TA_XK03' EXPORTING i_notarch = xde_flag.

MM_ACCPAYB_CALL_TA_XK03 CALL FUNCTION 'MM_ACCPAYB_CALL_TA_XK03' EXPORTING i_notarch = xde_flag.

FI_ACCPAYB_START_SESSION_2 CALL FUNCTION 'FI_ACCPAYB_START_SESSION_2' "lfb1 zu sel_lfa1 lesen, EXPORTING i_bsgfi = x_bsgfi "Daten an lokales Memory i_asegm = x_asegm "der Funktionsgruppe i_detail = x_detail "FAST übergeben i_fconn = x_fconn i_ownsystem = own_system TABLES i_lifnrx = lifnrx i_bukrsx = bukrsx o_lfa1 = sel_lfa1.

MM_ACCPAYB_START_SESSION_2 CALL FUNCTION 'MM_ACCPAYB_START_SESSION_2' "lfm1 zu sel_lfa1 lesen, EXPORTING i_bsgmm = x_bsgmm "Daten an lokales Memory i_asegm = x_asegm "der Funktionsgruppe i_detail = x_detail "MFAS übergeben i_ownsystem = own_system TABLES i_lifnrx = lifnrx i_ekorgx = ekorgx o_lfa1 = sel_lfa1.

FI_ACCPAYB_ANALYSE_ONE_OBJECT CALL FUNCTION 'FI_ACCPAYB_ANALYSE_ONE_OBJECT' EXPORTING i_ylfa1 = lfa1 IMPORTING o_no_delete = stat-fi_delnot o_have_aseg = stat-fi_has_as o_have_bseg = stat-fi_has_bs.

SD_ACCPAYB_ANALYSE_ONE_OBJECT " CALL FUNCTION 'SD_ACCPAYB_ANALYSE_ONE_OBJECT' " EXPORTING I_YLFA1 = LFA1 " IMPORTING O_NO_DELETE = STAT-SD_DELNOT " O_HAVE_ASEG = STAT-SD_HAS_AS " O_HAVE_BSEG = STAT-SD_HAS_BS.

MM_ACCPAYB_ANALYSE_ONE_OBJECT CALL FUNCTION 'MM_ACCPAYB_ANALYSE_ONE_OBJECT' EXPORTING i_ylfa1 = lfa1 i_delete_only = space IMPORTING o_no_delete = stat-mm_delnot o_have_aseg = stat-mm_has_as o_have_bseg = stat-mm_has_bs.

OUTBOUND_CALL_00003110_P CALL FUNCTION 'OUTBOUND_CALL_00003110_P' EXPORTING i_lfa1 = sel_lfa1 CHANGING c_logsys = asg_system.

FI_ACCPAYB_WRITE_SUGGESTION CALL FUNCTION 'FI_ACCPAYB_WRITE_SUGGESTION' EXPORTING i_notarch = xde_flag.

MM_ACCPAYB_WRITE_SUGGESTION CALL FUNCTION 'MM_ACCPAYB_WRITE_SUGGESTION' EXPORTING i_notarch = xde_flag.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING textline1 = text-019 textline2 = text-020 titel = text-018 defaultoption = 'J' IMPORTING answer = answer.

FI_ACCPAYB_DEFINE_STATUS CALL FUNCTION 'FI_ACCPAYB_DEFINE_STATUS' EXPORTING popup_answer = answer.

MM_ACCPAYB_DEFINE_STATUS





CALL FUNCTION 'MM_ACCPAYB_DEFINE_STATUS' EXPORTING popup_answer = answer.

RPY_MESSAGE_COMPOSE CALL FUNCTION 'RPY_MESSAGE_COMPOSE' EXPORTING language = error_log-msgspra message_id = error_log-msgid message_number = help_nr message_var1 = error_log-msgv1 message_var2 = error_log-msgv2 message_var3 = error_log-msgv3 message_var4 = error_log-msgv4 IMPORTING message_text = help_text EXCEPTIONS message_not_found = 1 OTHERS = 2.

OWN_LOGICAL_SYSTEM_GET CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' IMPORTING own_logical_system = own_system EXCEPTIONS own_logical_system_not_defined = 1 OTHERS = 2.



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 SAPF058V or its description.