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 on MB1B

Former Member
0 Kudos

Dear Experts,

I am getting error of "code block" window at the time of recording for BDC In Tcode MB1B.

Can any one send me code for the same if have.

Thanks in advance.

Rajiv singh.

1 ACCEPTED SOLUTION

amit_khare
Active Contributor
0 Kudos

I will suggest to go with BAPI BAPI_GOODSMVT_CREATE instead of doing BDC for Transfer postings.

http://www.sap-img.com/abap/bapi-goodsmvt-create-to-post-goods-movement.htm

Regards,

Amit

Reward all helpful replies.

5 REPLIES 5

Former Member
0 Kudos

Hi Ravi,

For TCODEs like this where you can not record using SHDB. You have to manually find the Field names & FCODEs by pressing F1.

Hope this will help you, I will try to see the code in my archives and will reply you,

Mean while if it's urgent send me a reminder email on Monday.

Thanks,

Darshan Patel

<i><b>Pl Reward points to helpful ans. It motivates us to help others </b></i>

0 Kudos

Hi, Darsan ji

I can get program name,field name, Screen name, Screen no by pressing F1 but how can I get FCode?

Waiting for your reply.

With Warm regards

Rajiv Singh.

0 Kudos

Hi Rajiv,

Just go for the BAPI as told by Amit. and regarding test data, you should check with your functional consultant.

Regards,

Atish

amit_khare
Active Contributor
0 Kudos

I will suggest to go with BAPI BAPI_GOODSMVT_CREATE instead of doing BDC for Transfer postings.

http://www.sap-img.com/abap/bapi-goodsmvt-create-to-post-goods-movement.htm

Regards,

Amit

Reward all helpful replies.

0 Kudos

hi Amit ji,

Thanks for prompt reply.

Can U Please send me a sample data for the same Bapi.

With warm Regards

Rajiv singh.

Message was edited by:

Rajiv singh