SAP Program RWRF_PRGRP_RFC_UPLOAD - Program RWRF_PRGRP_RFC_UPLOAD

Purpose
You can use function module WRF_PRGRP_MAINTAIN_RFC to create or processlarge numbers of price level groups. The BAPI-conformant interface canbe filled with data from various sources using a relevant supportingprogram.
The imported data is checked to make sure that it is logically correct.Every new or modified data record in a price level group is comparedwith the current status of the price level group data in the database.The result of the change undergoes the same checks as in the processingtransactions. This ensures that only consistent data is written to thesystem.
For more information, see the documentation for function moduleWRF_PRGRP_MAINTAIN_RFC.

Prerequisites
The import file is to be structured as follows (table calculation):
Control parameter,,Price level group,,Price level group category,, Pricelevel group currency
P,,TEST001,,1,,EU
PX,,TEST001,,X,,X
Control parameter,,Price level group,,Language,,
Price level group name
T,,TEST001,,DE,,TEST RFC
Control parameter,,Price level group,,Date_from,,Date_to,,Price patterndeletion indicator
S,,TEST001,,22.02.2005,,23.02.2005,,001
SX,,TEST001,,X,,X
S,,TEST001,,24.02.2005,,26.02.2005,,002
SX,,TEST001,,X,,X
Control parameter,,Price level group,,Price pattern,,Price levels,,
Price limit,,Price band category
L,,TEST001,,001,,001,,12.00,,U
LX,,TEST001,,001,,001,,X,,X
L,,TEST001,,001,,002,,14.00,,M
LX,,TEST001,,001,,002,,X,,X
L,,TEST001,,001,,003,,15.00,,O
LX,,TEST001,,001,,003,,X,,X
The control parameters have the following meanings:
Control parameter,,Meaning
P,,Price level group header
PX,,Segment line for activation/deactivation
T,,Text line in relevant language as name
S,,Price pattern (S for schema)
SX,,Segment line for activation/deactivation
L,,Price level (L for level)
LX,,Segment line for activation/deactivation
Using the segment line, the fields with X for the associated data rowsare activated for the import. Only these values are later posted.
If the data is stored in CSV format, it is available to the application:
P;TEST001;1;EU;;
PX;TEST001;X;X;;
T;TEST001;DE;TEST RFC;;
S;TEST001;22.02.2005;23.02.2005;001;
SX;TEST001;X;X;;
S;TEST001;24.02.2005;26.02.2005;002;
SX;TEST001;X;X;;
L;TEST001;001;001;12.00;U
LX;TEST001;001;001;X;X
L;TEST001;001;002;14.00;M
LX;TEST001;001;002;X;X
L;TEST001;001;003;15.00;O
LX;TEST001;001;003;X;X