I am trying to commit a transaction that consists of a single BAPI (BAPI_ACC_GL_POSTING_POST)
When I invoke the function prior to the commit, the document is created with Document Number that is greater by 1 than the document number i got from the BAPI invocation output.
When I do not invoke the function prior to transaction commit, then I got Document Number that is MAX+1, however I do not receive any output data from the RfcFunction.
The steps for calling the function are as followed:
RfcTID tid = new RfcTID(Guid.NewGuid());
RfcTransaction transaction = new RfcTransaction(tid);
Thanks in advance,