on 03-20-2019 4:01 PM
I have a requirement to populate BSEG-XNEGP in BAPI_ACC_DOCUMENT_POST but that field is not part of the interface. I've created the appropriate extension2 structure and have implemented BADI ACC_DOCUMENT. The BADI is working fine. Itab C_ACCIT-XNEGP is getting populated with an 'X'. However, when the document is created, BSEG-XNEGP is blank. See the attached screen shot.
Any clues?
Thanks
Leo
Did you try to set also the flag at header value DOCUMENTHEADER-NEG_POSTNG?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
First of all, check that the negative posting is permitted on the company code level (OBY6) and on the document type level (OBA7).
Regards,
Eli
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you use BAPI_TRANSACTION_COMMIT afterwards?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
11 | |
6 | |
6 | |
4 | |
3 | |
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.