Ansicht
Dokumentation

/INCMD/GROUP_CREATE_VIA_UPLOAD - Upload of Interchangeability Groups

/INCMD/GROUP_CREATE_VIA_UPLOAD - Upload of Interchangeability Groups

TXBHW - Original Tax Base Amount in Local Currency   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

This report uploads XML files to the SAP APO system.

You can use this report to transfer interchangeability groups in XML format from the legacy system to the SAP APO system.

Integration

The variant for this report must consist of the directory path where the XML files are stored in the application server.

Prerequisites

The XML files that you want to upload must be correctly formatted and must adhere to the standard schema that is shipped along with this report. If you want to see the schema that is supported for XML files, choose INC Schema on the Upload of Interchangeability Groups screen.

The XML document contains header data, header text data, item data, additional information, location data, model assignment data, and product combination data (for interchangeability groups of the type one-to-many, many-to-one and many-to-many substitution).

Click here to view examples of interchangeability groups in XML format.

  • If the XML document contains more than one interchangeability group the system repeats the outer loop with the HEADER_DATA.
  • The value of GROUP_NUMBER, in HEADER_DATA, must start with character '$.' This is important in order to maintain the link between a particular group, its header data, header text data, item data, additional information, location data, and model assignment data. Since this XML document may contain data pertaining to multiple interchangeability groups, each loop starting with HEADER_DATA must contain a GROUP_NUMBER. Each of the attributes must have a different value starting with '$.'
  • If you want to maintain a group of the type one-to-many, many-to-one or many-to-many substitution you must:
  • Maintain the product combination number PRODUCT_COMBINATION_ID under PRECEDING_MEMBER and SUCCEEDING_MEMBER

  • Location-specific data must contain the Item number and location under ITEM_NUMBER and LOCATION.
  • If you want to maintain location-specific data or additional information, you must maintain the ITEM_NUMBER. This is important in order to maintain the link between a relation, its cross-location data, location-specific data, and additional information.
  • The date and time must conform to the following format: YYYY-MM-DDand HH:MM:SS. Otherwise it will result in an Extensible Stylesheet Language Transformations (XSLT) exception.
  • If you want to change the interchangeability group, the GROUP_NUMBER, in HEADER_DATA, must contain the existing group number that you want to change, and the value of UPDTFLG must be set to 'X.'

Features

Selection

Standard Variants

Output

Activities

  1. Save the XML file that you want to upload to the local server.
  2. Choose System -> Services -> Reporting.
The Program Execution screen appears.
  1. In the Program field enter /INCMD/GROUP_CREATE_VIA_UPLOAD and choose Execute.
The Upload of Interchangeability Groups screen appears.
  1. If a variant is available, choose Get Variant... and select the variant you want to use.
If no variant is available, enter the path to the XML file that you want to upload.
  1. If you want to save your entries as a variant, choose Goto -> Variants -> Save as Variant....
  2. To display the log file after the upload has been executed, choose Display the Log.
To save the log file without displaying it, choose Save the Log.
  1. Choose Execute.
  2. To display the groups that have been uploaded, from the SAP Easy Access menu, choose Advanced Planning and Optimization -> Master Data -> Product and Location Interchangeability Master Data -> Maintain Interchangeability Group .






General Data in Customer Master   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 5066 Date: 20240329 Time: 114244     sap01-206 ( 78 ms )