cancel
Showing results for 
Search instead for 
Did you mean: 

regarding object for material creation

former_member189596
Active Participant
0 Kudos

hi freinds,

my customer requirement is create material views thorugh workflows,

is there any point to know exact business object for this.......

now iam working on bus0001006, but with this i am not able to pass sales org and plant and distubutuion channel fields,

thanks in advance

bhaskar

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Generally when we create material using bdc we have file tp upload data, here also you will have to either take help of file or you have to just send the view screen to the person who is suppose to create material.

How will system know the parameters of material before material is created, it has to be decided by us right?

Thanks,

Shweta

former_member189596
Active Participant
0 Kudos

hi swetha.....

thank u...

<u>i am telling total process</u>,

workflow is trigger when material is created....but that time we will take basic data views only.............then second user getting that items in his inbox with business object process..........there i want display sales view creation screen for entering sales data.........

after lot of R& d process, i come to know that for passing plant and sales org and distrubution chnannel.......we wll create one Ztable with Material type as key field......... so i need to pass that values into workflow container or task conatiner with reference of Material type field.

For running this process where i write code ? wht is that code

Thanks in advance,

Bhaskar

.

Former Member
0 Kudos

For this procecss you have to copy busines object, make a zobject (subtype). After that you need to create method which will fetch sales data from that ztable.

For creating method, go to swo1, give your zobject and create a method. You wil have refer some link to understand how to create method. In that method you will have to give you function module name which will be fetching data from your ztalbe.

You can see method savedata: double click on it and see there is a function module assigned in abap tab. Then select that method and click on perform. YOu can see hoe using macros SWC_GET_ELEMENT CONTAINER etc...container elements are set and then get....

You will haveto use this method in your task, making your task as background.

Thanks,

Shweta