To create or process price level groups, you can use function module WRF_PRGRP_MAINTAIN_RFC. You can use the relevant framework program to enter data from different sources on a BAPI-conform interface.
The system checks that the imported data is logically correct. Every new or changed data record in a price level group is compared with the current status of the price level group data in the database. The change result undergoes the same checks as in processing transactions. This ensures that only consistent data is written to the system.
For more information, see the documentation for the function module WRF_PRGRP_MAINTAIN_RFC.