cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping for IDoc to File

Former Member
0 Kudos

Hi,

I am doing mapping for IDoc to file scenario.

Idoc is INVOIC02.

Source field is KRATE from segment E1EDP05

Target field is Rate.

Mapping rule is as follows.

zero when Condiditon type (E1EDP05-KSCHL ) = YCSE ( enter total 15 digits without any decimal in it. The last 2 digits will be treated as digits after decimal )

Can someone explain the mapping?

I have to map KRATE and Rate but where does KSCHL comes into this?

Please explain

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

take a if with else condition from boolean functions..

drag and drop kschl field and take equalsS from text functions, as the equalsS function has 2 input blocks assign KSCHL to upper one and constant to the lower one and the output of the equalsS should be assigned to if condition.then for the upper block of the ifelse condition assign Zero and for the lower side assign the 15 digit value....the 15 digit value should be assigned to format number and that formatnumber function should be mapped to ifelse function.....

Hope its clear....

Thanks,

Madhu

Former Member
0 Kudos

Hi Sandeep ,

Can you please explain it more clearly.I am new to XI.

former_member208856
Active Contributor
former_member208856
Active Contributor
0 Kudos

Hi,

Use Boolean Function : if with else.

IF KSCHL eq constant (YCSE)

Then Constant (ZERO).

Else 15 digit value with using FormatNum function.