Giter Site home page Giter Site logo

ztct's People

Contributors

cwildt avatar zedwin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ztct's Issues

Short dump when there is bad cofile.

First tank you for the greate tool.
There is an dum when there exists issues with cofile in transport queue.
see dump.
image
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

SAPLINK dumps when importing the nugget (SOLUTION)

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.

No selections when empty CTSPROJECT

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.

Importing file in offline mode is not working

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.