Ansicht
Dokumentation

WRF_RFC_FOLUP_UPLOAD - Program WRF_RFC_FOLUP_UPLOAD

WRF_RFC_FOLUP_UPLOAD - Program WRF_RFC_FOLUP_UPLOAD

BAL_S_LOG - Application Log: Log header data   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

This report is an example program that explains the use of the function module WRF_CHARVAL_MAINTAIN_RFC. Using an external file, you can import or change follow-up/replacement material relationships.

Integration

Prerequisites

The import file requires the following structure:

Columns of the import file with characteristic value information

Column Content
1 Row indicator
2 Function
3 Original article number
4 Follow-up/replacement article number
5 Assortment
6 Follow-up type number
7 old value: Valid from follow-up/replacement article relationship
8 new value: Valid from follow-up/replacement article relationship
9 Valid to follow-up/replacement article relationship
10 Priority follow-up/replacement article relationship
11 Follow-up action

Row Indicator Row indicator,,Content

F Follow-up/replacement article relationship
FX Checkbox structure for follow-up/replacement article relationship to be changed

X Structures

X structures are only expected on update. If an X structure is included in an Insert and Delete case, this does not cause an error.

Fields

  • bapi_wrf_folup_typ_a-date_from_old
  • bapi_wrf_folup_typ_a-date_from_new
  • bapi_wrf_folup_typ_a_x-date_from_new
  • bapi_wrf_folup_typ_a_x-date_from_new

With follow-up/replacement article relationships, the fields DATE_FROM and DATE_TO can be changed. Field DATE_FROM is an element of the key of table WRF_FOLUP_TYP_A.

If a new follow-up/replacement article relationship is created, then the field DATE_FROM_NEW must be filled.

If a follow-up/replacement article relationship is to be deleted, then the field DATE_FROM_OLD must be filled.

If a follow-up/replacement article relationship is to be changed, but the field DATE_FROM is not to be changed, then field DATE_FROM_OLD is filled.

If a follow-up/replacement article relationship is to be changed, and field DATE_FROM is to be changed, the fields DATE_FROM_OLD and DATE_FROM_NEW are filled.

If a column is not filled, you simply leave it empty. This also applies to date fields.

Field Function

Field function must only be set in the Delete case.

Field function is not set at all for X structures.

Features

Selection

Standard Variants

Output

Activities

Example






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

Length: 4015 Date: 20240601 Time: 161720     sap01-206 ( 37 ms )