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: 

BDC Problem in Display Mode 'N'.

Former Member
0 Kudos

Dear All,

I'm encountering a problem during execution of my BDC program in dismode 'N'. I have this BDC program with call transaction MB1B, while using dismode 'A', it works fine and create a matdoc, but if i'll try to use dismode 'N' it fails to create matdoc. I also tried using dismode 'E', there is no error but it will stop on a "coding block" within the process. I also tried to test my SHDB record by simulate background mode and it's working fine. Please help.

Thanks.

5 REPLIES 5

SuhaSaha
Advisor
Advisor
0 Kudos

Why don't you try creating the Mat. Doc. using BAPIs (BAPI_GOODSMVT_CREATE) ? It's easier to maintain & to code

0 Kudos

There could be some reasons like storing the error log in session for reprocessing

antony_paul2
Active Participant
0 Kudos

1. I guess going with a BAPI, if available, will be the best solution

2. What I assume from your explanation is that your SHDB is not exclusive or you have not correctly converted your recording into program.

3. "Coding Block" screen, is it taken care in the recording?

4. Are you executing the BDCDATA using SM35 or Call transaction ? if its SM35 did you analyse the error log? Is it also failing at the "coding block"?

Subhankar
Active Contributor
0 Kudos

Hello,

You can go for BAPI . If there is option for bapi you should go with that instead of BDC .For your case bapi is BAPI_GOODSMVT_CREATE...

Thanks

Subhankar

Former Member
0 Kudos

Even though I would also suggest to use BAPI_GOODSMVT_CREATE, to fix your problem as is, while recording check the "Simulate Background Mode".

I have faced the same issue before, the new recording with "Simulate Background Mode" works well.

Hope it helps.

Sujay