‎2009 Jul 29 9:14 AM
Hi,
I am using a FM MMPUR_EKKN_READ_EBELN to retireve some data related service entry sheet. While executing this FM from SE37 it is showing correct WBS(I.0002.0003-175). when I am calling the same FM from a program it is giving 00000298. There is no WBS element with that value.
Please give some suggetions to avoid this problem.
Thanks and Regards,
Chandra Madapati
‎2009 Jul 29 9:23 AM
Hi,
Use the Conversion exit related to the WBS element..
CONVERSION_EXIT_ABPSP_INPUT
CONVERSION_EXIT_ABPSP_OUTPUTFunction module CONVERSION_EXIT_ABPSP_OUTPUT
Import parameters Value
INPUT 0000298
Export parameters Value
OUTPUT 1-4210/3
‎2009 Jul 29 9:17 AM
i think u need to pass vbeln or other variables thru CONVERSION_EXIT_ALPHA_INPUT to get exact field length..just check input fields in debugging mode..padding 0 might be missing..check data type of ur variables and of FM...
cheers
Edited by: Madan Gopal Sharma on Jul 29, 2009 10:20 AM
‎2009 Jul 29 9:19 AM
Hi,
This seems to be due to mismatch between the variable declaration for WBS Element by you and as used in FM.
Regds,
Anil
‎2009 Jul 29 9:23 AM
Hi,
Thank you for your fast response, There is no WBS element with 0000298.
Iam passing correct EBELN value into the FM, same value in both cases.
The same thing happening for the table EKNO also while displaying from SE16 it is showing correct and in program from select statement it is giving wrong as mentioned earlier.
Thanks and Regards,
‎2009 Jul 29 9:19 AM
Hi Chandra,
For WBS there is a conversion routine, could you check before passing to the FM have you used the conversion routine.
‎2009 Jul 29 9:23 AM
Hi,
Use the Conversion exit related to the WBS element..
CONVERSION_EXIT_ABPSP_INPUT
CONVERSION_EXIT_ABPSP_OUTPUTFunction module CONVERSION_EXIT_ABPSP_OUTPUT
Import parameters Value
INPUT 0000298
Export parameters Value
OUTPUT 1-4210/3
‎2009 Jul 29 9:39 AM