2010 Apr 28 6:38 AM
Hi,
When we post through normal F-02 with 50 posting key to GL account, tax is calculated with negative amount and is shown in BSET. But when we do this through BAPI_ACC_DOCUMENT_POST, the negative amount is not posted to BSET.
Thanks,
Sourya.
2010 Apr 28 6:53 AM
Hi,
While populating the structure "currencyamount" you have to pass negative amount for the records related to posting key '50'.
Regards
Vinod
Hi,
While populating the structure "currencyamount" you have to pass negative amount for the records related to posting key '50'.
Regards
Vinod
2010 Apr 28 6:44 AM
In BAPI_ACC_DOCUMENT_POST you cannot populate reversal Code in the BAPI header.
You can either use BDC or RFBIBL00
2010 Apr 28 6:50 AM
Hi,
But how to use BDC for this requirement.
Thanks,
Sourya Prakash.
2010 Apr 28 7:00 AM
2010 Apr 28 6:53 AM
Hi,
While populating the structure "currencyamount" you have to pass negative amount for the records related to posting key '50'.
Regards
Vinod
2010 Apr 28 7:14 AM
I think here is meant: structure BBTAX
e.g.:
IF GSTEUER-BSCHL = '40'.
GSTEUER-BSCHL = '50'.
ELSE.
GSTEUER-BSCHL = '40'.
ENDIF.
GSTEUER-WRBTR = GSTEUER-WRBTR * -1.
COLLECT GSTEUER.
LOOP AT GSTEUER.
ZBTAX = BBTAX. "Initialization
MOVE: GSTEUER-MWSKZ TO ZBTAX-MWSKZ.
IF GSTEUER-WRBTR < 0.
MOVE '50' TO ZBTAX-BSCHL.
ELSE.
MOVE '40' TO ZBTAX-BSCHL.
ENDIF.
WRITE GSTEUER-WRBTR TO ZBTAX-FWSTE NO-SIGN CURRENCY XBKPF-WAERS.
TRANSFER ZBTAX TO OUT.
-> please read program docu to rfbibl00
A.
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |