2009 Nov 10 6:43 AM
Hi All,
I am using a funciton module API_RE_CN_CHANGE to update the tax type and tax group for contract in RECN tcode. I am passing the company code and contract to BAPI 'API_RE_CN_GET_DETAIL' to get the details and i passed change indicator U to update the contract. But i am getting UPDATE TERMINATED error message and some times tax type and tax group are not updating to the tcode RECN.
LOOP AT IT_TERM_PAYMENT.
CALL FUNCTION 'API_RE_CN_CHANGE'
EXPORTING
ID_BUKRS = WA_UPLOAD-BUKRS
ID_RECNNR = WA_UPLOAD-RECNNR
IT_TERM_PAYMENT = IT_TERM_PAYMENT[]
EXCEPTIONS
ERROR = 1
OTHERS = 2.
endloop.
How to capture the error messages?
Pls suggest me how to use API_RE_CN_CHANGE.
Thanks in advance
Sreekala.
Hi All,
I am using a funciton module API_RE_CN_CHANGE to update the tax type and tax group for contract in RECN tcode. I am passing the company code and contract to BAPI 'API_RE_CN_GET_DETAIL' to get the details and i passed change indicator U to update the contract. But i am getting UPDATE TERMINATED error message and some times tax type and tax group are not updating to the tcode RECN.
LOOP AT IT_TERM_PAYMENT.
CALL FUNCTION 'API_RE_CN_CHANGE'
EXPORTING
ID_BUKRS = WA_UPLOAD-BUKRS
ID_RECNNR = WA_UPLOAD-RECNNR
IT_TERM_PAYMENT = IT_TERM_PAYMENT[]
EXCEPTIONS
ERROR = 1
OTHERS = 2.
endloop.
How to capture the error messages?
Pls suggest me how to use API_RE_CN_CHANGE.
Thanks in advance
Sreekala.
2009 Nov 10 6:46 AM
after that function module. if sy-subrc = 0 .
i used commit work to update to the database.
2009 Nov 27 8:14 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |