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

MM01 TRANSACTION

Former Member
0 Likes
1,235

Hi,

Please let me know how can i select a view in backround processing in BDC using mm01 transaction. Based on material type , the records in view change.

req is to maintain a plant for given material range in bdc in background. Is there r any function module available.

6 REPLIES 6
Read only

Former Member
0 Likes
1,092

HI Arun,

I don't know on which release you are, but instead of MM01 you could consider MMZ1 which is a lot easier to handle with batch input.

Regards,

John.

Read only

Former Member
0 Likes
1,092

HI!

If you want to create/extend a material use following

FuBa 'MATERIAL_MAINTAIN_DARK'

BatchInput is not the best way to create material

Read only

Former Member
0 Likes
1,092

Hi John ,

My problem is that i want to creata a plant for a range of materials , since the type of material is different do the list of options that comes is different , if i want to select a perticular option i am not able to as it's position changes with the material type. Is there any way to hard code this option in the program.

Regards

Arun

Read only

0 Likes
1,092

Hi Arun,

You can use FM MATERIAL_BTCI_SELECTION to get the data needed for the selection of the views.

Regards,

John.

Read only

Former Member
0 Likes
1,092

Hi John ,

Could you please explain how can i use the function

MATERIAL_BTCI_SELECTION.

When i try to execute it with a sample input i get no result and and execption NO_AUTHORITY is generated.

Regards

Arun

Read only

0 Likes
1,092

Hi Arun,

FM <b>SELECTION_VIEWS_FIND</b> should be very useful in this case.

There are three FModules totally involved:

a) <b>T130M_SINGLE_READ</b>

Pass TCODE = MM01, and get T130M values

b) <b>BILDSEQUENZ_IDENTIFY</b>

Pass KZRFB = 'X',TCODE_REF=T130M-TRREF and get

BILDSEQUENZ values

c) <b>SELECTION_VIEWS_FIND</b>

Pass BILDSEQUENZ and T130M-PSTAT

Now, this function module holds the values of all the views and the next screen numbers.

I believe, you are expecting a code sample(which I don't have at the moment), but I am sure you can b(u)ild on this.

Regards,

Subramanian V.