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

Problem In Converting BDC recording to program

Former Member
0 Likes
433

Hi to all,

I have recorded ZMM01 using t-code MM01 to create material with accounting codes. Here i am able to create material with accounting codes. But when I am converting that into program there i am getting problem(not creating any material and not showing any error). So please guide me.

Any help would be appreciated .

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
401

You should use BAPI_MATERIAL_SAVEDATA instead of a BDC.

REgards,

Rich Heilman

3 REPLIES 3
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
402

You should use BAPI_MATERIAL_SAVEDATA instead of a BDC.

REgards,

Rich Heilman

Read only

0 Likes
401

Here I have Z fields like brand code and product code.

Read only

Former Member
0 Likes
401

Have you tried executing your BDC program in debug mode with mode A? Also, are you trapping errors in BDCMSGCOLL structure?

Thanks,

Santosh