Skip to Content
avatar image
Former Member

SE57: Enhance Maintenence View PAI and PBO

Hi all,

we have generated a maintainance view and have to enhance the PAI and PBO logik.

As modifications are expected, we wonder how to enhance PAI and PBO that PAI/PBO will not be overwritten when we have to generate the maintenance view after a regeneration.

With other words: How can we implement PAI/PBO that they are still in the coding after a second generation of the view?

Thanks, regards

Mario

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • Jun 09, 2017 at 08:15 AM

    Hello,

    First of all custom PAI and PBO modules will be deleted during maintenance screen regeneration so its better to use events of TMG.

    for more details use the below link.

    https://answers.sap.com/questions/210468/enhance-table-maintenance-view-sm34.html

    thank you!

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 09, 2017 at 08:32 AM

    Hi Chintu,

    we need a PBO where we have to generate a GUID. Unfortunatelly we did not found a appropriate event when the user clicks on NEW ENTRY.

    We set break-points in every event SAP provides. There was no break-point processed after clicking NEW ENTRY.

    So I have to find workaround.

    Are there any enhancements spots? How can I use them?

    Regards Mario

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 09, 2017 at 08:44 AM

    Why do you want to generate the GUID in PBO, couldn't you generate it at first save with Level 6: Node: Event 01: Before Saving the Data in the Database. Selected. Trigger this link to expandEvent 01: Before Saving the Data in the Database and/or Event 05: When Creating a New Entry?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 09, 2017 at 08:59 AM

    Hi Raymond,

    Event 01 and 05 do not fit.

    Regards

    Mario

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 09, 2017 at 09:03 AM

    maybe some of you have a sample maintenance view where I can see how SAP realized my problem?

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 10, 2017 at 06:47 AM

    There is a built-in feature for tables with a non-primary key GUID field defined with domain SYSUUID* : it's automatically filled when a line is created. It's not displayed too. You may also implement the event 27 if you want your own GUID logic.

    SAP Library: Event 27: After Filling a GUID Field

    SAP Library: Possible Changes to GUID Fields in the View Maintenance

    Add comment
    10|10000 characters needed characters exceeded