How to capture selected step in Roadmap FPM ?

Hello gurus ,
     I am working on FMP Roadmap , can any one help in Capturing the selected step in fpm roadmap.
Help will be appreciated..
thanks in Advance.

Hi Vishal,
For your requirement go to process event method of component controller and write
CASE IO_EVENT->MV_EVENT_ID
ENDCASE.
put an external break point at case statement and debug from output screen of FPM .
when you click on any step .. the debugger will stop at CASE statement and give the which step is triggered.(MV_EVENT_ID  will capture the selected step in FPM)
sample screen for process event method of case statement syntax..
Regards,
Naveen M

Similar Messages

  • How to capture selection-screen values

    Hi,
      How to capture selection-screen values when user pressing F3 or Back button after the display of report.
    Regards,
    Bujji.

    Hi Bujji,
    select-option are actually ranges or more general internal tables with the structure:
    SIGN:    'I'nclusive or 'E'xclusive
    OPTION:  'EQ', 'BT', 'NE', 'GE', 'CP', ....
    LOW:     low value of type of the curresponding "FOR table-field"
    HIGH:     high value of type of the curresponding "FOR table-field"
    You may just code:
    TABLES: mara.
    SELECT-OPTIONS s_matnr FOR mara-matnr.
    LOOP AT s_matnr.
      WRITE: / s_matnr-sign,
               s_matnr-option,
               s_matnr-low,
               s_matnr-high.
    ENDLOOP.
    If you find my answer useful, please don't forget the reward.
    Regards,
    Juergen

  • How to capture selected value from drop down by index

    Dear friends,
    i want to capture the value of select value from drop down by index, for eg if  select air france, how to capture , could any one please let me know
    Thanks
    Vijaya

    Hi Vijaya,
    You can get the value of selected from drop down as below
    Check out the event handler method attached to Onselect event of the ui element drop down by index , if no event is associated, then create an event and attach to the drop down list
    Now you will be having the CONTEXT_ELEMENT in the WDEVENT parameter
                   data lo_element type ref to if_wd_context_element.
                   lo_element = wdevent->get_context_element( name = 'CONTEXT_ELEMENT').
    Now, you can get the static attribute value of selected  drop down value & let us say your drop down list values are populated from context node 'ND_DRP_DOWN'
                   data ls_data type wd_this->element_nd_drp_down.
                             lo_element->get_static_attributes(
                                       importing
                                       static_attributes = ls_data ).
    Hope this helps you.
    Regards,
    Rama

  • How to skip first step in a FPM roadmap?

    Hello, Our client wants the first step disabled/not displayed in a standard roadmap that has been delivered with the software. The standard roadmap uses component FPM_GAF_COMPONENT and consists of 4 steps (and is based on an application config and component config). They want to directly display the second step with certain values in the second screen pre-populated from a custom application (the second screen would in normaly flow be populated from first screen). So I have two tasks:
    1) disable first screen/step
    2) populate second screen/step with data from custom application
    This is my first exposure to FPM and roadmaps. I tried deleting the first step from the component configuration and making the current 3 step process into a 3 step process, but this does not work and did not seem to be the way to go. On looking around I see some documentation for methods HIDE_MAINSTEP to be used thru IF_FPM_GAF interface, but am not sure where to implement this interface or what code to use in the method.
    Can anyone provide step by step suggestions and examples of codes please?
    Thanks,
    Zack

    Thanks Harish.
    I was able to get to the HIDE_MAINSTEP method. However, when I try to hide step 1, which is my requirement, there is a short dump. If I hide step 2 or 3 out of the 4 step process, the sequence of screens is showing up appropriately. However, when I hide step 1, there seems to be some problem in mehod WDDOMODIFYVIEW of view CNR_VIEW of component FPM_GAF_COMPONENT where in a loop for the first loop pass, even though step 1 is hidden, the code is trying to access the road_map_step element which is not instantiated. We have opened a note for this issue.
    Zack

  • How to capture selected row value inside of c:foreach

    Hi ,
    I have a for each loop as follows : I want to do Edit, Delete Copy functions on indivisually displayed rows.
    =======================================================
                             <c:forEach items="${position.positionAuthorizations}" var="app" varStatus="appStatus">
                                  <%-- Alternate style classes for rows --%>
                                  <c:if test="${appStatus.count % 2 == 0}">
                                       <tr class="HeaderRowSub">
                                            <TD colspan="4"><SCRIPT language="JavaScript">RowTwistie(1,"<c:out value="${app.id}" />","�����<c:out value="${app.id}" /> - <c:out value="${app.name}" />","CLASS: HeaderRowSub");</SCRIPT></TD>
                                       </tr>
                                  </c:if>
                                  <c:if test="${appStatus.count % 2 != 0}">
                                       <tr class="HeaderRowSubTwo">
                                            <TD colspan="4"><SCRIPT language="JavaScript">RowTwistie(1,"<c:out value="${app.id}" />","�����<c:out value="${app.id}" /> - <c:out value="${app.name}" />","CLASS: HeaderRowSubTwo");</SCRIPT></TD>
                                       </tr>
                                  </c:if>
                                       <c:forEach items="${app.roles}" var="role" varStatus="roleStatus">
                                            <%-- Alternate style classes for rows --%>
                                            <c:if test="${roleStatus.count % 2 != 0}">
                                                 <SCRIPT LANGUAGE="JavaScript">RowTwistieInclude("<c:out value="${app.id}" />","CLASS: RowOne");</SCRIPT>
                                            </c:if>
                                            <c:if test="${roleStatus.count % 2 == 0}">
                                                 <SCRIPT LANGUAGE="JavaScript">RowTwistieInclude("<c:out value="${app.id}" />","CLASS: RowTwo");</SCRIPT>
                                            </c:if>
                                                 <%-- checkbox table cell --%>
                                                 <TD align="right"><%-- <INPUT type="checkbox" name="<c:out value="${role.id}" />Checkbox" value="<c:out value="${role.name}" />" style="height: 12px;"> --%></TD>
                                                 <%-- role name table cell --%>
                                                 <TD><c:out value="${role.id}" /></TD>
                                                 <%-- Delete/Edit button cell --%>
                                                 <td>
                                                      Edit
                                                      Copy
                                                 Delete
                                                      Delegate                                              </td>
                                       </c:forEach>
    ====================================================

    you can:
    1. write a javascript to check which checkboxes are checked
    2. place a listener on the checkbox, onchecked, when it's checked it'll run a javascript which will add the row index in a List, and vice versa when it's being unchecked the javascript will remove the row index from the list

  • Getting the following message on Final Cut Express "audio only capture selected video preview disabled" how can I get the video capture back?

    I'm getting the following message on screen when attempting to capture video  "audio only capture selected, video preview disabled."  How can I get the view preview back?

    FCE doesn't allow for audio only capture, it's in a twist somewhere.
    Try trashing the FCE preferences.
    Al

  • Roadmap : color change of selected step

    Hi All,
            I am using roadmap in my application.... but in that when my step changes,then its color does not change i.e. i am not able to differentiate the selected step from the rest of steps.
           I have binded the selected step property with the context node.
          Thanks in advance...

    Hey Vishal these r the steps ,
    1.Define a node with attributes Step & Next Step.
    2.When ever you click on next Button , in event handler call this method .
    wd_Comp_Controller->Continue(  ).
    3. In Method Continue() code this.
    Node_Roadmap = wd_Context->get_Child_Node( Name = IF_COMPONENTCONTROLLER=>wdctx_Roadmap ).
    * get element via lead selection
      Elem_Roadmap = Node_Roadmap->get_Element(  ).
    * get single attribute
      Elem_Roadmap->get_Attribute(
        exporting
          Name =  `STEP`
        importing
          Value = Item_Step ).
    CASE Item_Step.
    **Set Next step
    When 'STP_DIMENSION'.
    Stru_Roadmap-STEP = 'STP_INPUT'.
    Stru_Roadmap-NEXT_ENABLED = abap_true.
    *set next step
    When 'STP_INPUT'.
    Stru_Roadmap-STEP = 'STP_RESULT'.
    Stru_Roadmap-NEXT_ENABLED = abap_false.
    When others.
    Stru_Roadmap-NEXT_ENABLED = abap_false.
    Endcase.
    Node_Roadmap->set_static_attributes( Stru_Roadmap ).
    wd_this->fire_navigate_evt( Stru_Roadmap-STEP  ).

  • RoadMap  onSelect does nor return the selected step

    I'm using the roadmap to visualize the working steps in wizard like manner. Everything works fine.
    I would like to make it possible to navigate  by clicking the steps in the roadmap to reach previous steps faster.
    The onSelect method is fired every time I click on a step. The documentation promises that there is a parameter called step which contains the currently selected step id. But the parameter list within the event parameter is empty. Where can I find the information about the selected step?
    Or is the roadmap not intended for such a kind of usage?
    Thanks in advance
    Antje
    I'm using SP12.

    To get the selected step in an action handler you have to define a so-called parameter mapping between the UI element event parameter and the action handler parameter.
    In wdDoModifyView() write the following code:
    if (firstTime)
      IWDRoadMap roadmap = (IWDRoadMap)
        view.getElement("RoadMapID");
      roadmap.mappingOfOnSelect().addSourceMapping("step", "selectedStep");
    In the action that handles the onSelect event, define a parameter "selectedStep" of type "string".
    At runtime, the corresponding action handler parameter will contain the new selected RoadMap step ID.
    Armin
    (****, I lost the photo-finish with Valery
    Message was edited by: Armin Reichert

  • RoadMap does not return the selected step on ESS 600 Record Time entry

    RoadMap does not return the selected step on Record Time entry application in ESS. Is it suppose to behave similar way or is it suppose to take user to the selected step. If yes , then is there a setting or customization that i have to take care of, as its a standard SAP delivered ESS Record working time application.
    Please let me know. I appreciate your help in advance.

    Check with administrator in the src configuration thing,
    Cheers,
    Apparao

  • How to enable Previous Step Button in First  Substep of FPM Road Map

    Hello All,
    I have created three MainSteps M1 M2 M3.
    In Main Step M2 having Substeps Say S1 S2 S3 S4.
    In M2 of S1 Previous Button by default it is disabled. Means user can't go back from First Substep(S1) to Main Step2 (M2).
    Please let me know how to enable  "Previous Step"  Button in First  Substep (S1) of FPM Road Map in M2.
    Thanks in Advance.
    Br
    -CW

    Hello BS,
    Thanks for your suggestions.
    Yes we can do with custom button.
    Is there anyway to enable standard  Previous Step Button in First  Substep instead of creating cutom button.
    Please guide me if any other options.
    BR
    -CW

  • How to run selected sequences/​steps after the great-gran​dparent, the grandparen​t and the parent sequence ?

    Hi,
    I developped a sequence file with many levels of interlinked subsequences, and I want to be able to run selected subsequences/steps after the great-grandparent, the grandparent and the parent sequence.
    Anyone know the best method to do this ?

    Indeed, there was an little error in the sequence file. You can find the corrected file in attachment.
    Run the selected step "Grandparent 2" doesn't do what I require because this run all sequences under "Grandparent 2", while I want to run "Parent 2.2" and "Child 2.2.2" under "Grandparent 2".
    Attachments:
    sample.seq ‏10 KB

  • How to Capture the Objects in Object Library in Openscript tool?

    Hi All,
    I am new to OATS and i was trying to explore the Object Library in Opencript tool.
    Can anyone please advise me how to capture the Oracle forms Object in Object Library or Object Repository using OpenScript Tool?
    It would be grateful,If you can provide me the step to follow for the above.
    Thanks
    Ajith

    Hi Ajith,
    Create one Object Library. In OpenScript click File -> New -> Select Object Library under Script Assets.
    Then mention name of your library and save it.
    Add this library to script assets of your script. Select Script -> Script Properties... -> Script Assets -> Object Library -> Add(button) -> select your Object Library.
    Then save  your script and start recording. After recording you can see xpath of all objects you interacted with during your script recording.
    If you want to apply this to your script, select Script -> Apply Object Library.. -> then select your Object Library. If you want to revert it, then select Script --> Revert All Navigation To Recorded
    Hope this will help you...
    Regards,
    Deepu M

  • How to capture the table update

    How to capture the table update.Suppose I delete a enrtry from the table or mofying any entry in a table is there way to capture that update in SAP?

    hi ,
    follow these steps:
    1. After you selecte the search help for New Responislbe person, domodify gets triggered.
    2. In the wddomodify, get the value of New Responsible person by reading the attribute binded to it.
    3. Now if Value entered is not initial, write a selecte query to fetch the name based on pernr no.
    4. Finally bind the name fetched with the attribute binded to New Responsible person name.
    Wdomodify :
    ************* *Read the New REsponsible person Pernr* ***********
      DATA lo_nd_cn_sflight TYPE REF TO if_wd_context_node.
      DATA lo_el_cn_sflight TYPE REF TO if_wd_context_element.
      DATA ls_cn_sflight TYPE wd_this->element_cn_sflight.
      DATA lv_carrid LIKE ls_cn_sflight-carrid.
    * navigate from <CONTEXT> to <CN_SFLIGHT> via lead selection
      lo_nd_cn_sflight = wd_context->get_child_node( name = wd_this->wdctx_cn_sflight ).
    * get element via lead selection
      lo_el_cn_sflight = lo_nd_cn_sflight->get_element(  ).
    * get single attribute
      lo_el_cn_sflight->get_attribute(
        EXPORTING
          name =  `PERNR`
        IMPORTING
          value = lv_carrid ).
    ****** *Check whethre a value has been entered in PERNR* *************
    if lv_carrid is not initial.
    *************Select Name based on pernr entered* ***********
    select ename from pa001 into lv_ename where pernr = lv_carrid.
    *******Set the Name atttribute with the ename value fetched* *****
      lo_el_cn_sflight->set_attribute(
          name =  `NAME`
          value = lv_cename ).
    endif.

  • How to capture workitem number

    Hi Experts,
    We have custom workflow for creating material master. The main workflow contains different sub workflows and tasks. The workflow has 4 levels approvals and it has been triggering from Z transaction using event.
    We have the requirement for report to know the Overview of all material requests currently open; (at which specific step are they pending?), Daily Overview  of  all requests currently open for more than 24 hours at a specific department: including assigned user.
    But this data we are not capturing in the Z-tables. We can get it from workflow standard tables like SWWWHEAD. For all these standard table required workitem id which is unique and will dynamically generates the number.
    My question is how to capture workitem number. Is there any function modules/reports/process to get the workitem number specific to object type/object key?
    Thanks in advance.
    Cheers,

    Hi ,
    You can use the standard WAPI for getting the workitemids for specific material nos . But when you are going to  develop report for multiple material nos then you need to call the SAP WAPI in side LOOP and END LOOP , which will affect the performance  of the report .If the no of entries is less to be displayed in the report then you can use the SAP WAPI . Other wise you can try the below code for better performances -
    Get all your material nos in one internal table  say ITAB1 .
    IF ITAB1 IS NOT INITIAL .
        SELECT   top_wi_id wi_rh_task instid FROM sww_wi2obj INTO TABLE
        itab2  FOR ALL ENTRIES IN ITAB1
          WHERE instid = ITAB1-instid
                      AND catid = 'BO'
                      AND typeid = 'BUS1001006'
                      AND wi_release = '700'
                      AND wi_reltype = '99'
                      AND removed = '   ' .
    ENDIF .
    You will get the  workitemid of workflow specifc to all  materials in the internal table ITAB2 - The field is - top_wi_id
    Just try this out . Hope it may help you .
    Regards
    Prabhudutta
    Edited by: Prabhudutta Behera on Mar 13, 2009 12:20 PM

  • How to capture a parameter value in SQL QUERY of scale marker using GO URL

    Hi,
    Can any one please tell me how to capture the parameter value from go url inside Where clause of Scale Marker.
    I am trying to sift the position of scale marker based on SQL Query.
    Thanks-Bhaskar Gouda.
    Edited by: 961171 on Sep 25, 2012 12:33 AM

    Since this is a synchronous interface, where source is a soap(proxy) call and target is JDBC in the first mapping both of them are request scenarios.
    Source Structure:
    RootNode
        Request             1...unbounded
           No_of_Days   1.1 String
    Target Structure:
    RootNode
       Statement
         TableName
             Action mapped to SQL_QUERY
            Access -  SELECT DISTINCT AL.EC_NO,DP.DATE_TO_FORMAL FROM T_APPLICATION_LIST AL,(SELECT DE.EC_NO AS "EC_NO", DE.PACKAGE_NO AS "PACKAGE_NO",PC.DATE_TO_FORMAL AS "DATE_TO_FORMAL" FROM DAICYO_ECNO DE,PACKAGECTL PC WHERE DE.PACKAGE_NO = PC.PACKAGE_NO AND PC.DATE_TO_FORMAL > (TRUNC(SYSDATE) - to_number('$No_Of_DAYS$'))) DP WHERE AL.EC_NO IN  (SELECT EC_NO FROM DAICYO_ECNO WHERE PACKAGE_NO IN (SELECT PACKAGE_NO FROM PACKAGECTL WHERE DATE_TO_FORMAL > (TRUNC(SYSDATE) - to_number('$No_Of_DAYS$')))) AND (AL.FAMILY = ''  or  '' is null and AL.FAMILY is not null ) and DP.EC_NO = AL.EC_NO ORDER BY DATE_TO_FORMAL
         Key
          No_Of_Days   1..1 String
    In Return I am expecting a JDBC response from the Oracle Database as:
    Source Structure:
    RootNode
      STATEMENT_response   1...unbounded
         row                               0...undbounded
           EC_NO                        1..1   String
    Target Structure:
    RootNode
      RESPONSE
        row
         EC_NO                     1..1     String

Maybe you are looking for

  • Any idea why command-shift-delete is not working?

    I have had a MacBook Pro for a few years, and recently purchased a new iMac. the iMac arrived, and I transferred everything from the MBP to the iMac using the Migration Assistant. Worked very well, from what I can tell. The only thing I am unable to

  • Samsung monitor working well only sometimes

    I have Mac Mini 2011 with the Samsung SyncMaster T24B350 monitor. Sometimes it works well, but also sometimes I have problems for starting up the machine. The image appears to be stripped and distorted. It fixes sometimes when I restart the machine,

  • 8 pin dock cable to usb 3.5mm stereo

    So i was wondering if a cable like this exist. I know for the 30 pin they do have it but i cannot find one for a 8 pin. I want it to be like you are connecting your phone to a dock but without a dock. Something i'm talking about is like this but for

  • Problems with SMB and file sharing in Lion

    I have an HP OfficeJet 8500 Premier that is only 2 years old.  One of the things I loved about it was the ability to scan documents to a folder on my Mac.  Unfortunately, the only filesharing HP supports is SMB.  In SnowLeopard, SMB worked great (as

  • Database client character set problem

    Hello My database oracle 11gR1 database at Linux platform Database NLS_LANG settings SQL> Select * from nls_session_parameters; PARAMETER VALUE NLS_LANGUAGE AMERICAN NLS_TERRITORY AMERICA NLS_CURRENCY $ NLS_ISO_CURRENCY AMERICA NLS_NUMERIC_CHARACTERS