I am passing data to fields
POSNR and custom fields into ACCIT_PA structure
in ACCCR_PA of FM AC_DOCUMENT_GENERATE
But only document is getting created wtihout profitability segment data in it.
. I saw many threads on this topic but couldnot find the answer.