cancel
Showing results for 
Search instead for 
Did you mean: 

File - XI - Idoc : mapping issue

Former Member
0 Kudos

Hello gurus,

I have a mapping issue:

I have a mapping between FICABillingNotification to FKK_EBS_DOC_TREE

Some fields are mapped one to one, others a mapped to constants.

But for some reason i don't know, not all fields get the right value.

For example:

Working:

Constant 1 --> BEGIN

Constant LS --> RCVPRT (Receiver Partner Type)

Not working:

Constant FILE-->RCVPOR (Receiver Port)

I had an other value the first time i tried it, but now i changed it to FILE but this value is not used by the mapping.

Any help would be welcome

Thanks

Thomas

Edited by: Thomas Pary on May 28, 2008 3:36 PM

Accepted Solutions (1)

Accepted Solutions (1)

former_member181962
Active Contributor
0 Kudos

Hi Thomas,

Check if the root node for the element you are mapping is also mapped to a constant(If the segment's minimum occurance is 0).

Eg:

segment (Ocurances 0:unbounded)

|_____element

If you want to map a constant to element, you should also map a constant to SEGMENT also.

Regards,

ravi

Answers (1)

Answers (1)

prateek
Active Contributor
0 Kudos

Have u checked in the idoc communication channel "Apply control record values from payload"?

Regards,

Prateek

Former Member
0 Kudos

Hi,

First of all thanks for twe fast answers.

My IDOC structure looks like:

FKK_EBS_DOC_TREE

--IDOC

-


BEGIN : constant "1"

--EDI_DC40

-


SEGMENT : constant "EDI_DC40"

-


TABNAM : constant "EDIDS"

-


...

-


DIRECT : constant "2"

-


IDOCTYP : constant"FKK_EBS_DOC_TREE"

-


MESTYP : constant"FKK_EBS_DOC"

-


RCVPOR : constant"FILE"

-


RCVPRT : constant "LS"

-


RCVPRN : constant "DEVCLNT200"

-


....

--E1FKK_EBS_DOC_HEADER: mapped to DocumentHeader

-


SEGMENT: mapped to E1FKK_EBS_DOC_HEADER

-


REF_DOC_HEADER: mapped to BillFromID

...

So that seems correct no?

Former Member
0 Kudos

hi,

select the box apply control record values from payload in the Receiver communication channel(Idoc

adapter).

Regards,

Prakasu

Former Member
0 Kudos

This was allready done (sorry i didn't answered that question).

But Ok now i see, that for this RCVPOR the value of the constant "FILE" is mapped, and i can see it in the payload in SXMB_MONI after the mapping. But it isn't populated to the IDoc field :-s

Another problem is, that like the one said above, some of my values are not mapped :

<FICAExternalBilling>

--<DocumentHeader> mapped to EF1KK_EBS_DOC_HEADER

-


<BillFromId>25001254</BillFromId> mapped to REF_DOC_NUMBER

-


<PostingDate>20080520</PostingDate> mapped to POST_DATE

-


<DocumentDate>20080520</DocumentDate> mapped to DOC_DATE

-


<OriginTypeId>IV</OriginTypeId> mapped to EXT_DOC_TYPE

-


<ObjectType/>

-


<ObjectKey/>

-


<PendingCommitmentGroupID/>

-


<InvoiceReferenceID/>

-


<DisputeDocumentReferenceID/>

--</DocumentHeader>

The value of OriginTypeId is not mapped, but the value of DocumentDate and PostingDate are mapped.

Former Member
0 Kudos

Hi,

In sxmb_moni select inbound message .in that choose payload. view source and get the payload.

Go to mapping.select test tab.

use the payload and check your mapping.

Regards,

Prakasu

Former Member
0 Kudos

Hi,

I finaly got my problem: some fields ending with "ID" where written with "Id" in the xml

example: <BillFromID>25001255</BillFromID> is good but <BillFromId>25001255</BillFromId> was written.

So that was the problem.

Thanks to those who answered for your help

Thomas