2007 Jan 17 1:41 PM
Hi friends,
I wanted to post a Document using bapi BAPI_ACC_DOCUMENT_POST with tax data and jurisdiction code. Getting an error message " E RW 003 No currency information transferred into Accounting" though I have given the Currency info.
Below is the data that passed to the BAPI
<header> data
OBJ_TYPE BKPFF
OBJ_KEY $
OBJ_SYS T90CLNT810
BUS_ACT RFBU
USERNAME MNAGOORI
HEADER_TXT DOCU POST MD
COMP_CODE 3000
DOC_DATE 17.01.2007
PSTNG_DATE 17.01.2007
TRANS_DATE
FISC_YEAR 2007
FIS_PERIOD 01
DOC_TYPE WE
REF_DOC_NO
-
ACCOUNTGL TABLE DATA
-
ITEMNO_ACC 0000000001
GL_ACCOUNT 445000
ITEM_TEXT TEST FOR MD1
REF_KEY_3 40
ACCT_KEY
ACCT_TYPE S
COMP_CODE 3000
BUS_AREA 9900
-
ACCOUNTPAYABLE
-
ITEMNO_ACC 0000000002
VENDOR_NO 9999
GL_ACCOUNT 191100
REF_KEY_1
REF_KEY_2
REF_KEY_3 50
COMP_CODE 3000
BUS_AREA 9900
ITEM_TEXT TEST
-
AccountTax table
ITEMNO_ACC 0000000001
GL_ACCOUNT 445000
COND_KEY JP1I
ACCT_KEY NVV
TAX_CODE I1
TAX_RATE 6,000
TAX_DATE
TAXJURCODE PA0000000
ITEMNO_ACC 0000000002
GL_ACCOUNT 191100
COND_KEY JP1I
ACCT_KEY NVV
TAX_CODE I1
TAX_RATE 6,000
TAX_DATE
TAXJURCODE PA0000000
-
CurrencyAmount table
ITEMNO_ACC 0000000001
CURR_TYPE 00
CURRENCY USD
CURRENCY_ISO USD
AMT_DOCCUR 100,0000
EXCH_RATE
EXCH_RATE_V
AMT_BASE 100,0000
ITEMNO_ACC 0000000002
CURR_TYPE 00
CURRENCY USD
CURRENCY_ISO USD
AMT_DOCCUR 100,0000-
EXCH_RATE
EXCH_RATE_V
AMT_BASE 100,0000-
I could able to post without tax data.
I feel some of the feilds are missing the required data. Please any one could help me.
Thanks
Md
Hi friends,
I wanted to post a Document using bapi BAPI_ACC_DOCUMENT_POST with tax data and jurisdiction code. Getting an error message " E RW 003 No currency information transferred into Accounting" though I have given the Currency info.
Below is the data that passed to the BAPI
<header> data
OBJ_TYPE BKPFF
OBJ_KEY $
OBJ_SYS T90CLNT810
BUS_ACT RFBU
USERNAME MNAGOORI
HEADER_TXT DOCU POST MD
COMP_CODE 3000
DOC_DATE 17.01.2007
PSTNG_DATE 17.01.2007
TRANS_DATE
FISC_YEAR 2007
FIS_PERIOD 01
DOC_TYPE WE
REF_DOC_NO
-
ACCOUNTGL TABLE DATA
-
ITEMNO_ACC 0000000001
GL_ACCOUNT 445000
ITEM_TEXT TEST FOR MD1
REF_KEY_3 40
ACCT_KEY
ACCT_TYPE S
COMP_CODE 3000
BUS_AREA 9900
-
ACCOUNTPAYABLE
-
ITEMNO_ACC 0000000002
VENDOR_NO 9999
GL_ACCOUNT 191100
REF_KEY_1
REF_KEY_2
REF_KEY_3 50
COMP_CODE 3000
BUS_AREA 9900
ITEM_TEXT TEST
-
AccountTax table
ITEMNO_ACC 0000000001
GL_ACCOUNT 445000
COND_KEY JP1I
ACCT_KEY NVV
TAX_CODE I1
TAX_RATE 6,000
TAX_DATE
TAXJURCODE PA0000000
ITEMNO_ACC 0000000002
GL_ACCOUNT 191100
COND_KEY JP1I
ACCT_KEY NVV
TAX_CODE I1
TAX_RATE 6,000
TAX_DATE
TAXJURCODE PA0000000
-
CurrencyAmount table
ITEMNO_ACC 0000000001
CURR_TYPE 00
CURRENCY USD
CURRENCY_ISO USD
AMT_DOCCUR 100,0000
EXCH_RATE
EXCH_RATE_V
AMT_BASE 100,0000
ITEMNO_ACC 0000000002
CURR_TYPE 00
CURRENCY USD
CURRENCY_ISO USD
AMT_DOCCUR 100,0000-
EXCH_RATE
EXCH_RATE_V
AMT_BASE 100,0000-
I could able to post without tax data.
I feel some of the feilds are missing the required data. Please any one could help me.
Thanks
Md
2007 Jan 17 1:51 PM
Hi i dont have clear idea about this but this an information.. myy be usfull for u
If the parameter CurrencyAmount is filled with the currency fields, a complete document check including characteristics and value components of profitability analysis (CO-PA). Otherwise, the account assignment objects are checked.
the above text is in the documentation of the BAPI,
Once gothrough documentaion of the BAPI FM may be u'll get some info
2007 Jan 17 3:58 PM
Mahammad,
Could you please post your entire program. Make sure to use the code tags, as it makes it easier to read.
Thanks,
Aaron
2007 Jan 18 6:38 AM
Hi Aaron,
I am testing the BAPI in SE37, the values are given below which I am trying to post.
[code]
****<header> data
OBJ_TYPE BKPFF
OBJ_KEY $
OBJ_SYS T90CLNT810
BUS_ACT RFBU
USERNAME MNuser
HEADER_TXT DOCU POST MD
COMP_CODE 3000
DOC_DATE 17.01.2007
PSTNG_DATE 17.01.2007
TRANS_DATE
FISC_YEAR 2007
FIS_PERIOD 01
DOC_TYPE WE
REF_DOC_NO
-
ACCOUNTGL TABLE DATA
-
ITEMNO_ACC 0000000001
GL_ACCOUNT 445000
ITEM_TEXT TEST FOR MD1
REF_KEY_3 40
ACCT_TYPE S
COMP_CODE 3000
BUS_AREA 9900
-
ACCOUNTPAYABLE
-
ITEMNO_ACC 0000000002
VENDOR_NO 9999
GL_ACCOUNT 191100
REF_KEY_1
REF_KEY_2
REF_KEY_3 50
COMP_CODE 3000
BUS_AREA 9900
ITEM_TEXT TEST
-
AccountTax table
ITEMNO_ACC 0000000001
GL_ACCOUNT 445000
COND_KEY JP1I
ACCT_KEY NVV
TAX_CODE I1
TAX_RATE 6,000
TAX_DATE
TAXJURCODE PA0000000
ITEMNO_ACC 0000000002
GL_ACCOUNT 191100
COND_KEY JP1I
ACCT_KEY NVV
TAX_CODE I1
TAX_RATE 6,000
TAX_DATE
TAXJURCODE PA0000000
-
CurrencyAmount table
ITEMNO_ACC 0000000001
CURR_TYPE 00
CURRENCY USD
CURRENCY_ISO USD
AMT_DOCCUR 100,0000
AMT_BASE 100,0000
ITEMNO_ACC 0000000002
CURR_TYPE 00
CURRENCY USD
CURRENCY_ISO USD
AMT_DOCCUR 100,0000-
AMT_BASE 100,0000-
[/code]
Thanks
Md
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |