webMethods

 View Only
Expand all | Collapse all

Clear the DDIC-cache of SAP adapter using inbuilt/custom services

  • 1.  Clear the DDIC-cache of SAP adapter using inbuilt/custom services

    Posted Tue August 23, 2016 04:53 PM

    Hello Folks

    Im trying to find a way to clear the DDIC-cache in SAP adapter using any inbuilt or custom services so that I can schedule the process every week or so to avoid clearing the cache whenever there is a change in any of the idocs we receive/post.

    There was a custom package that was available in the code sample section named Admin Utils, but some of the services it uses arent available by default in the IS packages list.

    Can anyone provide some suggestions/pointers to achieve what I require?

    Thanks in Advance

    Ashwin


    #Integration-Server-and-ESB
    #webMethods
    #Adapters-and-E-Standards


  • 2.  RE: Clear the DDIC-cache of SAP adapter using inbuilt/custom services

    Posted Tue August 23, 2016 05:33 PM

    I had worked on SAP Adapter long time say past 3 years back for one of the reputed client. We do not clear the data dico cache by running a service but we do it via the SAP Adapter page.

    Can you check if the service wm.sap.Cache:clear fits your need.


    #Integration-Server-and-ESB
    #Adapters-and-E-Standards
    #webMethods


  • 3.  RE: Clear the DDIC-cache of SAP adapter using inbuilt/custom services

    Posted Tue August 23, 2016 06:21 PM

    Thanks Mahesh

    I found the solution.

    wm.sap.Cache:listIDocs - lists cache when we provide the system id.
    wm.sap.Cache:removeIDoc - removes the cache if we provide system id,idoc type and cimtype.

    These 2 services can be used in tandem to list all the cached idocs for a particular system id and the latter can be used to clear them one by one based on the details fetched by the former service and by providing the system id for which these idocs have to be cleared.

    Thank you

    Ashwin


    #Integration-Server-and-ESB
    #Adapters-and-E-Standards
    #webMethods


  • 4.  RE: Clear the DDIC-cache of SAP adapter using inbuilt/custom services

    Posted Wed August 24, 2016 08:25 AM

    Hi,

    please note that these services are internal services and are not documented in the Users Guide.

    These services can change without notice.

    Regards,
    Holger


    #Integration-Server-and-ESB
    #webMethods
    #Adapters-and-E-Standards


  • 5.  RE: Clear the DDIC-cache of SAP adapter using inbuilt/custom services

    Posted Wed August 24, 2016 02:18 PM

    As mentioned these are internal API services of SAG however you can test it rigorously before moving it to prod. Once it hits the prod take extra care while applying fixes on SAP Adapter, IS or ART related fixes (readme file should give you about the issues/changes done) and also while you upgrade from version to version.


    #Adapters-and-E-Standards
    #Integration-Server-and-ESB
    #webMethods


  • 6.  RE: Clear the DDIC-cache of SAP adapter using inbuilt/custom services

    Posted 12 days ago

    using wm.sap.Cache:clear to improve sap transactions throughput , will it cause to loose transactions that were processing through Integration server ?



    ------------------------------
    Developer EDI
    ------------------------------



  • 7.  RE: Clear the DDIC-cache of SAP adapter using inbuilt/custom services

    Posted 11 days ago

    What are you trying to clear ? txStore or DDIC Cache?



    ------------------------------
    - Chirag
    ------------------------------



  • 8.  RE: Clear the DDIC-cache of SAP adapter using inbuilt/custom services

    Posted 11 days ago

    My intention is to clear only cache, not sure what this service clears. 



    ------------------------------
    Developer EDI
    ------------------------------



  • 9.  RE: Clear the DDIC-cache of SAP adapter using inbuilt/custom services

    Posted 10 days ago

    DDIC Cache is used to hold data structures and definitions. These are used at runtime to parse incoming IDOCs. You can definitely clear them from UI and very next transaction, it starts getting rebuilt. Having cache makes integration work "faster".  Only time I had to clear it was to handle changes in IDOC.



    ------------------------------
    - Chirag
    ------------------------------



  • 10.  RE: Clear the DDIC-cache of SAP adapter using inbuilt/custom services

    Posted 7 days ago

    So if there is a transaction in progress will fail, when we clear DDIC Cache? Am I correct 



    ------------------------------
    Developer EDI
    ------------------------------