This is a migrated thread and some comments may be shown as answers.

How to add custom field to data source?

4 Answers 271 Views
This is a migrated thread and some comments may be shown as answers.
Chung
Top achievements
Rank 1
Chung asked on 01 Mar 2020, 09:09 AM

 I add "duration" field to data source but it throw error "this.duration is not a function...".

So, How can I do this?

Thanks,

Chung

4 Answers, 1 is accepted

Sort by
0
Chung
Top achievements
Rank 1
answered on 01 Mar 2020, 09:12 AM
The above content is that I need support for Gantt.
Sorry for the unclear description, but I did not find the edit button.
0
Plamen
Telerik team
answered on 03 Mar 2020, 01:34 PM

Hi,

Yes indeed 'duration' is a saved word in kendo Gantt and can't be assigned as tesk property. By default it is returning the end - start value if you call it.

Hop[e this will explain the issue. If you have further questions please let me know.

Regards,
Plamen
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
frank
Top achievements
Rank 1
answered on 06 Mar 2020, 05:33 AM

Since the tables have been enhanced with custome fields therefore the new fields will not automatically in the LBWE pool.
1)You will have to enahance the enhance the extract structure MCVBRP and MCVBRK by appending a new ZZ structure to them where in ZZ struture you will add your new fields you require.
Activate the structure properly and do it carefully...since this will create lot of issues if not done properly.
2)Once these extract struture are enhanced then you will have to write a code in CMOD in the exits to populate these fields for the datasource.
3)Then pull them in the data source in LBWE transactionas told by others and then you should unhide newly added fields in the extract struture in RSA6 for this datasource.
4)Replicate it in BW and make sure that transfer option is checked for the newly added fields.


0
frank
Top achievements
Rank 1
answered on 09 Mar 2020, 08:00 AM
Since the tables have been enhanced with custome fields therefore the new fields will not automatically in the LBWE pool.
1)You will have to enahance the enhance the extract structure MCVBRP and MCVBRK by appending a new ZZ structure to them where in ZZ struture you will add your new fields you require.
Activate the structure properly and do it carefully...since this will create lot of issues if not done properly.
2)Once these extract struture are enhanced then you will have to McDVOICE write a code in CMOD in the exits to populate these fields for the datasource.
3)Then pull them in the data source in LBWE transactionas told by others and then you should unhide newly added fields in the extract struture in RSA6 for this datasource.
4)Replicate it in BW and make sure that transfer option is checked for the newly added fields.
Asked by
Chung
Top achievements
Rank 1
Answers by
Chung
Top achievements
Rank 1
Plamen
Telerik team
frank
Top achievements
Rank 1
Share this question
or