on 05-28-2008 2:36 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have u checked in the idoc communication channel "Apply control record values from payload"?
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
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.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.