on 2014 Nov 12 10:33 AM
Hello,
We want to use IDoc ACC_DOCUMENT03 to post journal entries from a non-SAP system to SAP ECC 6.0. Process code used (entered in WE20 - Partner profiles) is BAPI and function module BAPI_IDOC_INPUT1. We are having issues to determine what is the correct entry for the IDoc field ITEMNO_ACC for those IDoc segments that do not contain any information.
If we do not enter an ITEMNO_ACC in an empty segment, we receive error messages in the IDoc like for example "No currency line exists for line item 0000000000". If we do enter an ITEMNO_ACC in a empty segment, we receive error messages like for example "Required field TAX_CODE was not transferred in parameter ACCOUNTTAX". Removing the IDoc segments that do not contain any information prevents the error messages, but is not the desired solution as it can differ per IDoc which segments will contain information.
What is the correct entry for ITEMNO_ACC for segments that do not contain any information? How to prevent error messages for segments that do not contain information and where ITEMNO_ACC is blank?
Thanks and kind regards,
André
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hi Meijer,
ITEMNO_ACC is used to link the segment (GL-E1BPACGL09,AP-E1BPACAP09,AR -E1BPACAR09 etc) to the corresponding Amount segment (E1BPACCR09).
For example there is E1BPACGL09 (with GL account 604100) with ITEMNO_ACC as 1 and also a segment E1BPACCR09 with the ITEMNO_ACC as 1 (with amount 100), then a line item will be posted for GL account 604100 with amount 100.
Regarding the error " "Required field TAX_CODE was not transferred in parameter ACCOUNTTAX". let me know which segment is red. is it E1BPACTX09 segment?
Regards,
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
8 | |
7 | |
5 | |
4 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.