SAP Reports / Programs | Logistics - General | Merchandise Distribution | Allocation(LO-MDS-AL) SAP LO

NASTVF09 SAP ABAP INCLUDE - documentation and ABAP source code







NASTVF09 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 NASTVF09 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 NASTVF09. "Basic submit
SUBMIT NASTVF09 AND RETURN. "Return to original report after report execution complete
SUBMIT NASTVF09 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 NASTVF09

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:

IDOC_REDUCTION CALL FUNCTION 'IDOC_REDUCTION' EXPORTING MESSAGE_TYPE = C_WALNOT_MESTYP TABLES REDUCTION = IT_BDI_REDUCT.

IDOC_REDUCTION_SEGMENT_TEST CALL FUNCTION 'IDOC_REDUCTION_SEGMENT_TEST' EXPORTING MESSAGE_TYPE = C_WALNOT_MESTYP SEGMENT_TYPE = IT_BDI_REDUCT-SEGTYP IMPORTING ACTIVE = RED_FLAG.

UNIT_OF_MEASURE_SAP_TO_ISO CALL FUNCTION 'UNIT_OF_MEASURE_SAP_TO_ISO' EXPORTING SAP_CODE = PI_AUFI-AUFME IMPORTING ISO_CODE = E1WALNOT04-ALUNIT_ISO EXCEPTIONS OTHERS = 1.

UNIT_OF_MEASURE_SAP_TO_ISO CALL FUNCTION 'UNIT_OF_MEASURE_SAP_TO_ISO' EXPORTING SAP_CODE = PI_AUFI-BSTME IMPORTING ISO_CODE = E1WALNOT04-POUNIT_ISO EXCEPTIONS OTHERS = 1.

UNIT_OF_MEASURE_SAP_TO_ISO CALL FUNCTION 'UNIT_OF_MEASURE_SAP_TO_ISO' EXPORTING SAP_CODE = PI_AUVZ-AUFME IMPORTING ISO_CODE = E1WALNOT04-ALUNIT_ISO EXCEPTIONS OTHERS = 1.

UNIT_OF_MEASURE_SAP_TO_ISO CALL FUNCTION 'UNIT_OF_MEASURE_SAP_TO_ISO' EXPORTING SAP_CODE = PI_AUVZ-BSTME IMPORTING ISO_CODE = E1WALNOT04-POUNIT_ISO EXCEPTIONS OTHERS = 1.

IDOC_REDUCTION_FIELD_REDUCE CALL FUNCTION 'IDOC_REDUCTION_FIELD_REDUCE' EXPORTING MESSAGE_TYPE = C_WALNOT_MESTYP SEGMENT_TYPE = PX_IDOC_DATA-SEGNAM SEGMENT_DATA = PX_IDOC_DATA-SDATA IMPORTING SEGMENT_DATA = PX_IDOC_DATA-SDATA.

MASTER_IDOC_DISTRIBUTE CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE' EXPORTING MASTER_IDOC_CONTROL = PI_IDOC_CTRL * obj_type = '' * chnum = '' TABLES COMMUNICATION_IDOC_CONTROL = POT_IDOC_CTRL MASTER_IDOC_DATA = PIT_IDOC_DATA EXCEPTIONS ERROR_IN_IDOC_CONTROL = 1 ERROR_WRITING_IDOC_STATUS = 2 ERROR_IN_IDOC_DATA = 3 SENDING_LOGICAL_SYSTEM_UNKNOWN = 4 OTHERS = 5.

EDI_DOCUMENT_DEQUEUE_LATER CALL FUNCTION 'EDI_DOCUMENT_DEQUEUE_LATER' EXPORTING DOCNUM = POT_IDOC_CTRL-docnum EXCEPTIONS * IDOC_IS_NOT_TO_DEQUEUE = 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 NASTVF09 or its description.