on 07-12-2023 6:18 AM
Dear Expert,
I will get the file as CSV with the following format into the application server.
This should always transfer the last date and time to the PSA. And after that the transformation should check the table RSFILENAMEDONE if it was already loaded or not. I have looked at many old posts, but they are partially missing. Could you please improve my code?
Files =
ucaidexport_2023-07-12-08-12-00.csv
ucaidexport_2023-07-12-13-59-00.csv (Last File)
* File = /usr/sap/mappe/ucaidexport_2023-07-12-13-59-00.csv
data: lv_date(10).
data: lv_time(8).
concatenate sy-datum(4) '-' sy-datum+4(2) '-' sy-datum+6(2) into
lv_date.
concatenate sy-uzeit+0(2) '-' sy-uzeit+2(2) '-' sy-uzeit+4(2) into
lv_time.
p_filename = |/usr/sap/mappe/ucaidexport -{ lv_datum } '-' {
lv_time }.csv|.
p_subrc = 0.
Thanks, Regards
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.