Item Details iView and Custom Event

Dear experts,
I need to implement a custom validation using a BAPI call to external R/3 system.
I am planning to use the Item Details custom event as a trigger for my custom web dynpro and have my BAPI call there. My question is, can I do that? The reason I'm asking is because the event says it's a post-save-event. What I need to do is to prevent the actual Saving and display an error message if the
BAPI call returns "false".
Thanks for your help,
Boris

I see that there are too many answers to this thread
OK, here is how we solved the issue. We are subscribing in a custom Web Dynpro to the Post-save-event of the Item Details iView and we are performing the BAPI call.
Based on the result of the call we are setting a flag on the record and this flag is used as a syndication block.
Hope that helps someone ...
Boris

Similar Messages

  • Using externalRequestEvent with Item Details iView

    Hi gurus,
    I am using the Item Details iView and calling it with syntax like that:
    externalRequestEvent=com.sap.pct.mdm.appl.masteriviews.events.externals.SetSelectedIdHandler&id=
    I have the Item Details iView showing up correctly, but I have to click on the Edit button to change the rocord.
    Is there any way that it directly goes to Edit mode when the Item Details iView gets open? An option perhaps?
    Thanks,
    Boris

    Hi Raags,
    Even I am trying to implement the same example. I have created the MDM Item Details iView in one of the PCD folders. But I am not sure how to extract the URL for the same to use it in my webdynpro code. Can you please advise me how get the URL for the iView? How did you construct this long URL?
    Your help would be greately appreciated.
    thanks
    SBK

  • Custom Event Trigger from MDM Item Detail Iview

    Hello,
    We are using EP 7.0 EHP 1, MDM 7.1 SP04.
    EP & MDM trusted connection is activated.
    We want to trigger UWL iview once record is saved from MDM Item Detail
    Iview.
    Following steps are performed but still no results were observed.
    --> Open Item Detail Iview
    --> Click on Custom Details
    Enter Following Details:
    Custom Event Name: UWL
    Event Type: EPCF POST SAVE EVENT
    Target (URL or Event Name): http:/<portalURL>:<port>/UWL/
    Namespace: urn:com.sap.netweaver.bc.uwl.ui.UWL
    Parameter Format: Standard
    Quick Link name to uwl iview is stored in project folder is given as
    "UWL" and hence target url is http:/<portalURL>:<port>/UWL/
    Could you pl guide us on what settings are missed??
    Supporting Link used:
    http://help.sap.com/saphelp_mdm550/helpdata/en/45/c89e544c52570be10000000
    a114a6b/frameset.htm
    Regards,
    Purav

    Please check out below link. It might be of some use.
    [http://help.sap.com/saphelp_mdm550/helpdata/en/45/c87d0243e56f75e10000000a1553f6/frameset.htm]
    (Go to Configuring Data Exchange)
    Regards,
    Abhijeet

  • MDM 7.1 Business Package -- Item Details iView eventing

    We are using MDM 7.1 Business package in portal. We have requirement where we need to make the fields clickable /mouse over on the item details iView so that when the user clicks/mouse over on the field it should popsup a custom webdynpro application. I was checking the business package documentation and it seems there is only one epcf event for post save which can trigger custom webdynpro when user clicks save button but nothing else on field levels. Can anybody shed some light on this. Any other approach other than custom development of whole details view?
    Thanks

    Any ideas on this?

  • MDM Item Details iView modification

    Hello,
    We have a requirement to implement custom functionality for some of the fields when using the standard Item Details iView. Is there a way to do the following:
    Currently the field in question has a popup functionality that is standard for the iView.
    Instead of this popup we need to have our custom WebDynpro iView show up and integrate it to the calling main Item Details iView. In other words, we need to replace the standard popup for a field with our own custom popup.
    Keep in mind that we are using MDM 5.5 SP05 where Item Details iView does not support custom eventing.
    Thanks in advance,
    Boris

    Hi Jitesh,
    Thank you for your answer. You are right, in order to have custom eventing with Item Details iView I need to have at least SP06 and this is one of the restrictions we are facing.
    Although our servers for the project are SP05, I have a local trial copy of SP06 on my PC and I have to say that it still doesn't give me the flexibility that I need. The Item Details iView can trigger the event only upon Saving. In other words, there is no custom eventing on click of a popup or anything else. The purpose of this custom eventing is to only give the ability to do additional custom validations.
    Thanks again,
    Boris Todorov

  • Reg: About Item details iview

    HI,
    I have a MDM item details iview. When i choose edit button, create is getting disabled. Actually i want to create a new record by editing some fields of the existing record. How can i do this customisation.
    Thanks,
    Prasanthi.

    Hi,
    Please clarify on following points to answer your query regarding MDM item details iview:
    a) Is it standard SAP content?
    b) create is getting disabled - Is create button visible for you or not visible to anybody? If not, check in PCD what are the authorizations required
    c) customisation - What do you mean by this?
    If you want to create custom details screen, it is possible. Steps to be followed for this :
    i) Go to result set view of the respective entity
    ii) create 'on row select' event and pass id through the event
    iii) subscribe to the event in your custom developed application
    iv) capture the id and fetch the data from MDM based on data fetched
    regards,
    ganga

  • Standard iview and custom iview

    Hi,
    Have any one tried developing a custome MDM iview which displays the record details on click of a record in standard Result Set iview?
    There is a section in portal content development guide called "Configuring Data Exchange (Eventing)" which deals with this scenario.
    Please share your experience on the integration of Standard iview and custom iview.
    I have already gone through the sdn article on "Integrating MDM Item Details iView into a WebDynpro Application".
    Thanks and best regards,
    Arun prabhu S

    Custom Event Name - EPCFgetRecordByIds
    Any name will do here, so this is fine
    Event Type - EPCF ; Record Event
    Correct again
    Target (URL or Event Name) - getRecordByIds
    Again,... Any name will do here (this is what you will use in the wdDoInit to subscribe to)
    Namespace - urn:com.sap.pct.mdm.appl.masteriviews (?. not sure abt this)
    Though it should not cause an issue I would use something else, this might interfere with the standard iViews events (though they will probably have different event names). You should be able to just come up with your own namespace here
    Auto-Fire on Row Select - Yes
    Correct
    Parameter Format - Standard
    Correct
    Mapped Field - Record ID
    Here you select all fields you like to know the values of in the action-method of your webdynpro. Most likely this is record id or some other unique identifier of the record.
    Parameter name - ?
    Just give any parameter name. You will use this name to find that specific parameter in the string of your action method.
    I want the MDM record id of the selected record as an input.
    This is in the string if you configured the iView as above. Just print it to the screen on the action method.
    Can you please help me tell me how the record id gets passed from standard iview to custom iview?
    That should already happen by the subscribing to the event you did in the wdDoInit. Welcome to the wonderful world of eventing
    Jurjen

  • Display MDM key mapping information in EP Item Detail iViews

    Hi,
    in my repository I have the main table 'customer' including key mapping information for several client systems (master data consolidation scenario).
    The customer data is diplayerd in EP using the Item Details iView. I'd additionally like to display the key mapping information in Item Details iView, for example as a separate tabstrip. Is this feature already supported by the Item Details iView? How can I implement it?
    I'm using MDM 5.5 SP3 / EP6.0 SP14.
    Thanks in advance,
    Martin

    Hi Martin,
    Currently iView do not support the functionality to disply the key mapping information.
    Workaround I implemented is that, added a field "source system" to main table with type lookup. Added lookup table "source systems" with list of names of client systems. This helps user search data based on client system name.
    I hope this is helpful.
    Abhay

  • How to control lookup table's attributes using 'item details' iview???

    Hi Friends,
    Using 'Item Details' iview we have an option to edit, visible or non-visible. But there is no option to control visible, editable or non-editable at attribute level of the lookup table.
    Does any one know any solution for this scenario apart from custom development using Java Api.
    Thanks,
    Raghavendra

    Hi Raags,
    I know that, at moment, is not possible in MDM standard iView to control  visible, editable or non-editable at attribute level of the lookup table.
    May be it will be possible in the future. More flexibility you can obtain using Java API.
    Regards,
    Vito

  • Create/Edit button on Items Detail Iview very very slow

    Hi,
    I created a MDM resultset iview and MDM Item Details Iview for a very large table. When I click on the create or edit button on the Item Details iview, it keeps running and never finishes. This table has many fields and has many records but on the iview itself I am just displaying not more than 10 fields.
    When I created an item details iview for another small table, I can create and edit the records in no time. But for the above table, it takes for ever to Edit/Create.
    Can anybody tell me what the issue could be?
    Thanks
    MLS

    Hi Laxmi,
    The portal is just the front end replicating the processes of the backend system in your case the MDM system.
    Using the MDM repository with large number of records will cause a delay in creting or editing or even selcting records when operatings these functions from the MDM Data manger it self.
    In that case EP is just replicating this issue on the front end.
    As you have rightly mentioned that for smaller number of records in the MDM rep the function swork faster.It clearly indicates that even if you select less number of fields to be displayed on the front end,the backend still contains the large set of fields which needs to be processed,and this consume stime.
    To fasten your process on both the backend end and the front end systems you need to correctly design the data model and the fields properties which will improve the performance.
    You can refer the below link to better design your MDM data model:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/eb7447b1-0c01-0010-8d90-a2e004cad537
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • PJC and Custom Event

    I'm trying to create a Forms PJC which extends VTextField. The PJC should have the added feature to be able to set a limit on the time allowed to receive all input characters. This is to force the user to use other input devices than keyboard, such as card reader. By looking at the Forms demos I was able to make my PJC work, but it can't raise a custom event to notify Forms of the timeout. Only if I extend the generic class VBean can I raise a custom event (dispatchCustomEvent). I have tried to use the VBean as a wrapper for a VTextField but it does not look and act like a textfield anymore. The timeout and custom event works, but I can't get the input value from Forms. I have tried instantiating a VBean inside a VTextField to raise the custom event but it never reaches the Form. So what to do?
    But when I extend VBean instead of VTextField I have problems getting something which looks and acts like a textfield.

    Hello,
    +1. Complete Forms Solution described in the Dynamic poplist in a multi-record item. thread.+
    This solution is based on dynamic list population with appropriate predefined record group (the number of such predefined record groups could be rather big --> 1 Continents*Countries.+
    Record Groups can be totally dynamic, so you don't need to have them pre-existing at runtime.
    Francois

  • Cannot save data in item details iview (validations, calculation problem)

    Hello,
    I'm unable to save data in an item details iview. It complains about validations or calculated fields according to error message below.
    I am however able to save data directly in data manager and I have no automatic excutions (set to None) on my validations.
    So I guess I have to check calculations, or?
    #1.5#00144F1E87AC0066000000B1000059190004769A5679B69E#1256305154700#com.sap.pct.mdm.appl.masteriviews.ItemDetails$ItemDetailsDynPage#sap.com/irj#com.sap.pct.mdm.appl.masteriviews.ItemDetails$ItemDetailsDynPage#MDO1#41676##gcomdev_GEQ_35915650#MDO1#720b5f90bfd911de9b3100144f1e87ac#SAPEngine_Application_Thread[impl:3]_33##0#0#Error#1#/System/Server#Java###taxonomies has invalid elements<fieldNameenabledpriorityfieldName1enabled1~priority1...>##
    #1.5#00144F1E87AC005D000001F2000059190004769A74192B38#1256305651690#System.err#sap.com/irj#System.err#MDO1#41676##gcomdev_GEQ_35915650#MDO1#748f4b50bfd911deacb000144f1e87ac#SAPEngine_Application_Thread[impl:3]_8##0#0#Error##Plain###com.sap.mdm.commands.CommandException: com.sap.mdm.internal.protocol.manual.ServerException: A runtime error occured while evaluating an Validation or calculated field#
    #1.5#00144F1E87AC005D000001F3000059190004769A74194266#1256305651696#System.err#sap.com/irj#System.err#MDO1#41676##gcomdev_GEQ_35915650#MDO1#748f4b50bfd911deacb000144f1e87ac#SAPEngine_Application_Thread[impl:3]_8##0#0#Error##Plain###     at com.sap.mdm.validation.commands.ValidateNewRecordValuesCommand.execute(ValidateNewRecordValuesCommand.java:121)#
    #1.5#00144F1E87AC005D000001F4000059190004769A7419431A#1256305651696#System.err#sap.com/irj#System.err#MDO1#41676##gcomdev_GEQ_35915650#MDO1#748f4b50bfd911deacb000144f1e87ac#SAPEngine_Application_Thread[impl:3]_8##0#0#Error##Plain###     at com.sap.mdm.admin.utils.MdmUserCommandUtils.validateNewRecord(MdmUserCommandUtils.java:321)#
    #1.5#00144F1E87AC005D000001F5000059190004769A741943B5#1256305651696#System.err#sap.com/irj#System.err#MDO1#41676##gcomdev_GEQ_35915650#MDO1#748f4b50bfd911deacb000144f1e87ac#SAPEngine_Application_Thread[impl:3]_8##0#0#Error##Plain###     at com.sap.pct.mdm.appl.web.ValidationService.execute(ValidationService.java:73)#
    #1.5#00144F1E87AC005D000001F6000059190004769A741944DC#1256305651696#System.err#sap.com/irj#System.err#MDO1#41676##gcomdev_GEQ_35915650#MDO1#748f4b50bfd911deacb000144f1e87ac#SAPEngine_Application_Thread[impl:3]_8##0#0#Error##Plain###     at com.sap.pct.mdm.appl.web.Record.update(Record.java:2009)#
    #1.5#00144F1E87AC005D000001F7000059190004769A74194574#1256305651696#System.err#sap.com/irj#System.err#MDO1#41676##gcomdev_GEQ_35915650#MDO1#748f4b50bfd911deacb000144f1e87ac#SAPEngine_Application_Thread[impl:3]_8##0#0#Error##Plain###     at com.sap.pct.mdm.appl.masteriviews.ItemDetails$ItemDetailsDynPage.saveRecord(ItemDetails.java:2139)#
    #1.5#00144F1E87AC005D000001F8000059190004769A7419460F#1256305651697#System.err#sap.com/irj#System.err#MDO1#41676##gcomdev_GEQ_35915650#MDO1#748f4b50bfd911deacb000144f1e87ac#SAPEngine_Application_Thread[impl:3]_8##0#0#Error##Plain###     at com.sap.pct.mdm.appl.masteriviews.ItemDetails$ItemDetailsDynPage.onSaveRecord(ItemDetails.java:1920)#
    #1.5#00144F1E87AC005D000001F9000059190004769A741946AA#1256305651697#System.err#sap.com/irj#System.err#MDO1#41676##gcomdev_GEQ_35915650#MDO1#748f4b50bfd911deacb000144f1e87ac#SAPEngine_Application_Thread[impl:3]_8##0#0#Error##Plain###     at com.sap.pct.mdm.appl.masteriviews.ItemDetails$ItemDetailsDynPage.onSaveRecord(ItemDetails.java:1828)#

    Hi Olof,
    From the error message, it seems that the new created record is " Failing a Validation".
    From the Data Manager you can save a record , when automatic executions set to None.
    But the same will fail when it is added to a validation group and that group is used in the Item Details Iview while creating a record.
    Please update the status.
    Regards,
    Nimal

  • MDM Log / EPCF Eventing in Result and Item Details Iview

    Hi,
    I have EP7 with SP15 and MDM 6.0, recently upgraded. Before upgrade we have an application which uses the MDM iviews and maps the fields of one table to other and displays in some other iview.
    The application was working fine before upgrade of MDM. But after upgrade, the mapping seems not working.
    My scenario is as : Using MDM Search iview, I search records from MDM repository, Main Table. This result is displayed in MDM Result iview. From this result iview, I select a record. From this selected record, a field is mapped to the other table. The mapped record, then, is displayed in MDM Details Iview.
    After MDM upgrade, whenever we select a record from the result of table 1,the mapped iview throws erros :
    Error occurred: Error performing search. com.sap.mdm.internal.protocol.manual.ServerException: Illegal value for parameter, com.sap.mdm.internal.protocol.manual.ServerException: Illegal value for parameter (see log for details)
    when serached log : Key is not found in table:<Table1>-KeyMappings it may have been deleted or renamed, please use editor to fix the problem##
    We have used EPCF eventing for MDM iviews.
    I have written some code to check the values passed from Result Iview and seen that the values are being passed correctly...Now think, i should also have a check in MDM how the values are recieved and mapped...
    Any idea how I can use MDM log service to do this? Or any idea how I can enable MDM log to monitor what comes in and what goes out?
    has anyone out there faced same issue ?
    Please let me know your views.
    Regards,
    Abhijeet

    Solved at my own. The MDM SP6 needs the subtable key field to be TEXT type.

  • WebDynpro iViews and Portal Eventing

    Hi All,
    I am planning to prepare a proof of concept with following requirements.Can you please give me hints and resources to prepare this in 2 days?
    1)Interaction between iViews using EP eventing.
    2)Exploring how and what kind of data can be passed from one iView to the another (String , Java Objects etc)
    3)Keeping track of various events of EP especially finding out if we can track when the user session is invalidated by the Portal so that we can free objects from memory.
    4)The sample code should have 2 to 3 iViews interacting with each other and passing data.With detailed description of each steps from coding till deployment to the EP.
    Thanks & Regards,

    Hi Noaman,
    You can use EPCM for eventing between iviews in portal. Also we can use the same for communication between Webdynpro and EP applications.
    You can pass parameters using client data bag. The code for sender ....
    var an='Hello';
    EPCM.storeClientData("urn:namesapce","key",an);
    EPCM.raiseEvent("urn:namesapce","eventname");
    Code at the reciver....
    function fn_selection()
    var info=EPCM.loadClientData("urn:namesapce","key");
    document.myform.name.value=info;
    EPCM.subscribeEvent("urn:namesapce","eventname",fn_selection);
    This is the javascript code for triggering and subscribing  events in between iviews.
    Hope this Helps
    gEorgE

  • Item Details iView on Open/Object crashes with Portal Runtime Error

    Hi there,
    I am getting a crash attempting to Open/Object on the Vendor / Item Details object or a delta linked iView or a full copy iView from that same source.  I can get data from the Repository with other iViews, ... But I can't get this particular iView to work. 
    2 entries in log as below.  Any ideas?
    Thanks,
    --Amy Smith
    --Haworth
    Argument Objs : com.sapportals.portal.prt.component.PortalComponentException:
    Error in service call of Portal Component
    Component : pcd:portal_content/com.sap.pct/specialist/com.sap.pct.mdm.appl.mdm_550/....
    com.sap.pct.mdm.appl.templates/com.sap.pct.mdm.appl.templates.iviews/...
    com.sap.pct.mdm.appl.item_details_editor
    Component class : com.sap.pct.mdm.tech.editors.ItemDetailsEditor
    User : WASE
    at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException
    (PortalRequestManager.java:973)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent
    (PortalRequestManager.java:343)
    Argument Objs : java.lang.NullPointerException
    at com.sap.pct.mdm.tech.editors.panes.ItemDetailsMainEditorPane.
    updateQualifierAndRelationshipList(ItemDetailsMainEditorPane.java:1351)
    at com.sap.pct.mdm.tech.editors.panes.ItemDetailsMainEditorPane.init
    (ItemDetailsMainEditorPane.java:1079)

    Work-around was to create a new iView from the template.  That works fine.
    --Amy

Maybe you are looking for

  • Can I use my creative cloud at another laptop?

    Can I use creative cloud at my another laptop? Recently, I bought a new laptop. So I want to use my current installed adobe products at my new laptop. How can I do this?

  • How can i install firefox 10 on a galaxy tab 10.1?

    I have firefox 10.0.5 on two galaxy tab 10.1, and would like to install it on 4 more tabs, but the current version of firefox is not compatable. How can I get firefox 10 on these newer devices. I is the most stable browser in spotty mobile coverage a

  • IMac G5 wont stay asleep

    I have just recently restored my iMac and am having the same issue with sleeping as I did last christmas when I got it; It wont stay asleep! I called AppleCare last year and they had me delete some com.autowake. something something in the system fold

  • Reading list issue

    Anyone having issues with their reading list (safari) ? Mine is doing funny things... ex. say I have 50 items in my reading list... they were all different when I added them but in the last few days -- they ALL become my most recent addition to the l

  • Having Trouble Installing Ubuntu Fonts

    Here's my console output: http://pastebin.com/MbeHpdES Yes, I did remove libxft cairo fontconfig freetype2 before attempting to install.  I just did a fresh install so maybe I forgot something because yesterday installing this worked fine Any suggest