on 01-31-2016 5:25 AM
Hi
I'm extracting the data fro EQUI table from SAP ECC into Oracle By using Data Service . I would like to remove two characters from the source value while data is extracting from ECC to Oracle (Template Table)
The source data is like below
EQUNR OBJNR
123 IE00000123
I want to remove IE from the OBJNR field source value and like the target data like below
EQUNR OBJNR
123 00000123
How can i achieve this in SAP BODS
Please let me know
Thanks
Mubeen
HI Muhammed,
Please try Substr('IE00000123',3,LENGTH('IE00000123')-2) function.
Regards
Asgar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mohammed,
Click on the column on which you want to populate OBJNR column value in SCHEMA OUT
bottom you can see MAPPING,SELECT,FROM,GROUPBY... etc tabs
IN mapping you need to apply below
ltrim(TABLE.OBJNR,'IE')
Bhanu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mohammed,
If In case built functions are not recognizing , then my understanding is there is something wrong in your repository. when we create repository by default some tables are created in repository DB, those will be prefix with "AL_".
So all the inbuilt function are stores in Al_FUNCINFO table.if in case there are no values in that table then we can confirm that repository is not created properly.
so you need to create repository again and automatically you will get values in Al_FUNCINFO table.
Regards
Bhanu
Hi Mohammed,
Try to apply ltrim( )function
ltrim('IE00000123','IE')
Thanks,
praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.