on 2020 Jul 29 5:17 PM
Hi,
my problem is the same as the one described here:
https://answers.sap.com/questions/6262548/problem-using-bapi-bapiaccdocumentpost-with-vendor.html
The difference in my case is that it doesn't matter if field XZEMP is filled or not, I always receive the error message.
Can someone tell me how to bypass this error?
Thanks in advance and best regards,
Rodrigo
Request clarification before answering.
Post the document using the BAPI and pass X
Later you can call the document change to change the same
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Rodrigo
It is not mentioned what error are you getting?
Check the code in here is this how you are calling
https://answers.sap.com/questions/12664800/sample-code-for-posting-outgoing-vendor-payments-d.html
This is how we are using in our system
I also recommed that you do a where used and see how it works
call function 'BAPI_ACC_DOCUMENT_POST'
exporting
documentheader = ls_doc_header
importing
obj_type = lv_obj_type
obj_key = lv_obj_key
obj_sys = lv_obj_sys
tables
accountgl = lt_account_gl
currencyamount = lt_curr_amnt
extension2 = lt_extension
return = et_return.
Regards
Vinita
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
9 | |
5 | |
5 | |
2 | |
2 | |
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.