SAP Reports / Programs

J_1GMYFI SAP ABAP Report - MYF - Import data







J_1GMYFI is a standard Executable ABAP Report 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 J_1GMYFI into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

J1G6 - Import MYF data


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 J_1GMYFI. "Basic submit
SUBMIT J_1GMYFI AND RETURN. "Return to original report after report execution complete
SUBMIT J_1GMYFI 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: S_YEAR = MYF year (calendar year)
Selection Text: S_XMOD = D Execution mode
Selection Text: S_PATH = File name (PC)
Selection Text: S_BUKRS = Company
Title: MYF - Import data
Text Symbol: T11 = VENDOR DATA
Text Symbol: T10 = CUSTOMER DATA
Text Symbol: T06 = Values displayed & stored in .....
Text Symbol: T05 = File contains values in ..........
Text Symbol: T04 = Run for year .....................
Text Symbol: T03 = File contains data for year ......
Text Symbol: T02 = File contains data for company ...
Text Symbol: T01 = Run for company ..................
Text Symbol: T00 = A/A T TAX CODE NAME PROFESSION CITY STREET NO P.C. INVOICES NET VALUE
Text Symbol: SGR = File contains values in GRD
Text Symbol: SEU = File contains values in EUR
Text Symbol: SDB = File contains positive values
Text Symbol: SCR = File contains negative values
Text Symbol: S10 = Exclude entries with wrong tax code (AFM)
Text Symbol: MS8 = System error while locking
Text Symbol: MS7 = MYF data locked by
Text Symbol: MS0 = Please define a valid company code
Text Symbol: M10 = Function already performed
Text Symbol: M01 = File contains no data to import
Text Symbol: M00 = Error while uploading
Text Symbol: 101 = MYF data were NOT updated
Text Symbol: 100 = MYF data were updated succesfully
Text Symbol: 043 = VENDOR TOTALS
Text Symbol: 042 = CUSTOMER TOTALS
Text Symbol: 041 = TRANSACTIONS NOT SUBMITTED
Text Symbol: 040 = RETAIL SALES
Text Symbol: 033 = Open MYF file to upload
Text Symbol: 032 = is a directory
Text Symbol: 031 = does not exist
Text Symbol: 030 = File


INCLUDES used within this REPORT J_1GMYFI

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:

J_1GBUKRS_AUTH_CHECK call function 'J_1GBUKRS_AUTH_CHECK' exporting i_xdb = 'DKB' i_bukrs = s_bukrs.

WS_QUERY call function 'WS_QUERY' exporting * environment = ' ' filename = s_path query = 'FE' * winid = ' ' importing return = w_rc exceptions inv_query = 1 no_batch = 2 frontend_error = 3 others = 4.

WS_QUERY call function 'WS_QUERY' exporting * environment = ' ' filename = s_path query = 'FL' * winid = ' ' importing return = w_rc exceptions inv_query = 1 no_batch = 2 frontend_error = 3 others = 4.

WS_FILENAME_GET call function 'WS_FILENAME_GET' exporting * def_filename = ' ' def_path = 'c:\' mask = ',*.*,*.*.'

J_1GSAC_AUTH_CHECK call function 'J_1GSAC_AUTH_CHECK' exporting i_bukrs = s_bukrs i_area = 'FI' i_action = 'MASS'.

J_2G_WS_UPLOAD call function 'J_2G_WS_UPLOAD' exporting filename = s_path * FILETYPE = 'ASC' * IMPORTING * FILELENGTH = tables data_tab = t_file exceptions invalid_type = 1 no_batch = 2 upload_error = 3 others = 4.

ENQUEUE_E_TABLEE call function 'ENQUEUE_E_TABLEE' exporting tabname = w_tabname varkey = w_varkey exceptions foreign_lock = 1 system_failure = 2 others = 3.

DEQUEUE_ALL call function 'DEQUEUE_ALL' exceptions others = 1.

J_2GTAX_CODE_CHECK call function 'J_2GTAX_CODE_CHECK' exporting taxcode = lw_afm9 exceptions wrong_input_type = 1 not_valid_length = 2 not_numeric = 3 not_valid = 4 others = 5.



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