2014 Dec 22 7:29 PM
Hi,
To use event 940 to populate additional fields in the FI document during the transferring to GL, I am adding a field that is available by standard in
structure ACCIT to structure FKK_ACCIT_CUS with the same name as in structure ACCIT, then I am populating the field in event 940, however when I see the field in FB03 the field is still empty. Am I missing some step? or is event 940 only meant to populate custom fields? what should I use if i need to populate a standard field?
Best regards,
M
2014 Dec 23 3:21 AM
Hi Mario,
From the exporting parameter in this event you can see, you can populate below standard fields here.
ZUONR Assignment Number
XREF2 Business partner reference key
SGTXT Item Text
BUPLA Business Place
We have also enhanced this event 940 and have our own logic written here to populate these field of the GL accounting document; it works absolutely fine.
And, for custom fields you can extend the structure FKK_ACCIT_CUS and have your own logic to populate those.
Hope it helps.
Thanks,
Bodhisattwa
2014 Dec 23 12:16 PM
Hi Bodhisattwa,
Have you had the experience of populating a field that is available by standard in ACCIT ?
I am able to populate the fields:
ZUONR Assignment Number
XREF2 Business partner reference key
SGTXT Item Text
BUPLA Business Place
With no problems, but I am having issues to populate the additional standard field (which I added to FKK_ACCIT_CUS with the same name as in ACCIT).
Regards,
M
2014 Dec 24 6:03 AM
Hi Mario,
The Fields in ACCIT have values only when a FI document is generated , i believe the event 940 is called before FI documents are created .
so passing a field of ACCIT in 940 event does not populate the fields you desire because the values for fields of ACCIT are not yet generated,
you need to write the logic to populate the values in this field based on FI-CA data ,if you want to use event 940.
else look for user-exit in FI .
2014 Dec 23 12:11 PM