Sequence Number for messages

Hi,
I need to implement a sequence number in the target structure for each time a message mapping is executed.
As far as i can see on this forum and on sap.help.com it can be easily done with RFClookup inside the message mapping, and best implement something on abap-stack.
I need to decide on using either a z-table or a number range and i need to decide whether to use PI abap stack or ECC abap stack.
Any comments are useful.
kr
Robert

Hi Bhavesh,
I get interesting considerations on my question.
It will be sequentially, almost for sure,  because i get this message via flatfile.
Your second consideration is also interesting. Maybe the source can provide, maybe not (i'm not sure)
Even more interesting if it is really necessary at the receiver side. This i actually asked the business, but still waiting for an answer. Meanwhile i just started looking around for the correct solution.
kr
Robert
On second thought. It will be unique if i use number ranges with RFC lookup, because each number can only be used once.
Edited by: R. den Hoedt on Mar 16, 2011 4:37 PM

Similar Messages

  • How do I set up a new phone number for messaging and facetime on my iPad?

    My iPad has it's own phone number through Verizon.  Before I knew this, I had already set up messages to use my iPhone number.  Now I can't figure out how to set up the iPad phone number for messages and facetime on the iPad.

    Are you trying to message another Apple device?
    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
     Cheers, Tom

  • Sequence number for opportunities

    Hello,
    My customer needs a sequence number for opportunities... So I can create a custom field but is there a way to automatic generate a number to fill it ? or for that matter a sequence ?
    Txs.
    Antonio

    Antonio, this functionality is not available at this time. This could be done using a custom web service program.

  • How to execute a same sequence number for the resulting dynamic rows

    Hi friends,
    I have a sequence and trigger(which will fire id for each and every row insert).
    My scenario is, If i update more than 5 rows at a time means, i need to set a same sequence number example(1) for all the 5 rows.
    Next time, if i update another 5 rows means, then i need to set a same sequence number (i.e) 2 for the next 5 rows.
    So, my updation will be dynamic(may be 2 ,5, 10 rows at a time), But i need to set a same sequence number for one of the column for all the rows that i update.
    Next time, if i update another set of rows means, then i need to set only the next sequence number(i.e) 2(assume that previously updated sequence for the before set of rows is 1) for another set of rows.
    Like that sequence has to update in a sequential manner for more than one set of rows in that column.
    How to achieve it friends.
    example
    id-----------------name
    1-------------------A
    1-------------------B
    1-------------------C
    1-------------------D
    1-------------------E
    2-------------------D
    2-------------------E
    2-------------------F
    2-------------------G
    3-------------------H
    3-------------------IBrgds,
    Mini

    Hi,
    You forgot to mention your version.
    If you want a trigger based solution, then in 10g you need two triggers
    1. A statement level trigger that takes sequence.nextval into a dummy variable that will not be used.
    2. A for each row trigger that uses sequence.currval.
    In 11g you should be able to write a single, composite trigger.
    If you want a solution with no triggers, it could look something like
    SQL> create sequence s start with 10;
    Sequence created.
    SQL>
    SQL> create or replace function s_wrapped
      2  return number
      3  as
      4     v number;
      5  begin
      6     select s.nextval
      7     into v
      8     from dual;
      9
    10     return v;
    11  end s_wrapped;
    12  /
    Function created.
    SQL> create table tab1 as (Select level x, cast(null as number) y from dual connect by level <= 5);
    Table created.
    SQL> update tab1
      2    set y = (select s_wrapped from dual)
      3   where x <= 3;
    3 rows updated.
    SQL> commit
      2  /
    Commit complete.
    SQL> select *from tab1
      2  /
           X          Y
           1         10
           2         10
           3         10
           4
           5
    SQL>Regards
    Peter

  • Screen Sequence number for MM01 T.Code

    Hi,
    Do we have any screen sequence for MM01 T.Code ? If Yes, Can you tell me the screen sequence number for MM01 and how to find it for other T.Codes also?
    Thanks in advance
    Pavan

    Hi,
    Follow this path
    SPROIMGLogistic generalMaterial masterConfiguring the Material MasterDefine Structure of Data Screens for Each Screen Sequence
    21 will be the u201CStd ind.(short) tab pagesu201D
    In this if you double click on u201CData screensu2019 in that u201CSub screensu201D if you click on that  you can find the all screen sequences for material master, program and screen number all you can find there
    Regards,
    Pramod

  • How do I find the phone number for messaging?

    Where and how do I find out my phone number for messaging with my itouch?

    There is no phone # associated with your iPod Touch for use with iMessage.  It actually uses your Apple ID email address instead. To view this email address, head to Settings -> iMessage -> Receive At.
    B-rock

  • How can I change the phone number for messaging and FaceTime?

    How can I change the phone number for messaging and FaceTime?

    Unable to make or receive FaceTime calls after April 16, 2014
    http://support.apple.com/kb/TS5419
    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    iOS: FaceTime is 'Unable to verify email because it is in use'
    http://support.apple.com/kb/TS3510
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Set Up Alert Sounds
    http://www.quepublishing.com/articles/article.aspx?p=1873027&seqNum=3
    Extra FaceTime IDs
    http://tinyurl.com/k683gr4
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Fix Can’t Sign Into FaceTime or iMessage iOS 7
    http://ipadtutr.com/fix-login-facetime-imessage-ios-7/
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    iOS 7 allows you to block phone numbers or e-mail addresses from contacting you via the Phone, FaceTime, or Messages
    http://howto.cnet.com/8301-11310_39-57602643-285/you-can-block-people-from-conta cting-you-on-ios-7/
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457#19087457
    How to watch FaceTime calls on the big screen with Apple TV
    http://www.imore.com/daily-tip-ios-5-airplay-mirroring-facetime
    Send an iMessage as a Text Message Instead with a Quick Tap & Hold
    http://osxdaily.com/2012/11/18/send-imessage-as-text-message/
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Text on the iPad
    http://ipad.about.com/od/ipad_tricks/a/How-To-Text-On-The-Ipad.htm
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    How to Receive SMS Messages on an iPad
    http://yourbusiness.azcentral.com/receive-sms-messages-ipad-16776.html
    Apps for Texting http://appadvice.com/appguides/show/apps-for-texting
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/
     Cheers, Tom

  • The sequence number of message

    Hello Experts,
    On the target message we have a field where the message sequence number have to be saved.
    So the question is how we can do that?
    Is there is some global storage to save the counter?
    I guess JAVA-sections and GlobalContainer will not work here as I need some storage which we be global to all instances of the mapping.
    Thanks for your responses.
    Best Regards,
    Artsiom Anichenka

    You can follow these steps to generate a sequence no using global container.
    1) Define a global variable by clicking the JAVA_SECTION_TOOLTIP icon on the design tab of source message type of ur message mapping.
    2) Enter the following in the GlobalVariables Section
    Integer counter =0;
    3) Define a user defined function
    function myudf(Container container)
    Integer seq = 0;
    GlobalContainer globalContainer = container.getGlobalContainer();
    a = globalContainer.getParameter("counter");
    seq = globalContainer.getParameter("counter");
    seq = seq + 1;
    globalContainer.setParameter("counter",seq);
    return a;
    4) use myudf to your target field
    myudf--->target sequence no field
    XI: New features in SP14

  • Sequence number for group of values in column

    I need to create a sequnece number in a column starting from 5 and incremented by 5, based on values presenet in first column. If the value in first column changes then the sequence should start again with 5 and increment by 5.
    for example: I want to generate the following output
    Cat_code     Seq_No
    1001          5
    1001          10
    1001          15
    1001          20
    2001          5
    2001          10
    2001          15
    3001          5
    3001          10
    4001          5
    4001          10
    4001          15
    4001          20
    5001          5
    6001          5
    7001          5
    7001          10
    7001          15
    7001          20
    7001          25
    So if the cat_code changes, the sequence number should again start from 5 and should be generate sequence number until the cat_code changes again.
    any help apreciated.
    Thanks
    Rahul

    Hi, Rahul,
    You can use the analytic ROW_NUMEBR function to generate the numbers, like this:
    SELECT       cat_code
    ,       5 * ROW_NUMBER () OVER ( PARTITION BY  cat_code
                                     ORDER BY        NULL
                         )       AS seq_no
    FROM       table_x
    ORDER BY  cat_code
    ,            seq_no
    ;You must use an analytic ORDER BY clause when you call ROW_NUMBER. If you don't really care about the order, then you can ORDER BY a constant, but you still need the analytic ORDER BY clause.

  • Automatic sequence number for Inter-Org

    The problem which right now i am facing is that while making inter-org,... i am maintaining my own sequence... because system is not giving me any automated number... so due to this sometimes... sequence got disturbed... so is there any way.. that i can get the system generated sequence number.. as i am getting for sales order when i save it....if yes.. then please give me brief solution about this issue..
    Thanks,
    Junaid Iftikhar

    Hi,
    If you want your intercompany AR transactions to have a different numbering sequence from regular AR invoices, you need to setup a new transaction batch source for your interncompany AR transactions, a new order type and a new line type for your intercompany sales orders. When you define your order and line types, reference the new batch source you have just created in AR.
    AR Batch Source: AR Manager: Setup: Transactions: Batch Sources.
    Order an Line Type: OM Superuser: Setup: Transaction Types: Define.
    Hope it helps,
    Ketter Ohnes

  • How to generat sequence number for db in XSLT

    Hello SOA Gurus,
    I have a requirement, Please see below
    I am using SOA 11.1.1.6
    From a webservice call to db insert XSLT,  i have 10 elements at source side and 11 elements at target side.
    From source to target first 10 mappings are done.
    Now requirement is, for the 11th element in target- we need pass a sequence number to the targeted database, means---(sequence number has to be generated for every execution of XSLT execution)
    How to do the last point???
    Can anyone help me plzz

    Hi,
    You can pass the sequence number in the 11th element using "oraext:sequence-next-val("Sequence name as a string", "Datasource as a string") function.
    Regards,
    Anshul

  • No Phone Number for messages on Mountain Lion

    I updated to 10.8 mountain lion today. when i message people from my mac it comes up with my email address on the recipents iphone? is it possible to change this so it uses my mobile number instead?
    Thanks

    Only when iOS 6 comes out and gives you the ability to officially use your phone number for iMessages (instead of just for iPhones, as it is now).
    So when iOS 6 comes out, this issue will resolved.
    So yes, they are working on it and a fix is coming out soon.

  • How to print sequence number for a text item in a oracle reports

    Hi
    I have text item which repets for every round,if i have 3 or 4 rounds i should number the text item as 1,2,3,4 etc.... in a report.
    Can anybody help me
    Thanks in advance

    Hi Bob
    Thank you for your reply.
    Here is the data for example:
    Jobxxxx
    Round
    assembly for 3d $200 1 $200.00
    proof for 3d $10 3 $30.00
    Round
    plate for 3d $200 1 $200.00
    image for 3d $10 3 $30.00
    Job yyyy
    Round
    assembly for 3d $100 1 $100.00
    proof for 3d $50 3 $150.00
    So Bob everything is comming from tables except round.
    My question is how to add sequence number to round adn the result should be like this:
    Jobxxxx
    Round 1
    assembly for 3d $200 1 $200.00
    proof for 3d $10 3 $30.00
    Round 2
    plate for 3d $200 1 $200.00
    image for 3d $10 3 $30.00
    Job yyyy
    Round 1
    assembly for 3d $100 1 $100.00
    proof for 3d $50 3 $150.00
    Thank you in advance

  • Create Auto increment sequence number for list view report

    Hi All,
              Am using BAM 11.1.1.6 version, Have updating list report & wants to create auto increment sequence number at report level. Is it possible to create column at run time in BAM reports.
    Please help.
    Thanks.

    Hi All,
              Am using BAM 11.1.1.6 version, Have updating list report & wants to create auto increment sequence number at report level. Is it possible to create column at run time in BAM reports.
    Please help.
    Thanks.

  • IDOC to file: Increase sequence number for each item in a segment

    Dear All,
    I am having one scenario IDOC to file, where one IDoc with multiple items for an header in it will be sent.
    In Destination structure, for each iitem segment I am creating multiple rows. I have a field(INC_NUM) in target structure where in I have to start line number from 1 for each item.
    Also I have a condition - for item x or y I should only have the same line number.
    TinAdvance
    Swarna.
    Edited by: Swarna on Oct 24, 2011 8:15 AM

    Hello,
    You can use the statistic function called index for your requirement. Can you give sample input/output so that we can visualize further?
    Hope this helps,
    Mark

Maybe you are looking for