Age: 160 Joined: 04 Oct 2007 Posts: 1218 Location: Санкт-Петербург
Posted: Thu Jan 27, 2011 1:01 pm Post subject: Get pricing accounting values from billing
Code:
FUNCTION zerum_pricing_rv.
*"----------------------------------------------------------------------
*"*"Local Interface:
*" IMPORTING
*" VALUE(I_VBELN) TYPE VBELN
*" VALUE(I_POSNR) TYPE POSNR
*" TABLES
*" T_OUTPUT STRUCTURE KOMV
*" EXCEPTIONS
*" NOT_FOUND
*"----------------------------------------------------------------------
* Function name : ZERUM_PRICING_RV
* Development specification ID :
* Process team contact person/team name:
* Date created :
* Service Desk change number :
* Transport request number :
* Author :
* Description : select conditions values
* from RV
*----------------------------------------------------------------------*
DATA: ls_komk TYPE komk,
ls_komp TYPE komp.
DATA: vbdkr TYPE vbdkr,
vbco3 TYPE vbco3.
DATA: BEGIN OF tvbdpr OCCURS 100. "Internal table for items
INCLUDE STRUCTURE vbdpr.
DATA: END OF tvbdpr.
DATA: BEGIN OF tkomv OCCURS 50.
INCLUDE STRUCTURE komv.
DATA: END OF tkomv.
DATA: lt_xkomv TYPE TABLE OF komv WITH HEADER LINE.
DATA: lt_tkomv TYPE TABLE OF komv WITH HEADER LINE.
DATA: lt_tkomk TYPE TABLE OF komk WITH HEADER LINE.
REFRESH t_output[].
CLEAR: ls_komk, ls_komp.
CALL FUNCTION 'RV_PRICE_PRINT_REFRESH'
TABLES
tkomv = tkomv.
Age: 160 Joined: 04 Oct 2007 Posts: 1218 Location: Санкт-Петербург
Posted: Thu Jan 27, 2011 1:25 pm Post subject:
Structures KOMP, KOMK for billing filled in
FM RV_INVOICE_PRICE_PBO
PERFORM preisfindung_vorbereiten USING 'P'. _________________ Молитва - это запрос разработчику на изменение кода программы.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG. SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG. Every effort is made to ensure content integrity. Use information on this site at your own risk.