Do you have any question about this error?
Message type: E = Error
Message class: ISSR_TP - Message Class for Statutory Reporting
Message number: 793
Message text: Data object & cannot be assigned to field symbol &
Data object &V1& cannot be assigned to field symbol &V2&: The data
object is probably not contained in the table structure of database
table &V4&.
The system cannot delete data records for SR variant &V3& in database
table &V4&.
Check the settings for copying SR-variant-dependent data records in
database table &V4& in the Implementation Guide (Customizing activity
<DS:SIMG.ISSR_CV_COPY>Enter Customizing Tables to Copy</>); then restart
the activity.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Error message extract from SAP system. Copyright SAP SE.
ISSR_TP793
- Data object & cannot be assigned to field symbol & ?The SAP error message ISSR_TP793 indicates that there is an issue with assigning a data object to a field symbol in ABAP. This typically occurs when the data type of the object being assigned does not match the expected type of the field symbol.
Cause:
- Type Mismatch: The most common cause of this error is that the data object you are trying to assign to the field symbol has a different data type than what the field symbol is defined to accept.
- Field Symbol Declaration: The field symbol may not be declared correctly or may not be compatible with the data object.
- Dynamic Assignment: If you are using dynamic assignments, the data type of the object being assigned may not be compatible with the field symbol's expected type.
Solution:
Check Data Types: Ensure that the data type of the object you are trying to assign matches the data type expected by the field symbol. You can use the
DESCRIBE FIELD
statement to check the data type of the object.Example:
DATA: lv_value TYPE i. FIELD-SYMBOLS: <fs_value> TYPE i. ASSIGN lv_value TO <fs_value>.
Correct Field Symbol Declaration: Make sure that the field symbol is declared with the correct type. If you are unsure of the type, you can declare it as a generic type (e.g.,
TYPE ANY
), but this should be done with caution as it may lead to runtime errors if the types are incompatible.Example:
FIELD-SYMBOLS: <fs_value> TYPE ANY.
Use
ASSIGN
with Type Checking: If you are using dynamic assignments, consider using theASSIGN
statement with type checking to ensure that the assignment is valid.Example:
ASSIGN lv_value TO <fs_value> CASTING TYPE i.
Debugging: If the issue persists, use the debugger to inspect the types of the variables involved in the assignment. This can help you identify where the mismatch is occurring.
Related Information:
By following these steps, you should be able to resolve the ISSR_TP793 error and ensure that your field symbol assignments are valid.
Get instant SAP help. Start your 7-day free trial now.
ISSR_TP792
Data object & cannot be assigned to field symbol &
What causes this issue? Data object &V1& cannot be assigned to field symbol &V2&.System Response The system cannot delete data recor...
ISSR_TP791
Data records for SR variant & cannot be deleted
What causes this issue? The data records for SR variant &V1& belong to the delivered Customizing. For this reason, you cannot delete them usi...
ISSR_TP794
& data records (SR variant &) deleted from table &
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
ISSR_TP795
Data record & for SR variant & could not be deleted from table &
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.