SAP Reports / Programs | Sales and Distribution | Basic Functions | Output Determination(SD-BF-OC) SAP SD

DV70AF0M SAP ABAP INCLUDE - documentation and ABAP source code







DV70AF0M is a standard ABAP INCLUDE 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 DV70AF0M 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 DV70AF0M. "Basic submit
SUBMIT DV70AF0M AND RETURN. "Return to original report after report execution complete
SUBMIT DV70AF0M VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT DV70AF0M

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:

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING ID = XNAST-TDID LANGUAGE = XNAST-TDSPRAS NAME = XTDNAME OBJECT = TDOBJECT IMPORTING HEADER = THEAD TABLES LINES = LOC_TLINES EXCEPTIONS ID = 01 NOT_FOUND = 04 OBJECT = 05 LANGUAGE = 02 NAME = 03.

EDIT_TEXT CALL FUNCTION 'EDIT_TEXT' EXPORTING DISPLAY = TEXT_DISPLAY EDITOR_TITLE = TDTITEL HEADER = THEAD SAVE = TEXT_SAVE IMPORTING FUNCTION = TEXT_FUNCTION TABLES LINES = LOC_TLINES EXCEPTIONS ID = 01 LANGUAGE = 02 LINESIZE = 03 NAME = 04 OBJECT = 05.

SAVE_TEXT CALL FUNCTION 'SAVE_TEXT' EXPORTING HEADER = THEAD SAVEMODE_DIRECT = TEXT_SAVE IMPORTING FUNCTION = TEXT_FUNCTION TABLES LINES = LOC_TLINES EXCEPTIONS OTHERS = 0.

SO_NAME_CONVERT CALL FUNCTION 'SO_NAME_CONVERT' EXPORTING NAME_IN = SO_NAME_IN IMPORTING NAME_OUT = SO_NAME_OUT EXCEPTIONS OFFICE_NAME_NOT_EXIST = 01 "USRNAM PARAMETER_ERROR = 02 SAP_NAME_NOT_EXIST = 03 USER_NOT_EXIST = 04.

SO_NAME_CONVERT CALL FUNCTION 'SO_NAME_CONVERT' EXPORTING "DELETED_INCLUDED = E01 NAME_IN = SO_NAME_IN IMPORTING NAME_OUT = SO_NAME_OUT EXCEPTIONS OFFICE_NAME_NOT_EXIST = 01 PARAMETER_ERROR = 02 SAP_NAME_NOT_EXIST = 03 USER_NOT_EXIST = 04.

SCROLLING_IN_TABLE CALL FUNCTION 'SCROLLING_IN_TABLE' EXPORTING ENTRY_ACT = TC_NAST3-TOP_LINE ENTRY_TO = TFILL LAST_PAGE_FULL = CONST_X LOOPS = LOOPC OK_CODE = 'P+' OVERLAPPING = CONST_X IMPORTING ENTRY_NEW = TC_NAST3-TOP_LINE.

NAST_DELETE_MESSAGE_OBJECT CALL FUNCTION 'NAST_DELETE_MESSAGE_OBJECT' EXPORTING OBJKEY = OBJKY EXCEPTIONS OBJECT_NOT_EXIST = 1 ERROR_IN_DELETING_OBJECT = 2 OTHERS = 3.

NAST_CREATE_MESSAGE_OBJECT_OLD CALL FUNCTION 'NAST_CREATE_MESSAGE_OBJECT_OLD' EXPORTING NAST_FIELDS = MA_NAST MAIL_FIELDS = NA_HELP IMPORTING OBJ_HANDLE = HANDLE NO_TEXT = TEXT_ERROR EXCEPTIONS ERROR_IN_CREATING_OBJECT = 1 OTHERS = 4.

NAST_CREATE_MESSAGE_OBJECT_NEW CALL FUNCTION 'NAST_CREATE_MESSAGE_OBJECT_NEW' EXPORTING PARVW = PARVW SPRAS = SPRAS KAPPL = MSG_KAPPL KSCHL = KSCHL IMPORTING OBJ_HANDLE = HANDLE NO_TITLE = TITLE_ERROR NO_TEXT = TEXT_ERROR CHANGING PARNR = DV70A-PARNR12 EXCEPTIONS ERROR_IN_CREATING_OBJECT = 1 OTHERS = 2.

NAST_COPY_MESSAGE_OBJECT CALL FUNCTION 'NAST_COPY_MESSAGE_OBJECT' EXPORTING PI_OBJKEY = OBJKY PI_OBJHANDLE = HANDLE PI_NAST = MA_NAST PI_PROCESSING = SPACE IMPORTING PE_OBJHANDLE = HANDLE1 EXCEPTIONS OTHERS = 1.

NAST_OFFICE_CALL_CHANGE CALL FUNCTION 'NAST_OFFICE_CALL_CHANGE' EXPORTING OBJKEY = OBJKEY OBJ_HANDLE = OBJHANDLE DUMMY_RECEIVER = ' ' IMPORTING PE_PARVW = LOC_PARVW pe_changed = l_changed EXCEPTIONS OTHERS = 3.

NAST_OFFICE_CALL_DISPLAY CALL FUNCTION 'NAST_OFFICE_CALL_DISPLAY' EXPORTING OBJKEY = OBJKEY OBJ_HANDLE = OBJHANDLE EXCEPTIONS OTHERS = 3.

NAST_CHANGE_MESSAGE_OBJECT CALL FUNCTION 'NAST_CHANGE_MESSAGE_OBJECT' EXPORTING OBJKEY = OBJKEY OBJ_HANDLE = OBJHANDLE KAPPL = NAST-KAPPL KSCHL = KSCHL SPRAS_CHG = SPRAS_NEW EXCEPTIONS OBJECT_NOT_EXIST = 1 ERROR_IN_READING_OBJECT = 2 ERROR_IN_CHANGING_OBJECT = 3 PARAMETER_ERROR = 4 NO_TEXT_AVAILABLE = 5 OTHERS = 6.

NAST_SAVE_MESSAGE_OBJECT CALL FUNCTION 'NAST_SAVE_MESSAGE_OBJECT' EXPORTING OBJ_HANDLE = OBJHANDLE IMPORTING OBJKEY = OBJKEY EXCEPTIONS ERROR_IN_SAVING = 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 DV70AF0M or its description.