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
556

Hi,

I want to create a bdc program for material master....

Suppose for some material type 3 views are needed and for some 4 and for some all the views......How can i select the views and how can i develope this with the recording process????

5 REPLIES 5
Read only

Former Member
0 Likes
533

go to SHDB..give recording name and then Transaction name MM01...and record it.

read the doc below for creating bdc

regads

alka

Read only

0 Likes
533

Thanks Alka...

But my doubt is on the view selections not in Creation of BDC.....If u can help please tell me...

Read only

0 Likes
533

Hi Reema,

See, as you know, BDC is an one time run interface or data transfer.

When you are selecting the views, You should be specify to select the exact views.

Example.

If you want select the two basic views , you should code as

BDC_SUBSCR SAPLMGV_MATERIAL_SPEC <b>0200SUB1</b>

BDC_SUBSCR SAPLMGV_MATERIAL_SPEC <b>0001SUB1</b>

If you clearly observe , when you do recording, the same display will be there, If you selcet one or few . So, it's purely depends on the postion selection.

Thanks

Manju.

Read only

Former Member
0 Likes
533

Hi,

Use BAPI_MATERIAL_SAVEDATA for MM01

Read only

Former Member
0 Likes
533

U can use the Direct method in LSMW

Object 0020

Method 0000

Program Name RMDATIND

Program Type D Direct Input

It will handle views also.........

Hope this helps