Quantcast
Channel: SCN : All Content - ABAP for SAP HANA
Viewing all articles
Browse latest Browse all 831

Call AMDP(ABAP Managed Database Procedure) Inside AMDP Method

$
0
0


Dear All,

 

Yet another very interesting topic in AMDP, which is how to call AMDP method inside AMDP method.

 

Well, before moving forward let's see an overview of AMDP is

here

ABAP Managed Database Procedures - Introduction

Accessing tables from different schema through AMDP.

 

 

Scenario :-

                    1. Create  AMDP method which will get flight id(airline code) and aggregated price from currency and later will be called in another AMDP.

                    2. Create  AMDP method which will get flight name from airline code which is derived from AMDP in step1.

 

 

Steps :-

 

AMDP Definition

 

Defination.PNG

 

AMDP Implementation

 

Implimentation.PNG

 

 

Calling AMDP in program

 

Program.PNG

 

Desire Output

 

Output.PNG

 

I hope during realization that might be useful.

 

-Cheers

Amol


Viewing all articles
Browse latest Browse all 831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>