I need to use a BAPI for the FB01 transaction.
I think I should use BAPI_ACC_DOCUMENT_POST .
I can manage without problems this header's field:
and positions field such as:
but I can't with this other position field
BSEG-BSCHL ?? (I know it depends on operation key ACCT_KEY (or KTOSL))
RF05A-NEWKO ?? (Account or Matchcode for the Next Line Item)
BSEG-PERNR ?? (Personnel Number)
Does anyone have any idea about these field? Am I using the correct BAPI?