Posted: Tue Oct 02, 2007 6:51 pm Post subject: ФМ для получения суммы НДС
Привет!
Существует ли функциональный модуль для получения суммы налога НДС по коду налога и сумме для России?
С примерчиком если можно,
заранее спасибо.
LOOP AT PERCENT.
* IF it_persent-kschl = 'MWVS' " ПредварительныйНДС
* OR it_persent-kschl = 'MWAS' " Исходящий налог
* OR it_persent-kschl = 'MWR1' "RUN-corrections " Исх.НДС (РФ)
* OR it_persent-kschl = 'MW1Z'
* OR it_persent-kschl = 'MWVZ'.
itab_res-wsatz = it_persent-kbetr / 10.
itab_res-wmwst1 = itab_res-wrbtr * itab_res-wsatz / 100.
EXIT.
* ENDIF.
ENDLOOP.
Example is extracting PO Conditions and tax rates w.r.t a PO.
Code:
PARAMETERS: P_EBELN LIKE BAPIEKKO-PO_NUMBER OBLIGATORY.
DATA: L_LAND1 LIKE T001-LAND1,
L_KALSM LIKE T005-KALSM.
DATA: L_KBETR LIKE BSET-KBETR.
DATA: POHEAD LIKE BAPIEKKOL,
POITEM LIKE BAPIEKPO OCCURS 0 WITH HEADER LINE,
IT_KONV LIKE KONV OCCURS 0 WITH HEADER LINE.
DATA: BEGIN OF IT_TAX_RATE OCCURS 0,
KSCHL LIKE KONV-KSCHL,
MWSK1 LIKE KONV-MWSK1,
KBETR LIKE KONV-KBETR,
END OF IT_TAX_RATE.
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 can 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.