Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Update COPA fields along with document line items through FIDCC2 idoc

former_member553808
Participant
0 Kudos

I am passing data to fields

AWTYP

AWREF

AWORG

POSNR and custom fields into  ACCIT_PA structure

and

AWTYP

AWREF

AWORG

POSNR

CURTP

WAERS

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.

Please help

2 REPLIES 2

former_member553808
Participant
0 Kudos

please let me know if you need any additional details so that I can provide.

0 Kudos

Hi,

In our landscape, we derive the profitability segment via code, it does not comes via IDOC. In the FI substitution and validation we have put code to populate the profitability segment.