This is a test message to test the length of the message box.
Login
ABAP BOPF Interface
Created by Software-Heroes

ABAP - BOPF Interface

The interfaces that BOPF provides are an important part of interacting with the model. We'll show you some important ones today.

Advertising

When working with BOPF, you will inevitably come across the interfaces that are available and use them to read or change data. Today we are going to familiarize you with the names and uses so that you can use them efficiently and instinctively.

 

Usage

As usage, we want to introduce two interfaces that you will probably see more often in the end during the BOPF development. The first image relates to the EXECUTE method of the action. Whenever you implement an action, you will get this interface:

 

The second picture relates to a determination. No parameters structure is passed and no return data are filled. Here you should only work with the data that is available in the BOPF and field contents are adjusted.

 

Variables

When using BOPF you will always come across the same variables and interfaces, in this section we want to go into the typical variables and names.

IS_CTX
  • Structure
  • Information to the business objekt, node and relationship

 

IT_KEY
  • Table
  • Selected keys (without data)

 

IO_READ
  • Object
  • Used to read data
  • Method RETRIEVE - Read data
  • Method RETRIEVE_BY_ASSOCIATION - Read above association

 

IO_MODIFY
  • Object
  • Used to change data
  • Method DO_ACTION - Trigger an action
  • Method DO_MODIFY - Change some data

 

IO_QUERY
  • Object 
  • Used to query some data

 

IV_FILL_DATA
  • Field
  • Indicator whether return data should only be the keys or also data
  • in most cases the keys are enough (performance)

 

EO_MESSAGE
  • Object
  • Created messages

 

ET_FAILED_KEY
  • Table
  • Bad keys
  • e.g. from authorization check or when accessing

 

ET_DATA
  • Table
  • Data from BOPF
  • Type depends on the current node

 

Conclusion

As soon as you know the variables and names that are used, you can recognize the possible actions for them more quickly and use the data for you. The names you will see again and again during use and they will offer you useful information.


Included topics:
BOPFDataInterface
Comments (0)
Advertising

ABAP - BOPF Quick Guide (Update)

Category - ABAP

A little update to our book that we published. For all people who find the paperless office boring.

10/23/2020

ABAP - BOPF Quick Guide

Category - ABAP

You need a quick introduction to the SAP Business Object Processing Framework (BOPF), we have the right guide for you here.

09/11/2020

ABAP - BOPF Eclipse

Category - ABAP

Can you also develop BOPF in Eclipse? Here we show you how well the search and navigation works in the system.

03/20/2020

ABAP - BOPF Performance

Category - ABAP

What about the performance when accessing BOPF? We want to investigate this question today.

03/13/2020

ABAP - BOPF Helper methods

Category - ABAP

The framework provides you with various methods and objects that are intended to simplify use.

02/21/2020