Skip to Content
author's profile photo Former Member
Former Member

Mapping - Number of records

Hi,

My Flow is PC -> XI 3.0 -> R/3.

Inside the mapping, I want to know the <b>number of inbound records</b> in order to specify this figure inside an outbound field.

I haven't found a solution with graphical function and I try to create a JAVA user-function... but I'm an ex-abaper not a Javaman (not yet!)...

Anybody have a solution?

Regards

Mickael.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 17, 2005 at 06:07 AM

    I have done a similar computation using the "statistic function" count.

    The requirement was to write the number of records in the inbound structure to a field in the target structure.

    the syntax is:

    <node of the inbound structure> --> COUNT --> target field

    Anand

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      It's ok.

      Thanks.

      Else, I was also created a litle Java function (Advanced one) with:

      Source code:

      result.addValue( Integer.toString (a.length) );

      Mapping:

      <node of the inbound structure> --> My function --> target field

  • author's profile photo Former Member
    Former Member
    Posted on Feb 16, 2005 at 04:15 PM

    Hi,

    I think you will need to use BPM for this to accumulate the inbound messages and produce one outbound message.

    Hope ths points you in the right direction.

    Cheers

    Colin.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.