Create Custom Pages and Views for the BAPI Process

Before performing these steps:

  1. Post Data Using A BAPI
  2. Create all tt Tables and Views for the BAPI Process
  3. Create rt Tables From the tt Tables and Create Views for the BAPI Process

Once all the necessary tables and tx views are prepared, create the following custom pages and views:

NOTE: If the custom page should allow a user to perform a mass change, refer to Add a Mass Change Custom Link to a Custom Page for more information.

After creating custom pages, continue with Use the Custom Pages in dspCompose™ for the BAPI Process.

Create Data Entry Page and View for the BAPI Process

Create a Data Entry page that will use the main tt table and name this page ‘xxx’ where ‘xxx’ describes the page activity.

NOTE: Most column properties do not need to be specified on this page.

Add column properties to the page to hide ID, LockReject, PostError, RejectedBy, RejectReason, RequestID, and ViewName.

Disable Severity and ValidationErrorMessage.

Create a Horizontal view for the Data Entry page named web’xxx’Hor where xxx describes the page activity.

NOTE: Page Table should have an ID column that is set as the PrimaryKey.

Create Approval Page and View for the BAPI Process

Create an Approval page that will also use the main tt table. Name this page ‘xxx - Review’ where xxx describes the page activity.

Add column properties to the page to hide ID, LockReject, PostError, RejectedBy, RequestID, and ViewName.

Disable Severity and ValidationErrorMessage. Enable RejectReason.

Create a Horizontal view for the Approval page and name this view web’xxx’ApproveHor where xxx describes the page activity.

Create Archive Page for the BAPI Process

Create an Archive page that will use the main rt table and name this page ‘xxx - Archives’ where xxx describes the page activity.

Add column properties to the page to hide ArchiveID, ID, LockReject, Reject, RejectedBy, RejectReason, RequestID, and Severity.

Disable Connection and PostedOn.

Create a Horizontal view for the Archive page and name this view web’xxx’ArchiveHor where xxx describes the page activity.

NOTE: Page Table should have ArchiveID column that is set as the PrimaryKey.