Hi,
I went through a lot of posts in SCN, openSAP and the SQL script guide document for the error "Internal error during instantiating calculation model". Typically the error arises when one tries to use a restriction in a CE_PROJECTION command.
I know that this topic has been widely discussed already but no where did I see the issue getting solved for the person who complains about the issue.
Can we have a final say on the syntax to be used for a CE_PROJECTION
Syntax 1:
tp2_scitairp = CE_PROJECTION(:tp_scitairp, [ "MANDT", "ID", "MASTERCITY", "COUNTRY"], '"ID" = :AIRPORT_CODE' );
notation: single quote double quote field_name double quote = variable_name singlequote
Syntax 1 activates ok but throws error when called.
OR
Syntax 2:
tp2_scitairp = CE_PROJECTION(:tp_scitairp, [ "MANDT", "ID", "MASTERCITY", "COUNTRY"], '"ID" = :AIRPORT_CODE' );
notation: 3 single quotes field_name 2 single = variable_name singlequote
Syntax error when checking/activating the procedure
OR
Tthe error happens in Rev48 systems.
Can we have a final judgement please?
Thanks,
Benedict