Posted: Thu Sep 20, 2007 11:09 am Post subject: RV_BILLING_PRINT_VIEW
RV_BILLING_PRINT_VIEW - Data Provision for Billing Document Print
Code:
*---------------------------------------------------------------------*
* FORM GET_DATA *
*---------------------------------------------------------------------*
* General provision of data for the form *
*---------------------------------------------------------------------*
form get_data.
call function 'RV_PRICE_PRINT_REFRESH'
tables
tkomv = tkomv.
clear komk.
clear komp.
clear nast_anzal. "Clear aux. variable for number of outputs
clear sdaccdpc.
refresh ixsdaccdpc.
clear downpay_refresh.
if nast-objky+10(6) ne space.
vbco3-vbeln = nast-objky+16(10).
else.
vbco3-vbeln = nast-objky.
endif.
call function 'RV_BILLING_PRINT_VIEW'
exporting
comwa = vbco3
importing
kopf = vbdkr
tables
pos = tvbdpr
exceptions
terms_of_payment_not_in_t052 = 1
error_message = 5
others = 4.
if not sy-subrc is initial.
if sy-subrc = 1.
syst-msgty = 'I'.
perform protocol_update.
endif.
endif.
* fill address key --> necessary for emails
addr_key-addrnumber = vbdkr-adrnr.
addr_key-persnumber = vbdkr-adrnp.
addr_key-addr_type = vbdkr-address_type.
perform sender.
perform check_repeat.
perform get_header_prices.
* Calling customer subroutine dynamically for additional data transfer
if not get_data_userexit is initial.
perform (get_data_userexit) in program rvadin01 if found.
endif.
endform. "GET_DATA
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.