2024 May 23 5:09 PM - edited 2024 May 24 6:44 AM
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
Request clarification before answering.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@junwu How ? if it is can u let me know best solution
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We cant directly use the Function Module in AMDP.
But we can try like this below
SELECT LPAD ('end', 15, '12345') "lpad" FROM DUMMY;
SELECT LPAD ('end', 2, '12345') "lpad" FROM DUMMY;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@darshan_shah01Use a function to detect if all characters are digits or not, and define an if/else condition (CASE), see the "SQL Functions" (link below).
EDIT: for information the link given above https://help.sap.com/docs/HANA_SERVICE_CF/7c78579ce9b14a669c1f3295b0d8ca16/20e40bdb75191014bc66f14fa... corresponds to the LPAD function
User | Count |
---|---|
34 | |
21 | |
13 | |
8 | |
5 | |
4 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.