We have a requirement where we need to send the customer data to XI system through ABAP proxy. Here a file sequence number is required to be generated in the R/3 system whenever a file is sent to the system.
If the file received was not correct, then we need to re-send this file again with the same file number.
The approach we have used just now is this - After running the Z transaction, store the customers that were sent through the proxy in the Z table and generate a unique number in the code itself. If it has to be re-run then read from this table and select the data again and re send it.
Is there any better way of doing it? Are there any number objects that can be created? Can there be a central system where these file numbers are generated?
Any help would be appreciated.
Thanks a lot,