on 10-14-2010 1:11 PM
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-
/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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Nagarjuna,
System ID should be of Sender system ID i.e in my case it would be SAP ECC system ID.Can you suggest how to get sender system ID and XI system ID.
By counter, I mean file counter i.e every time file gets created it should append a counter value to file name.
Ex . first time, file name would be "test_001.txt", 2nd time "test_002.txt" , After test_999.txt is reached, next time it should again start with "test_001.txt"
Amol
Edited by: AMOL BHARTI on Oct 14, 2010 2:34 PM
You can use the property SENDER_SERVICE in your udf.Refer the threads mentioned before.
http://help.sap.com/saphelp_nw04/helpdata/en/6e/ff0bf75772457b863ef5d99bc92404/content.htm
Use the 'Add Counter' property in file construction mode of your receiver channel.
http://help.sap.com/saphelp_nw70/helpdata/EN/bc/bb79d6061007419a081e58cbeaaf28/content.htm
This works only with NFS.
Edited by: nagarjuna _s on Oct 14, 2010 2:46 PM
thanks for suggestion.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.