on 2021 Sep 07 10:42 AM
Hello,
I'm in ECTR and I need to automatically fill values to some characteristics during new folder creation.
I activated the parameter:
characteristic_assignment_folder=yes
in the dtype definition and it works very fine for standard documents. When I create a new document, ECTR proposes the new values from the parent folder.
Unfortunately, it does not work for folders. When a create a new folder inside an existing one nothing happen.
I think that this is because when I create a new folder, ECTR does not show the list of available characteristics for the selected document type (FOL), but I don't know if I can change this behavior.
Hope someone could help me.
Request clarification before answering.
Oh yes you are right. I just tested it in debugger only.
Then you need a RFC Wrapper for /DSCSAG/FOL3_CREATE2. In IT_FOLDER_DATA you have to change value for field COPYTOPFOLCLASS to 'X'.
Best regards,
Sebastian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Now it works.
Thank you very much.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank's Sebastian for your reply.
I created the wrapper and updated default.txt but the new function is not triggered.
I tried to run it manually from SAP and it works fine.
Then I looked inside the ECTR log file, I found that ECTR runs a different function to create a new folder:
/DSCSAG/FOL3_CREATE2
That function calls/DSCSAG/FOL3_CREATE that finally calls /DSCSAG/FOL_CREATE.
Note that /DSCSAG/FOL_CREATE is not RFC enabled.
I'm in ECTR 5.1.16
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, this feature is not yet implemented but planned for a future release.
In meanwhile you can do it like that:
Best regards,
Sebastian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
3 | |
1 | |
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.