‎2007 Aug 10 2:04 PM
Dear All,
I want to get data from PRPS-PSPHI
its coming but my problem is in the table
i put W_190000-0 for prps-posid
and prps-psphi value is KTAI-0001B
there unconverted value is 00000656
in the select statment its comming only unconverted value (00000656) i want only value (KTAI-0001B)
please give some hint to solve this problem
Thanks
‎2007 Aug 10 2:11 PM
Use the following conversion routines for conversion.
CONVERSION_EXIT_KONPD_INPUT
CONVERSION_EXIT_KONPD_OUTPUT
Mark full points if successfull.
Else reply back with your problem.
Thanks and regards,
Veerendrnath Maddula.
‎2007 Aug 10 2:10 PM
Hi Nelson
w_posid like prps-posid value '9659100'
w_posid_c(24)
w_pspnr2 like prps-pspnr
write w_posid
9659100
write w_posid to w_posid_c
9659100
write w_posid t o w_pspnr2
<<<PR9659100 >>> (If this had been PR00009101 it would have been useful. )
KONPR (conversion exit for domain PS_POSNR)
This is very useful. It converts the internal number to the external number. Show what happens when move is used instead of write.
w_pspnr like prps-pspnr value '00009101'
w_pspnr_c(8)
write w_pspnr
9659100
write w_pspnr to w_pspnr_c
9659100
w_objnr like prps-objnr (none) value PR00009101
w_psphi like prps-psphi (KONPD) value 00004626 (9319000)
write w_objnr
PR00009101
write w_psphi
9319000
write w_objnr to w_objnr_c
PR00009101
write w_psphi to w_psphi_c
9319000
w_objnr_c(22)
w_psphi_c(8)
reward points to all helpful answers
kiran.M
‎2007 Aug 10 2:11 PM
Use the following conversion routines for conversion.
CONVERSION_EXIT_KONPD_INPUT
CONVERSION_EXIT_KONPD_OUTPUT
Mark full points if successfull.
Else reply back with your problem.
Thanks and regards,
Veerendrnath Maddula.
‎2007 Aug 10 3:02 PM
‎2007 Aug 10 3:07 PM