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: 

Handling unpredicted error message with return value of the same in BDC

rejish_balakrishnan
Contributor
0 Kudos

Hi all,

When i create a bdc program to create a purchase order , the screen stops at an message (of type I).

in background mode (eg : Sometimes becoz of condensing problem in fields and character conversion).

In such cases i need to move on with transaction by handling this popup.

Is there any way that i could atleast handle an information(Non critical) message and make the value of the message as always 'OK' .

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

FORM populate_data USING value(p_fieldname)

value(p_fieldval).

CLEAR t_bdcdata.

bdcdata-fnam = p_fieldname.

bdcdata-fval = p_fieldval.

Condense p_fieldname.

Condense p_fieldval.

APPEND t_bdcdata.

ENDFORM.

Hope this Code will Work.

Provide me with your Code i will try to help you....

Thanks

kalyan.

2 REPLIES 2

Former Member
0 Kudos

Hi,

FORM populate_data USING value(p_fieldname)

value(p_fieldval).

CLEAR t_bdcdata.

bdcdata-fnam = p_fieldname.

bdcdata-fval = p_fieldval.

Condense p_fieldname.

Condense p_fieldval.

APPEND t_bdcdata.

ENDFORM.

Hope this Code will Work.

Provide me with your Code i will try to help you....

Thanks

kalyan.

0 Kudos

I have overcome by using the same ..

But sometimes i see a popup .

eg:

(Net price adopted from purcahse requisition - do u want to continue )

OK CANCEL

And this is just an information message and just an 'ENTER' is required to continue .How to do it ?