on 06-21-2016 3:00 PM
Hi All ,
I have got a requirement ,in which i need to upload the data from multiple flat files residing under a directory in UJFS through an abap code .
If anybody having any example or abap code to read the flat file data by selecting the files one by one.
Thanks in advance
Best regards,
Raja
No vadim , I need to write code the read the data from all the flat files which are already existing and which are newly getting added.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How??? How to distinguish the old and new files???? Do you understand my question?
In general, there are no old and new files! Files are uploaded and not yet uploaded. After successful upload of the file you have to move it to some other folder. This is a standard way of doing things...
Using RENAME_DOCUMENT
Can you explain in details the UI you want to create?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, but this is not an explanation!
Please explain all steps, how the process will be organized!
How the files will be selected and who will select?
How do you want to pass selection to the badi?
In general cl_ujf_file_service_mgr is very simple, but you have to explain the whole process.
Vadim
Suppose we have a folder in UJFS , that contains multiple flat files (Gets updated on regular basis), Need to implement a logic to load the data from new file as well while running DMP.
So for that i need the files from UJFS folder .Files should be selected automatically automatically one by one .The Folder name will be passed to the logic .
User | Count |
---|---|
15 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.