Skip to Content
-3

How do we generate a TMG using a custom program?

Hi,

Can we achieve TMG recording using BDC? If SE54, then please update me the steps.

I tried recording T-Code se54 but the TMG is not re-generating the view.

Thanks & Regards,

Shan.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Jan 04 at 05:27 AM

    Hi,

    Check the report program RSVIEWGN for single table/view maintenance generation or RSVIEWMA for mass generation.

    Thanks & Regards,

    Rakshith Gore

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 04 at 10:37 AM

    I am able to achieve my requirement using the below FMs

    VIEW_MAINTENANCE_CALL - to read the TMG of the view,

    VIEW_MAINTENANCE_DELETE - to delete the TMG of the view and

    VIEW_MAINTENANCE_GENERATE - to generate the TMG for the view.

    But,

    Now, these FMs are populating the dialog boxes on the front end. My user does not want to see it. Hence, is there a way to hide them and pass the dynamic values through a custom coding. Please help. Thank you.

    Warm Regards,

    Shan.

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 03 at 10:44 AM

    BDC on SE54.

    Btw, what is the requirement that necessitates to generate TMGs for Custom tables, in mass.

    K.Kiran.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Ms. Jelena,

      I want to generate TMG through a custom program. I need to pass dynamic values to the TMG parameters (such as Auth Grp, Function Grp, Maintenance screen and the package).

      This is the scenario that I need to achieve. I believe that I am clear to you now.

      Sorry for the typo error. My user wants to achieve auto-generation of TMG using a custom program.

      1. I created a maintenance view. I add custom fields to this view through a custom program.

      2. Whenever I call this custom program, it will read the view, add the custom fields (according to the user req.) to the view, and activate the view.

      3. After activation of the view, I have to re-generate the Table maintenance generator. In order to do this, we need to write a custom program where we will pass the dynamic values to generate TMG.

      Thanks & Regards,

      Shan.

  • Jan 03 at 01:21 PM

    Hi,

    I would be really interested in knowing the business use case which asked to create a TMG dynamically or through a custom program.

    By the way, what is the purpose of a TMG while you can directly update the table using the same custom program.

    Regards.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Ms. Jelena,

      I have achieved my requirement. Thanks for your kind advice. I will take a note of it and try to avoid using such notes.

      The design is that - For an existing View ---> Add a custom field to a view ---> activate it and generate the TMG.

      Thank you for your comments.

      Regards,

      Shan.