Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Help Regarding receiver FCC structure

Hi

My sender structure is

<Details>

<Recorder>

   <EGHT>45603</EGHT>

   <EHGD>DA</EHGD>

   <ID>1236A</ID>

   <Value>

      <Values>

        <Seq>1</Seq>

        <Del>10</Del>

     </Values>

     <Values>

       <Seq>2</Seq>

       <Del>11</Del>

     </Values>

  </Value>

</Recorder>

</Details>

I want my target CSV to be

45603;DA;1236A;1;10

45603;DA;1236A;2;11

Recorder segment can occur multiple time. So how to repeat Recorder segment issues w.r.t to Values segment repetition. I tried to use useoneasmany but its copying ther recorder segment fiels first occurance only to all its repetition.

How to acheive this, Any help

Former Member
replied

Hi Prabhas,

First create a target structure like below,

<Recorder> (1..unbounded)

    <EGHT>

   <EHGD>

    <ID>

    <Seq>

    <Del>

</Recorder>

Then, use the below mapping logic.

Source <Values> -----------> Target <Recorder>

For field mapping,

do similar mapping for EHGD and ID field.

then direct mapping for Seq and Del field.

your mapping xml output will be like below,

<Recorder>

     <EGHT>45603</EGHT>

     <EHGD>DA</EHGD>

     <ID>1236A</ID>

     <Seq>1</Seq>

     <Del>10</Del>

</Recorder>

<Recorder>

     <EGHT>45603</EGHT>

     <EHGD>DA</EHGD>

     <ID>1236A</ID>

     <Seq>2</Seq>

     <Del>11</Del>

</Recorder>

Then you have to use FCC for receiver file adapter

http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm

Hope this helps.

Regards,

Zameer

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question