cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping IDoc to file

Former Member
0 Kudos

Hi,

I am using INVOIC02 idoc at the sender side and file at the receiver side.I have a doubt in mapping.

Mapping rule is as follows.

map E1EDK02-BELNR if QUALF=009 .

E1EDK02 is the segment and BELNR is the field.

target field is billing doc number.

My understanding is map belnr to billing doc number and map qualf to constant 009.

Am i right or wrong?

Can someone help me?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

There might be a field QUALF coming under the node E1EDK02 in the IDoc structure.So, the mapping should be as follows.

Map the E1EDK02-BELNR(Source) to billing document number (Target) when QUALF is '009'

Thanks,

Kiran

Answers (6)

Answers (6)

Former Member
0 Kudos

Hey,

this will be the design of your mapping.

QUALF(field of source node)-> Equals(text function)

Constant(value=009)->Equals(text function)

Equals(text function)-> ifwithoutelse(boolean function)

E1EDK02-BELNR(field of source node)-> then(of the ifwithoutelse)

ifwithoutelse->billing doc number(field of target node)

reward points if useful.

regards,

Milan

Former Member
0 Kudos

When QUALF = 009,

Billing Doc number = E1EDK02-BELNR.

It should be the logic

Former Member
0 Kudos

Hi manikandan,

The requirement is like, the E1EDK02-BELNR should be mapped to target when QUALF is 009. Otherwise just leave it or map to a constant. You can use the If (or) Ifwithoutelse function under boolean in the message mapping.

Reward points if it is helpful

Regards,

Murugavel

Former Member
0 Kudos

Dear Mani,

You suppose to use QUALF to check for the constant value of 009. And map if this is only true, This is what your requirement is.

For this in Message Mapping take

get

Billing Doc Number from target structure

BELNR from Source IDOC

QUALF from Source IDOC

Use If - witout else function then map the fields like this

you need a constant for this mapping scenario to work.

assign 009 to constant

Map like this:

If BELNR is equal to Constant(009) then ---> Billing Doc Number

you can use If-then-else as well

just map with some dummy value if the condition is false.

Best Regards

Praveen

Former Member
0 Kudos

hi,

Check QUALF with a constant of value '009' (use equals from text functions) and then if with out else...then map belnr to target field billing doc number.

reward if helps.

Thanks,

Vijaya

iprieto
Contributor
0 Kudos

Hello,

You can use Graphical mapping to make the condition for map the field. Make a - if then - comparation over the field QUALF, if it's true map the BELNR field over the same context. In this case the context is E1EDK02 segment.

Best Regards

Ivá