!--a11y-->
Setting IDoc Conversion Rules (Customer System
Outbound) 
You can change the field contents in an IDoc segment by using conversion rules. You require conversions outbound to convert the SPEC2K IDoc data from the lower part of the IDoc to the upper part.
The SAP system contains all of the required conversion rules. You adapt the conversion rules, where necessary, and assign them to your partners (vendors).
In Customizing, choose SAP Web Application Servers ® Application Link Enabling (ALE) ® Modeling and Implementing Business Processes ® Converting Data between Sender and Receiver ® Maintain Rules.
...
Execute the Customizing activity for the following conversion rules:
· SPC_OP_MM_S1S_K11
· SPC_OP_MM_S1Q_K11
· SPC_OP_MM_S1B_K11
in receiver field SHT, enter a condition that converts the content of sender field EWERK to the ship-to party known to the vendor .
Alternatively, you can copy the plant as the ship-to party, if your vendor can clearly identify the ship-to party from the customer name and plant.
In Customizing, choose SAP Web Application Servers ® Application Link Enabling (ALE) ® Modeling and Implementing Business Processes ® Converting Data between Sender and Receiver ® Assign Rule to Message Type.
...
1. Execute the Customizing activity for the message types in table Segment Type and Conversion Rule Subject to Message Type (Customer System Outbound), which is shown below.
2. Enter the following data in the table for outbound processing in the customer system:
Partner Type of Sender: LS
Partner Number of Sender: Logical system that you have assigned
Partner Type of Receiver: LI
Partner Number of Receiver: Enter the partner number of every vendor
Partner Function of Receiver: VN
Segment Type and Conversion Rule in accordance with the following table

It is important that the partner function of the recipient matches the partner function in the partner profile (for more information, see Maintaining Partner Profiles (Customer System Outbound)) or the partner function in message control maintenance (for more information, see Message Control (Customer System)).
Segment Type and Conversion Rule Subject to Message Type (Customer System Outbound)
Message Type |
Segment Type |
Conversion Rule |
S1STOCKS |
E1S2K11 E1S2P12 |
SPC_OP_MM_S1S_K11 SPC_OP_REMARKS |
S1QUOTES |
E1S2K11 E1S2P12 |
SPC_OP_MM_S1Q_K11 SPC_OP_REMARKS |
S1BOOKED |
E1S2K11 E1S2P12 E1S2P14 |
SPC_OP_MM_S1B_K11 SPC_OP_REMARKS SPC_OP_SCH_LINES |
S1INVEXC |
E1S2K41 E1S2P12 |
SPC_OP_MM_S1I_K41 SPC_OP_REMARKS |
S1PNSTAT |
E1S2K31 E1S2P12 E1S2P31 E1S2P32 E1S2P33 |
SPC_OP_MM_S1PN_K31 SPC_OP_REMARKS SPC_OP_MM_S1PN_P31 SPC_OP_MM_S1PN_P32 SPC_OP_MM_S1PN_P33 |
S1POSTAT |
E1S2K31 E1S2P12 E1S2P31 E1S2P32 E1S2P33 |
SPC_OP_MM_S1PO_K31 SPC_OP_REMARKS SPC_OP_MM_S1PO_P31 SPC_OP_MM_S1PO_P32 SPC_OP_MM_S1PO_P33 |