Customizing Web Dynpro for CATS Approval

Hi experts,
I would like to implement some additional logics when the CATS is approved by managers in MSS.
After tracing the codes, I located an ABAP class "CL_MSS_CAT_APPR_TR_BUFFER" that performs the approval actions in R/3.
Currently, I am considering to copy and edit a ZCL_MSS_CAT_APPR_TR_BUFFER to add additional logics to the "IF_MSS_CAT_APPR_TR_PROCESSOR~SAVE". But, here are my questions:
1/ Since there is no object delegation in BO, how can I "delegate" the objects from CL_MSS_CAT_APPR_TR_BUFFER to the z-class ?
2/ If no delegation possible, is it possible to change the action mapping s.t. ESS calls to the Z-Class instead of the standard class?
3/ If it cannot be done with action mapping, does it mean that customized Dynpro developments required ?
Sorry that I don't know much about ESS and Dynpro.
Please offer detailed steps when possible.
Many Thanks.

I don't believe that your question has been asked in the correct forum.  This forum is for questions directly related to Web Dynpro ABAP development only.
However a quick suggestion (although unrelated to WDA).  Instead of copying the class, consider using the enhancement framework instead.  You can use a pre, post or override method to extend the logic of the SAVE method.

Similar Messages

  • Invoke Workflow from Web Dynpro for Java Application

    I am working on a custom web dynpro for java application and when the user clicks the submit button the SAP standard workflow (WS50000041) should be invoked. Does anyone have experience they can share with me on how to achieve this functionality? It should also be able to attach an adobe form or read data from the form and submit the data as xml.
    Thanks,
    Ashley

    Hi Ashley,
    Use following code in RFC to invoke your workflow -
    DATA : w_subrc TYPE sy-subrc,
                w_wi_id LIKE swwwihead-wi_id.
    CALL FUNCTION 'SAP_WAPI_START_WORKFLOW'
            EXPORTING
              task                      = ' WORKFLOW - WSxxxxxx '
              language                  = sy-langu
              do_commit                 = 'X'
            IMPORTING
              return_code               = w_subrc
              workitem_id               = w_wi_id
            TABLES
              input_container           = it_container
              message_lines             = lv_swr_messag
          COMMIT WORK.
    With this code your workflow will get start. But u have to use workflow id in next application also in which your request is getting navigated. In that application you have to take this workflow ID and have to pass again in workflow using - PortalNavigation statements.
    After that this workflow will get start to publish in your TaskList (My Task) in Portal. Remeber that your all task should be maintained in workflow table by using SWFVISU  transaction.
    After that go to Portal and Re-Register your UWL so that your new Workflow ID will get usable in portal.
    With this way you would be able to use workflow with Web Dynpro Java using UWL and Workflow.
    Regards,
    Roshan Gupta

  • Creating a purchase order in web dynpro for java.........

    hello all,
    i am new to web dynpro for java.i have already done an application
    "Creating a Web Dynpro Application Accessing ABAP Functions" this application
    have good document on sdn.
    this application is working fine .
    Now i got an requiremnt for creating a purchase order in web dynpro for java.
    in normal report when i call  the bapi the parameter are the header, headerx,item, itemx is an internal table.
    CALL FUNCTION 'BAPI_PO_CREATE1'
      EXPORTING
        POHEADER                     = HEADER
        POHEADERX                    = HEADERX
      POADDRVENDOR                 =
      TESTRUN                      =
    IMPORTING
      EXPPURCHASEORDER             =
      EXPHEADER                    =
      EXPPOEXPIMPHEADER            =
    TABLES
       RETURN                       = RETURN
       POITEM                       = ITEM
       POITEMX                      = ITEMX.
    i just want to know how can i fill these internal table in web dynpro
    for java to create an application accessing "Bapi_po_create" .
    Thanks

    Hi Gopal,
    I'm not sure what is your issue, it seems you're not really understanding how the Model structure works in WDP.
    I'll assume few things here, like you know how to Import the Model into the WDP, and you know a little bit about what Java Classes will represent this Model in the Project.
    Try these steps:
    1. Import your Model into the Project;
    2. Open your Component Modeler, create a Data Link between your Model / Component (Or Custom Controller, as you prefer)
      - You can also use the "Apply Template -> Service Controler"
    3. Map the Input of your Model as the Main Node, check the Input Tables (you prob. will have two, POITEM = ITEM - POITEMX = ITEMX)
    4. Also, check the Return box, since this is BAPI return (You can use to display Backend messages)
    Now you have the Model mapped into your Controller, you need to develop the Java function to execute it.
    1. Create a new Input class, like
    BAPI_PO_CREATE1_Input purchaseOrderCreateInput = new BAPI_PO_CREATE1_Input();
    2. Bind your Input Node, in the Controller, with your Input Class;
    wdContext.nodeBAPI_PO_CREATE1().bind(purchaseOrderCreateInput);
    3. Set any Import parameters you need:
    purchaseOrderCreateInput.setEXPPURCHASEORDER(XXXX);
    4. To Add references to the Table, you will perform something like:
    First, you need to know what "Structure" you need to add (POItem Structure) - You have a Java class that represents that Structure..
    POITEM_Element poItemElement = new POITEM_Element();
    poItemElement.setPROPERTY();   /// Set your Properties
    purchaseOrderCreateInput.getPOITEM().add(poItemElement);
    5. Execute your Input,
    purchaseOrderCreateInput .execute();
    Hope it helps,
    Regards,
    Daniel

  • Creating Sales Order using Web Dynpro for java

    Hi SDN,
    I am new to Web Dynpro for java. I have developed an application for creating a sales order using adaptive RFC Model using BAPI. It's working fine when i create a single order. I wanna create SO with more than one line item. I have used the Table UI Element to do so. But i could not able to enter the 2nd item details. Please suggest me how to pass more than one line item from the Table UI element.
    Thanks in advance.
    Regards,
    Basha

    Hi Basha,
    Do you need to display the header items and detailed items?
    If the BAPI Contains Output values in R/3 side.
    I mean to say if BAPI  contains 4 line items.u can get thru wdjava the followinf way.
    1. Create webdynpro application.
    2.Import the model.
    3.Create Customcontroller and model binding .
    4. Write the execute method in controller.
      BAPI b = new BAPI();
      WdContext.node<BAPI>.bind(b);
       give inputs for BAPI
    b.setname(" ");
    b.setno("");
    wdContext.currentBAPI().modelObejet().execute();
    wdContext.node<output>.invalidate(); in try catch
    5. create view or when u give the dynpro application its
    in the add custom to view and drag BAPI custom to view .
    6.Crete UI for ur table thru insertTemplate table directly mapp the  output values.
    7. deploy and run
    U can get the out line items .
    Or any thing else post ur requirement.
    Thanks
    Lohi

  • ESS framework in web dynpro for ABAP?

    Recently, I need to start an ESS project using web dynpro for ABAP. Unlike web dynpro for java, we have ESS framework in every track, like pcui/xx DCs and ess/per DCs in the track. And as there are existed projects in the DCs like ESS/JP/ADDRESS, we can just follow suit.
    My question is: are there ESS frameworks in web dynpro for ABAP? Or existed ESS projects based on web dynpro for abap?
    Thanks for your help!

    Hi,
    As far as i know, it would need really a huge amount of effort to develop ess on Webdynpro for ABAP. As you know that it is not a part of SAP standard delivery, you really have to start it from the scratch.
    It would be a custom developed application.
    Regards,
    Sharadha

  • Catching errors in Web Dynpro for Java when thrown from RFC Raise Exception

    Hello Developers,
    I'm looking for information that explains how a Web Dynpro for Java application responds and processes errors that are thrown from a Raise Exception event within an RFC.
    The Exceptions do not appear to be part of the Model and I can't identify how they get processed.
    When rfc HRXSS_CAT_WD_RECORD raises exception PERNR_NOT_LOCKED this exception is passed back to the calling webdynpro CAT DC that displays the exception on the web page along with the log. 
    I would like to display a friendlier message and without the log.  Any information on how to customize the handling of this error would be greatly appreciated.
    Thank you,
    Terry

    [see here|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2flibrary%2fuser-interface-technology%2fwdJava%2FHowtoHandleExceptionsEffectivelyWhileWorkingwithWebDynproJava%28WDJ%29.pdf]

  • Spell check in Web Dynpro for Java?

    Hi Experts,
    I have a requirement from our client to have  Spelling Checking integrated with our custom Web Dynpro Java application as we have quite a few free text fields that needs to be completed.
    We are quite perplexed with this as we are not aware of any such thing available.
    Do you perhaps know of how to impliment such an option - presuming that it is available?
    Kind Regards,
    Christiaan

    Hi
    Promise this time u will not say "Thanks for nothing".(It might we don't have any reply for that or most of time question doesn't contain full explanations )
    Check FormattedTextEdit UI element (Just check it might helpful , available in CE versions onlyl)
    Webdynpro doesn't have such kind of inbuilt feature.
    See this [thread |Spell Check -] ,[this |http://jazzy.sourceforge.net/] and [this|http://foundeo.com/spell-checker/?gclid=CJHhuf31sJkCFRMupAodqUFs6A] for further input
    Best Regards
    Satish Kumar

  • How to implement result states in custom web dynpro components

    Hi all,
    My callable objects are custom implemented -web dynpro Componenets
    How am i to implement the result states in them so that i can use them to take logical decisions.?
    There is decision dialog component in  Process Control Callable Object. It has Exit states. I need my component also to have exit states like that
    Help me to implement this.
    Points assured for help

    Hi Shobhendra,
    You can define the result states of your custom Web Dynpro callable object like this in the getDescription() method:
    //add success result state
    IGPCOResultStateInfo success =               technicalDescription.addResultState("Success");
    success.setDescriptionKey("Success");
    //add failure result state
    IGPCOResultStateInfo failure =               technicalDescription.addResultState("Failed");
    failure.setDescriptionKey("Failure");
    And in the custom comelete() method (which will be called at the end of the execution of the WDP comp from GP) you can set the actual resultstate at runtime:
    executionContext.setResultState("Success");
    or
    executionContext.setResultState("Failed");
    The result states defined in the WDP callable object will appear in the the GP design time and you can set target for each result state.
    For more info on how to implement the WDP callable object check the doc:
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50d74ada-0c01-0010-07a8-8c118d408e59">Implementating Web Dynpro callable Object</a>
    Please let me know if you need any further help.
    Thanks,
    Dipankar
    [P.S. Award points for helpful answer]

  • Integrating Web Dynpro for ABAP into ABAP Workflow

    We have a requirement to create a User Interface via Web Dynpro for ABAP, and use that information to start off a workflow, transferring the data from the Web Dynpro application into the container of the Workflow.
    Also later in the workflow, we would like an approval step to invoke a Web Dynpro that displayes the data, and an approve/reject button to be pressed that feeds that data back to the Workflow.
    Has anybody done this, or does anybody know how to do this? We do not have the possibilities to use CAF in this project yet.
    Kind Regards,
    Tony.

    Hi,
    This is of course possible. Starting the workflow with Web Dynpro or from classic ABAP dynpro doesn't really differ. Just build your web dynpro as you would build a transaction, and from the submitting/execution phase, you just launch the workflow. Launching the workflow can be done with couple of different techniques (=function modules) and it has been discussed many times here.
    Also the approval part shouldn't cause any problems. Just build an application which takes as a parameter for example the work item ID (or any other relevant parameter that you can imagine, which you can use to retrieve the needed data that you want to display). Then from the web dynpro application you can call for example a function module, which can complete the work item. Or another option is that you will raise an event (again with a function module), which your approval task is waiting for.
    Once again, it isn't really that different from classic dynpro (or any other technique) - the same approaches can be utilized.
    Regards,
    Karri

  • Web Dynpro for ABAP Naming Convension & Guide line

    Hi, everyone.
    I have a plan to implement Web Application as WDA(Web Dynpro for ABAP). but I don't know how can I give a name to Windows or Views or Custom controllers.
    If you have a naming convension or guid line document,
    Could you share the document with me? ^^

    As Rich said, there are no official naming conventions. Nonetheless, a few things have become quite popular, such as:
    - adding wnd_ in front of window names as they share the same namespace with views
    - adding m_ in front of member variables of controllers
    - adding s_ in front of supply methods and using the name of the node afterwards
    - adding lbl_ in front of labels and using the name of the labelled ui element afterwards like "lbl_customer" and "customer"
    Some developers also add certain prefixes to view elements to distinguish between them.
    Regarding the names of components, there is one thing that you should not do: Start them with WD_ or WDR_ as both are somehow preserved. The same is true for entities within a component, although there checks in place that prevent you from doing that.
    Best regards,
    Thomas

  • Floor Plan Manager Technique in Web Dynpro for ABAP

    Hi Experts,
    Road map technique and Floor Plan Manager Technique, both are same or different.
    I need to develop a web dynpro application based on Floor Plan Manager Technique. can I develop this application in WebDynpro for ABAP. If so please help me how to use Floor Plan Manager Technique in Web Dynpro for ABAP.
    I don't have knowledge in java, so i cann't develop this application in web dypro for java.
    Please help me.
    Thanks & Regards
    Sridhar

    >Road map technique and Floor Plan Manager Technique, both are same or different.
    They are different. The FloorPlan Manager is a tool for constructing WD applications with a similar layout and user interface.  There are two different floor plans currently - the OIF - Object Instance Floorplan and the GAF - Guided Activity Floorplan.  The OIF is for the editing of a single business object. It allows for things like the nesting of header and item details.  The GAF, on the other hand, uses a road map to walk you through an activity - much like a Guided Procedure.  The FloorPlan Manager is very powerful because it can be configured using component and application configuration - allowing you to plug in different UI Building Blocks (UIBB) as Web Dynpro Components or Views.  You can change the roadmap, for instance, adding a new step by just chaning this configuration and not having to touch the code.  Consistency between applications is also a major stregth of the FloorPlan Manager. 
    The Road Map is just a UI element in WD.  It can be used to create your own custom applications.
    >can I develop this application in WebDynpro for ABAP
    Sure.  The Floorplan manager has been available for WDA since SPS13.  Have a look at the packages APB_FPM_DEMO and ABP_FPM_TEST for examples of how to build components designed for the FloorPlan Manager.
    Admittedly there aren't a whole lot of documents available on the subject yet. Some eLearning is being worked on now.  There are going to be some workshops at TechEd on the subject:
    https://wiki.sdn.sap.com/wiki/display/Community/BringitallTogetherwithFPM%28FloorplanManager%29forWebDynpro+ABAP
    The best thing to do right now is to study the demo applications SAP provides.

  • Web Dynpro for Accepting Data Changes

    Hi,
    I have a requirement where I need to give a screen  with the fields of
    | Customer|.Material | Enduser | Market | Market Segment | . Customer & Enduser is Compounter to Material. and Maket & Market Segment are Attribute of Material Master( Z Object).
    We are using these objects in COPA Cube. Market & Market Segment are NA. There are millions of records in Customer / Material /End user combination.  But there is no data maintained for Market & Market Segment.
    We want to maintain where there is any sale happend for Customer Material and Enduser combination.
    I created a Query to filtered the record with sales fall in this period with out market & Market segment. And used APD to updated it to DSO.
    Now i want it to present to User to enter the data in the Market & Market Seg fields for the Material/Customer/Enduser combination.
    Please let me know your thoughts on this. We are trying to build a WEB DYNPRO for this. But will a Dynpro will accept the data and change/update it in the backend table ?
    Points are sure for proper guidance.
    Thanks.
    -S-

    In terms of Complexity .. I would rate the following in this order :
    1. BSP
    2. WDA
    3. WDJ / VC
    (* I have not worked in WDA and hence this ranking )
    In terms of Presentability :
    1. VC
    2. WDA / WDJ
    3. BSP
    The main reason being that BSP renders in Plain HTML and you can make the BSP interesting and more presentable using Embedded flash objects / HTMLB etc ... I am referring to plain BSP Pages .
    The rendering options are much better in WDA and VC would give you a better front end ... but then VC does not lend itself into a User Entry tool - bbut more of a reporting / display tool....
    You can use BSP and formatting options not withstanding - you can just create a WDA with Flash Islands .... to make the most of both worlds...
    I am not sure if this is simple in VC - you might have to get into the JCO conections etc for making the field editable. WDA with flash islands is much more manageable but then forthis you need to be in EHP1...
    Edited by: Arun Varadarajan on Nov 17, 2009 12:38 AM

  • Overlapping labels in Scatter Graph - Web Dynpro for Java

    Hi
    We have created a Scatter Graph in Web Dynpro for Java.
    The xValue and yValue are obtained from a node. We are showing a name as the label on each point so plotted on the graph through Chart Designer (Format->$Label).
    The issue we are facing is:
    We have 3 points with the same xValue and yValue. Meaning they plot the same point on the graph. But the name associated with each is different. These names are overlapping (as its the same point on the graph) and are hence not readable.
    Is there any way in which we can show multiple names/labels on the same point in a readable way?
    Is it possible for us to show a tool tip at each point where the tool tip contains the comma seperated names/labels associated with all the x and yValues at that point?

    Hi,
    there's no automatic mechanism for detecting such label collisions in the scatter chart. However, you can change the position of each label (HorizontalPosition, VerticalPosition) and use point customizing to position several labels around this single point.
    Regards, Kai

  • Direct link to Web Dynpro for ABAP

    Hey everyone,
    I created a web dynpro    for ABAP    application that will list out all the work items for the purchase requisition approval through workflow. I want to be able to have our higher ups be able to access this through our portal. I created an iView    that works and calls the application just fine.  What I want to do now is provide a link in an email to these people so they will be able to log into the portal and go directly to the application (just the application not portal wrapper around it at all) and only the application.  I can't provide a directly link to the WDA app since, I think, it would be to the ECC server and not the portal one.
    I have tried Quick Links but that isn't what I want.
    I did try to put a pcd location link
    http://<server>:<port>/irj/servlet/prt/portal/prtroot/<pcd location>
    but I get an internal error because it's trying to do an anonymous login and I want the login screen to show up first.
    HELP!!!!!
    Thanks,
    Archie

    The PCD path of the portal object is the Navigation target.
    http:/myServer:50000/irj/portal?NavigationTarget=ROLES://portal_content/myFolder/myRole
    This can be hashed and shortened to form the Short URL as shown below
    http:/myServer:50000/irj/portal?NavigationTarget=navurl://b3d6d9ebac16a46574d62757803b05d4
    Short URL can be enabled and disabled depending upon the requirements.
    Check the links below for detail description to enable short URL:
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/43/014421d21d6fade10000000a11466f/frameset.htm
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/49/330b66fd695aa8e10000000a42189d/frameset.htm
    NavigationTarget generally shows all the portal roles with the specific object highlighted.
    In the sense it takes you to that Object with the portal header and TLN.
    If your requirement is not to show header and TLN,then try adding &NavMode=3 to the NavigationTarget url you are using as below
    http://<server>.<port>/irj/portal?NavigationTarget=ROLES://<PCD path of object>&NavMode=3
    I( made some testes here, and works fine for worksets and roles.
    Hope it Helps.
    Fabio Sarmento

  • Call back-end report from Web Dynpro for ABAP

    Hi Experts,
    I have an web dynpro for abap application, I put it into an iView. I also have a report which have selection screen and ALV display in back-end. Now I would like to call the report from the web dynpro application and display it in the web.
    What steps need to be done to do it?
    Thanks,
    Anthony

    Anthony,
    you can create a custom transaction for your report "for example ZREPORT" and then create an IVIEW for ZREPORT.
    in your webdynpro you can create a button or link and in the action behind you can call OBN and pass the IVIEW parameters for the OBN call.
    OBN can be found in the webdynpro wizard tool.
    thanks!
    Jason PV

Maybe you are looking for

  • OES11SP1 LDAP issue on a node

    Hi, I have a 2 node cluster that we have upgraded from OES11 to OES11 sp1 at the beginning of august Last week we create a new ressource on the primary node (let's say NODE 1), but when we want to migrate this new ressource to the other node (let's s

  • How can I store my music files on an external hard drive and listen to them through iTunes that way?

    How can I store my music files on an external hard drive and listen to them through iTunes that way? At the moment they're both on the external hard drive and also stored on the computer but I'm quickly running out of memory on my iBook G4 so I'd lik

  • Why can't I change the color of an object?

    I am having trouble with the color brick. I can't change the color of an object, at least not like described here: http://http://thedigitalstory.com/2012/12/easily-color-changin.html. Some background: 1. I am working with RAW files. 2. I have RTFM. 3

  • Bbciplayer iPad ATV

    Can the bbciplayer be played back via Apple TV to my tv

  • Permission issue with external hard drive

    Hi, I have an external hard drive that has a bunch of video and audio files on it. Any time I try to open any file from the drive, regardless of file type, the application it's supposed to open it says it can open. Most of the people I have talked to