cancel
Showing results for 
Search instead for 
Did you mean: 

Message Mapping:FIle to IDoc issuse.

Former Member
0 Kudos

Hi,

I'm new to PI though I'm aware of few things, my query is as follows:

Srouce:

MTCashPosting_

Header

CashPosting

PubDiv

DocType

DocDate

PostDate

RefDocNo

HeaderTxt

Customer

Value

Currency

ExchangeRate

Ledger

Item

Material

TaxValue

VAtValue

Trailer

Traget: (IDOC Type: FIDCCP02 Message Type: FIDCC2)

FIDCCP02

IDoc

Begin

EDIDC40_:DISABLED

E1FIKPF

E1FISEG (Under E1FIKPF)

Segment

buzei

bschl

shkzg

mwskz

dmbtr

hkont

matnr

"The secenario is the 'Value,TaxVAlue & VatValue' should be handled by replicating E1FISEG like (HAve used External definition for IDoc)"

Value -> Line item 1

IF TaxValue exists->Line Item 2

IF VatValue exists-> Line item 3

Finally Line item 4 for cerdit.All above are debit

How should I map?? Inputs plzzzzz

Thanx

Edited by: kevindass on Aug 4, 2011 10:41 AM

Edited by: kevindass on Aug 4, 2011 10:46 AM

Edited by: kevindass on Aug 4, 2011 10:47 AM

Edited by: kevindass on Aug 4, 2011 2:02 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

if i understood u correctly u want to create nodes of "E1FISEG" depending upon the existence of Value ,TaxValue and VatValue??

if yes...right click on "E1FISEG" and duplicate subtree(twice)...and then map accordingly

Former Member
0 Kudos

Yes U r correct, hwevr if TAxValue or TaxValue are empty the E1FISEG will be created. So only if TaxValue or VatValue exist the E1FISEG must be created, else skip.

Former Member
0 Kudos

TaxValueexistsIfwithoutelse( constant()-then)------E1FISEG[1]

VatValueexistsIfwithoutelse( constant()-then)------E1FISEG[2]