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: 

iDoc basic type FIDCCH01 with error F5866

Former Member
0 Kudos

Iu2019m trying to create an iDoc with basic type FIDCCH01 and message type FIDCCH type. Iu2019m getting error F5866 u201CWhen calling up the interface to financial accounting, no entry was made in the transfer parameter "Application key" when I process the idoc. I do not see an idoc value by this name. What am I missing in my config?

Thanks,

Stan

5 REPLIES 5

Former Member
0 Kudos

Hi Stan,

Message F5866 is returned by the FI Interface when ACCHD-AWREF "Reference Document Number" is initial. This field should correspond to your IDoc segment (within basic type FIDCCH01) E1FIREF-AWREF. I would say that you need to make sure your IDoc is getting the correct value in E1FIREF-AWREF.

Best Regards,

Jamie

Former Member
0 Kudos

Jamie,

Thanks for taking the time to respond. Iu2019m new at the inbound Idocs. When you say u201CACCHD-AWREF "Reference Document Number" is initialu201D what are you referring too? Where does the value for E1FIREF-AWREF come from?

Thanks again for you help,

Stan

0 Kudos

Stan,

First, I'd like to mention that you determine where the error message F5866 is used by entering this message in transaction SE91 and pressing the where-used function. This won't show you any of the dynamic message calls, but it does indicate that function modules FI_DOCUMENT_CHANGE and FI_DOCUMENT_CHECK_CHANGE are both possible origins for the message you received. These function modules are part of the FI Interface which I am assuming is called during the processing of your IDoc.

ACCHD-AWREF is one of the values passed to the FI Interface function modules, and message F5866 is returned when that field is blank. This is why I assume that the IDoc in question is missing a value for the AWREF field.

Based on that assumption, I checked the definition for the IDoc type that you mentioned, FIDCCH01, via area menu WEDI. This IDoc type contains a segment E1FIREF with field AWREF. You can use transaction WE02 to display the IDoc causing the error and check to see if the actual data for E1FIREF-AWREF is blank (ultimately leading to the blank ACCHD-AWREF value and error F5866).

Cheers,

Jamie

Former Member
0 Kudos

Sorry to take so long to get back to you. Thanks for the help. Your reply help guide me where I needed to go to find the info I needed.

Thanks for thanking the time to reply.

0 Kudos

Hi,

i have the same issue,

where did you find the info?

Regards