Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Sample code for Maintenance View Event

Former Member
0 Likes
638

Hello all,

I am working on enterprise Edition. Can any one give me a sample code for the Event : 01 Before saving the data in the database.

Thanks for your help.

Regards,

Salil

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
477

You have to define a routine linked to 01 event, for example: 01-> MY_ROUTINE.

Then you push EDITOR button, the system'll create a new include where you'll write code of your routine:

FORM MY_ROUTINE.

IF <TABLE-FIELD> = ....

.....

ENDIF.

ENDFORM.

In this routine you can check the headerline of your dictionary table

1 REPLY 1
Read only

Former Member
0 Likes
478

You have to define a routine linked to 01 event, for example: 01-> MY_ROUTINE.

Then you push EDITOR button, the system'll create a new include where you'll write code of your routine:

FORM MY_ROUTINE.

IF <TABLE-FIELD> = ....

.....

ENDIF.

ENDFORM.

In this routine you can check the headerline of your dictionary table