POPUP FOR SCHEDULE ACTIONS

Hello All,
              I have an issue.I need to add an  icon 'ICON_ACTION_SUCCESS' in the action colums of the items table view present in the service order page ,based on the condition that this button should be added only if the items in the item table view  have action profile .I have done this part.
           problem is one when i click on this icon('ICON_ACTION_SUCCESS' ) it should open the schedule actions associated with the item in a poup.Iam getting the popup but schedule action data is not being displayed in the popup.
i did the following steps.
i have added the gsaction component with interface views','executedactions','newactionsedit'.in the component usage of the BT116IT_SRVO.
and i have added these   views of the gsactions in the window of  BT116IT_SRVO
View CUGSActions.ExecutedActionsEdit
View CUGSActions.ScheduledActions
View CUGSActions.NewActionsEdit
and added the navigation links.I have done this all in the runtime repository.AND i have done the binding of the NODE BTADMINI PRESENT IN BT116IT_SRVO WITH ACTIONS NODE  OF THE GSACTIONS IN COMPONENT CONTROLLER 'WD_USAGE_INITIALIZE'.
and in the event handler i have  added this  code.
      data: confirm_popup type ref to IF_BSP_WD_POPUP.
      CALL METHOD COMP_CONTROLLER->IF_BSP_WD_WINDOW_MANAGER~CREATE_POPUP
        EXPORTING
          IV_INTERFACE_VIEW_NAME = 'NewActionsEdit'
          IV_USAGE_NAME          = 'CUGSActions'
          IV_TITLE               = 'Hello'
        RECEIVING
          RV_RESULT              = confirm_popup.
after doing this iam not getting the data populated in the schedule actions.I dont know whether i should build a custom controller or not.I want to display the schedule actions data present in the component gsaction in apopup when i click on the button in component BT116IT_SRVO.
can any one tell me how to get the schedule action data from the gsaction component and populate it in the popup.
                                 thanks in advance

Hi Sowmiya,
                     First you have to define the component usage in the source component for the target component.Then check if you have the custom controller defined for the target component in the source component other wise define a custom controller and do the interface binding that bind the context nodes of the source and target component .then check if u have redfine the wd_uage_intiliaze in the component controller for the component controller.
Now in the view controller call the custom controller of the source component and populate the data into it( get the data by using relations).
<removed_by_moderator>
Thanks,
Srikar
Edited by: Stephen Johannes on Dec 11, 2009 8:36 AM

Similar Messages

  • Function module to schedule actions

    Is there any function module available for scheduling actions programmatically; ( like done in T-CODE CRMC_ACTION_JOB)
    Thanks,

    Hi,
    There are couple of FM.
    SMOE_ACTIVATE_SCHEDULED_ACTION Function Module which starts Scheduled Actions
    SMOE_CALC_SCHEDULED_ACTION     Function module which calculates the scheduled actions to be performed
    SMOE_UNDO_SCHEDULED_ACTION     Function Module which finishes the actions started by SMOE_ACTIVATE_SC
    SMOE_UPDATE_SCHEDULED_ACTION   Function module which updates running scheduled actions
    But we can also write the code using FM:CRM_ACTION_CONTEXT_CREATE and 'CRM_ACTION_DETERMINE  and method of the class:cl_manager_ppf
    Regards,
    ruchi

  • Help requested regarding job scheduling for an action

    Hi Gurus,
    I have created an action with a custom method. This method is used to change the status of all the subsequent tasks from that transactions. In case if any of the tasks is opened while the action is executing then the action would error out. To reprocess such action I created a job for the variant created in CRMC_ACTION_MONITOR. But it doesnt seems to work. Please suggest how to go about it.
    Thanks and Regards,
    Jai

    Did you set processing time for an action as "Processing Using Selection Report"?
    Did you create variant in SPPFP and defined "Processing without dialog"?
    Did you schedule job for program RSPPFPROCESS and your variant of report?

  • BAPI or FM for scheduling a planned order (like MD11 or MD12)

    Hi guys.
    We are working with a group of materials and planned orders, in order to modify and create new planned orders depending on the stock per each material. So we use MD12 to 1) modify the quantity in the order, and MD11 to create new planned orders for the rest of stock for this material.
    For process of creation we don't have problems (BAPI_PLANNEDORDER_CREATE makes its work well ), but when we want to schedule the new planned order created before via FM or BAPI, we cannot see any results in MD12.
    I mean, when a planned order is scheduled via menu button, a new tabstrip appears in the transaction with dates. So this similar action we've tried using CX_PLANNED_ORDER_SCHEDULE or CX_CRP_PLANNED_ORDER_SCHEDULE but there was no change.  If we execute the Schedule button action, in table PLAF (master of planned orders) apears a new number in field PLAF-BEDID related to MRP.
    So guys, could you please help us how to get this issue? As last option is BDC, but BDC's and me are not good friends because its performance. So please, any suggestions?
    Thanks in advance!
    Raul Romero

    Hi guys...
    Sorry for the long time without an answer, which I'm sharing you now:
    1. In order to perform the proccess of scheduling, you have to record the steps from menu bar in your batch input. I mean: (1) set values into fields CRHARBPL-LOW () and CRHWERKS-LOW
      PERFORM set_batch USING: 'X' 'RCCRY000' '1000',
                                      space 'BDC_CURSOR' 'CRHARBPL-LOW',
                                      space 'BDC_OKCODE' '=PLNG',
                                      space 'CRHARBPL-LOW' p_arbpl,
                                      space 'CRHWERKS-LOW' 'PR01'.
    (2) After you ordered your list of planned orders or production orders, loop your internal table and per each order record these commands (these simulates the popup option to select the order you want for scheduling and mark it in the dynpro you are processing):
      LOOP AT gtd_tabofplan INTO gvc_tabofplan.
        PERFORM completa_bi_campos USING: 'X' 'SAPLPLAT' '4000',
                                        space 'BDC_OKCODE' '=Z021'.
        PERFORM completa_bi_campos USING: 'X' 'SAPLCY19' '0120',
                                space 'BDC_CURSOR' 'CYMARK-VALUE(02)',
                                space 'BDC_OKCODE' '=BACK',
                                space 'CYMARK-VALUE(02)' gvc_tabofplan,
                                space 'CYMARK-MARK(01)' space,
                                space 'CYMARK-MARK(02)' 'X'.
        PERFORM completa_bi_campos USING: 'X' 'SAPLPLAT' '4000',
                                space 'BDC_OKCODE' '=SL25'.
      ENDLOOP.
    (3) Set the SAVE operation.
      PERFORM completa_bi_campos USING: 'X' 'SAPLPLAT' '4000',
                              space 'BDC_OKCODE' '=SAVE'.
    Hope you' ve succeeded in this task, let me know if you've another questions.

  • View email addresses or BP numbers while scheduling actions

    Hi All,
       I am using actions to send emails to my business partners in a service transaction. When i schedule these actions using Web UI, I dont see email addresses of the recipient. Since, I need to send it selectively to only a few activity partners but not all its mandatory for me to identify the BP who is receiving the email.
    Can you please let me know as to how can i see the email address or the BP number in the `schedule aciton`dialogue box?
    Thanks,
    Reddy

    Hi Reddy,
    Well, your scenario can be fulfillted only through the custom method.
    You need a define the action as Method call. In the method call, you need to bring upon a popup for the user to choose the email or bp number.
    Let me know if you need more details.
    Hope this helps.
    Chees, Satish

  • Calling new Component from Schedule Actions

    Hello Guys,
       My requirement is to call a new component from Scheduled Actions assignment block in Service request.
    When a user clicks on the Scheduled new Action button under Scheduled action assignment block,a new component
    should be called,where the user will do further validations.
    Main concerns for this requirement are:
                 1. Is it possible to link Actions in Web UI?
                 1. Is it possible to a call a new component on click of Scheduled new Action button?
                 2. If yes how can we achieve this and how can make the data to flow from Standard component to custom component/
      Regads,
      Najam

    Hi Vishal,
    I have got a same type of requirement where I have to throw a popup upon click on Navigation bar link.
    Not as a complete page (custom component) on the right side ( generally what happens) rather a popup on whatsoever page is opened on the right side.
    Please help urgently.
    Regards,
    Arnab

  • Automatic popup for reason of rejection after async method

    Hello,
    How to get a <b>reason of rejection</b> popup after an asynchronous method?
    Currently I am using the standard <b>singlerelease</b> method of object type BUS2012 for the release of purchase order.
    Now once this order gets rejected the user wants an automatic popup for entering the reason for rejection and NOT as another workitem in his inbox for execution.
    Please let me know how can I provide this functionality in the current scenario. Also since the Previous method(singlerelease) is asynchronous “Advance with Dialog” does not work.
    Thanks and Regards,
    Anuj

    Hi Mikko/Anuj,
    Added to the FAQ, including techo details.
    Cheers,
    Mike
    3.16. How can I 'advance in dialog' with asynchronous tasks?
    This is unfortunately not possible as the very nature of <i>asynchronous</i> tasks contradicts the idea of 'advance in dialog', also known as <i>synchronous</i> dialog chains. The two main reasons for using asynch tasks are either that the termination can happen outside of WF, or to ensure that all database updates are complete. Both of these imply that there is an action happening outside of workflow (database updates can happen outside the user session after the transaction is completed). Since these happen outside the current dialog session, one would have to 'continue' another user's session in the current dialog, which is not possible.
    How it works on a more technical level:
    Asynchronous tasks use terminating events which live in the instance linkage tables (tx SWEINST). You don't normally have to touch instance linkages, the WF system creates these as necessary, and deletes it when a task completes.
    The main difference between instance and type linkages is that instance linkages have a key and are specific to one instance (hence the name), they are only triggered for the object with the same key. Like any other event they are passed on to the event manager who triggers the receiver (the task completion in this case) via RFC (user WF-BATCH). This is why it is theoretically impossible to advance in dialog - because the task completion happens in a separate dialog under a different user, quite possibly on a different server.
    Workarounds can include secondary methods (though they have their own restrictions), or redesigning your flow so that it uses a synchronous task instead e.g. by using a wait for event in a separate branch or creating a synchronous task instead.

  • How to schedule actions  in photoshop

    We are facing problem to schedule the action in photoshop cc and would require help for same.
    Please suggest if there is any option available.
    Let me also brief the requirement:
    There is set of multiple images and different multiple photoshop masking actions which needs to be apply.  So every masking should generate a different output.
    For example there is array of images approx 1000 different images.
    and there is another array of 50 different layout (object style which include multiple masking actions) which needs to merge with all images, so there will be total 1000x50 = 5000 images 
    The 1 layout require approx 1 hour to apply on all images
    The problem we are facing in action is it only takes one action at a time so we need to know
    1- how to define action in such a way that it pick different layout time after completion of previous.
    2- Or can we schedule action in time so we will save different actions with different combination and trigger it as per time.
    if there is any other better way, plz advise
    Thanks in advance

    The Image you've attached seems to have been made in Adobe Fireworks. I opened the image in Ps, which advised that it was discarding the additional Fireworks information, and the image appeared on screen with a transparent background. The fish shape is a dark neutral grey (72:72:72 in my sRGB workspace). Why can't you do the same as I have done with the original Image (cropped if necessary to eliminate all but the fish shape) and save it as a PSD, thus giving you the separate file you want?

  • Transaction iView missing a popup for express mails

    Hi SDN
    If I make an express mail in R3, then the receiver will get a popup whenever an action is done in R3.
    But if the receiver is working in a transaction iView the popup doesn't appear.
    Does anyone know if there is a way to solve this??
    Thanks in advance
    Peter
    Message was edited by:
            Peter

    It may be a network issue.
    Suggestions:
    1. Analyse generated SAGUI shortcut file.
    Make your transaction iview "Technique to Start SAP GUI for Windows"=SAPGUI Shortcat.
    On the client computer in Win explorer, set "Confirm open after download" for file extension .SAP
    Preview of the iview now will generate tx.sap file, which you can analyze to see if connection info is OK.
    2. Activate trace in SAPGUI for windows and look at the trace.
    http://help.sap.com/saphelp_nw04/helpdata/en/c4/3a6473505211d189550000e829fbbd/frameset.htm
    Regards,
    Slava

  • Explain DATES, Scheduled Actions & Reference Objects

    Hi Experts,
    In an activity screen can any one explain me about these three blocks?
    DATES, SCHEDULED ACTIONS & REFERENCE OBJECTS
    Dates  (Assignment Block)
    Date Types -
    Date-----Time-Date ToTime To--Duration-Time Unit-All D E
    Planned Completion                                          
    Period
    Planned Date          
    Activity: Planned Total Duration                                  
    Actual Dates                                         
    Activity: Actual Total Duration                             0     Minute     
    Interaction: Actual Dur. Face-to-Face                                   
    What is u201CPlanned completion periodu201D, u201Cplanned dateu201D, u201CActivity: Planned Total Durationu201D, u201CActual Datesu201D, u201CActivity: Actual total durationu201D, u201CInteraction: Actual dur. Face-to-Faceu201D.
    Those all date types almost seems meant same, if there is any difference please explain.
    Scheduled Actions (Assignment Block)
    What is this for?
    Reference Objects (Assignment Block)
    What is Reference Objects? When I click on u201CNewu201D, it shows me Reference Type and Reference ID. What are these used for? What is this used for?
    Thanks & Regards
    Rohan

    Hi Rohan,
    for the first question I can advise to review the customizing of the date profile, transaction spro, CRM->Basic Functions-> Date Management.
    Like the difference between the Planned Date and Actual Date in the Activity management lies in the different date rule used. So for the first one the FM CRM_DATES_ORDERACTUAL_TR is called when it is determined. For the second one the FM CRM_DATES_ORDERPLANNED_TR is called.
    Hope this helps,
    BR,
    Erika

  • The destination plugin required for this action is disabled.

    Dear all, I am using Infoviewer first time and for testing purposes I uploaded our Lab rework report. The viewing side is absolutely fine however if I try to send the file via email, ftp etc it gives me the following error:
    The destination plugin required for this action is disabled. If you require this functionality, please contact your system administrator.
    I have looked on one of the forums where one user mentioned to restart the destination job server. I have tried that but it didn't work. It somehow looks like I haven't installed the plugins onto the server or maybe somewhere it has been disabled.
    Could you please help.
    Many thanks
    Kind Regards
    Jehanzeb
    Error given below:
    ============
    Title:         LabRework
    Description:       
    Created:       01/07/2008 16:57
    Last Modified:       01/07/2008 16:57
    Last Run:       01/07/2008 17:07
    The destination plugin required for this action is disabled. If you require this functionality, please contact your system administrator.

    OK. From CMC, I can use do the following:
    1. Go to Home>All Objects>
    2. Select the object
    3. Hit the History tab
    4. Click Send to... and select FTP
    This is explained on xir2_bip_Admin.pdf.
    However, I can't do this via Infoview.
    i.e.
    When I try to send a file from the History it doesn't end up in the FTP location.
    But what does work is if I select the report itself, the RPT format is sent to the FTP location.
    This makes sense from a perspective that if you don't schedule a Crystal Report, you will not have a PDF version of it. On the other hand, whay wouldn't I be able to send it from the History selection on Infoview.

  • MRP To Generate SCHEDULE LINES for Scheduling Agreement

    Hi
    I have followed the below steps but still the Schedule lines is not generated for scheduling agreement.
    1Maintain MRP views 1,2,3,4 for the material in material mste.(MM01)
    2. Maintain Purchase Info Record for the vendor plant & material combination.(ME11)
    3. Create Scheduling agreement using ME31L
    4. Maintain source list for the material & the scheduling agreement # and Line item set the MRP relevant indicator 2 (Necessary ?) ME01
    During Run MRP for the material.the below details entered///
    Processing key NETCH Net Change in Total Horizon
    Create purchase req. 1 Purchase requisitions in opening period
    Schedule lines 3 Schedule lines
    Create MRP list 1 MRP list
    Planning mode 1 Determination of Basic Dates for Planned
    Run MDBT or MD02 but still doesn't create the schedule lines......Anything else missing.
    MRP1:
    MRP Procedure: PD
    MRP Group: 0000 (External Procurement only)
    Lot Size: EX (Lot For Lot)
    MRP2:
    Procurement Type: F
    Sched Margin Key: 000
    MRP3:
    Avilablity chec: 02 (Individual requirement)
    MRP: 4
    Nil

    Raj,
    Source List a Mandatory for Scheduling Agreement, if you want to create automatic Scheduling line.
    Plz use (2) in MRP RELEVENT tab in ME01 (Source List).
    rest of the thing is ok, make sure a material master(MRP 2 VIEW) in that view you have to give a planed delivery days. it is must.
    HOPE IT WILL WORK
    Regards:
    Poision

  • Getting error while opening a saved for later notification: The selected action is not available. The cause may be related to security. Contact your system administrator to verify your permission level for this action.

    Hi All,
    While opening a saved for later notification, we are getting "The selected action is not available. The cause may be related to security. Contact your system administrator to verify your permission level for this action". error.
    This is a custom notification.
    Please help.
    Thanks
    Raghava

    HI All,
    Please help on this issue.
    Thanks
    Raghava

  • Program for Leaving Action..

    Dear All,
    We have created a leaving action with set of Infotypes and certain actions and we have to carry out this action for about 5,000 employees.
    Now user needs to have a certain program to carry out the action as it's not feasible to carry out manually for 5,000 employees.
    Now my qestions to you all is
    1. Do you have any Std Program which takes care of this
    2. IS their any Std Function Module/BAPI exists which can be used
    3. Do we need to write our own BTC/LSMW/etc
    Kindly suggest.
    FYI : I have already tried one program using the FM - HR_INFOTYPE_OPERATION but this FM is not working for Action - DELIMIT (LIS9) for various Info types so now wondering what to do next. Kindly suggest.
    Thanks and have a nice day ahead.
    Mit freundlichen Grüßen/Best regards,
    Mangalagi S V

    Dear All,
    Thanks to all those who have responded to this.
    Unfortunately I can't go for BDC also as I was told that they might add/delete certain info types for this particular action.
    In my program, I am reading table T588M for the action and taking all the infotypes and the related action into my own internal table, after that I am generating the dynamic internal table for each infotype and then reading the Infotype using HR_READ_INFOTYPE and proceeding for related operations using HR_INFOTYPE_OPERATION but this LIS9 was not working so I have to check out as Suresh suggested. Hope every things goes fine with my coding...!!, any way it looks to be big exercise and needs lots of testing.
    Thanks for your valuable inputs.
    Regards,
    Mangalagi S V

  • Report for Hiring Action Along with BASIC Pay

    Dear
    I have created a BDC for hiring action for which data is updated in infotypes 0,1,2,6,7,8,9,14,15,16,41,105,587,588 mentioned in the infogroup.
    Earlier we are  not creating entries in 0008 now we need to BASIC PAY  in the hring Action.
    What should be the best apporch.
    Either we create perner by giving infotype values 0,1,2. and put this values in internal table and then update other infotypes.
                     OR
    In a single fo we provide all the data related to infotypes by using PA40.
    Now record need to be created of few of additonal infotypes which is not part of hiring action infogroup like 19,21,22,23,185.
    Thanks & Regards,
    Ravi

    Thanks for your valueable comment.
    AS hiring action it is must to input values of infotype 0,1,2.
    So acccording to you firstly, i need to hire a person through bdc.
    So for next infotypes i need to do by PA30. But for this i need pernr which i created in first step.
    how it is possible to  get perner created and then go for one by one infotypes sepratley.
    Rav Jordan
    Edited by: Rav Jordan on Dec 14, 2011 7:15 AM

Maybe you are looking for

  • Create dynamic table at runtime and bind it with ViewObject

    Hi everyone. I have the following task. I need to create a multiple ViewObjects at runtime (using different constructed sql queries) and then bind ViewObjects with created (also in runtime) tables. Tables are to be created on PanelTabbed component. E

  • How can I get my iPad to print?

    I downloaded Microsoft word for my iPad 2. I hit the print button, and it said your printer is not on the AirPrint list. I have a canon MG 5220. Does this mean I cannot print from my iPad? Or will I need to download another app?

  • Arranging fields in a table-like form: best-Practice-Solution wanted

    Hello Experts, I´m wondering if there exists a 'best practice' considering how to arrange fields in a table-like form. I know about cross-tables, but that´s not what we need. Most of the requirements that I have come to known are just that certain fi

  • Use more than 2 GB ram for oracle

    I have 16 GB ram but I only can use 2 GB of that for oracle database , how can i increase that ???

  • Please help me i cant update my bb 8520 os

    everytime i try to update my os it always shows that there is no update available for my device. my current version is 4.6 and i am trying to update to version 5. my friend updated her 8520 so easily and there's an immediate promt of the update. We a