cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with alpha conversion routine

former_member189410
Participant
0 Kudos

hi,

i am using contaract number in 0FI_c06

in r/3 contract no(vtref from dfkkop) is char 20 while in bw my infoobject 0UCCONTRACT is only 10 char so it showz only zeros

den i select the check box for alpha conversion in transfer rules , still its showing the same plz let me know.

Thnx

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

What is the value of contract no in R/3 give me an example. (like this first 10 charaters 0 and reamaining is the value combination of 0-9.) if that is case you can split the first 10 charter and store remaining 10 charaters. otherwise create new infoobject of charater 20 and use it.

Give me more inputs.

if it is useful assign points.

Regards,

Senthil Kumar.P

former_member189410
Participant
0 Kudos

Hi,

Thnx for ur reply

in r/3 my contract no is (9) but wen i c in psa it showz 00000000000000000009 and in cube it showz 0000000000

i did dat alpha conversion check box still its not working plz let me know

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Since length of your object in R/3 is more then that of object in BW that's why Alpha conversion will not work.

Basically ALpha conversion is routine which pads the valuue with 0 if the BW objetc is more then that of R/3.

So in case if your R/3 object is of lentgh 7 and BW of length 10 then it will pad up 3 0's infront of that value.

Now you have something which has 20 in source digits and you are trying to load it into an object which has only 10 digits.So it will pick only 10 digits from left and rest 10 will dicsarded even if you use ALPHA.

So change your BW object to length 20 and then use Alpha conversion.Or write a routine to load only 10 digits from R/3 to BW filed out of 20.

Hope it clears

Thanks

former_member189410
Participant
0 Kudos

Thnx Ajeet