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
286

Hi all,

I am new to this community, kindly help me how to use multiple sessions in a BDC program.for example if i am giving matnr value in select-options, if the material is already exist it should automatically taken to mm03. otherwise it should accept the new material using mm01.

reply me, urgent

Thanks,

1 REPLY 1
Read only

former_member480923
Active Contributor
0 Likes
264

Check from MARA if the return sy-subrc . Call the BDC of MM03 if sy-subrc = 0 and MM01 if sy-subrc = 4.

You can check on the following program: RMDATIND for updating the Material Master Information.

Hope that Helps

Anirban M.