on 2012 Sep 05 11:36 PM
Hi,
Can I filter only numeric data for a field in a Data Transfer Process?
Regards.
Flávia.
Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Flavia,
You can implement this by simply writing an ABAP routine at the DTP level.
Br,
H
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Flavia,
Please once check the below screenshot.
and suppose if u need to write the code , then below is the code:
l_t_range-fieldname = 'give the corresponding IO name'.
l_t_range-sign = 'I'.
l_t_range-opt = 'EQ'.
l_t_range-low = 'here u have to assign the value '.
append l_t_range.
endif.
Hope you got it,
Regards,
RC
OK, I´m trying to write a abap code now, i wrote something like that:
FIND REGEX '[A-Za-z]' IN SOURCE_FIELDS-/BIC/CA_1666.
IF sy-subrc = 0.
"contains letters
RESULT = 0.
ELSE.
"does not contain letters
ENDIF.
I´m thinking about put this code on the start routine in the transformation between the source and DSO.
This abap code is correct? In this case a will take and save only numeric datas in the /BIC/CA_1666 ?
Thanks a lot.
Flávia.
Hi Flávia.
The filter works like the selections in the InfoPackage. You can specify single values, multiple selections, intervals, selections based on variables, or routines.
Choose Change Selection to change the list of InfoObjects that can be selected.
If the Infoobject is having data as combination of numarics and alphamerics,
For ex : Object-A is having the values lik 1A23BZ5 , 12345, C34DF1 , 5656.
you need to filter as only having the numarics (Ex: 12345, 5656) so you have to write the ABAP routine based on Infoobject (Ex: Object-A).
I hope, you are trying to use the filters on Characteristic Infoobjects.
Regards
Malyadri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Filters are applied only on characteristic not on keyfigure.
Regards,
RC
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
I had this issue to me recently.
I think it might because you didn't change the source DSO setting,like this.
Change the field selection peoperties to -> selection possible, and refresh ,that we can find the filter in the DTP.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
41 | |
15 | |
10 | |
9 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.