Skip to Content
avatar image
Former Member

Restet the counter when there is context change

Hi Experts,

I am doing File to IDOC Scenario.the file Source Structure is of the form like one header with multiple item lines. There is field in item called item_num. for this field i applied counter this field will get incremented for each item. My problem is, suppose if i send 2 header with multiple item lines then i want to reset the counter if there is context change at header.if i didnt reset counter it will be increment from the previous itemline.

If some one knows the solution plz Reply

Thanks in advance,

Venu

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Oct 30, 2007 at 04:37 AM

    Hi Venu,

    Can u provide a piece of data and the output u are getting..

    Regards

    San

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Is there a way I can achieve the same using standard functions?

      Is there any standard function that intimate me of the context change in the Queue?

      help!!!!!

      Venu

  • avatar image
    Former Member
    Oct 30, 2007 at 04:38 AM

    Hi Venu,

    In a message you can always send one header two headers will require two separate messages .

    You can write a UDF which will be used to generate the same number for separate messages and incremented each time in one message

    Regards

    Add comment
    10|10000 characters needed characters exceeded