Documentation View

We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

/AIN/PRF000003 - BAdI: Change Parameters for Profile Determination

/AIN/PRF000003 - BAdI: Change Parameters for Profile Determination

BAL_S_LOG - Application Log: Log header data   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used to influence profile determination for print and user data profiles.

The two places where dynamic determination of profile is used, and henceforth referred to as "usages", are the following:

  • Printing tag data during tag commissioning and label printing
In this case, the profile contains fields to be printed on labels or on tags.
  • Maintenance of user data on the user interface (UI) during manual tag commissioning and packing

SAP Auto-ID Infrastructure (SAP AII) determines profiles based on parameters such as the GRAI or the GTIN and their values. We deliver a set of standard parameters for each of the two usages mentioned above; however, you can use this BAdI to add additional parameters to the standard ones. The standard parameters delivered for the two usages are:

  • Tag commissioning and label printing




  • GTIN

  • GRAI


  • User data on user interfaces


  • GTIN

  • GRAI


SAP also delivers condition tables whose fields are a subset of the standard parameters. In addition, all the condition tables contains two fields, profile type and profile. You can specify profile and profile types in these tables for various values of the other fields. To see the standard SAP condition tables, on the SAP Easy Access screen choose one of the following options:

  • Auto-ID Infrastructure → Master data → Settings for Tag Commissioning and Label Printing
  • Auto-ID Infrastructure → Master data → Settings for User Interface.

SAP AII first determines the values of the standard parameters from the context. Then it looks up the condition tables one by one. It determines the print or user data profiles from the condition table based on the values of the parameters. Before looking up the condition tables, the system passes these standard parameters and their values (that it has determined) to the BAdI using the "changing parameter" CT_PARAMETER.

When you implement the BAdI, you can add your own parameters and you can change the values of the standard parameters. If you add your own parameters, you must also create your own condition table. The condition tables and the sequences in which they should be searched is specified in the profile, SAP_PROFILE_DETERMINE. So, if you create your own condition table, you have to add it to this profile.

For more information, see Customizing Auto-ID Infrastructure → Basic Settings → Data Profile → Maintain Data Profile.

No standard implementation of this BAdI is delivered.

To determine the print or user data profile based on the business role of the device group that reads the RFID tag, you must add the device group role and value to the list of parameters in the BAdI.



Fill RESBD Structure from EBP Component Structure   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 4252 Date: 20211130 Time: 132416     sap01-206 ( 67 ms )