‎2009 Sep 27 3:13 AM
Hi,guru:
I want to make AA posting using BAPI BAPI_ACC_DOCUMENT_POST,I fill in this fields:
OBJ_TYPE ="ZBKPF"
OBJ_LEY = "BKPFFXXX"
OBJSYS = "DEVCLNT200"
BUS_ACT = "RFBU"
USERNAME = SY-UNAME
HEADER_TXT = "HEADER TEXT"
COMP_CODE = "8000"
DOC_DATE = SY-DATUM
PSTNG_DATE = SY-DATUM
TRANS_DATE = SY-DATUM
FISC_YEAR = "2009"
FIS_PERIOD = "09"
ITEMNO_ACC = "0000000001"
GL_ACCOUNT = "1601010000"
ITEM+TEXT = "TEST 1"
ACCT_TYPE = "A"
COMP_CODE = "8000"
FIS_PERIOD = "09"
FISC_YEAR = "2009"
PSTNG_DATE = SY-DATUM
VALUE_DATE = SY-DATUM
FUNDS_CTR = "8120"
CMMT_ITEM = "CO00000000"
ASSET_NO = "000000000007"
SUB_NUMBER = "0000"
CS_TRANS_T = "100"
**********
ITEMNO_ACC = "0000000002"
GL_ACCOUNT = "1002010400"
ITEM+TEXT = "TEST 2"
**********
COMP_CODE = "8000"
FIS_PERIOD = "09"
FISC_YEAR = "2009"
PSTNG_DATE = SY-DATUM
VALUE_DATE = SY-DATUM
FUNDS_CTR = "8000"
CMMT_ITEM = "CO00000000"
***********
ITEMNO_ACC = "0000000001"
CURR_TYPE = "10"
CURRENCY = "CNY"
CURRENCY_ISO = "cny"
AMT_DOCCUR = 8000.0000
************
ITEMNO_ACC = "0000000002"
CURR_TYPE = "10"
CURRENCY = "CNY"
CURRENCY_ISO = "cny"
AMT_DOCCUR = -8000.0000
but i got the error message
"Accounting transaction category RFBU 000000000000 is not defined."
"Enter a transaction type"
how to resolve this error??
Best Regards
Martin Xie
‎2009 Sep 27 10:38 AM
Hi Martin,
1 your code is not readable - why don't you select it with the Mouse and press the above <_> Code button.
2 your code hnas syntax errors because double-quote " is no string delimiter, you may use single-quuote '
3 The currency also in ISO may be 'CNY'; 'cny' can not be processed.
Regards,
Clemens
If you search, you will find pretty much information, i.e. [here|]
Edited by: Clemens Li on Sep 27, 2009 11:54 AM
‎2009 Sep 27 10:38 AM
Hi Martin,
1 your code is not readable - why don't you select it with the Mouse and press the above <_> Code button.
2 your code hnas syntax errors because double-quote " is no string delimiter, you may use single-quuote '
3 The currency also in ISO may be 'CNY'; 'cny' can not be processed.
Regards,
Clemens
If you search, you will find pretty much information, i.e. [here|]
Edited by: Clemens Li on Sep 27, 2009 11:54 AM
‎2009 Sep 27 11:33 AM
Hi,Li:
Those value is not code,but a list of code.
cny-->CNY is ok,but helpless.
I want to make FI-AA posting,I have done GL/AP/AR without error,but for AA,I do not know what to fill these fields:
OBJ_TYPE
OBJ_KEY
BUS_ACT
Best Regards
Martin Xie