‎2009 May 25 8:55 AM
Hi all,
i am working with BAPI_ACC_DOCUMENT_POST Bapi for posting document .
this Bapi is working fine only one issue i am facing is it is not capturing with holding tax.
bapi is not calculating with holding tax .
regards,
Mohd.
‎2009 May 25 11:25 AM
Hi Abdul,
Tyr to use this BAPI, BAPI_ACC_GL_POSTING_POST,
It will work for your requirement.
CALL FUNCTION 'BAPI_ACC_GL_POSTING_POST'
EXPORTING
documentheader = doc_header
IMPORTING
obj_type = doc_header-obj_type
obj_key = doc_header-obj_key
obj_sys = doc_header-obj_sys
TABLES
accountgl = doc_item
currencyamount = doc_values
return = return
extension1 = extension1.
‎2009 Aug 07 6:35 AM
Hi,
Can u plz send the sample code...what are all the values i need pass & from where i need to pick to fullfil transaction f-28.
Please help me to resolve this...
Regards,
Ravi
‎2012 Jan 05 4:01 PM
hello Ravi!
i have the same problem.
Can u plz send the sample code?
thanks
‎2009 May 25 11:30 AM
Hi,
Check this BAPI 'BAPI_ACC_GL_POSTING_POST' - General G/L Account Posting
Regards,
Jyothi CH.
‎2009 May 25 11:54 AM
Hi ,
BAPI_ACC_DOCUMENT_POST bapi is working fine .
only thing is how to populate with holding tax code .
regards,
Mohd.
Edited by: abdul gaffar on May 26, 2009 5:57 PM
‎2009 May 26 9:31 PM
Hello,
Did you try to use "ACCOUNTWT" tables on BAPI_ACC_DOCUMENT_POST function module?
Regards,
" ACCOUNTWT STRUCTURE BAPIACWT09 OPTIONAL "
‎2009 Jun 16 10:26 PM
Fill the extension1 table with withholding tax details.
CONSTANTS:
variable indicator for ewt tax implementations
lc_chk_ewt_2008(13) TYPE c VALUE 'FIAP_EWT_2008',
Field name indicator for WT base amt in doc currency.
lc_qsshb(08) TYPE c VALUE 'WT_QSSHB' ,
Field name indicator for WT code.
lc_withcd(09) TYPE c VALUE 'WT_WITHCD' ,
Field name indicator for WT type.
lc_witht(05) TYPE c VALUE 'WITHT' ,
Field name indicator for Grp key WT info.
lc_key(06) TYPE c VALUE 'WT_KEY' ,
Indicator yes
lc_x(1) TYPE c VALUE 'X' .
POPULATE THE LINE ITEM & WITHHOLDING TAX CODE
lw_st_ext-field1 = lc_chk_ewt_2008. "Indicator for EWT specific code
lw_st_ext-field2 = p_w_itemno_acc. "Line item number
lw_st_ext-field3 = lc_withcd. "indicator for WITHHOLDING TAX CODE
lw_st_ext-field4 = lw_withcd. "WITHHOLDING TAX CODE value
Adding With holding tax recrods to extension table
APPEND lw_st_ext TO p_it_ext.
POPULATE THE LINE ITEM & WITHHOLDING TAX TYPE
lw_st_ext-field1 = lc_chk_ewt_2008. "Indicator for EWT specific code
lw_st_ext-field2 = p_w_itemno_acc. "Line item number
lw_st_ext-field3 = lc_witht. "indicator for WITHHOLDING TAX TYPE
lw_st_ext-field4 = lw_witht. "WITHHOLDING TAX TYPE value
Adding With holding tax recrods to extension table
APPEND lw_st_ext TO p_it_ext.
POPULATE THE LINE ITEM & WITHHOLDING TAX KEY
lw_st_ext-field1 = lc_chk_ewt_2008. "Indicator for EWT specific code
lw_st_ext-field2 = p_w_itemno_acc. "Line item number
lw_st_ext-field3 = lc_key. "indicator for WITHHOLDING TAX KEY
lw_st_ext-field4 = p_w_itemno_acc. "Line item number
Adding With holding tax recrods to extension table
APPEND lw_st_ext TO p_it_ext.
POPULATE THE LINE ITEM & WITHHOLDING TAX Base amount (optional).
lw_st_ext-field1 = lc_chk_ewt_2008. "Indicator for EWT specific code
lw_st_ext-field2 = p_w_itemno_acc. "Line item number
lw_st_ext-field3 = lc_qsshb. "indicator for WITHHOLDING TAX BASE AMOUNT
lw_st_ext-field4 = 0. "Tax base amount - Optional if Zero
Suppress leading and subsequent empty/null spaces.
CONDENSE lw_st_ext-field4 NO-GAPS.
Adding With holding tax recrods to extension table
APPEND lw_st_ext TO p_it_ext.
‎2009 Jun 18 12:38 PM
‎2014 Oct 30 6:37 PM
‎2009 Aug 18 7:42 AM
Hi Abdul,
I need to post incoming payments for the transaction F-28 by using BAPI_ACC_DOCUMENT_POST....
Can u plz tell me what are all the import parameters i need to pass for the above function module to post incoming payments
Regards,
Ravi
‎2009 Aug 18 7:42 AM
Hi Abdul,
I need to post incoming payments for the transaction F-28 by using BAPI_ACC_DOCUMENT_POST....
Can u plz tell me what are all the import parameters i need to pass for the above function module to post incoming payments
Regards,
Ravi