SAP Requisition Data - Intergraph Smart Materials - 10.2 - Help - Hexagon

Intergraph Smart Materials Web Help (10.2)

Language
English
Product
Intergraph Smart Materials
Subproduct
Web
Search by Category
Help
Smart Materials/Smart Reference Data Version
10.2

The data transfer to SAP takes place with the help of the IDOC data structures. You can use the SAP Requisition Data screen to fill the IDOC PREQCR01 for the requisition data transfer. To transfer the Smart Materials requisition data to SAP, the following IDOC fields must be mapped:

Map requisition data

The SAP offered IDOC for creating purchase requisitions is PREQCR01 and consists of the following segments.

IDOC Segment

Description

E1BPEBANC

Create Transfer Structure purchase requisition – Positions

E1BPEBKN

Create Transfer Structure /Display OR – Account Codes

E1BPEBANTX

BAPI purchase requisition, Position Text

E1BPESUHC

Communication structure Limits

E1BPESUCC

Communication structure Contract Limits

E1BPESLLC

Create Communication structure Performance line

E1BPESKLC

Create Communication structure Account Code Distribution Performance Line

All positions of a requisition are transferred independently with all respective information (for example, purchase requisitions number) in the used IDOC as well.

Only the segments E1BPEBANC, E1BPEBKN, and E1BPEBANTX are important for requisition transfer and are thus available for configuration. The other segments are also contained in the interface, but are not used in this context. For more detailed description of the individual fields, see SAP documentation.

All of the transferred requisitions are saved in an interface table along with the respective IDOC data. The following fields within IDOCs PREQCR01 are mandatory:

IDOC Segment

IDOC Field

IDOC Field Description

E1BPEBANC

PREQ_NO

Order Request No

(will be filled in automatically by the interface)

E1BPEBANC

PREQ_ITEM

Position No

(will be filled in automatically by the interface)

E1BPEBANC

DOC_TYPE

Type of requisition document (for example:
FO – Framework requisition,
NB – Purchase requisition,
RAN – Stock inquiry ... )

E1BPEBANC

MATERIAL

SAP Material Number

(will be filled in automatically by the interface)

Not really a mandatory field. If not filled in, you have to fill in the Short_text field.

E1BPEBANC

SHORT_TEXT

Purchasing Material Short Text

Only mandatory if the field MATERIAL is not filled in.

E1BPEBANC

QUANTITY

Quantity (Smart Materials increased Quantity)

(will be filled in automatically by the interface)

E1BPEBANC

PLANT

Plant

(will be filled in automatically by the interface)

E1BPEBANC

PREQ_NAME

Name of orderer

E1BPEBANC

QUANTITY

Quantity

(will be filled in automatically by the interface)

E1BPEBANC

ACCTASSCAD

Account Code assignment category (for example:
A - Asset,
C - Sales Order,
F - Order,
P - Project,
N - Network ...)

E1BPEBANC

DELIVERY_DATE

Delivery Date of the Requisition Position

E1BPEBANC

UNIT

Unit of the Requisition Position

The fields described relate to SAP standard installation, but you can add additional mandatory fields and depends on the SAP installation customization.

Mapping of data should only be done by people who have appropriate knowledge about IDOCs and SAP as wells as knowledge about Smart Materials standardization / BOM / REQ.

You can map the data using two different methods:

  • Fix - The value of IDOC field is transferred as a fixed value.

  • CIP - The value of IDOC field is ascertained by means of a CIP function.

In this block, the IDOC field is mapped on the node or requisition level with Smart Materials data. For that, fixed values or CIP functions can be used. The mapping is sorted by the Seq field. Special mappings and exceptions (such as an IDOC field mapping only for one requisition or a special node of the requisition node tree) must be mapped first, with a smaller seq number, than general mappings.

Requisition Node - Specifies the Name (code) of the requisition node.

Requisition Node Path - Specifies the requisition node path.

Engineering Requisition - Specifies the requisition name (code, number). The engineering requisition name can be any valid string in uppercase letters, must not exceed 50 characters. The name must be unique in combination with the supplement, purchase indicator, and origin within a project. The name is generated during the MTO by the requisition number rule.

Supplement - Specifies the engineering requisition supplement number. The first version of the engineering requisition always has supplement 0 (zero). The supplement number is part of the unique key and takes values in the range of 0 to 99. When an MTO creates a new engineering requisition, the procedure looks for existing supplements and uses the next free supplement number to create the engineering requisition.

Origin - Specifies the office that is responsible for the engineering requisitions and purchase orders.

Purchase - Specifies whether the line items of the current engineering requisition can be used for both purchase orders and inquiries or only for inquiries. The Purchase value is part of the unique key that is used to separate the engineering requisitions.

If this check box is not checked, the engineering requisition can only be used for inquiries.

The Purchase value is important for the procedure that creates supplements of an engineering requisition. For example, an engineering requisition with the same name (code) and origin will have supplement 0 (zero) if it is the first one with value set to Yes or No.

IDOC Field - Specifies the IDOC field name.

IDOC Segment - Specifies the name of the IDOC segment.

Value Type - Specifies the value of the IDOC field. It takes the following values:

  • Fix - Specifies that the value of IDOC field is transferred as a fixed value.

  • CIP - Specifies that the value of IDOC field is ascertained by means of a CIP function.

The first parameter of the CIP function is the ID of the SAP interface, so the CIP may do different things depending on the interface used.

The CIP function must have the following syntax:

FUNCTION m_pck_sap_custom.<functionname>

( p_interface_id IN m_interfaces.interface_id%TYPE,

,p_ident IN m_idents.ident%TYPE
,p_nls_id IN m_nls.nls_id%TYPE

,p_sp_id IN m_sap_plants.sp_id%TYPE )

Value - Specifies the value of the mapped IDOC field.

  1. From the Home screen, select Other Tasks > SAP > SAP Requisition Interface.

  2. Select an Interface.

  3. Select SAP Requisition Data and then click Add Row.

  4. Type an order sequence.

  5. Select a requisition node from the Requisition Node list.

  6. Select an engineering requisition from the Requisitions list.

  7. Select an IDOC field from the SAP IDocs list.

  8. Select value type from the Value Type list.

  9. Type a value and then click Save.