14.01.2020 Views

ABAP_to_the_Future

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Using BOPF to Write a DYNPRO-Style Program 8.2

IMG (Transaction SPRO), and navigate to Cross-Application Components 폷 Processes

and Tools for Enterprise Applications 폷 Reusable Objects and Functions

of the BOPF Environment 폷 Maintain BO-Specific Change Document

Objects. The screen shown in Figure 8.36 appears.

Figure 8.36 BOPF IMG Change Document Configuration

In the screen shown in Figure 8.36, you fi ll in three fields to link three components

together: the business object type for which we want to keep track of

changes as created in Transaction BOB, the change document object as created in

Transaction SCDO, and the change document class as created in Transaction SE24

as a subclass of the standard BOPF change document class. Save your changes.

Testing

You can now test that what you’ve done is actually working. You test this in the

same way you tested everything else in this chapter: via Transaction BOBF/TEST_

UI. Here, you pick a monster and change its age (for example, from one to five

days), and save your changes.

When you look in the database via Transaction SE16 and query tables CDHDR and

CDPOS, you’ll see the screens shown in Figure 8.37 and Figure 8.38.

Figure 8.37 Change Document Header Record

349

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

Saved successfully!

Ooh no, something went wrong!