on 08-04-2020 5:49 PM
Hello,
I was working on the custom code analysis, and came across a case where in the package EC_PORTAL that would be decommissioned (Subcontracting portal wont be available in S/4 HANA). I want to identify the cases in custom code (Z Packages) wherein the components from this package EC_PORTAL is in use in custom code. I could check it manually for each of the components, but that would take a lot of time to complete the analysis. Is there an automated way, a program or so which would help me expedite the process.
Regards
>> Is there an automated way, a program or so which would help me expedite the process.
No there isnt, at least not one I am aware of. You will have to write your own programm, which will only pay off in the end, if you continuously have a lot of packages and objects within these packages to be analyzed whether these are used by other objects in e.g. custom Y- or Z- packages.
What you would have to do is the following though:
CALL FUNCTION 'RS_EU_CROSSREF'
EXPORTING
i_find_obj_cls = object_type " e.g. DTEL, FUNC, CLAS, ...
no_dialog = 'X'
TABLES
i_findstrings = i_findstrings " the object name(s) for the above object type
i_scope_devclass = i_scope_devclass " only z-packages (I,CP,Z*)
o_founds = o_founds " the returned where used list
EXCEPTIONS
OTHERS = 9
If this is how you want to continue with your task, let me know if you need further help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not really. It turns out that standard packages aren't standard. I've had to deal with the migration of what is essentially a basis application to BW from ERP, but the developers had used so much that was actually only standard SAP, not standard SAP. That covers only BW and Basis.
I've even seen it where a SAP employed consultant advised the use of a FM that two releases later didn't exist...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
not sure whether RPR_ABAP_SOURCE_SCAN helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.