Rules check at Module Booking

Hi,
Sorry that i am putting so many questions at a rapid pace.
My client has strange requirements at module booking level. The system shall check the academic overview of previous module if booking is happening at subsequent module. It shall count the Pass/fail status and no of repetitions. In case it is not meeting any requirement it shall not book the students in next module and trigger a mail to HOD.
Do we have any standard functionality for this or we have to code it in module booking function module?
I am not sure about using VSR rules for meeting the same? Please suggest.
Regards
Vinod Kumar

Vinod,
Please check the possibilities within SLcM in the following cookbooks
Extended booking check
http://www.sdn.sap.com/irj/bpx/go/portal/prtroot/docs/library/uuid/d023e7a3-f4e2-2b10-58a7-af99a63a2c33
BRF
http://www.sdn.sap.com/irj/bpx/go/portal/prtroot/docs/library/uuid/80c4cd46-6ba6-2b10-7198-ebb2d0f5650a
br
Rob

Similar Messages

  • Module booking capacity

    Today i got a message from Postech that when module booking is meet maximum capacity we can use message override but in this case link between student and event is not created.
    it is standard error or do we have any customizing for this.
    regards,
    jin dal

    Hi Jin Dal,
    Capacity is checked on various levels as mentioned in the previous response. The override from Student Lifecycle Management allows with authorization to override module and event package capacity messages. The maximum event capacity (which is either maximum capacity defined through the event itself or by the maximum capacity of the room) could not be exceeded. It could be that in your case the message log shows capacity exceeded limits for both the module and the event. The message log probably shows one being overridable and the other one not. If you then override the system executes the module booking activity, however could not execute the event booking. Then of course no event booking is created.
    You may be able to resolve this by changing the event capacities appropriately.
    The nice feature of dealing with capacity on all levels is the ability to share events accross various contexts. However this imposes that there is a seperate capacity management on this level.
    Regards
    Joachim

  • Module Booking

    Hi Michael,
    This is rahul.Am working on Module booking when am trying to book modules from student file am unable to see  module list for that particular year & session
    it is not displaying any module.
    I have done session offering for modules.
    but still it is not displaying module for that year & session.
    Thanks in advance.
    Regards,
    rahul.

    Hi Jin Dal,
    Capacity is checked on various levels as mentioned in the previous response. The override from Student Lifecycle Management allows with authorization to override module and event package capacity messages. The maximum event capacity (which is either maximum capacity defined through the event itself or by the maximum capacity of the room) could not be exceeded. It could be that in your case the message log shows capacity exceeded limits for both the module and the event. The message log probably shows one being overridable and the other one not. If you then override the system executes the module booking activity, however could not execute the event booking. Then of course no event booking is created.
    You may be able to resolve this by changing the event capacities appropriately.
    The nice feature of dealing with capacity on all levels is the ability to share events accross various contexts. However this imposes that there is a seperate capacity management on this level.
    Regards
    Joachim

  • How do I "see" a check function module in the debugger?

    I am correctly starting a custom workflow based on an event raised by standard SAP code in transaciton QE51N.
    I have to write a check function module to interrogate the event and start/not start
    the workflow because the same event is raised by SAP code in transaction QA02, and I have to be sure to start the workflow only if the event is raised in QE51N, not QA02.  (I also have to check some other properties of the QALS row for the inspection lot.)
    I know how to code the check function module, but if I need to debug it, how do I "set-up" for seeing the check function module in the debugger?
    I'm sure this is an obvious question and that I'm missing something simple.
    So thanks in advance for the answer.
    djh

    Dear DJH,
    Put a break-point in the function module and process the transaction. It will stop at runtime.
    Hope this will help.
    Regards,
    Naveen.

  • Error messages in CRM2007 web ui from check function module

    Hi Experts,
    I want to display a warning/error in CRM webUI from my check function module. Moreover, in CRM GUI if i write a message like
    MESSAGE ID 'ZCRM' TYPE 'W' NUMBER '000'
                    WITH 'Warning Message'.
    it exits the transaction.
    Can anyone please suggest how do I go about this.
    Warm Regards,
    Abdullah

    Hi Dhawani,
    Hi Pavan,
    Can you please elaborate...how this will help??
    Thanks
    Dhwani
    I dont know the specific reason but internally there may some inconsistancy but i faced the same error and i tried with saving it in the package.
    Thanks

  • Agent Determination Rule using Function Module

    Hi all,
    I am trying to create a custom agent determination rule using function module. But my rule is not getting invoked when the workflow is executed.
    I created a custom rule and linked my function module (with proper signature).
    FUNCTION 'ZRULEXXX''
    ""Local Interface:
    *"  TABLES
    *"      AC_CONTAINER STRUCTURE  SWCONT
    *"      ACTOR_TAB STRUCTURE  SWHACTOR
    *"  EXCEPTIONS
    *"      NOBODY_FOUND
    And I am hard coding some values into table ACTOR_TAB
    REFRESH ACTOR_TAB.
    CLEAR ACTOR_TAB.
    IF SY-SUBRC NE 0.
        RAISE NOBODY_FOUND.
      ELSE.
        ACTOR_TAB-OTYPE = 'US'.
        ACTOR_TAB-OBJID = 'XXXX'.
        APPEND ACTOR_TAB.
        ACTOR_TAB-OTYPE = 'US'.
        ACTOR_TAB-OBJID = 'XXXXXX'.
        APPEND ACTOR_TAB.
      ENDIF.
    But a worklist item is not being created for the users appended to ACTOR_TAB.
    Is there anything am missing. Please let me know.
    Thanks in advance
    Regards
    Raju

    Hi,
    Change it to following code. It will work.
    REFRESH ACTOR_TAB.
    CLEAR ACTOR_TAB.
    *IF SY-SUBRC NE 0.
    *RAISE NOBODY_FOUND.
    *ELSE.
    ACTOR_TAB-OTYPE = 'US'.
    ACTOR_TAB-OBJID = 'XXXX'.
    APPEND ACTOR_TAB.
    ACTOR_TAB-OTYPE = 'US'.
    ACTOR_TAB-OBJID = 'XXXXXX'.
    APPEND ACTOR_TAB.
    *ENDIF.
    Regards,
    Vaishali.

  • Read workitem Container Value in Terminating event Check Function Module

    Hi
    I have some problems reading work item data / values of a work item container element in a check function module on a terminating event – Do any of you know if this is possible, and if so, how it’s done ?
    In My scenario I have created a multiline approval step for my business document, one task pr Line Owner.  The Event Approved is defined as a terminating event for this task, and the line owner is passed to the task container.
    Now, when I raise the event, with the line owner as an event parameter, I would like to check if the line owner on the raised event, matches the line owner in the task container in question in a check fm. But here I faced the problem, that only event data, and not work item data, are passed to the Check Function module.
    Regards,
    Morten Nielsen

    Hello Morten, hello Arghadip,
    in the instance linkage's check function module (entered via transaction SWEINST) you'll have the workitem-id in the system event parameter EVTRECEIVER_ID
    With this number you can use the frame work in order to read the work item container.
    This is a sample coding, how you access the correct work item container using SAP Enterprise and it's new OO frame work, which checks on the terminating event of BUS2105.Released the correct release code for a work item.
    INCLUDE <cntn01>.
    INCLUDE <SWFCNTN01>.
    INCLUDE RSWEINCL.
    *** Read workitem instance and container from event
           DATA: wi_id            TYPE swwwihead-wi_id.
           swc_get_element EVENT_CONTAINER evt_receiver_id wi_id.
           IF sy-subrc <> 0.
              MESSAGE E015(ZPREL) WITH evt_receiver_id
                                           RAISING wrong_call.
           ENDIF.
           DATA: lv_wi_handle    TYPE REF TO if_swf_run_wim_internal.
           DATA: ls_context      TYPE sww_wimctx.
           DATA: lv_wi_container TYPE REF TO if_swf_cnt_container.
    *    - set context
           ls_context-do_commit  = ' '.
           ls_context-called_btc = 'X'.
           ls_context-exec_user  = sy-uname.
           ls_context-fbname     = 'Z_CHECK_RELEASE_CODE'.
           CLEAR lv_wi_handle.
           CALL METHOD cl_swf_run_wim_factory=>initialize( ).
           CALL METHOD cl_swf_run_wim_factory=>find_by_wiid
                   EXPORTING
                      im_wiid             = wi_id
                      im_read_for_update  = ' '
    *                 im_enqueue_owner    = fb_name
    *                 im_wait_for_enqueue = 'X'
                      im_context          = ls_context
                   RECEIVING
                      re_instance         = lv_wi_handle.
    *** This check is only done for workitem linkage TS90100081
           IF lv_wi_handle->m_sww_wihead-wi_rh_task <> 'TS90100081'. "#EC_SYNTEXT
              EXIT. "Let event pass, as this is an instance linkage to another workitem
           ENDIF.
           DATA: releaseCode_wi        TYPE t16fc-frgco.
    *    - read releaseCode from workitem container
           lv_wi_container = lv_wi_handle->get_wi_container( ).
    *    - perform binding event container -> workitem container
           swf_get_element lv_wi_container 'RELEASECODE' releaseCode_wi.
          DATA: e             TYPE REF TO cx_swf_run_wim.
          CATCH cx_swf_run_wim INTO e.
             RAISE WORKFLOW_RUNTIME_ERROR.
       ENDTRY.
    *** From here on, the variable releaseCode_WI hold the
    *** container element RelaseCode of the work item, that
    *** is going to be terminated...
    *** Further coding from here as appropriate...
    Best regards,
    Florin

  • To check the module growth Date wise

    Dear All
             Can anybody help me out to check , which module taking highest growth , per day growth , monthly growth to analyse the database growth. 
    Thanks.
    Regards
    Ravi Kant Arya
    +91 9540990385

    thanks

  • Check Function Module is not working

    Hi All Expert,
    I'm new in workflow and  develop custom workflow for Transaction FB65 ( Vendor Credit Memo) and using business object FIPP , event CREATED.
    Actually  requirement is that when user  click on park button in FB65 then should  be trigger workflow only for particular vendor code .
    Now my workflow is working fine for all vendor code.
    For particular vendor code, I have created an new entries in  SWE2 and assigning a check function module to that
    Refer Link :         http://www.****************/Tutorials/Workflow/checkfunctionmodule/demo.htm
    and also same entries create in SWETYPV But Check Function Module is not working before workflow trigger.
    Appreciate your help and support.
    Regards
    Saurabh

    Hi
    : Check FM  : ZWF_DR_CR_MEMO 
    SourceCode :
    FUNCTION ZWF_DR_CR_MEMO.
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(OBJTYPE) LIKE  SWETYPECOU-OBJTYPE
    *"     VALUE(OBJKEY) LIKE  SWEINSTCOU-OBJKEY
    *"     VALUE(EVENT) LIKE  SWETYPECOU-EVENT
    *"     VALUE(RECTYPE) LIKE  SWETYPECOU-RECTYPE
    *"  EXPORTING
    *"     REFERENCE(RESULT) TYPE  C
    *"  TABLES
    *"      EVENT_CONTAINER STRUCTURE  SWCONT
    *"  EXCEPTIONS
    *"      NOT_TRIGGERED
    BREAK-POINT.
    TABLES : VBSEGK.
      DATA : LV_VEND TYPE VBSEG-LIFNR.
      CLEAR : LV_VEND.
      SELECT SINGLE  LIFNR FROM  VBSEGK INTO LV_VEND WHERE BELNR EQ OBJKEY.
        if sy-subrc eq 0
          IF LV_VEND = '0000120510'.
            RAISE NOT_TRIGGERED.
          ENDIF
      endif.
    ENDFUNCTION.

  • Doubt in Check Function module

    Hi all,
    I have created a parameter(mulitline) for an event (in SW01) and I am using a check function module to check the conditions.
    My problem is I am able to get the '_EVT_OBJECT' (object instance) in the check FM and not able to get the event's parameter (which i created for that event) in the check FM. In the log it says, "Container element xxxx doesnot exists".
    May I know whether is it possible to send the event parameter to the Event_container of the check FM. Please help in this regard. As I am placing a breakpoint in the check FM but it doesnot stops.
    P.S. I am using ZBUS2012 (delegation of BUS2012) and I redefined the event "Changed" and I added a multiline parameter with respect to DB field.
    Regards,
    V Kumar

    Hi,
    I am using a macro.
    SWC_GET_TABLE EVENT_CONTAINER 'IM_NETWR' T_NETWR.
    IM_NETWR is my mutiline element for the event "Changed". It will have the old and new value of the net price. I need to trigger the workflow if there is a change in price.
    I Know it is possible with SWEC, but i need to validate some condition, which i am not able to give in SWEC, so I am using Check FM. Please help.
    If i use both SWEC and check FM whether it will give any problem?
    Regards,
    V Kumar
    Edited by: V Kumar on Aug 14, 2009 1:37 PM

  • How to use Check Function Module???

    Hi Friends,
    How to use Check Function Module in Workflow???
    My requirement is to trigger the workflow at the last line item of the Material Document.
    Rewards for sure for helpful answer.
    -Satish

    Hi Satish,
    You know, the real power of forums like these is the search functionality. First you locate the correct forum, you succeeded in that and then you locate the search field and type in your question. In your case "check function module"
    I suggest you do this right away and be amazed at all of the answers about his topic. Maybe you'll even find some topic about exactly the same issue with a different solution than check function modules and on top of that you learn something this way. Talk about win-win situation
    Kind regards, Rob Dielemans

  • Issue in Check Function Module

    Hi All,
    Am doing a custom Workflow for Goods Movement.
    In my Workflow am using the Triggering event "created" of Business Object "/SAPCEM/02".
    I need to trigger my Workflow only for specific "Movement Type" (Eg. 551).
    The Event Container is having only the values Material Document & Year. I have created a check function module in which I built the logic to get the MovementType(BWART) from table MSEG for the Material Document & raising exception in case of other than 551.
    But the function module is not working as I expected. The problem is the MSEG table is not getting updated with the new Material Doc, while the Check Function Module is being called. (MSEG is updated after Check FM, it seems).  So no record in MSEG for our MaterialDoc during the call to check function module. So the query always fails.
    I need to restrict my workflow for specific Movement Types(MSEG-BWART).
    Could you please advice me in this ?
    Regards,
    Anbarasan K

    I have absolutely no idea if this works, but you could try to place a check FM on the event only in transaction SWEINST with a wait up to 1 second statement in it.
    Maybe, just maybe then you can properly use the check FM on the event-->WF in SWE2.
    Alternatively if you are of the opinion that the data should be updated when the event is triggered you could raise an OSS message (obviously search OSS first to see if this has come up previously)
    Kind regards, Rob Dielemans

  • Reciever func.module, check func.module and receiver type func

    Hi Experts,
    what is the purpose of reciever func.module, check func.module and receiver type func.module in Event Linkage.
    Give some Examples which helps.
    Thanks In Advance.

    Please check these,
    https://forums.sdn.sap.com/click.jspa?searchID=1763105&messageID=3206751
    https://forums.sdn.sap.com/click.jspa?searchID=1763105&messageID=3206440
    https://forums.sdn.sap.com/click.jspa?searchID=1763105&messageID=3207214
    https://forums.sdn.sap.com/click.jspa?searchID=1763105&messageID=3207179
    I think FM's for Processing Events should give a clear idea.
    Thanks and Regards,

  • Server side importance business rule check immediately

    how to do some importance business rule check that rule
    reside in middle ap server tier , and check before form
    sumbit action, it must be valid after some field changed
    immediately.
    thanks a lot.

    Generally speaking, business rules belong within (or with) Entities.
    I normally make sure I've generated the entity's java Impl class and code them in there.
    [I've tended to alter the "set" methods to throw exceptions (particularly if I want an immediate response), though this isn't necessarily recommended - there's declaritive validation and error-batching available for next-to-nothing... )
    If I recall, you can see Steve Muench's web-log for an article about business logic and where to put it.
    http://radio.weblogs.com/0118231/
    Hope that helps.
    Mike

  • Check function module & start condition

    Dear friends
    Could any1 of u tel me th exact diff bet th both..
    In whic case u go for check FM and in whic case u ll go for start condition.
    regards
    sakthi

    Hi Sakthi,
    Basically both serve the same purpose that is perform some checks based on conditions which when satisfied trigger the workflow.
    However, a start condition is configured within the header of the workflow itself. Hence, the fields which we can use as part of the start condition are what are available in the workflow containers, mostly attributes of the business object being used.
    Whereas in a check function module, we can program very complicated calculations and validations, by using SELECT queries etc. which are not possible in start conditions.
    Hence basically, difference between them is the start condition is restricted in its use and can implement simple checks, whereas a check function module can be more complex.
    Cheers,
    Aditya

Maybe you are looking for

  • PO creation from PR only

    Dear Guru, I wan to restrict some useres for creating PO only from the PR. If i do this thru user authorization using EFB (SPRO-MATERIAL MANAGEMENT-PURCHASING-AUTHORIZATION MANAGEMENT - DEFINE AUTORIZATION FOR BUYER), I face the problem of getting th

  • My ibook doesn't detect an existing wireless connection...please help

    Hello, just moved into a new house with wireless connection. all the other computers (PCs) can easily detect the wireless signal but my iBook doesn't. The airport is working properly since I can detect wireless connection in the university, cafes, tr

  • HT204074 how do i re download previous videos?

    Is there a way to re-download music videos from iTunes?

  • Documentation on Roll up in EC CS

    Hi I am looking for a good documentation on Roll ups on EC CS apart from what is available on online help. Appreciate if some one can help on this. Regards

  • Cisco configuration manager blank screen in the webbrowser

    i use windows 7 proffesional now on a new computer, my cisco configuaration professional gives a blank screen with java 1.6.0.21 there must be a solution. you expect a simple solution by google, but that isn't true. jilles