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

Former Member
0 Likes
750

I have a BDC program that calls TCODE IW32 which works perfectly for

CALL TRANSACTION 'IW32' USING BDCDATA MODE 'A'

but it is not working for

CALL TRANSACTION 'IW32' USING BDCDATA MODE 'N'.

What can be the possible reasons.Its very urgent..Kindly help..

7 REPLIES 7
Read only

Former Member
0 Likes
720

Hi,

Run the transaction in E mode. When you run it in mode 'A', there must be some okcode you are pressing which allows the process to complete. This action is missing when you run in no screen mode. So i suggest to run this in E mode so that if there is an error, it will stop at error screen and it will help you what was missing. You can add that code and it will run in N mode.

ashish

Read only

0 Likes
720

Hi,

If I run in 'E' mode the processing stops at a particular screen after IW32 even though I have handled BDC_OKCODE 'EXIT' for it

.Is the process stopping because of some error in that screen??But the data is getting updated....

Thanks and Regards...

Read only

0 Likes
720

Yes, when process stops at particular screen, means that the ok code is not handled correctly.

Run SHDB transaction, get th recording and compare with your program. This should fix the problem.

ashish

Read only

0 Likes
720

Can there be any warning messages while updating the data coz I have to press 'Enter' 3 times after saving when there are warnings....If data is perfect then three times hiting enter is not required....Can data be uploaded with warning messages???

Read only

0 Likes
720

Warning messages should not be a problem, it gets handled automatically in No screen mode. There is something else which is missing and you are getting error.

ashish

Read only

0 Likes
720

This message was moderated.

Read only

Simha_
Product and Topic Expert
Product and Topic Expert
0 Likes
720

Hi,

If it is working fine in the foreground and not in the background.

It means u might have not handled the OK_CODE for may be some 'Click'.

Just check and while checking in the foreground,

check where u are pressing "Enter" without getting the OK_Code option.

Dont press "Enter" unless the pop up comes..

Cheers,

SImha.