‎2010 Feb 25 6:00 AM
SELECT PSPNR "WBS Element No.
POST1
PSPHI
AKSTL
FROM PRPS INTO TABLE IT_PRPS
FOR ALL ENTRIES IN IT_PROJ
WHERE "PSPHI EQ IT_PROJ-PSPNR*
I am getting conversion error when i pass pspnr from PROJ into PSPHI of PRPS manually via SE11 to check the data avialiable.
I guess there is some problem in FM CONVERSION_EXIT_ABPSP_OUTPUT. Can anyone tell how to proceed in the Program ?
wat kinda Programming to be followed ??
pls assist .
‎2010 Feb 25 6:32 AM
Hai
Instead of using Function module CONVERSION_EXIT_ABPSP_OUTPUT use this function module CONVERSION_EXIT_KONPD_OUTPUT.
This may solve your issue i think.
‎2010 Feb 25 6:37 AM
Yes you are right, this problem is due to conversion routine attached at the domain level of these two fields.
To see the values directly, instead of SE11 or SE16 use the transaction SE16N. Copy the values of proj-pspnr received from SE16N into prps table input (now you may use se16 or se11). I tried and I can see the values.
I am not sure if there should be a problem in programing as well. If there is some problem with "WHERE "PSPHI EQ IT_PROJ-PSPNR" ; use the FMs CONVERSION_EXIT_KONPD_INPUT, CONVERSION_EXIT_KONPD_OUTPUT before the select statement on proj-pspnr.
‎2010 Feb 25 6:44 AM
Use CONVERSION_EXIT_KONPD_INPUT and then pass to the select query
‎2010 Feb 25 8:28 AM
Hello,
Try the following before using FOR ALL ENTRIES on the second select statement, just loop across the internal table and pass the value of PSPNR from IT_PROJ in the conversion routine that is applied on it and then modify each record. Then try to use the modified internal table in the select query with for all entries.
Regards,
Sachin
‎2010 Mar 18 9:35 AM