Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Conversion Error-CONVERSION_EXIT_ABPSP_OUTPUT

Former Member
0 Likes
1,939

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 .

5 REPLIES 5
Read only

Former Member
0 Likes
1,212

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.

Read only

Former Member
0 Likes
1,212

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.

Read only

Former Member
0 Likes
1,212

Use CONVERSION_EXIT_KONPD_INPUT and then pass to the select query

Read only

Former Member
0 Likes
1,212

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

Read only

Former Member
0 Likes
1,212

f