Sei sulla pagina 1di 10

1.

Concept of Conversion Rules


TRANSACTION CODE: SALE

TABLE: TBD30

Conversion rule is used to convert the field contents of a sender field for use in a receiver field. This
allows conversions of organizational units, of units of measurement and customer-specific conversions
from one system to another to be performed.

The conversion tool is a general tool, and is used here for the definition and maintenance of conversion
rules in ALE.

There are various methods of field conversion:

Allocation of constants (=> SET),

Allocation of ranges in the sender field for target values in the receiver field (=> GROUP),

Combination of various sender fields for target values in one receiver field (=> COMBINE),

Specification for all non-defined GROUP or COMBINE cases (=> SET_R).

If no conversion rules have been defined for a given field then the default action is to copy the contents
of the sender field into the receiver field (=> MOVE)

This entails the following steps being performed:

1. Rule definition:

The rules are always defined per segment.

2. Rule maintenance:

Rule maintenance specifies the conversion on field level with defined rules.

3. Allocating rules to IDoc:

The allocation specifies when the rule should be applied. This is sender, receiver and message type
specific.

Create rules
TRANSACTION CODE: SALE or BD62

The first work step for the conversion rule is processed in this section.

Here you define a conversion rule for each segment type.


Activities

1. Execute the function.

2. Go to the change mode.

3. Enter a name and meaning for the conversion rule and the name of the IDoc segment to which the
conversion rule is to apply.

4. Save the entry

Example 1

Definition of a conversion rule EBS_F_DEB_OES for the segment type E1KNA1M


Example 2

Definition of a conversion rule EBS_F_DEB_A_POE for the segment type E1KNA1M

Maintain Rule
TRANSACTION CODE: SALE or BD79
We can see two conversion Rules for the same Idoc segment E1KNA1M

1. EBS_F_DEB_OES
2. EBS_F_DEB_A_POE

In the conversion rule EBS_F_DEB_OES, the A segment is maintained as constant, which means that the
A- segment data will not flow from PMD/XMD system.
In the conversion rule EBS_F_DEB_OES, the A segment is not maintained as constant, which means that
the A- segment data will flow from PMD/XMD system. It passes all the data without any conversion.
Practical Scenario:

Earlier in case of Q47 & X47 system General data for Customers was transferred from EVA system, but
the company code level data was transferred from PMD. In the conversion rule EBS_F_DEB_OES the A
segment maintained as constant, which means that the A- segment data will not flow from PMD/XMD
system.

Now for Q47 & X47 Systems they want the General data to flow from XMD & not from EVA system.
So we have to change the conversion rule assigned to the message type.
Assign Message Type to Rule
TRANSACTION CODE: SALE or BD55
Standard Settings
Type of setting MANDATORY Standard
Conversion Rule always has to be assigned The conversion rule is normally set, though
rule for all connections exceptions may apply (see the description)

CREMAS
Segment Rule Status Description
E1LFB1M EBS_F_KRED_B_GB MANDATORY Exclude field XVERR ("Clearing with cust.")
E1LFM1M EBS_M_KRED_BVE MANDATORY Restrict amount of PurOrg data sent to
receiver, since not all values are maintainable
on PMD. This rule needs to be kept in sync with
EBS_M_KRED_BVE_PLANT.
E1LFM2M EBS_M_KRED_BVE_PLANT MANDATORY Restrict amount of Plantlvel data sent to
receiver, since not all values are maintainable
on PMD. This rule needs to be kept in sync with
EBS_M_KRED_BVE.

DEBMAS
Segment Rule Status Description
E1KNA1M EBS_F_DEB_OES Optional Required by UBK systems receiving old EVA
Customers. Excludes all A-Segment data from
transmission for account groups RB01, since those
are maintained on EVA.
E1KNB1M EBS_F_DEB_B_GB MANDATORY Prevent transmission of values computed on the
receiver system
E1KNB5M EBS_F_DEB_MAHNDAT MANDATORY Prevent transmission of dunning information that
is computed on receiver system
GLM AST
Segment Rule Status Description
E1SKA1M EBS_F_SAKO MANDATORY If you have to ask, ask Britta or Katrin

Important exceptions
E2EBSMD: e / EAI / webMethods
IDoc Setting Exception

ALL except Filter e does its own filtering and therefore usually has no filters set
CREMAS
CREMAS Filter Send all account groups except RB04 (employee data!)
Conversion e does its own conversions per target system and thus needs
Rule uncooked data
IDoc extension e does not like changes or extensions of any kind

Documenting Creation, Maintenance & Change of Conversion Rule

An overview of conversion rules is available in the PMD portal room:


https://inside.bosch.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.navigation/guid/b08d6f4a-
be20-2e10-cf9c-95b22f371c51

There you can find an excel sheet per message type, please update these documentation whenever

a new conversion rule is created and assigned or


you change an conversion rule assigned to a message type.

How to read the excel sheets?


Every sheet is build up like this:
o Grey: general remarks (e.g. about general rules, standard mapping, .)
o Green: overview about which conversion rule is assigned to which system
(sender PMD), please update in case you add a new rule
o Pink: log your changes
o Others: detailed description of conversion rules assigned (see remarks for meaning of
color, e.g. blue for conversion of general data and yellow for company code data),
please update in case you change an assigned rule

NOTE

We should always try to use existing conversion rules, instead of creating new ones. This will
help to harmonize the settings (which is planned for some message types).
Changes in existing rules may have impact to other systems. Please do always check to which
systems a conversion rule is assigned and do only change in case changes are requested for all
these systems.
Some conversion rules are mandatory: see Wiki with standard settings https://inside-
wiki.bosch.com/confluence/display/mdssupport/Standard+settings

Potrebbero piacerti anche