Skip to Content
0

SE57: Enhance Maintenence View PAI and PBO

Jun 09, 2017 at 02:46 AM

82

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

6 Answers

Chintu adi Jun 09, 2017 at 08:15 AM
0

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!

Share
10 |10000 characters needed characters left characters exceeded
Mario Müller Jun 09, 2017 at 08:32 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Raymond Giuseppi
Jun 09, 2017 at 08:44 AM
0

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?

Share
10 |10000 characters needed characters left characters exceeded
Mario Müller Jun 09, 2017 at 08:59 AM
0

Hi Raymond,

Event 01 and 05 do not fit.

Regards

Mario

Share
10 |10000 characters needed characters left characters exceeded
Mario Müller Jun 09, 2017 at 09:03 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Sandra Rossi Jun 10, 2017 at 06:47 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded