SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

Event 940

Former Member
0 Kudos

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

4 REPLIES 4

former_member199199
Active Participant
0 Kudos

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

0 Kudos

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

0 Kudos

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 .

Former Member
0 Kudos

of course I have read the description of the event...