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: 

Catch error in FM CONVERSION_EXIT_ABPSP_INPUT

vinay_pasalkar
Participant
0 Kudos

Hi Experts,

I am using the FM  CONVERSION_EXIT_ABPSP_INPUT to convert the External WBS to  Internal format of WBS, in order to create Internal order from it.

This is being done in Interface.

Now when we have an incorrect entry of WBS given to this FM, it gives error in the status bar- 'In one section there is no number. "X.00000.00000.00.00.00.0'

As I am looping on to the number of records, records after this incorrect WBS does not get processed.

Could you please let me know how can I capture the error for that WBS & proceed to next records.

Thanks

Vinay

4 REPLIES 4

Former Member
0 Kudos

Hi Vinay,

Use this

CALL FUNCTION 'CONVERSION_EXIT_ABPSP_INPUT'

  EXPORTING INPUT = < Variable>

  INPORTING OUTPUT = <Variable>

EXCEPTIONS

ERROR_MESSAGE = 99.

Regards,

Rudra

vinay_pasalkar
Participant
0 Kudos

Thanks. I got the solution.

0 Kudos

Hi Vinay,

I know this post is a history now. But what solution had you found.

Regards,

Arya

0 Kudos

H Arya, add EXCEPTIONS MESSAGE_ERROR = 99