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

Former Member
0 Kudos
57

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

Former Member
0 Kudos
34

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

read the doc below for creating bdc

regads

alka

0 Kudos
34

Thanks Alka...

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

0 Kudos
34

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.

Former Member
0 Kudos
34

Hi,

Use BAPI_MATERIAL_SAVEDATA for MM01

Former Member
0 Kudos
34

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