Form.AddHandler_Load - kein beforeEvent ??

Manuel Marhold

Hi,

 

warum gibt es bei Form.AddHandler_Load kein before-Event?

 

Das Problem ist folgendes:

Im Form_Load-Event werden die Oberflächenanpassungen durchgeführt, im Form_Data_Load-Event die Daten dazu geladen.

 

Problem: Wenn man einen Artikel über den orangen Pfeil öffnet, sendet SAP die Events in folgender Reihenfolge:

Form_Load:Before

Form_Data_Load:Before

Form_Data_Load:After

Form_Load:After

 

Somit hat man nicht Möglichkeit, die Daten zu laden, wenn man den Artikel über einen orangen Pfeil öffnet.

Paolo Manfrin

Hi Manuel,

there is no Form_Load_Before because the form does not exists at this stage and due to that it is not possible to perform any action on it.

 

The Form_Load provided by the framework is made to do adjustment on the form and due to that only the after event is provided.

 

If your scope is to load data you can use the Data_Load events.

 

hth

paolo

Manuel Marhold

Hi Paolo,

 

in SBO SDK there is a before event of Form_load where the form is not visible jet but can be changed.

Why don't you give us that event?
0

Comments

0 comments

Please sign in to leave a comment.

Didn't find what you were looking for?

New post