Skip to Content

How to add custom fields RTC model?

We are working on a RTC solution for the first time, now we have created the CompositeProvider to integrate (as Union) the VirtualProvider and the views that result of the RTC model creation and we are getting data, however, we just received a request from our client to include two custom fields to the model, these two fields should be populated by a specific business rule derived from Cost Center and Profit Center.

How can we implement this request?

We try to add these fields as attributes but it doesn´t worked for the data from the views.

We try also to create an additional HANA view with the specific data we need to integrate but it wasn´t possible to include it to the Composite as a join because the VirtualProvider in the CP doesn't allow it.

Finally, we try to add them as fields in the foundation view but we get an error message related to not having the same structure in ACDOCC.

What options do we have? Is it to modify the ACDOCC structure (SAP Note 2490888) the only one?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Mar 15 at 08:07 PM

    Hi Bibiana,

    What is this field? A simply concatenation of two fields or are you talking about a completely new field? Where is this business rule?

    If it's the later option you can simply do something similar to what it's done with the Entity/PEntity fields. You need to implement the logic in the write back though if that needs to go back to ACDOCC.

    If you're talking about a new field, it definitely need to be in ACDOCC otherwise as you saw the RTC model doesn't activate. Furthermore you'd need to stage wouldn't you?

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 14 at 11:56 PM

    Hello,

    To customize we recommend that you copy the pre-delivered HANA views and add your customization to your copied HANA views. Furthermore, you need to create custom Z IOBJs as wrapper for /ERP/ objects and add any additional attributes to those wrapper objects. We created KBA 2607129 which addresses customization of RTC.

    I hope this helps.

    Best Regards,

    Leila Lappin

    Add comment
    10|10000 characters needed characters exceeded

    • Hi,

      I have not done this with /ERP/ objects but I think the following process should apply plus you will have to point to a custom HANA view. From the perspective of what fields are available from ACDOCA and ACDOCC, those are beyond RTC and in the area of your S4H/finance team.

      To create a wrapper IOBJ, using RDS1, create a new InfoObject and select the /ERP/ object as the "Reference Characteristic. Then you should be able to add your additional fields to it.

      Best Regards,

      Leila Lappin