2008 Dec 10 3:16 PM
Hi, Experts
I´m using the BAPI_ACC_DOCUMENT_POST to simulate the accounting of a incoming invoice via TA FB60. I´m in a 4.6C version.
I have replicated the data via the TA se37 and in this way the bapi returns the document generated, but if I execute the source code with the same data, the bapi, donu2019t take into account the currency items and throws the message Balance in transaction currency
I read that it will be necessary to read the number ranges, determinate the document number that is going to be generated via the FM GET_NUMBER_TEXT , and use that number in the bapi,.
My object type is BKPFF. How can I know the parameters of de FM, NR_RANGE_NR , OBJECTu2026?
Thanks in advance.
Regards.
Mariluz.
2008 Dec 10 11:39 PM
Start trace via ST05 with buffer tables option checked, run FB60 and create a document. End the trace, and look for NRIV and TNRO tables if I remember well. You should find what you look for.