multiple instances of the same process with different data

    Hi,

    what would be a typical solution for having multiple conditions

    for the same process

    like for example we have a delivery process and for one customer we want to have one

    type of expected event profile and for another a different one

    should we create two two processes for that ?

    thank you,

    Regards,

    Michal Krawczyk

    Hi,what would be a typical solution for having multiple conditions for the same process like for example we have a delivery process and for one customer we want to have one type of expected event profile and for another a different one should we create two two processes for that ? thank you,Regards,Michal Krawczyk

    multiple instances of the same process with different data

    Very Helpfull

    User Rating: Be the first one !
    Doctor Asked on November 8, 2016 in event management.
    Add Comment
    1 Answer(s)

      Hello Michal,

       

      ok if you have 100 different configurations this would be not the preferred option.

       

      With the generate function you don’t have to create your own tables. You have to generate a function module in transaction /SAPTRX/TSC0TF. Afterwards you assign it to your EE Profile (Detail view in the viewcluster)

       

      As import it gets during runtime the EE Profile name, the milestone data from application system and the EH data.

      As export you have the expected events that you need to fill according to your scenario.

      With the profile name you could read the configuration of the EE profile.

       

      Example would be in a 5.1 or higher system function module: /SAPTRX/GENERATE_SNC_MSG_EE.

      Inside they do some checks, change milestone data and afterwards they call the standard generation method for EE.

      CALL METHOD /saptrx/cl_expev_generator=>generate

      EXPORTING

      i_profile = profile_id

      it_milestones = lt_milestones

      i_guid = eh_guid

      i_eh_model = eh_model

      CHANGING

      ct_expected_events = lt_expected_events.

       

      Depending on how complex your EE generation is you maybe have to create your complete own logic for the generation. But you could use the standard one as reference how to do it and which checks are done in the standard.

       

       

      Best regards,

      Steffen

      Add Comment

      Your Answer

      By posting your answer, you agree to the privacy policy and terms of service.