on 12-08-2014 6:08 PM
Hi experts,
Regarding the counter in dynamic configuration filename.
Requirment is to get the filename as "ENURES-CC" where ENUS is the value coming from source field & CC is file number for that day 01 to 99
If the value in source field changes then the file number should be start from 00.
EX: first file triggered and field has ENURES then the filename should be as "ENURES-01"
second file triggered and field has ENURES then the filename should be as "ENURES-02" etc
and if the file triggered with different value in field like ABCDE then the filename should be as "ABCDE-01".
please provide if there is any way to acheive the above solution.
Thanks,
Manoj
Thanks guys for your reply.
I achieved this by using seeburger Mapping variables and java code .
thanks for your valuable time
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manoj,
Good to know that your issue is resolved. Can you provide more detail about the solution.
And please close the thread, please refer the below blog for more details
http://scn.sap.com/community/support/blog/2013/04/03/how-to-close-a-discussion-and-why
regards,
Harish
Hi Harish ,
I have some more queries on SAP PI as i am new to this technology,
1.I need some blogs for BPM for beginners.
2.If i need to write java code...what all are the topics on java i have to concentrate(core java or advanced java) so that i can expertise on that ?
Please help me on this .
Br,
Manoj
Manoj,
see if standard counter fits your needs
Configuring the Receiver FTP Adapter - Advanced Adapter Engine - SAP Library
See here for details (including RFC Lookup option if standard counter is not feasible)
Cheers
Jens
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can go for RFC look up and handle these validations there.
You can define a custom table to store/retrieve/reset the counter.
Pass the current date & filed value to FM
Store date, field value and sequence number in a table.
Select/update table and return the counter value..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Harish,
if i use Add counter option in Comm Channel then the file gets continous counter which should not happen in my case
If i use add counter :
first file triggered and field has ENURES then the filename should be as "ENURES-01"
second file triggered and field has ENURES then the filename should be as "ENURES-02" etc
and if the file triggered with different value in field like ABCDE then the filename becomes as "ABCDE-03".
This should not happen as the field has new value the counter has to start for beginning for that and it should have a value like ABCDE-01"..
Any solution on how to do this ?
br,
Manoj
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.