on 06-24-2016 5:13 PM
Hi,
I'm using AMDP to process BW transformation. The plan is to do some validations on incoming data and notify user via email if something is wrong. My first thought was to create my own AMDP class with method SEND_EMAIL(importing table) with the method which calls standard function SO_NEW_DOCUMENT_SEND_API1.
Inside BW generated AMDP class method, if certain condition is met, I will call my own AMPD=>SEND_EMAIL(table=> :error_data).
I don't think this will work since my own AMDP class method wont have database procedure. Is this thing that Im trying possible at all?
Thanks
Hello Mijodrag,
it is not possible to call an ABAP function module within an AMDP.
Regards,
Florian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can raise exceptions within SQLScript (SIGNAL and RESIGNAL - SAP HANA SQLScript Reference - SAP Library). Since NW 7.40 SPS08 you can define exceptions for AMDP methods (ABAP Keyword Documentation). CX_AMDP_EXECUTION_ERROR should be the right one.
Hi Florian,
Is it possible to call a classic ABAP Class static method inside AMDP method?
The reason is REPLACE sql string function is not working on SPACE which is why I'm thinking to call ABAP Classical Class Statis Method within AMDP method so that I can use ABAP Syntax to achieve the logic.
Kindly help/guide me to solve the issue.
Regards,
Ramana.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.