‎2004 Dec 01 12:22 PM
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.
‎2004 Dec 01 1:48 PM
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.
‎2004 Dec 01 2:00 PM
HI!
If you want to create/extend a material use following
FuBa 'MATERIAL_MAINTAIN_DARK'
BatchInput is not the best way to create material
‎2004 Dec 02 4:51 AM
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
‎2004 Dec 02 7:54 AM
Hi Arun,
You can use FM MATERIAL_BTCI_SELECTION to get the data needed for the selection of the views.
Regards,
John.
‎2004 Dec 02 9:32 AM
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
‎2004 Dec 02 10:05 AM
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.