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

BDC Error Handling Through POP-UP

Former Member
0 Likes
810

Friends,

Anybody knows how to handle errors in BDC(Call Transaction) through pop-ups.

i.e. whenever there will be any errorneous data , there will come up a pop-up to enter the correct value and then just press enter to proceed.

Any concept or code is appriciated.

Regards,

Ajoy

Hi..Ajay..

This is not possible if the Transaction is called in Mode 'N'

So you have to call it in Mode 'E' (Errors only).

CALL transaction 'XK01'

USING IT_BDC

MODE 'E'.

if sy-subrc = 0.

endif.

<b>REWARD IF HELPFUL.</b>

3 REPLIES 3
Read only

Former Member
0 Likes
760

Process in mode 'E'.

Rob

Read only

varma_narayana
Active Contributor
0 Likes
760

Hi..Ajay..

This is not possible if the Transaction is called in Mode 'N'

So you have to call it in Mode 'E' (Errors only).

CALL transaction 'XK01'

USING IT_BDC

MODE 'E'.

if sy-subrc = 0.

endif.

<b>REWARD IF HELPFUL.</b>

Read only

0 Likes
760

Thanks for your answer. But the question is to handle the error in BDC Call Transaction through POP-UP.

Actually, this was a Wipro Interview Question, which I have never thought about.

They were not interested abt any

N-> Nodisplay mode

E-> Errors Only mode

A-> All display mode

Probably they fooled me.

Still thanks for the answer.