‎2005 Jun 09 11:19 AM
Hi,
I'm using BAPI_ACC_DOCUMENT_POST to post an Invoice to the sap system without a purchase order.
I have creates variables for all the structure, and about to call the BAPI.
How do I get , or how can I look up data in the system which I can use in my variables to execute the BAPI for test purposes?
I am working on IDES 4.7 system, and can use data from it.
Thanks.
‎2005 Jun 09 11:22 AM
Hi SIMS,
ACC_BAPI_TEST_DOCUMENT
Run this Report , it uses BAPI_ACC_DOCUMENT_POST and check what values it is passing.
Rgds,
Mano Sri
‎2005 Jun 09 12:11 PM
Hi,
that really helpful. Could you please help me a little further.
when running the report I pick POST DOCUMENT , from the radio button. And for the Logical System I type T90CLNT090.
This Comes back and tells me "IDOC CREATED", but I can not see the invoice in MIR4 or MIR6.
Could you please also tellme how you worked out to se this report.
Many Thanks
Sims
‎2005 Jun 09 12:40 PM
Hi Sims,
Go go to We05 check for mesg type ACC_DOCUMENT, it might have run to error and reason could be missing entries for
RCVPRN Partner number
RCVPRT Partner type
RCVPFC Partner function
MESTYP Logical message
MESTYP Message code
MESCOD Message function
TEST Test indicator
If you want check the postign you need to maintain these entires (using We20).
Rgds,
Mano Sri
‎2005 Jun 09 1:01 PM
Is there an easy way to pick one which would have the correct data anda pass it to the report mentioned?
Which table does the Partner go into?
thanks
‎2005 Jun 09 1:27 PM
Easy way wish i know one .
Did you say you want to know the values to be passed to the BAPI?
EDP13 stores the values i guess.
rgds,
Mano Sri
‎2005 Sep 12 6:19 AM
We don't have BAPI ACC_BAPI_TEST_DOCUMENT.
Please, send to us this script.
P.S. SAP 4.6c