Ansicht
Dokumentation

RWRF_ORGPRICE_SETUP - Data Transfer Table WRF_ORGPRICE

RWRF_ORGPRICE_SETUP - Data Transfer Table WRF_ORGPRICE

Vendor Master (General Section)   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

Integration

This report lets you transfer original prices from a legacy system to the SAP system, filling table WRF_ORGPRICE with data.

The data is supplied as a file from an external dataset.

The structure of the file is defined by structure WRF_ORGPRICE_UPLOAD_STY, which has the following components:

Component Component Type
MANDT MANDT
MATNR MATNR
WERKS WERKS_D
DATBI KODATBI
VPR_BT VPNEU
VWAER_BT WAERS
VRKPE_BT VRKPE
VKMEIN_BT MEINS
VPR_NT VPNEU
VWAER_NT WAERS
VRKPE_NT VRKPE
VKMEIN_NT MEINS
VPDAT VPDAT_D

Special Features

  • The date (components DATBI & VPDAT) must be in format YYYYMMDD.
  • The sales price (components VPR_BT & VPR_NT) must be in calculation format. Use decimal points (for example: 1.25, 123.45, 2345.67, and so on).
  • The individual components are concatenated with separators (default: "|"). Example records:
    410|R100012|R300|20070810|1.48|EUR|1|ST|1.25|EUR|1|ST|20070810
    410|R100013|R300|20070810|2.08|EUR|1|ST|1.75|EUR|1|ST|20070810
    410|R100014|R300|20070810|2.67|EUR|1|ST|2.25|EUR|1|ST|20070810

Prerequisites

Before you start the report, make sure the file specified in the selection screen is available in the corresponding directory on the application server and the presentation server.

Only save the file on the presentation server for test purposes, and only for small data volumes.

Features

Selection

In the selection screen, you define the separator that separates the components in the structure, replacing the default separator, "|".

You can parallelize data processing in a further step. You can specify the number of processes, as well as the number of lines and records that each process handles, in the selection screen. Note that if you want to use parallel processing, you have to specify a server group.

Standard Variants

Output

Records with errors are output in an ALV list. The corresponding error information (MSGID, MSGNO, MESSAGE) is also output.

A message notifies you if there are entries in the application log (object WRF_ORGPRICE and subobject INITIAL_SETUP).

Activities

The program uses function module WRF_INITIAL_SETUP_ORGPRICE. Various checks run within this function module before the data is saved in table WRF_ORGPRICE.

For more information, see the documentation of function module WRF_INITIAL_SETUP_ORGPRICE.

Example






General Material Data   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 3907 Date: 20240520 Time: 101646     sap01-206 ( 57 ms )