Re: How to create a conversion rule


[ Follow Ups ] [ Post Followup ] [ Message Board ]

Posted by [IP Address: 63.166.75.3] 'David' on September 20, 2001 at 14:57:44 EST:

In Reply to: How to create a conversion rule posted by [IP Address: 63.166.75.3] 'David' on September 20, 2001 at 14:30:38 EST:

: I am trying to send customers to our development system. However each customer is assigned a sales rep. The sales reps don’t exist on the development system. Therefore I would like to make one sales rep on DEV and change all sales rep assignments for customers to that number in the outbound IDOC.
: I can’t find any helpful documentation.
: Briefly what I want to do is:
: On the sending system, in message type DEBMAS for segment E1KNVPM:
: If field PARVW is C1 change the value of field KUNN2 to the constant mentioned above.
: If PARVW is not C1, don’t convert field KUNN2.

: I have gotten to BD62 where I created the conversion rule.
: Next I assume is BD79. I select the rule just created and click “Maintain.”

: There is a table as follows (I omitted a few unimportant columns):

: Rec. field Send field Send field val Constant
: MSGFN
: PARVW
: KUNN2
: DEFPA
: KNREF
: PARZA

: Where do I go from here? I’m not sure how to get the If-Then logic into the rules. Do I double click the PARVW and make the rule for it or do I start with KUNN2?
: Any guidance is greatly appreciated.
: David

----------------------------------------
I can’t believe I figured it out.
For anybody interested, here is the resolution.

In BD79 double click the field I want converted, KUNN2.
Select the “Convert Sender fields” radio button.
Enter PARVW in the Sender field in the Rule details box.
Select the Conditions button.
In the Value receiver fld column enter the constant.
In the Part func column, which is derived from the PARVW entered earlier, enter C1 for sales rep.
Save.
Now when I create the IDOC the field is changed to a constant.


Follow Ups:



Post a Followup


Name:
E-Mail:
Subject:

Message:


[ Follow Ups ] [ Post Followup ] [ Message Board ]