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

DV02PI02 SAP ABAP INCLUDE - TXJCD







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


Text pool values


Title: TXJCD


INCLUDES used within this REPORT DV02PI02

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:

BDC_RUNNING CALL FUNCTION 'BDC_RUNNING' IMPORTING BI_INFO = BI EXCEPTIONS OTHERS = 1.

DETERMINE_TXJCD_EXTERNALLY CALL FUNCTION 'DETERMINE_TXJCD_EXTERNALLY' EXPORTING COUNTRY = VBADR-LAND1 REGION = VBADR-REGIO CITY = VBADR-ORT01 COUNTY = VBADR-ORT02 ZIPCODE = VBADR-PSTLZ PROCEDURE = TTXD-KALSM ID_TAX_EXT = TTXD-XEXTN NO_DIALOG = BINPTFLAG IMPORTING TXJCD = *VBADR-TXJCD CITY = *VBADR-ORT01 COUNTY = *VBADR-ORT02 EXCEPTIONS TXJCD_NOT_FOUND = 1 TXJCD_NOT_UNIQUE_IN_NO_DIALOG = 2.

CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING I_ARBGB = 'F2' I_DTYPE = 'S' I_MSGNR = '217'.

DETERMINE_TXJCD_EXTERNALLY CALL FUNCTION 'DETERMINE_TXJCD_EXTERNALLY' EXPORTING COUNTRY = VBADR-LAND1 REGION = VBADR-REGIO CITY = VBADR-ORT01 COUNTY = VBADR-ORT02 ZIPCODE = VBADR-PSTLZ PROCEDURE = TTXD-KALSM ID_TAX_EXT = TTXD-XEXTN NO_DIALOG = 'X' IMPORTING TXJCD = TXJCD EXCEPTIONS TXJCD_NOT_FOUND = 01 TXJCD_NOT_UNIQUE_IN_NO_DIALOG = 02.

CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING I_ARBGB = 'F2' I_DTYPE = 'W' I_MSGNR = '146'.

TXJCD_CHECK CALL FUNCTION 'TXJCD_CHECK' EXPORTING I_LAND = VBADR-LAND1 I_TXJCD = VBADR-TXJCD.

BDC_RUNNING CALL FUNCTION 'BDC_RUNNING' IMPORTING BI_INFO = BI EXCEPTIONS OTHERS = 1.

DETERMINE_TXJCD_EXTERNALLY CALL FUNCTION 'DETERMINE_TXJCD_EXTERNALLY' EXPORTING COUNTRY = VBADR-LAND1 REGION = VBADR-REGIO CITY = VBADR-ORT01 COUNTY = VBADR-ORT02 ZIPCODE = VBADR-PSTLZ PROCEDURE = TTXD-KALSM ID_TAX_EXT = TTXD-XEXTN NO_DIALOG = BINPTFLAG IMPORTING TXJCD = TXJCD CITY = ORT01 COUNTY = ORT02 EXCEPTIONS TXJCD_NOT_FOUND = 1 TXJCD_NOT_UNIQUE_IN_NO_DIALOG = 2.

CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING I_ARBGB = 'F2' I_DTYPE = 'S' I_MSGNR = '217'.

DETERMINE_TXJCD_EXTERNALLY CALL FUNCTION 'DETERMINE_TXJCD_EXTERNALLY' EXPORTING COUNTRY = VBADR-LAND1 REGION = VBADR-REGIO CITY = VBADR-ORT01 COUNTY = VBADR-ORT02 ZIPCODE = VBADR-PSTLZ PROCEDURE = TTXD-KALSM ID_TAX_EXT = TTXD-XEXTN NO_DIALOG = 'X' IMPORTING TXJCD = TXJCD EXCEPTIONS TXJCD_NOT_FOUND = 01 TXJCD_NOT_UNIQUE_IN_NO_DIALOG = 02.

CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING I_ARBGB = 'F2' I_DTYPE = 'W' I_MSGNR = '146'.

TXJCD_CHECK CALL FUNCTION 'TXJCD_CHECK' EXPORTING I_LAND = VBADR-LAND1 ***** i_txjcd = txjcd.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING DYNAME = 'SAPDV02P' DYNUMB = '0644' TABLES DYNPFIELDS = DYNPFIELDS EXCEPTIONS OTHERS = 4.

F_VALUES_TXJCD CALL FUNCTION 'F_VALUES_TXJCD' EXPORTING I_LAND1 = VBADR-LAND1 I_KALSM = T005-KALSM IMPORTING E_TXJCD = VBADR-TXJCD.



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