21.03.2013 Views

Object Oriented ABAP

Object Oriented ABAP

Object Oriented ABAP

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

17. BI_PERSISTENT~LPOR Method:<br />

The BI_PERSISTENT~LPOR method is the counterpart to the<br />

BI_PERSISTENT~FIND_BY_LPOR method. It provides the persistent display for an existing<br />

instance of an <strong>ABAP</strong> object.<br />

Features:<br />

The method returns the persistent display of an object reference as a SIBFLPOR type<br />

structure as described earlier.<br />

There is a close relationship between the BI_PERSISTENT~FIND_BY_LPOR method and the<br />

BI_PERSISTENT~LPOR method. If we call the BI_PERSISTENT~FIND_BY_LPOR method first<br />

and then the BI_PERSISTENT~LPOR method, the BI_PERSISTENT~LPOR method must<br />

return the same value as was previously used to call the BI_PERSISTENT~FIND_BY_LPOR<br />

method.<br />

There are also several ways of implementing this method in this case. There is an<br />

implementation example in the CL_SWF_FORMABSENC demo class.<br />

18. BI_PERSISTENT~REFRESH Method:<br />

SAP Web Flow Engine calls the BI_PERSISTENT~REFRESH method when the system has to<br />

ensure that all values of an object are valid or that they agree exactly with the persistent<br />

display of the object.<br />

Features:<br />

The method implementation depends on the internal organization of the class. We can check<br />

the object instance data in the database, if necessary.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!