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 😊
Hi Manoj,
Did you check the below link
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..
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
Add a comment