-
Recent Posts
Recent Comments
kidex2 on Process chain kill reyemsaibot on Process chain kill Ben on Filter out special characters… kidex2 on Alpha conversion in HANA … FRANCO JORDAN on Keepass to open SAP GUI Archives
Categories
Meta
Category Archives: SAP BW/4 HANA
Dependency analysis on HANA calculation views
Just a small tipp… in order to analyze dependencies of calculation views you can use the following table: SELECT * from OBJECT_DEPENDENCIES WHERE (dependent_object_name like ‘%IOLE%STATUS%’ or base_object_name like ‘%IOLE%STATUS%’ ) and dependent_schema_name = ‘_SYS_BIC’
Posted in HANA, SAP BW/4 HANA
Leave a comment
Starting AfO from ABAP
Just a small snipped: AfO can be started via transaction RAAOE. Directly triggered from ABAP works this way:
Filter out special characters through SQL/AMDP
With this example AMDP script special characters gets sorted out using regular expressions: outTab = SELECT “/BIC/A”, “/BIC/B”, REPLACE_REGEXPR(‘([^[:print:]|^[\x{00C0}-\x{017F}]|[#])’ IN “/BIC/C” WITH ” OCCURRENCE ALL ) AS “/BIC/C”, “/BIC/D”, “RECORD”, “SQL__PROCEDURE__SOURCE__RECORD” FROM :inTab; The expression filters everything non printable or … Continue reading
Alpha conversion in HANA SQL
To do a alpha conversion directly in AMDP script the following expression can be used: SELECT …, CASE WHEN ( LENGTH(LTRIM(hanaview.”CHARACTERISTIC”,’ 0123456789′)) = 0 and LTRIM(hanaview.”CHARACTERISTIC”,’ ‘) <> ” ) THEN LPAD( hanaview.”CHARACTERISTIC”,5,’0’ ) ELSE hanaview.”CHARACTERISTIC” END as “/BIC/CHARACTERISTIC”, … … Continue reading