Sender System and Counter in Receiver file

Hi,
  I have a requirement of having 'Sender Sytem ID' and 'Counter' in receiver flat file.
Please suggest, what is the best way to achieve this.
Scenario :  ABAP --> PI ---> Legacy System
                  Proxy to File scenario
regards
Amol

Hi,
Please refer the following threads-
System ID in the user defined function
/message/686478#686478 [original link is broken]
As mentioned in the threads, use the method
System.getProperty("SAPSYSTEMNAME"); in udf for getting SYSID.
Counter??? DO you mean record counter..something like that??
You can use the standard count (statistic) or counter(arithmatic) functions for that.Please check the documentation for more help.

Similar Messages

  • Two Sender System and two Recievers Systems

    Hi .
    1) In my scenario I have 2 sender JMS  systems and one JDBC receiver and one File receiver system in a single scenario.
    2) Based on a key field SEND_FLAG in the JMS message of the sender,data will be forwarded to  either JDBC or File .
    Hear i can use BPM by using 2 receiver steps i can collect messages and send to either JDBC or File .
    Client is very Specific in Neglecting BPM,
    Can any one tell me is their any other method in which a single   sender communication channel will be designed to fetch data from the two JMS servers.
    thanks in advance
    shakif

    Hi,
    Without BPM you can not receive 2 messages to a same interface.
    Hence use the BPM and proceed further. The interface detemination condition works based on Sender Message Interface. As here there are 2 sender interfaces..so you use BPM here..
    Rgds
    Moorthy

  • ALE, IDOC - need to send IDOC and create a text file

    Hi,
    i need to send idoc to some other system and create a text file in that.
    I want sent data to Channel Cluster.
    what are the settings required for that in transactions
    BD54
    SCC4
    SM59 - which connection is required
    WE21 - which type of port
    WE20 - which partner
    BD64
    Is there any other function modules required.
    which function module is suitable like MASTER_IDOC_DISTRIBUTE.

    Hi,
    SM59 - Use TCP/IP Connection with connection type 'T'
    WE20 - Partner Name can be logical system name, if it is a vendor/customer you can configure it under the respective names.
    Thanks
    Krithika

  • One Sender system and two receivers system scenario. Pls help

    Hello,
    I have One Sender system and two receivers system scenario.
    My sender is RFC (sync) in nature.
    My one receiver is RFC (sync) in nature.
    My second receiver is RFC (sync) in nature.
    Pls tell me and send me links/docs for this scenario.
    Regards

    Hi Rick,
    For two receivers you require 2 interface determination, receivers determinations etc.
    Go through these threads for one sender and multiple receivers:
    one sender and two receiver
    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
    Then configure your RFC communication channel in XI system + activate it and after that using all same parameters make an TCP/IP RFC destinatioon on R3 side.
    Rewrads if found helpful.
    BR,
    Alok

  • I have One Sender system and two receivers system scenario. Pls help

    Hello,
    I have One Sender system and two receivers system scenario.
    My sender is RFC (sync) in nature.
    My one receiver is RFC (sync) in nature.
    My second receiver is RFC (sync) in nature.
    How to proceed with this.
    If my second receiver is async then how to proceed with this.
    Regards

    Hi Rick !
    Depending on your requierements, you can create a BPM that
    1) receives request from sender
    2) sends request to receiver 1 / receives response from receiver 1
    3) sends request to receiver 2 / receives response from receiver 2
    4) do some processing with both responses
    5) sends response to sender.
    If your second receiver is async, just use an async send step in step 3. As far as I know, you cannot use multimapping with sync scenarios.
    Regards,
    Matias.
    ps: please award points if helpful

  • My 3g has stopped sending mms and when i receive one i have to view it on 02 website

    My 3g has stopped sending mms and when i receive one i get a msg from 02 telling me to view it on their website - Help anyone please? Thanks

    Have you checked that MMS messaging is switched on in the Phone Settings?  Even if you thought it was, settings sometimes get changed.  The only other suggestion is to talk to your network provider about it.

  • Sender system and Receiver system

    Hi,
    I have installed xi on on the server name is XI1 and there is two client 001 and 300. i have created xisuper user on 001. Pls tell me which is sender system or receiver system and xi system.
    Please give me some secnario
    Thannks

    Hi,
    you can Use Either (001 or 300 )one of the client for XI Perspective.
    And you can send the data through this Client in Xi to any Application
    Example:
    if you want to send the data from FTP Server to SAP R/3 (100 Client)means
    Here You can use either 001 or 300 client of XI as Middleware to send the data to SAP R/3
    in this case
    Your sender is the FTP Server(File Adapter)--XI is the Middleware--SAP R/3(100 Client) is the Receiver
    Regards
    Seshagiri

  • Three sender systems and one receiver

    Hi Experts,
    In my scenario I have three sender R/3 systems and one receiver file system.This is Idoc-XI-File bypass scenario.
    Idoc can get trigerred from any one of these R/3  systems and reach the file system via XI without any mapping or routing.So I didn't touch any of the IR objects.
    In ID,
    I have created three business systems for three senders and one business service for receiver  file system.
    I have created three receiver determinations,three interface determinations and three receiver agreeements.I have created one receiver communication channel.
    All the ALE configurations are correct.
    The Idoc is reaching XI system when I trigger from any one of the R/3 systems but the error it is showing is <b>no receiver could be determined</b>.
    Can any one of you through light on where I have done the mistake .
    Regards,
    Lokesh

    Lokesh
    Can you pls. try these two different options & let us know the result -->
    Option 1.
    Design this scenario as 1 Sender & 1 Receiver and check whether you are able to create the IDOC xml in Receiver System. With this atleast we can say that rest of the configuration are correct.
    Option 2.
    For the Receiver System, create 3 different Business Services & now map each of them with 3 Senders individually. I mean in this case also you will create 3 Rec. Determinations but now receiever is going to be different in each of them. Then in File Adapter you can actually mention the same location path.
    - Lalit -

  • Email attachment name in sender mail adapter to the receiver file adapter

    HI ,
    Ths is regarding email to file scenario. I am trying to create file (in rceiver file adapter) with the same name as the email attachment that i read from mail sender adapter. I want ro use adapter module for this. I could find from blogs that there is module - GetAttachmentName - available that i can use for this in sender mail adapter.
    Can you please let me know what whetehr i neeed to mention any module key and parameters for this.
    I assume , i need to do following steps :Please confirm.
    1. i can use this module - after payload swap module and before standard mail adapter module in sender mail adapter
    2. select ASMA option in advanced tab in sender mail adapter
    3. In receiver file adapter select ASMA option in advanced tab in sender mail adapter
    4. Also select file name option in ASMA in sender mail adapter
    Thanks,
    Vamsi

    Hi Vamsi,
    your scenario is also described here: Re: sender mail adapter - attachment name
    If you use the Module getAttachmentName, which is described here,
    http://wiki.sdn.sap.com/wiki/display/XI/AdapterModulePI7.0GetAttachmentName
    your scenario should work as you described it.
    You just need to make sure that the Attachment Name that you read in the first place, is mapped to the Filename Attribute of the
    Fileadapter (http://sap.com/xi/XI/System/File/FileName).
    regards,
    Daniel

  • Add counter in  Receiver File name

    Hello  Everyone,
    I have a Idoc to file scenaraio . The file comes regularly and whenevr the file comes, it should get suffix with datestamp and then the counter.
    The  name is should be Partner_YYYYMMDDHHMMSSL.xml.
    Where L is counter and should be increased everytime.
    Regards,
    Ravi

    try below logic:
    partnerconstant(_) concat -> time stamp udf + concatcounter concat+constant(.xml) +concat -> dynamic config udf -> target node.
    click on counter standard function and enter Initial value 1 and incremental 1 .
    time stamp udf:
    String AddTimestamp(String var1, Container container) throws StreamTransformationException{
    String DATE_FORMAT_NOW = "yyyyMMddHHmmss";
       Calendar cal = Calendar.getInstance();
        SimpleDateFormat sdf = new SimpleDateFormat(DATE_FORMAT_NOW);
        return sdf.format(cal.getTime());
    note :add import instructions(pkg) java.text.SimpleDateFormat
    dynamic conf:
    String DynamicConfig(String a, Container container) throws StreamTransformationException{
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    conf.put(key,a);
    return "";
    in id:
    you have to enable ASMA and File Name properties in Receiver File Adapter.
    Edited by: bhavanisankar.solasu on Mar 7, 2012 4:13 PM

  • One Sender system and two receivers system(Sync) . Pls help

    Hello All,
    Help required to make one scenario in XI.
    Currently there is one interface (XI is not used) that is already in place.
    CRM sender system
    DM and ERP Receiver systems.
    CRM RFC call DM RFC directly and same CRM RFC call ERP RFC directly.
    Result (can be error or correct)is returned back to CRM RFC from DM and ERP RFC's.
    Now I want to make this scenario in XI.
    If I make without BPM I get message 'Multiple receivers are not allowed for Sync systems in Receiver Determination.
    Pls advice how to make this scenario with Error an Exception Handling.
    Regard

    Rick,
    this makes no sense - there must be some differentiation. It woudn't be necessary only if there was one function, which first calls DM and then calls ERP and both calls would be done INSIDE this one function.
    I meant, that you have only one function, which calls both systems - I mean - the same interface would call the system... Do you know what I mean?
    Whatever..
    I have a better solution for you. Do you know what ABAP proxies are? Let's do it this way and it will be the easiest and most reliable way.
    Create 2 interfacec - one will call DM and one ERP. Develop 2 separate scenarios. No conditions - Just 2 simple scenarios. On the CRM system go to t-code sproxy. (eeee, hope you have an SAP CRM and have configured settings to be able to develop proxy objects.)
    Generate proxies and replace current functions by calling the proxy objects' methods.
    This is of course possible only if u have
    a, CRM from SAP
    b, configured settings XI<->CRM (usually does basis team)
    Ok, again one thing: CHECK how your current scenario work - how are the calls made.. I believe, there are 2 different calls in one function, so when the function in CRM is ran, first call is made and then the second. But forget this general function, because it is not the interface. The interfaces are the functions which really try to send and receive data. And they simply CAN'T be the same, otherwise it wouldn't be possible for CRM to know, to which system should be the call made to!!! So, ask you colleagues for THESE TWO calls. If they tell you, no, there is only one call, which is general (which is bullshit, because it simply can't - again, there must be at least some flag or what), then just tell them - ok, this is not possible. I need a flag to be able to differentiate the messages (and this will be the condition in receiver determination) or simply let them to develop for you 2 independent function. ! for call to DM and 1 to call to ERP. You will then create 2 separate scenarios and they will use these 2 functions in their one general or whatever...
    ufffff
    Peter

  • My messages take a while to send out and I keep receiving text's twice.

    I have a Droid Razr and I keep receiving double texts  from everyone and all my messages I send take a few seconds longer to actually send. How do I fix this problem?

        @avidcalx
    Let's work on resolving your text messaging issue!  When did this problem begin?  Are you using the stock messaging application or have you downloaded a 3rd party messaging application from the Play Store?  If you're using a 3rd party application, let's try uninstalling and reinstalling the application http://vz.to/1ntSwmg.  If you're using the stock messaging application, please try resetting the application by following these steps: http://vz.to/1ntSM4z (ensure you select "Clear data" to reset app).  Please let me know how these steps work out for you.  Thanks!
    AnthonyTa_VZW
    Follow us on Twitter @VZWSupport

  • Records count in Receiver File Adapter

    Hi All,
    I have a scenario IODC to File. The requirement is to get the total record count in the Trailer record of the Target File .Please help.
    Regards,
    Kevin

    Hello,
    The requirement is to get the total record count in the Trailer record of the Target File
    In your XML, decide which IDOC field you get your records from and then do a similar mapping
    IDOC field -> removeContext -> count -> TrailerRecordfield
    Hope this helps,
    Mark

  • Woke up this morning and I cannot receive text messages, they send fine and facebook messenger receives them but no texts to my phone number.

    I received a message at 1215am before going to bed, when I woke up, I can no longer receive incoming messages.  I can send them just fine.  Could something have happened overnight to cause this?  How can I fix it?  I reset the phone, I removed the battery and SIM card and turned it back on, neither worked.

    We are here to help! I'm sorry about the issue with messaging. Let's see if we can get this resolved for you. What zip code are you in?
    BobbyN_VZW
    Follow us on Twitter @VZWSupport
    If my response answered your question please click the "Correct Answer" button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!!

  • How can I search a file system and only return newer files?

    Sorry the title didn't give me much room to work with. I'm writing a tool which needs to track all the files in an OS. What I'd like to do is make it so my program will only return files that have been modified/created since the last search to add to my program. I was wondering if there's an efficient way to do this other than checking each file's timestamps? Also is there a way to tell from a parent directory whether any files in its directory have been modified/created? I'm looking for ways for Windows and Linux.

    I have no problem checking timestamps but it can be rather time consuming doing this. I don't know if this is quicker but I'd like to sort by modified date and check the time stamps for newer timestamps than the last time I ran. This way if I hit a time stamp equal to my last run I know to stop there. I checked Windows and the folder does tell you whether any file was created/modified in it's directory. However, if a file is created in one of its children's directories it won't update the time stamp. It's unfortunate because I could've avoided the search at a higher level directory otherwise. Without this I'll have to walk the whole structure one way or another. I can still improve the speed but I can't make it as efficient as I'd like.

Maybe you are looking for

  • Sale order without material code

    HI Friends, Is it possible to create SO without material code i.e. only for the Description. Regards, Chetan.

  • How to have my dial up connection added to the network utility program?

    how to have my dial up connection added to the network utility program for monitoring? though i am connected by dial-up, the connection is not monitored by the utility program. the drop down box there does not show the modem at all. ?

  • Dead Pixel

    I purchased the I pod 4g 32gb during x-mas week from Future shop and reticently I discovered that there were two dead pixel on the screen. I noticed it when booting the device, the two white dotes popped right out of the black background. I have neve

  • How can I get my mail show up on notification area?

    How can I get my mail show up in the notification area?

  • Query regarding SAP ABAP ALV List display

    Hi All, Have a requirement where in, when a user double clicks on a particular field as shown below, the particular cell where he has clicked has to be changed to editable and input mode. I am using ALV LIST DISPLAY. Please reply me if someone has wo