on 02-20-2010 12:19 AM
Hi All,
I have one master data characterstic as CHAR 8 with ALPHA set.
Now I am getting values like :
Master Data value Master TExt
17 Information technolugy
017 human resource
0017 Sales
Can you siggest me how to design teh CHar master data so that I can have master data values as 17,017 and 0017 all distinct.
also when user do F4 values on variable based on this char they should have all values listed.
Thnaks
Mukesh
Hi,
See the following program, and the same logic you can apply in Transfer Rules/Transformations. Take ABAPer help. Change the Code as per your requiremets, first copy and past this code in SE38 and see the result.
REPORT ZALPHA_INPUT.
DATA: ZI(18) TYPE C,
ZO(12) TYPE C.
DATA: ZS(12) TYPE C,
ZR(18) TYPE C.
ZI = '000000099999889925'.
ZS = '099999889925'.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = ZI
IMPORTING
OUTPUT = ZO.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
INPUT = ZS
IMPORTING
OUTPUT = ZR .
Write:/ ZI.
Write:/ ZO.
Write:/ ZS.
Write:/ ZR.
Thanks
Reddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Remove the ALPHA conversion routine from the infoobject.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you select master data as Alpha converted, then it will 17, 017 and 0017 as seperate numbers.
You can follow your source system how it was designed.
If it is Alpha converted, and if you press F4, it will show all the values 17, 017, 0017 etc...
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No its not treating them different , when i try to load it gives me duplicate error.
When i check remove duplicate error at info-package level it only appends as 17.
problem here is we have "000" in front and ALPH do the appending of 00000 as per teh lenghth of teh CHar.
Can you suggest any other solution
Thanks
Mukesh
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.