Skip to Content
0
Former Member
Feb 21, 2006 at 06:42 AM

Vendor Amount Checking and posting

17 Views

Hi Friends,

Here ,I am using this function module for checking the vendor amount. BAPI_ACC_DOCUMENT_CHECK

I am passing below data

Header Data

OBJ_SYS C 10

BUS_ACT C 4 RFBU

USERNAME C 12 ABAP16

HEADER_TXT C 25

COMP_CODE C 4 H

DOC_DATE D 8 20060217

PSTNG_DATE D 8 20060217

TRANS_DATE D 8 00000000

FISC_YEAR N 4 2006

FIS_PERIOD N 2 00

DOC_TYPE C 2 SA

REF_DOC_NO C 16 TEST

ACCOUNT GL

0000000001|0002110113|

ACCOUNT PAYBLE

ITEMNO_ACC N 10 0000000002

VENDOR_NO C 10 EPAY1

SECTIONCODE C 4 B004

ACCOUNT TAX

ITEMNO_ACC N 10 0000000001

GL_ACCOUNT C 10 0001430524

COND_KEY C 4 JIN2

ACCT_KEY C 3 MW3

TAX_CODE C 2 AR

TAX_RATE P 4 0.000

TAX_DATE D 8 00000000

TAXJURCODE C 15

TAXJURCODE_DEEP C 15

TAXJURCODE_LEVEL C 1

ITEMNO_TAX N 6 000000

ITEMNO_ACC N 10 0000000002

GL_ACCOUNT C 10 0001430524

COND_KEY C 4 JIN6

ACCT_KEY C 3 JN6

TAX_CODE C 2 AR

TAX_RATE P 4 4.000

TAX_DATE D 8 00000000

TAXJURCODE C 15

TAXJURCODE_DEEP C 15

TAXJURCODE_LEVEL C 1

ITEMNO_TAX N 6 000000

CURRENCY AMOUNT

ITEMNO_ACC N 10 0000000002

CURR_TYPE C 2

CURRENCY C 5 INR

CURRENCY_ISO C 3

AMT_DOCCUR P 12 753.85-

EXCH_RATE P 5 0.00000

EXCH_RATE_V P 5 0.00000

AMT_BASE P 12 756.00

DISC_BASE P 12 0.0000

DISC_AMT P 12 0.0000

ITEMNO_ACC N 10 0000000001

CURR_TYPE C 2

CURRENCY C 5 INR

CURRENCY_ISO C 3

AMT_DOCCUR P 12 753.8500

EXCH_RATE P 5 0.00000

EXCH_RATE_V P 5 0.00000

AMT_BASE P 12 0.0000

DISC_BASE P 12 756.0000

DISC_AMT P 12 0.0000

____________________________________________________________

cretir

0000000001|BUKRS |H |

0000000001|KNDNR |ICIEL |

0000000001|ARTNR |DDTEST-OWN |

0000000001|VKORG |HLL |

0000000001|VTWEG |ST |

___________________________________________________________

__________________________________________________________________

account tax

____________________________________________________________________________________

0000000001|0001430524|JIN2 |MW3 |AR | 0.000 |00000000 |

0000000002|0001430524|JIN6 |JN6 |AR | 4.000 |00000000 |

___________________________________________________________________________

___________________________________________________________________________

I am getting error Balance in transation currency.

Thanks & Regards,

Narayana Rao.