on 02-10-2019 6:24 AM
Dear all
My scenario is: a single material item, totally free of charge for customer. Conditions price are: Price 70 EUR, discount 100%, total 0 EUR.
After billing invoice:
Accounting document AS-IS:
Transitory account credit: 70
Transitory account debit: -70
What is required:
Accounting document TO-BE:
Customer account debit Invoice: -70
Customer account credit Credit Memo: 70
Transitory account credit: 70
Transitory account debit: -70
Is there a way to write Customer account in Accounting document, if sales order/billing invoice has net value zero?
Thank you in advance for your support
Actually I did not quite understand your requirement, do you mean customer line here by saying Customer account debit Invoice and Customer account credit Credit Memo?
In standard, if in billing document, such as below scenario for free-of- charge item :
PR00Price10,00 EUR1BAG20,00 EUR
K005Customer/Material100,000-% 20,00-EUR
MWSTOutput Tax16,000 % 0,00 EUR
SKTOCash Discount3,000-% 0,00 EUR
VPRSInternal price1.000,00 EUR1BAG2.000,00 EUR
then there is no customer line :
Accounting Item Information Item CoCode Doc. Numbe FYear Doc. Date Postg Date Period PstKey Tax
001001 1000 90039983 15.02.2019 15.02.2019 50
001002 1000 90039983 15.02.2019 15.02.2019 40
001003 1000 90039983 15.02.2019 15.02.2019 50 X
The technical part is as below:
7 FORM ACCOUNTING_HEAD_LINESAPLV60BLV60BF00
6 FUNCTION RV_ACCOUNTING_DOCUMENT_CREATESAPLV60BLV60BU01
5 FUNCTION RV_ACCOUNTING_DOCUMENT_CREATESAPLV60BLV60BU01
* Zero value customer lines for FI-CA
IF NOT xacccr-wrbtr IS INITIAL <<<<<<<<<<<<<<
OR ( NOT vbrk-vkont IS INITIAL AND vbrk-fktyp NE con_fktyp_p AND xaccit_deb-mwsk1 NE space )
. ...
ELSE.
IF vbrk-vbtyp NA vbtyp_reli.
IF xvbpa-xcpdk = 'X'. lt_accfi-posnr = posnr - 1. "CPD TAX
APPEND lt_accfi. ENDIF. ENDIF. ENDIF.
This is hard coded, please consider using customer function in SD-FI interface:
* possibility to change interface tables
call customer-function '008'
exporting
cvbrk = vbrk
doc_number = xvbrp_key-vbeln
tables
xaccit = xaccit
xacccr = xacccr
cvbrp = xvbrp
ckomv = xkomv
caccdpc = accdpc
xaccfi = lt_accfi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there a way to write Customer account in Accounting document, if sales order/billing invoice has net value zero?
Yes possible. Have a look at OSS note 1255945
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.