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

Coding Block Pop up in BDC

Former Member
0 Likes
1,536

Hi All,

I am calling the transaction MB1B through a dialog program using BDC.

But when the transaction is being called I am getting popup with the title coding block but there is nothing in the pop up screen its blank and when I press ok the transaction gets completed successfully.

But problem arise when I am running the transaction in 'N" mode.

In this case the transaction is not getting completed and its returning with sy-subrc 1001.

Please suggest.

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
955

When you are doing recording then record the popup action also and place the same code in your bdc prog.

When you are doing recording then record the popup action also and place the same code in your bdc prog.

4 REPLIES 4
Read only

Former Member
0 Likes
956

When you are doing recording then record the popup action also and place the same code in your bdc prog.

Read only

Former Member
0 Likes
955

Hi Manik,

Please try the 'BDC_OKCODE' with '/00'.

Hope this helps.

Caglar

Read only

Former Member
0 Likes
955

Hi,

Do the recording in one go, that is, record the screens which you need, and don't record anything extra.

Save the recording, and then try to run the program.

Thanks and regards,

Prerna

Read only

0 Likes
955

Try either a WMMBXY IDOC or a BAPI instead, far simpler.