on 11-23-2012 2:24 PM
Hi experts,
I am trying to assign a tax code manually to the tax code V0 for parameter st_bapi_items_gl-tax_code using code:
data: st_bapi_items_gl type BAPIACGL09.
if sy-tcode = 'RESCSE'.
loop at ct_bapi_items_gl into st_bapi_items_gl.
st_bapi_items_gl-tax_code = 'V0'.
modify ct_bapi_items_gl from st_bapi_items_gl.
endloop.
endif.
inside my BADI implementation ZREFX_BADI_RE_XC_MM_OT_TAX using class ZCL_BADI_RE_XC_MM_OT_TAX which is a copy of CL_BADI_RE_XC_MM_OT_TAX.
I put a break-point in this implementation but it is not stopping when I post service changes in transaction RESCSE. It has stop just yesterday and I havent made any changes and the functional consultant says she hasn't made any changes. What could be the reason?
Regards,
Darlington
Hi Darlington,
maybe the settlement run already stops before. You may check the protocol of the settlement run to see if there are any errors.
If this does not help you might set a break point to see if the program execution gets to the position where the BAdI is called.
class CL_REEX_DOC_FI
Method POST_EX
statement:
* call BAdI REEX_FI_BAPI before posting
IF mf_exit_implemented = abap_true. <<<
mac_trace_badi.
mac_trace 'BADI_REEX_FI_BAPI'.
CALL BADI mo_exit_impl->bapidoc_modify
...
Please set a break point at the IF statement and check whether program exection stops here.
Hope this helps.
Regards, Franz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
15 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.