Do you have any question about this error?
Message type: E = Error
Message class: M2 - LIS: Generating and updating info structures
Message number: 787
Message text: Communication structure & does not contain a field of type & !
Your communication structure &V1& does not contain a field of type
&V2&. The corresponding reference fields are, however, required for
quantity and currency fields.
A quantity field of type QUAN requires a unit of measure field of type
UNIT as reference field. A currency field of type CURR requires a
currency unit field of type CUKY as reference field. Your communication
structure must contain these reference fields.
Further processing of the LIS inbound interface is not possible.
RESET N1
Terminate maintenance of the reference fields.
Select the function <LS>Environment -> Communication structure</>.
Add the missing reference fields to your communication structure.
Error message extract from SAP system. Copyright SAP SE.
M2787
- Communication structure & does not contain a field of type & ! ?The SAP error message M2787, which states "Communication structure & does not contain a field of type &!", typically occurs in the context of Material Management (MM) or related modules when there is an issue with the communication structure used in a specific process, such as a report or a data transfer.
Cause:
- Missing Field: The communication structure defined in the system does not contain a field of the expected type. This could happen if the structure was modified or if the field was removed or renamed.
- Incorrect Configuration: The configuration settings for the communication structure may not align with the expected data types or fields.
- Data Dictionary Changes: Changes in the data dictionary (like adding or removing fields) that are not reflected in the communication structure can lead to this error.
- Custom Development: If there are custom developments or enhancements that reference the communication structure, they may not be aligned with the current structure.
Solution:
Check the Communication Structure:
- Use transaction SE11 (Data Dictionary) to check the definition of the communication structure mentioned in the error message. Ensure that it contains the required fields of the correct data types.
Review Configuration:
- Go through the configuration settings related to the communication structure to ensure that they are set up correctly. This may involve checking the relevant customizing transactions in the MM module.
Adjust Custom Code:
- If there are custom programs or enhancements that reference the communication structure, review the code to ensure it is compatible with the current structure. Update the code if necessary.
Transport Requests:
- If the issue arose after a transport request, ensure that all related objects were transported correctly. Sometimes, missing objects can lead to inconsistencies.
Consult Documentation:
- Check SAP Notes or documentation related to the specific communication structure for any known issues or updates.
Testing:
- After making changes, perform thorough testing to ensure that the error is resolved and that the system behaves as expected.
Related Information:
If the problem persists after following these steps, it may be beneficial to reach out to SAP support or consult with a technical consultant who specializes in SAP MM or ABAP development.
Get instant SAP help. Start your 7-day free trial now.
M2786
This combination of reference table and reference field is not allowed!
What causes this issue? The combination of reference table &V1& and reference field &V2& is not permitted for the field &V3& ...
M2785
Event & cannot be used for the IDoc interface!
What causes this issue? The LIS inbound interface for the event &V1& was not generated as an IDoc. This means that you need to transfer your ...
M2788
Communication structure & is incomplete and not active!
What causes this issue? Results of the check of communication structure &V1& show that the communication structure is incomplete and not acti...
M2789
Incorrect generation of program &
What causes this issue? The main program &V1& for the generated updating function modules cannot be generated due to a syntax error. The erro...
Click on this link to search all SAP messages.