zedwin / ztct Goto Github PK
View Code? Open in Web Editor NEWZTCT - Transport Checking Tool (Object Level)
License: MIT License
ZTCT - Transport Checking Tool (Object Level)
License: MIT License
First tank you for the greate tool.
There is an dum when there exists issues with cofile in transport queue.
see dump.
I made quick fix to suppress it . But i am not sure is this enough for the rest of your logic.
METHOD get_import_datetime_qas.
DATA: ta_stms_wbo_requests TYPE TABLE OF stms_wbo_request,
st_stms_wbo_requests TYPE stms_wbo_request.
DATA: st_systems TYPE ctslg_system.
* Get the last date the object was imported
*->Tyr catch add on 'TR_READ_GLOBAL_INFO_OF_REQUEST' ->Begin
TRY .
CALL FUNCTION 'TR_READ_GLOBAL_INFO_OF_REQUEST'
EXPORTING
iv_trkorr = im_trkorr
IMPORTING
es_cofile = st_request-cofile.
CATCH cx_root.
RETURN.
ENDTRY.
*->Tyr catch add on 'TR_READ_GLOBAL_INFO_OF_REQUEST' - END
Hope this helps.
Cheers Ogi
ATTENTION: The issue described below is fixed by the developers of SAPLINK. However, when you search for SAPLINK on the internet, you will find more than one source for this program. One of them is old (outdated)!
The correct link to SAPLINK is (GitHub):
https://github.com/sapmentors/SAPlink
An incorrect link is (Assembla):
https://wiki.scn.sap.com/wiki/display/ABAP/SAPlink
Do NOT use this link! You will end up with an old and outdated program... And the issue described below:
Description of the issue:
When running the SAPLINK installer, during the import of the daily nugget, SAPLINK might crash. You can still activate all the inactive objects. After that, SAPLINK will run successfully. But every time you want to import a nugget, it will dump again (ZSAPLINK itself, not the installer).
Error Analysis: An exception has occurred which is explained in more detail below. The
exception is assigned to class 'ZCX_SAPLINK' and was not caught in procedure
"CREATE_PFSTATUS" "(METHOD)", nor was it propagated by a RAISING clause.
To fix this you will have to apply the changes describe below to the ZSAPLINK_INSTALLER program. And when ZSAPLINK has been created in your system, the same changes have to be made to the ZSAPLINK program itself.
Solution taken from this link, but modified for older systems:
STEP 1: Changing the ZSAPLINK_INSTALLER program
Around line 4600, find the code xadm-actcode = 'X'. " Issues #276.
Under it add:
LOOP AT iact ASSIGNING <ls_iact>.
xadm-actcode = <ls_iact>-code. " Issues #276
ENDLOOP.
LOOP AT ipfk ASSIGNING <ls_ipfk>.
xadm-pfkcode = <ls_ipfk>-code. " Issues #276
ENDLOOP.
LOOP AT imen ASSIGNING <ls_imen>.
xadm-mencode = <ls_imen>-code. " Issues #276
ENDLOOP.
Declare the field-symbols at the top of the method.
Under 'DATA iterator TYPE REF TO if_ixml_node_iterator.'
FIELD-SYMBOLS: <ls_iact> TYPE rsmpe_act.
FIELD-SYMBOLS: <ls_ipfk> TYPE rsmpe_pfk.
FIELD-SYMBOLS: <ls_imen> TYPE rsmpe_men.
STEP 2: Changing the include ZSAPLINK_PROGRAM==============CM006 (method CREATE_PFSTATUS).
This step is exactly the same as mentioned above. Only the location is different. Still, I will repeat it here to prevent any confusion.
Go to program ZSAPLINK_PROGRAM==============CM006.
After line 232 (xadm-actcode = 'X'. " Issues #276), add the following code:
LOOP AT iact ASSIGNING <ls_iact>.
xadm-actcode = <ls_iact>-code. " Issues #276
ENDLOOP.
LOOP AT ipfk ASSIGNING <ls_ipfk>.
xadm-pfkcode = <ls_ipfk>-code. " Issues #276
ENDLOOP.
LOOP AT imen ASSIGNING <ls_imen>.
xadm-mencode = <ls_imen>-code. " Issues #276
ENDLOOP.
Declare the field-symbols at the top of the method.
Under 'DATA iterator TYPE REF TO if_ixml_node_iterator.'
FIELD-SYMBOLS: <ls_iact> TYPE rsmpe_act.
FIELD-SYMBOLS: <ls_ipfk> TYPE rsmpe_pfk.
FIELD-SYMBOLS: <ls_imen> TYPE rsmpe_men.
After these changes have been made, the PFSTATUS can be created successfully.
In the constructor method the range me->project_trkorrs is populated from the table CTSPROJECT, but if that table is empty in the system then the range will be empty an all WHERE NOT a~trkorr IN me->project_trkorrs
later in the program will return false and nothing is selected.
It is not showing all objects associated with function group.let us say, FG has multiple FMs but this report shows only main includes in the function group
I have downloaded the file and trying to import offline but the file is not getting loaded..Can you let me know how to import this program in offline mode into my system. thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.