SAP Reports / Programs

RWVKP04U SAP ABAP Report - Convert TWPKO to TWKAO







RWVKP04U is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This conversion program converts entries in the old table TWPKO (the assignment of pricing data to distribution chain/material group), which cannot be used as of Release 1...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 RWVKP04U 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 RWVKP04U. "Basic submit
SUBMIT RWVKP04U AND RETURN. "Return to original report after report execution complete
SUBMIT RWVKP04U VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Convert TWPKO to TWKAO
Text Symbol: 020 = Choose one pricing type.
Text Symbol: 019 = pricing types assigned.
Text Symbol: 018 = has
Text Symbol: 017 = Pricing type assignment
Text Symbol: 016 = has several
Text Symbol: 015 = Distr. ch.
Text Symbol: 014 = was not assigned a pricing type in TWPKO
Text Symbol: 013 = Distribution chain
Text Symbol: 012 = the conversion was cancelled in client
Text Symbol: 011 = For distribution chain
Text Symbol: 010 = No insert necessary in client
Text Symbol: 009 = chain already exists in client
Text Symbol: 008 = Entry for distribution
Text Symbol: 005 = End converting TWPKO to TWKAO with return code ;;
Text Symbol: 004 = Successful insert, table TWKAO in client ;;
Text Symbol: 003 = Entries are missing in table TWKAO in client
Text Symbol: 001 = Start converting TWPKO to TWKAO (SP Calculation) ;;


INCLUDES used within this REPORT RWVKP04U

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:

POPUP_TO_DECIDE_LIST CALL FUNCTION 'POPUP_TO_DECIDE_LIST' EXPORTING * CURSORLINE = 1 * MARK_FLAG = ' ' * MARK_MAX = 1 * START_COL = 0 * START_ROW = 0 TEXTLINE1 = TEXT1 TEXTLINE2 = TEXT2 TEXTLINE3 = TEXT3 TITEL = TEXT-017 IMPORTING ANSWER = SELKZ TABLES T_SPOPLI = XSPOPLI EXCEPTIONS NOT_ENOUGH_ANSWERS = 1 TOO_MUCH_ANSWERS = 2 TOO_MUCH_MARKS = 3 OTHERS = 4.

POPUP_TO_DECIDE_LIST CALL FUNCTION 'POPUP_TO_DECIDE_LIST' EXPORTING * CURSORLINE = 1 * MARK_FLAG = ' ' * MARK_MAX = 1 * START_COL = 0 * START_ROW = 0 TEXTLINE1 = TEXT1 TEXTLINE2 = TEXT2 TEXTLINE3 = TEXT3 TITEL = TEXT-017 IMPORTING ANSWER = SELKZ TABLES T_SPOPLI = XSPOPLI EXCEPTIONS NOT_ENOUGH_ANSWERS = 1 TOO_MUCH_ANSWERS = 2 TOO_MUCH_MARKS = 3 OTHERS = 4.

APPEND_PROTOCOL CALL FUNCTION 'APPEND_PROTOCOL' EXPORTING ACCEPT_NOT_INIT = 'X' TABLES XMSG = TPROT EXCEPTIONS OTHERS = 01.



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