Process Control Systems Interface
Process Control Systems Interface
2005 SAP AG
Applies To:
Summary
This guide is part of the overall development of the MES-PCS developments for integration with Factory process Control Systems. Process Control System integration automates the data exchange between SAP and MES-PCS establishing a single source of Master and logistical data within the Manufacturing Execution system ( MES ) and the Process Control Systems ( PCS). The interfaces of this project will exchange messages with these areas Ensuring Supply MM & MQ Ensuring Supply Material Handling Company: IBM India Date: 03 October 2005
2005 SAP AG
Table of contents
Disclaimer & Liability Notice........................................................................................................ 1 1 2 Applies To: .......................................................................................................................... 2 Summary............................................................................................................................. 2 2.1 2.2 3 CLIENT SAP R/3 Systems ............................................................................................. 5 Market Systems/Applications.......................................................................................... 5
Overview of Interface messages .......................................................................................... 6 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 3.10 3.11 3.12 Production Consumption and Reversal........................................................................... 6 Production Declaration and Reversal.............................................................................. 6 Transfer Order ............................................................................................................... 6 Move Storage Unit ......................................................................................................... 7 Cancel Transfer Order.................................................................................................... 7 Confirm Transfer Order .................................................................................................. 7 Local Quality Change ..................................................................................................... 8 Inbound Receipt (for Purchase Order) ............................................................................ 8 Inbound Control Recipe Status Change.......................................................................... 9 Inbound Process Order Confirmation ......................................................................... 9 Control Recipe Download........................................................................................... 9 Outbound Control Recipe Status Change................................................................. 10
4 5
Implementation .................................................................................................................. 11 ALE Configuration.............................................................................................................. 12 5.1 5.2 5.3 Overview...................................................................................................................... 12 Creation of Logical systems ......................................................................................... 12 Creation/configuration of partner profiles ...................................................................... 14
Process Management Configuration .................................................................................. 26 6.1 6.2 Creation/configuration of control recipe destinations ..................................................... 26 Creation/configuration of process message destinations............................................... 26
2005 SAP AG
Master Data Prerequisites.................................................................................................. 28 7.1 Assignment of control recipe destinations to master recipes ......................................... 28
Middleware Routing and Mapping Customising.................................................................. 29 8.1 8.2 8.3 MQ configuration.......................................................................................................... 29 Assigning Middleware values to systems...................................................................... 30 Routing and Lookup files for each message ................................................................. 31
GAF Adapter ..................................................................................................................... 43 9.1 9.2 9.3 Business Connector and GAF adapter configuration......... Error! Bookmark not defined. Idoc based interfaces ....................................................... Error! Bookmark not defined. Flat file interfaces......................................................................................................... 44 Technical Connectivity Testing ......................................... Error! Bookmark not defined. Attached Documents.................................................................................................... 45 Author Bio.................................................................................................................... 46
10 11 12
2005 SAP AG
2.1
The interfaces of this project will exchange messages with these areas
2.2
Market Systems/Applications
The legacy application that is used in these interfaces. MES-PCS systems Local factory systems SAM (Stoppage Analysis Module)
2005 SAP AG
3
3.1
3.1.1
Trigger: Receipt of an inbound Idoc from middleware SAP Inbound ALE/IDOC Interface Message Type: YINVRPT500 / YINVRPT501 Idoc type/Extension: WMMBID02 Which system: SOS/COM
3.1.2
CLIENT Middleware
Message Routing: Point-to-Point Data Mapping/Translation: S95 XML format file to WMMBID02 IDOC format
3.2 3.2.1
Trigger: Receipt of an inbound Idoc from middleware SAP Inbound ALE/IDOC Interface Message Type: ZRECADV01 / ZRECADV02 / ZRECADV06 / ZRECADV07 Idoc type/Extension: WMMBID02 Which system: SOS/COM 3.2.2 CLIENT Middleware
Message Routing: Point-to-Point Data Mapping/Translation: S95 XML format file to WMMBID02 IDOC format
3.3 3.3.1
Trigger: Receipt of an inbound Idoc from middleware SAP Inbound ALE/IDOC Interface Message Type: WMTORD Idoc type/Extension: WMTOID01 Which system: SOS/COM
3.3.2
CLIENT Middleware
Message Routing: Point-to-Point Data Mapping/Translation: S95 XML format file to WMTORD IDOC format
2005 SAP AG
Trigger: Receipt of an inbound Idoc from middleware SAP Inbound ALE/IDOC Interface Message Type: WMSUMO Idoc type/Extension: WMSUID01 Which system: SOS/COM 3.4.3 CLIENT Middleware
Message Routing: Point-to-Point Data Mapping/Translation: S95 XML format file to WMSUMO IDOC format 3.5 3.5.1 3.5.2 Cancel Transfer Order Overview CLIENT SAP System
Trigger: Receipt of an inbound Idoc from middleware SAP Inbound ALE/IDOC Interface Message Type: WMCATO Idoc type/Extension: WMCAID01 Which system: SOS/COM 3.5.3 CLIENT Middleware
Message Routing: Point-to-Point Data Mapping/Translation: S95 XML format file to WMCATO IDOC format 3.6 3.6.1 3.6.2 Confirm Transfer Order Overview CLIENT SAP System
Trigger: Receipt of an inbound Idoc from middleware SAP Inbound ALE/IDOC Interface Message Type: WMTOCO Idoc type/Extension: WMTCID03 Which system: SOS/COM
2005 SAP AG
3.6.3
CLIENT Middleware
Message Routing: Point-to-Point Data Mapping/Translation: S95 XML format file to WMTOCO IDOC format
Trigger: Receipt of an inbound Idoc from middleware SAP Inbound ALE/IDOC Interface Message Type: YINVRPT100 Idoc type/Extension: WMMBID02 / YWMMBID1 Which system: SOS/COM 3.7.3 CLIENT Middleware
Message Routing: Point-to-Point Data Mapping/Translation: S95 XML format file to YINVRPT100 IDOC format 3.8 3.8.1 Inbound Receipt (for Purchase Order) CLIENT SAP System
Trigger: Receipt of an inbound Idoc from middleware SAP Inbound ALE/IDOC Interface Message Type: ZRECADV03 Idoc type/Extension: WMMBID02 / YWMMBID1 Which system: SOS/COM 3.8.2 CLIENT Middleware
Message Routing: Point-to-Point Data Mapping/Translation: S95 XML format file to ZRECADV03 IDOC format
2005 SAP AG
Trigger: Receipt of an inbound Process Message from middleware SAP Inbound BAPI Interface (tRFC) Object Name: ProcessMessagePI (BUS2110) Idoc type/Extension: Not applicable Process Message: PI_CRST Which system: SOS/COM 3.9.3 CLIENT Middleware
Message Routing: Point-to-Point Data Mapping/Translation: S95 XML format file to PROCESS_MESS_UPLOAD BAPI format
3.10 Inbound Process Order Confirmation 3.10.1 CLIENT SAP System Trigger: Receipt of an inbound Process Message from middleware SAP Inbound BAPI Interface (tRFC) Object Name: ProcessMessagePI (BUS2110) Idoc type/Extension: Not applicable Process Message: PI_PHCON Which system: SOS/COM 3.10.2 CLIENT Middleware Message Routing: Point-to-Point Data Mapping/Translation: S95 XML format file to PROCESS_MESS_UPLOAD BAPI format
3.11 Control Recipe Download 3.11.1 Overview 3.11.2 CLIENT SAP System Trigger: Creation & send of control recipe in SAP (COR1 -> CO53) SAP Outbound BAPI Interface (tRFC) Object Name: ControlRecipe (BUS2115) Idoc type/Extension: Not applicable Process Message: Not applicable 2005 SAP AG The SAP Developer Network: http://sdn.sap.com 9
Which system: SOS/COM 3.11.3 CLIENT Middleware Message Routing: Fanning Out Data Mapping/Translation: CONTROL_RECIPE_DOWNLOAD BAPI format to S95 XML format file 3.12 Outbound Control Recipe Status Change 3.12.1 CLIENT SAP System Trigger: Creation & send of process message in SAP (CO57 -> CO54) SAP Outbound BAPI Interface (tRFC) Object Name: ProcessMessagePI (BUS2110) Idoc type/Extension: Not applicable Process Message: Y_ST_?? (where ?? is replaced with control recipe destination key) Which system: SOS/COM 3.12.2 CLIENT Middleware Message Routing: Fanning Out Data Mapping/Translation: PROCESS_MESS_DOWNLOAD BAPI format to S95 XML format file
2005 SAP AG
10
Implementation
Market implementation of the global plug-in will require localization of the routing tables in the Middleware, and configuration of partner profiles, RFC destinations, control recipe destinations, etc. in SAP.
As previously stated, it is foreseen to be the responsibility of the implementation teams to define and coordinate any changes necessary to link to the CLIENT Template plug in point.
2005 SAP AG
11
ALE Configuration
5.1
Overview
As the plug-in interface is based on the SAP ALE (Application Link Enabling) technology, a number of ALE customizing steps are required. To configure a plant for integration with MES-PCS, the following steps need to be performed, depending on the extent of messaging required.
Creation of logical systems Creation/configuration of partner profiles Please note the actual creation will be done by the Basis Team or the Cross Apps team upon creation of a configuration request/MSS for ALE configuration. Attached is a template document to be used for the MSS request, as well as an excel-based tool to easily create these requests. 5.2 Creation of Logical systems
For each plant which requires integration with an MES-PCS, a logical system has to be created. This is the case even with limited messaging requirements, to enable for example the batch change message (YINVRPT900) to be sent to all external systems that use the batch.
CLIENT ALE naming conventions state these logical systems have to be created as follows:
Logical System
Country Code for plant EPCS (External PCS) Plant Number PCS: Plant Plant Number Text: Recommendation to use plant description
Name
2005 SAP AG
12
The creation of Logical Systems occurs in transaction SALE: Sending and Receiving Systems->Logical Systems->Define Logical System
2005 SAP AG
13
5.3
5.3.1
For each plant, a logical system has to be created. The partner profiles created should be of type LS Logical System The name of the partner profile should be according to the name of the Logical System it is created for The post-processing: permitted agent-section is used to determine who will receive workflow messages in case processing of a message fails. No CLIENT Template decision has been taken on this yet, and this part will hence be covered by the core ALE standards currently being revised/set up. Currently, this functionality has not been tested and is not used in Client template. 5.3.2 Configuration of outbound parameters
The outbound parameters determine which messages can be sent by the partner profile / plant, and specify how these messages are sent (Immediately-Batch), and to which port they are sent.
Generally, assuming all plug-in messages apply for a plant, the following rules apply.
2005 SAP AG
14
The inbound parameters determine which messages can be received by the partner profile / plant, and specify how these messages are processed (Immediately-Batch).
Comments/Rationale
None None
2005 SAP AG
15
/GLB/UGT_CONS_DECL
Determines which program will be used for processing and posting the message. This is dependent on the decision whether messages will be transferred on-line, at creation, or whether they will be sent through a batch job. Please refer to the On-line vs. Batch chapter for more details about this.
Telephony Tab
N/A
2005 SAP AG
16
739530 (ZRECADV07)
Comments/Rationale
None None
/GLB/UGT_DEC_REV
Determines which program will be used for processing and posting the message. This is dependent on the decision whether messages will be transferred on-line, at creation, or whether they will be sent through a batch job. Please refer to the On-line vs. Batch chapter for more details about this.
2005 SAP AG
17
Telephony Tab
N/A
Field Partner Number Partner Type Partner Function Message Type Message Code Message Function
Comments/Rationale
WMT1
Determines which program will be used for processing and posting the message.
2005 SAP AG
18
This is dependent on the decision whether messages will be transferred on-line, at creation, or whether they will be sent through a batch job. Please refer to the On-line vs. Batch chapter for more details about this.
Telephony Tab
N/A
Comments/Rationale
2005 SAP AG
19
None None
WMSU
Determines which program will be used for processing and posting the message. This is dependent on the decision whether messages will be transferred on-line, at creation, or whether they will be sent through a batch job. Please refer to the On-line vs. Batch chapter for more details about this.
Telephony Tab
N/A
Field
Required value
Comments/Rationale
2005 SAP AG
20
Partner Number Partner Type Partner Function Message Type Message Code Message Function
WMCA
Determines which program will be used for processing and posting the message. This is dependent on the decision whether messages will be transferred on-line, at creation, or whether they will be sent through a batch job. Please refer to the On-line vs. Batch chapter for more details about this.
Telephony Tab
N/A
2005 SAP AG
21
Field Partner Number Partner Type Partner Function Message Type Message Code Message Function
Comments/Rationale
WMTO
Determines which program will be used for processing and posting the message. This is dependent on the decision whether messages will be transferred on-line, at creation, or whether they will be sent through a batch job. Please refer to the On-line vs. Batch chapter for more details about this.
2005 SAP AG
22
Telephony Tab
N/A
Field Partner Number Partner Type Partner Function Message Type Message Code Message Function
Comments/Rationale
YINV_01
2005 SAP AG
posting the message. Inbound Options Tab Processing by function module This is dependent on the decision whether messages will be transferred on-line, at creation, or whether they will be sent through a batch job. Please refer to the On-line vs. Batch chapter for more details about this.
Telephony Tab
N/A
Comments/Rationale
2005 SAP AG
24
None None
ZREC_01
Determines which program will be used for processing and posting the message. This is dependent on the decision whether messages will be transferred on-line, at creation, or whether they will be sent through a batch job. Please refer to the On-line vs. Batch chapter for more details about this.
Telephony Tab
N/A
2005 SAP AG
25
In addition to ALE processing, the MES-PCS interfaces make use of process management in order to send and receive manufacturing data.
6.1 6.1.1
An RFC destination in SAP should be defined for the receiving SAP Business Connector server. Transaction: SM59 6.1.2 Creation of process instruction characteristics
The additional process instruction characteristics required for the MES-PCS control recipe are broadcast by the BTC T&P process team. No action required for localization.
6.1.3
The reference PI categories should be copied to each plant which requires the Outbound Control Recipe interface.
6.1.4
A reference control recipe has been defined in plant Z203, and transported to all SOS boxes. The reference CRD is X1, and should be copied to each plant which requires the Outbound Control Recipe interface. All process instruction categories should be copied from the reference CRD.
The destination address should be modified to the RFC destination of the receiving SAP Business Connector server.
6.2 6.2.1
The reference process message destination should be copied to each plant which requires the Outbound Control Recipe Status Change interface.
2005 SAP AG
26
The destination address should be modified to the RFC destination of the receiving SAP Business Connector server.
6.2.2
A reference process message category has been defined in plant Z203, and transported to all SOS boxes. The reference PM Category is Y_ST_X1, and should be copied to each plant which requires the Outbound Control Recipe Status Change interface. One PM Category should be created per CRD in the plant.
2005 SAP AG
27
For the interface to work properly, some prerequisites in terms of master data maintenance need to be fulfilled.
7.1
In order to generate a control recipe, the master recipe must have the control recipe destination assigned at the phase level.
2005 SAP AG
28
8
8.1 MQ configuration
No special configuration of the MQseries objects are needed for the PCS interfaces. The configuration method is described within the "Client Middleware ClientMQCreator user's guide" is stored in Documentum folder. The Queue Manager and objects for the PCS systems are created using the CAQM sheet of "ClientMQCreator-DBc.xls
8.1.1 Create the application queues to connect PCS to the MW Hub
The ClientMQCreator tool should have been used to create the following output scripts. These scripts should be used to define the queues on the Gateway queue manager the Middleware hub queue manager and the MQ Hub queue manager. Script
<MW_QM_name>_<Appl_name>.txt
MQSC script to create the MQ objects for the CA required on the GW queue manager <Appl_name> stands for <Appl>_<SourceID> where <Appl> is the short name of the application in question and <SourceID> is the source ID of the application. Configuration scripts should be run using the command as indicated in the header section inside the configuration script.
8.1.2 Configuration Files
Component affected MW Hub queue manager MW Hub queue manager MQ Hub queue manager GW queue manager
Script's purpose MQSC script to create the MQ objects for the CA required on the MW Hub queue manager MQSC script to create the MQ objects on the MW Hub queue manager. MQSC script to create the MQ objects on the MQ Hub queue manager.
The following is a list of the configuration files for the SAP BC and the GAF. The source for these files is delivered by the ClientMQCreator. These files should be used as input to the configuration process which follows.
2005 SAP AG
29
Script
The following is a list of the configuration files for the SAP BC and their designation. The source for these files is delivered by the ClientMQCreator. These files should be used as input to the configuration process which follows.
Type System
Transactional
<SYS>_S<SID>_<CLIENT>_<SRCID>_In.ini
System
samp.SapBcInTransactionMap.dat
Transactional
8.2
If it is the first time that the MW communicates with the sending and/or receiving system, middleware team will have to attribute values:
Source GID for the zone and environment of the sending system (CTR, AOA, EUR or AMS/ Dev, QA, Pre-prod, Prod etc.) Source ID to define the sending system Delivery GID for the zone and environment of the receiving system (CTR, AOA, EUR or AMS/ Dev, QA, Pre-prod, Prod etc. ) Delivery ID for the receiving system
2005 SAP AG
30
8.3
For common Lookup files , refer Generic MW Interface Implementation Guide v1.doc(Documentum path : BTC/Information Systems/2 - NSDC Phase (Design Constr.)/09 - Information Systems/06 - Custom Appl Development/Reference docs/Implementation Guides/ Version 1.5)
8.3.1
SAP Outbound
a.LogicalSystem_Lookup_UNI.txt(Location:DefaultLookupDirectory: /mw_Client/mw_1/lookup/)
b.Quality_Cross_Reference_Lookup_UNI.txt(Location:DefaultLookupDirectory: /mw_Client/mw_1/lookup/)
The field Client_StockType in any MaterialProducedRequirement segment or MaterialProducedActual segment should be transformed according to the Quality XRef lookup table, shown below. The transition should be from 'IM Quality Status' to 'S95 Quality Status'.
IM Quality Status
Comment Field(optional)
<Blank> X S
2005 SAP AG
31
This is a comma-separated file and each record is terminated by New Line. Comment records should start with #.
For example, #First record QI,X,Q, #Second record Blocked,S,S, #Third record Unrestricted, , ,
a.LogicalSystem_Lookup_UNI.txt(Location:DefaultLookupDirectory: /mw_Client/mw_1/lookup/)
b.Lookup_Control_Recipe_Status_UNI.txt(Location:DefaultLookupDirectory: /mw_Client/mw_1/lookup/)
The outbound control recipe status change message sends the status characteristic in a numerical format (00003, 00004, 00005, 00007). This number will be mapped to a text string for output in the S95.ProductionSchedule message according to the following table.
2005 SAP AG
32
This is a comma-separated file and each record is terminated by New Line. Comment records should start with #.
For example, #First Record 00003,Ready #Second Record 00004,Discarded #Third Record 00005,Finished 8.3.2 SAP Inbound
a.LogicalSystem_Lookup_UNI.txt(Location:DefaultLookupDirectory: /mw_Client/mw_1/lookup/)
2005 SAP AG
33
b.Lookup_Control_Recipe_Status_UNI.txt(Location:DefaultLookupDirectory: /mw_Client/mw_1/lookup/)
The inbound S95.ProductionSchedule message sends the status characteristic in a text string format. This text string will be mapped to a numerical format (00003, 00004, 00005, 00007) for output in the Process-Message according to the following table.
This is a comma-separated file and each record is terminated by New Line. Comment records should start with #.
For example, #First Record 00003,Ready #Second Record 00004,Discarded #Third Record 00005,Finished
2005 SAP AG
34
a.LogicalSystem_Lookup_UNI.txt(Location:DefaultLookupDirectory: /mw_Client/mw_1/lookup/)
a.LogicalSystem_Lookup_UNI.txt(Location:DefaultLookupDirectory: /mw_Client/mw_1/lookup/)
b.Quality_Cross_Reference_Lookup_UNI.txt(Location:DefaultLookupDirectory: /mw_Client/mw_1/lookup/)
The field Client_StockType in any MaterialProducedActual segment (in SegmentResponse level 1 and level 3) should be transformed according to the Quality XRef lookup table, shown below. The transition should be from 'S95 Quality Status' to 'IM Quality Status'.
IM Quality Status
WM Quality Status
Comment Field(optional)
2005 SAP AG
35
Unrestricted QI Blocked
<Blank> X S
<Blank> S S
This is a comma-separated file and each record is terminated by New Line. Comment records should start with #.
For example, #First record QI,X,Q, #Second record Blocked,S,S, #Third record Unrestricted, , ,
a.LogicalSystem_Lookup_UNI.txt(Location:DefaultLookupDirectory: /mw_Client/mw_1/lookup/)
b.Quality_Cross_Reference_Lookup_UNI.txt(Location:DefaultLookupDirectory: /mw_Client/mw_1/lookup/)
The structure of the lookup file is 2005 SAP AG The SAP Developer Network: http://sdn.sap.com 36
IM Quality Status
Comment Field(optional)
<Blank> X S
This is a comma-separated file and each record is terminated by New Line. Comment records should start with #.
For example, #First record QI,X,Q, #Second record Blocked,S,S, #Third record Unrestricted, , ,
a.LogicalSystem_Lookup_UNI.txt(Location:DefaultLookupDirectory: /mw_Client/mw_1/lookup/)
Refer MES-PCS_Routing Logic.doc for structure of the lookup file. 2005 SAP AG The SAP Developer Network: http://sdn.sap.com 37
a.LogicalSystem_Lookup_UNI.txt(Location:DefaultLookupDirectory: /mw_Client/mw_1/lookup/)
a.LogicalSystem_Lookup_UNI.txt(Location:DefaultLookupDirectory: /mw_Client/mw_1/lookup/)
a.LogicalSystem_Lookup_UNI.txt(Location:DefaultLookupDirectory: /mw_Client/mw_1/lookup/)
2005 SAP AG
38
8.3.2.9 Batch to Batch Transfer/SLOC to SLOC Transfer/Inbound Receipt/Local Quality Change (Transaction Id: 010298)
All the four interfaces are Inbound Idoc Interfaces. The middleware tables will be updated according to the following information:
The Transaction Id for the main map is 010298 and the transaction Id for each message is as follows
Batchto Batch Transfer (Transaction Id:010292) SLOC to SLOC Transfer(Transaction Id:010291) Inbound Receipt(Transaction Id:010290) Local Quality Change(Transaction Id: 010293)
All the four Interfaces has the same Input(S95 Transfer Performance XML) and Output (Idoc WMMBID02)Structure.Only difference is the message type.
MW can receive four types of messages from the PCS systems(Batch to Batch Transfer message , SLOC to SLOC Transfer message , Inbound Receipt message and Local Quality Change message) .
For Batch to Batch Transfer message PCS will send the Transid 010292 in MIDH header. Middleware will read the MIDH and identifies the message type (YINVRPT700) from the Transid.
For SLOC to SLOC Transfer message PCS will send the Transid 010291 in MIDH header. Middleware will read the MIDH and identifies the message type (YINVRPT600) from the Transid.
For Inbound Receipt message PCS will send the Transid 010290 in MIDH header. Middleware will read the MIDH and identifies the message type (ZRECADV03) from the Transid.
For Local Quality Change message PCS will send the Transid 010293 in MIDH header. Middleware will read the MIDH and identifies the message type (YINVRPT100) from the Transid.
2005 SAP AG
39
There should be four different entries in the lookup file , one for each message in the lookup.txt(Location:DefaultLookupDirectory: /mw_Client/mw_1/lookup)
example :
CD;011103;010290;1;MIDH;332;2; 010298;000000;MQ;T;19/02/2004;CD CD; 011103;010291;1;MIDH;332;2; 010298;000000;MQ;T;19/02/2004;CD CD; 011103;010292;1;MIDH;332;2; 010298;000000;MQ;T;19/02/2004;CD CD; 011103;010293;1;MIDH;332;2; 010298;000000;MQ;T;19/02/2004;CD
There should be four mapctrl.txt files,one for each message in the respective trans lookup directories.
example :
a.LogicalSystem_Lookup_UNI.txt(Location:DefaultLookupDirectory: /mw_Client/mw_1/lookup/)
b.Quality_Cross_Reference_Lookup_UNI.txt(Location:DefaultLookupDirectory: /mw_Client/mw_1/lookup/)
S95 Quality
IM Quality Status
WM Quality
Comment
2005 SAP AG
40
Status <Blank> S S
Field(optional)
This is a comma-separated file and each record is terminated by New Line. Comment records should start with #.
For example, #First record QI,X,Q, #Second record Blocked,S,S, #Third record Unrestricted, , ,
c.Message_Type_Lookup_UNI.txt(Location:DefaultLookupDirectory: /mw_Client/mw_1/lookup/)
This lookup is used to identify the message type from the TransId value.
Trans ID
Message Type
Comment Field(optional)
2005 SAP AG
41
Unrestricted QI Blocked
<Blank> X S
This is a comma-separated file and each record is terminated by New Line. Comment records should start with #.
For example, First message type 010290,ZRECADV03, #Second message typ 010292,YINVRPT700, #Third message type 010291,YINVRPT600, #Fourth message typ 010293,YINVRPT100,
2005 SAP AG
42
GAF Adapter
Appendix A:
9.1.1 Inbound to SAP
The following transactions exist for PCS. PCS Inbound control recipe status change (transaction Id 010249) PCS Production comsuption and reversal (transaction Id 010246) PCS Production declaration and reversal (Transaction Id 010247) PCS Transfer order (transaction Id 010289) For these inbound interfaces entries need to be added to the shared GAF adapter inbound configuration file "SapBcInTransactionMap.dat". In this file the Client Delivery ID, the Delivery ID and the transaction ID is mapped to the service MQ2SAP.InboundALE, which is invoked in the SAP Business Connector in order to transfer the message to SAP. # PCS Interfaces CD|021124|010246|1|MQ2SAP.InboundALE| CD|021124|010247|1|MQ2SAP.InboundALE| CD|021124|010249|1|MQ2SAP.InboundBAPI CD|021124|010289|1|MQ2SAP.InboundALE|
9.1.2
Outbound to SAP
As part of the standard Business Connector configuration, PCS specific transaction id values must be configured for the Idoc based outbound interfaces. The configuration file has the name /mw_Client/sapbc/packages/BAPI/config/transid/<SID>_>Client>.txt. The following transactions exist for PCS. PCS Control recipe (transid 010250) PCS Outbound control recipe status change (transid 010126) A sample entry of the corresponding configuration file is following: # PCS Interfaces 010126#1#PROCESS_MESS_DOWNLOAD#XRFC 010250#1#CONTROL_RECIPE_DOWNLOAD#XRFC
2005 SAP AG The SAP Developer Network: http://sdn.sap.com 43
9.1.3
RFC Listeners
We need to set up RFC listeners so that SAP outbound is being received in the SAPBC. For this it necessary liase with the ALE team. The ALE team will provide a ProgramId, SAP Gateway and Gateway Service.
9.2 N/A
One Adapter serves one Market Application and is generic. The environment structure will comply with environment as normal IT development. Wherever the application exists, it's Adapter must also exists. Each Adapter runs in a specific Environment (Adapter Environment) for a specific Market Application. ( e.g. EDI in Development, Test and production will be served by 3 different Adapters ). A specific Environment has one and only one Queue Manager. Each Adapter has one Inbound Queue, one Outbound Queue, one TnT Queue and one Bad Message Queue. There is only one Dead Letter Queue for each Queue Manager.
2005 SAP AG
44
10 Attached Documents
The detailed development specifications (SAP & Middleware) for every interface mentioned earlier is attached below. These development specifications provide a detailed description of the activities required in the CLIENT template project to create the generic interface plug-in.
2005 SAP AG
45
11 Author Bio
Aveek has more than 11 years experience in software analysis and design and custom development both in India and abroad. He has handled software projects U.S., Holland, UK, Switzerland and India. He has during his association with IBM, PWC & Consultancy firms in the U.S. gathered wide experience in developing leading edge technological solutions. He has been heavily involved in developing Materials Management System, Manufacturing & Material Handlings applications, Process Control System Interfaces, Warehouse Control applications and Financial applications in almost all the software projects he has undertaken. For the past 6 years, Aveek has been associated with a number of SAP projects in India and abroad. Aveek has been involved in handling Process Control Interfaces in the Manufacturing area.
2005 SAP AG
46