Application Development 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: 

issue with conversion exit

AnkushAwasthi
Explorer
0 Kudos

Hello Folks,

I am facing trouble in statndard conversion exit  CONVERSION_EXIT_PROJN_INPUT it is showing me  error

In one section there is no number. "O-0000-XX-X-XXXX-XXXX-X"

Message no. CJ608

Diagnosis

You have maintained characters in the key for the project definition or WBS element, that are not valid according to the coding.

how to catch this error message in output as there is no exception defined in standard function.

Thanks in advance

Points will be rewarded

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor

Conversion-exit INPUT FM are allowed to raise Error message, as thy are intended to be executed in PAI of a dynpro, so error raised to screen and field allowed to input for correction.

Conversion-exit OUTPUT FM don't raise error, as they are executed in PBO or during spool generation, where no screen action is yet allowed.

If you use INPUT FM in a program and not in a screen dynpro use the generic exception error_message = n.

Regards,

Raymond

2 REPLIES 2

raymond_giuseppi
Active Contributor

Conversion-exit INPUT FM are allowed to raise Error message, as thy are intended to be executed in PAI of a dynpro, so error raised to screen and field allowed to input for correction.

Conversion-exit OUTPUT FM don't raise error, as they are executed in PBO or during spool generation, where no screen action is yet allowed.

If you use INPUT FM in a program and not in a screen dynpro use the generic exception error_message = n.

Regards,

Raymond

0 Kudos

Thanks Raymond its the correct answer.