‎2010 Jun 04 11:50 AM
Dear all
Im using the FM BAPI_ACC_DOCUMENT_POST for the document posting.
in here im passing WHT information in to the
ACCOUNTRECEIVABLE
ITEMNO_ACC = '0000000002'
CUSTOMER = 'D200'
COMP_CODE =1000'
ACCOUNTPAYABLE
ITEMNO_ACC ='0000000001'
VENDOR_NO ='1234567'
COMP_CODE ='1000'
CURRENCYAMOUNT
ITEMNO_ACC = '0000000001'
CURRENCY = 'LKR'
AMT_DOCCUR = '-2,500.0000'
AMT_BASE = '-2,500.0000'
ITEMNO_ACC = '0000000002'
CURRENCY = 'LKR'
AMT_DOCCUR = '2,500.0000'
AMT_BASE = '2,500.0000'
ACCOUNTWT
ITEMNO_ACC = '0000000001'
WT_TYPE = 'W1'
WT_CODE = 'W1'
BAS_AMT_LC = '2,500.0000'
BAS_AMT_TC = '2,500.0000'
BAS_AMT_IND = 'X'
when i post the document it will post correctly , the problem is customer line item also put it the with holding tax line item. but in here i pass only the with holding tax code vendor only. Can you tel me the issue of that. I need to get with holding line only the vendor.
regard
nawa
‎2010 Jun 04 12:18 PM
Hi,
Here is the sample code. check if some thing is missing in ur code.
http://helponabap.blogspot.com/2009/03/help-on-bapiaccdocumentpost-and.html
--
Reddy
‎2010 Jun 04 12:18 PM
Hi,
Here is the sample code. check if some thing is missing in ur code.
http://helponabap.blogspot.com/2009/03/help-on-bapiaccdocumentpost-and.html
--
Reddy