2024 Jul 18 8:19 AM - edited 2024 Jul 18 5:24 PM
Hello Experts,
Our requirement is to convert BDC to BAPI_ACC_DOCUMENT_POST. The function of this program is to create a credit memo to offset the invoice.
This is the old code(BDC):
And I changed it to BAPI:
And now I'm getting and error where G/L account 6000170 is not defined in chart of accounts CCOA
I also don't know why I should define in chart of accounts when this should be a newly created record?
I've already seen other posts regarding this and nothing seems to be working. This is my first time using this BAPI so I'm also not sure of the mapping. Any help would be great. Thank you!
Hello @Abapper0114
An account has to be created before you can post to it.
Probably you need to add leading zeros to the account number before passing it to the BAPI.
Best regards
Dominik Tylczynski
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
61 | |
11 | |
7 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.