cancel
Showing results for 
Search instead for 
Did you mean: 

Conversion Routine in AMDP for MATERIAL (MATNR)

darshan_shah01
Explorer
0 Kudos

Hi Team,

How can we use 'CONVERSION_EXIT_MATN1_INPUT'  in AMDP, where we need to convert Material No, into internal formant ? we have to avoid loop

darshan_shah01
Explorer
0 Kudos

Solution that I found to be better and used:

I created a new CDS on MARA with this code:

SELECT FROM mara {
key matnr,
LTRIM(matnr, '0') AS Converted_matnr
}.

and used that CDS.

junwu
Active Contributor
0 Kudos
use that sql view in your amdp? if yes, i think it is nonsense.
View Entire Topic
junwu
Active Contributor
0 Kudos

1.why bother go to cds?

you have ltrim in amdp

2.you should never even look at the sql view. you should never consider its existence. in future, there is no sql view for cds.

darshan_shah01
Explorer
0 Kudos
that the point I can reuse that same CDS all time
junwu
Active Contributor
0 Kudos
don't know what you are talking, here we are discussing amdp right?