Repopulating BOL Structure via ONSELECT Event

Hello.  I have searched the forums and could not find an answer.  We currently use WebIC and have a screen where the CSRs can add and remove addresses (related to the business partner).  A change was requested to add a phone number table to this screen so that phone numbers for each address can be maintained (since phone numbers are tied to the address).  Addresses are one BOL structure and phone numbers are a different BOL structure.  Basically what I am trying to accomplish is, when an address is selected, the phone number BOL structure is repopulated with phone numbers associated with that address and the view is refreshed to show those phone numbers.  I am not sure if this is even possible but wanted to ask.  The CSR can then add, change, or remove phone numbers and when they hit SAVE, the data should be replicated back to ECC.  Has anyone done anything similar to this or know how to accomplish this (or is this even possible)?  Thanks for any assistance.

Kevin, what you are asking is very much possible and is infact delivered by the standard solution. In the BOL model, an address is a parent entity, and the phone numbers are children entities of the addr. There is also a 1:n relationship between them, which means that an address can have multiple phone numbers.
However, if your requirement is that the phone numbers be directly maintainable, instead of going through an address, you might have to do a bit of tweaking where the phone numbers are created corresponding to the standard addresses. This will need a development effort, but it can be done.
Cheers,
Sid.

Similar Messages

  • Calling an event structure via a LED?

    Can I call a case in an eventstructure via the value change of a LED?
    The reason for this is the following:
    In my VI is a xy graph and the update of the dispaly and the x-scale takes a lot of time, so I would like to do the update outside of my main-loop to avoid that other processes get delayed. The attached VI is just an example.
    (In my real VI, I have a consumer and producer loop and lots of data processing, so in that case the disply update should not interrupt the data processing.)
    I tried to put the x-scale update in the event structure and call the event structure via the change of a boolean value, but that does not work. The event is not recognised and the x-scale does not change.
    Johannes
    LabVIEW 7.1
    Message Edited by johanneshoer on 11-11-2009 08:20 AM
    Greetings Johannes
    Using LabVIEW 7.1 and 2009 recently
    Attachments:
    Chart Test 16.vi ‏146 KB

    johanneshoer wrote:
    I don't understand. What do you mean by "resize index array"?
    Here's one example. Your code is on the left and uses two "index array" nodes. All you need is one, configured for two outputs.
    Also, of you want consecutive indices, starting at zero, you don't need to wire the index inputs.
    An alternative is shown on the right.
    Message Edited by altenbach on 11-11-2009 12:06 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    resizeindex.png ‏7 KB

  • How to create new bol structure for custom ztable.

    Hi gurus,
    I am new to SAP CRM 2007. I have a requirement in which I need to create a view which will retreive data from my custom z table. But when you create a view , the wizard ask for Model nodes and, Bol entity, Bol relation etc. Kindly let me know what data I need to enter here so that I can relate to my custom table. I think I need to create a bol structure for my ztable. Kindly guide me in this regard.
    Thanks & Regards,
      Sanjay

    I would recommend to rather use an encapsulation of the ztable into BOL than just trying to work with value nodes because it heavily simplifies building of the UI and code to load, edit and save.
    In order to achieve this you would either have to build a genIL component and assign it to the BOL component set addressed in the runtime repository of the UI component to make it available on the UI layer.
    If your table is very simple and does not require relations etc. you might save some work using the approach via "Simple Objects" concept of BOL which provides a pretty generic impelmentation that requires much less code and deep understanding of the BOL/ genIL.
    Pleasse refer to the respective IMG node under
    Customer Relationship Management -> CRM Cross-Application Components -> Generic Interaction Layer/ Business Object Layer -> Component-specific Settings
    Hope this helps.
    Peter

  • OnSelect event for a Drop down UI Element in Webdynpro ABAP Select Options

    Hi Experts
    We have built our UI based on the webdynpro ABAP Select Options. We have a requirement that, when we change the value of a drop down box in the UI, I need to hide some fields. Can anybody help me out in handling of OnSelect event of a drop down box built using webdynpro ABAP Select Options. We are on SAP Netweaver 7.0 EHP1.
    Rrgards,
    Srikanth.
    Edited by: Srikanth Kancherla on Apr 29, 2010 10:43 PM

    Hi Srikanth,
    as you seem to be already aware, the component is dynamically built.
    so you would have to enhance the code that builds the element and insert a reference to a new action (enhancement) that could handle the onSelect event.
    What is it about this that you particularly want help with?
    Cheers,
    Chris

  • Problem with onSelect event for DropdownbyIndex in the IView

    Hello ,
    I have an webdynpro for java application where I am using Dropdownby Index. I have associated onSelect event for the dropdown by index. When I launch the application in the standalone mode ( direct application launch) every thing works fine. The onSelect event for the dropdown is also working fine.
    I have made an Iview of the webdynpro application. Here on select of the dropdown box  I am getting a java script error "Access Denied". Please can you suggest me how do I correct this strange problem .
    I have developed the webdynpro application in NW640 SP15 .
    Thanks in advance for the help
    V Vinay

    Hi Vinay,
    Does the portal and the application inside of the iView run both on HTTP or HTTPs? Mixing them is not possible.
    Best regards,
    Thomas

  • Can I use an event structure within another event structure

    Hi
    Can use an event structure within another event structure?
    Thanks
    Yasamin
    Solved!
    Go to Solution.

    I attached my Vi from my old project (MY OLD VI). It is worked correctly.
    But I decided that use event structure instead of case structure.
    I attached my new VI as a picture and as a LabVIEW VI too (network_analyzer_8510_920527 Frequency Sweep.vi )
    My graphs show by pressing "case 5: button (Bottom of page right hand).
    Then I want to show each of graph in a large window( in a new VI) by clicking a key (for example "show 1").
    Thanks
    Yasamin
    Attachments:
    my VI.JPG ‏256 KB
    network_analyzer_8510_920527 Frequency Sweep.vi ‏72 KB
    MY OLD VI.vi ‏69 KB

  • Event structure: have one event trigger another event

    I have an event structure with two events. I want the finalization of the first event to trigger the second event. Both events are triggered by a boolean value change, say "boolean 1" and "boolean 2". Can I have a local variable of boolean 2 inside event 1. By changing its value, it should trigger event 2. However, this doesn't seem to be working. (see attached example)
    any help?
    Solved!
    Go to Solution.
    Attachments:
    test.vi ‏9 KB

    Tim's reply is the answer you are looking for.
    I would like suggest that you create a sub-VI that doesw the work in the second event you want to fire so tht rather than resorting to having one event trigger another, you can simply use the sub-VI that does the work in event_2 after the sub-VI that does the work for event_1.
    If you decide to stick one event triggering another, please clearly document the sceme in BOTH events. What you want to avoid is latter deciding event_1 should be triggered by Event_2 and the next thing you know, your app hangs.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Populating custom tables via Table Events.

    Hi  ,
    I have a ztable having the following fields:
    MANDT
    FAREA
    REVID
    NAME
    EMAIL
    Out of this fields I need to populate the field REVID  and EMAIL from two standard table USR21 and ADR6.
    Like if I  enter user id and hit enter  tab, then the fields like  email address will automatically be fetched from given tables and populated
    I found that via tablemaintenance --> events this can be done.
    Can you please suggest as to how to proceed with the coding...do I have to use Select from those standard tables and then pass it to the ztable.
    Please help.
    Thanks,
    Suchi.

    I have created  a event via the table maintenance generator-environment events.
    I have used 05-- create new entry as the event code and inserted the following code :
    FORM zat_newentry.
      TYPES : BEGIN OF ty_requester,
              bname      TYPE usr21-bname ,
              persnumber TYPE usr21-persnumber,
              addrnumber TYPE usr21-addrnumber,
              END OF ty_requester,
              BEGIN OF ty_addreq,
              persnumber TYPE adr6-persnumber,
              addrnumber TYPE adr6-addrnumber,
              smtp_addr TYPE adr6-smtp_addr,
              END OF ty_addreq.
      DATA : i_requester TYPE STANDARD TABLE OF ty_requester WITH HEADER LINE,
             i_addreq TYPE STANDARD TABLE OF ty_addreq WITH HEADER LINE.
      SELECT bname
             persnumber
             addrnumber
             FROM usr21
        INTO TABLE i_requester
        WHERE bname = zinf_reviewer-rev.
      IF i_requester[] IS NOT INITIAL.
        SELECT persnumber
               addrnumber
               smtp_addr
               FROM adr6
               INTO TABLE i_addreq
               FOR ALL ENTRIES IN i_requester
               WHERE persnumber = i_requester-persnumber
               AND addrnumber = i_requester-addrnumber .
      ENDIF.
      zinf_reviewer-rev = i_requester-bname.
      zinf_reviewer-email = i_addreq-smtp_addr.
    endform.
    But while trying to create a new entry I am getting the error message saying : "An entry with the key already exists".
    Please suggest.

  • Installing STRUCTURE via Terminal

    I am attempting to install the program STRUCTURE via Terminal. I have installed other programs via Terminal w/ no problems. However, I now get the line:
    mkdir: /usr/local/Structure/: Permission denied
    I tried going into the script and replacing /usr/local w/ my own directory info. Permission is then not denied, however, the installation fails. What am I doing wrong?

    If you're not using sudo when you're running the installer, you need to use it.
    (42847)

  • Obtaining target database via extended events

    I try to gather the database access via extended events.
    It is possible to query a database from a different context and most extended events I see return the context rather then the target database.
    For instance, using the event sp_statement_starting would return master as action databaseid for the following:
    use master
    select * from targetdb.dbo.mytable
    What would be a event candidate or action to obtain the target database, targetdb in this case, instead?
    For trace, the event 114, Audit Schema Object Access Event would do the job but it does not seem to exists in extended events.
    Note: this is sql server 2008 R2 standard so no audit and limitted extended events available.
    Thanks

    Hello Antoine
    always when trying to find out database access I advise using the most basic event that always has to occur for any database access which also cannot be circumvented: lock_aquired, specifically Shared Lock on Database level should help you
    Andreas Wolter (Blog |
    Twitter)
    MCSM: Microsoft Certified Solutions Master Data Platform, MCM, MVP
    www.SarpedonQualityLab.com |
    www.SQL-Server-Master-Class.com

  • Packet capture via 'show events alert' on 4.1(4)

    Grettings all. I have an IDSM2 running 4.1(4g). When looking at events via 'show events alert' I notice that some signatures have packet capture info, other do not. Trying to figure out what determines this??
    Example, Long SMTP Command(sigID 3109, subsigID 1) 'show events alert' has packet capture info. Looked at the following
    1.
    (config-vsc-virtualSensor)# SERVICE.SMTP
    (config-vsc-virtualSensor-SER)# show settings
    CapturePacket: False <defaulted>
    2.
    config-vsc-virtualSensor)# SERVICE.SMTP
    config-vsc-virtualSensor-SER)# signatures siGID 3109
    (config-vsc-virtualSensor-SER-sig)# show settings
    CapturePacket: False <defaulted>
    3.
    config-vsc-virtualSensor-SER)# signatures siGID 3109 subSig 1
    config-vsc-virtualSensor-SER-sig)# show settings
    CapturePacket: False <defaulted>
    =========
    Again...trying to determine where/how the option to get packet capture for this sigID is set. Thanks for any help.

    It looks like you are in the right place and checking the correct setting.
    Were the alerts you are looking at generated during a period of time that CapturePacket had been set to True? Changing this setting will only affect new alerts being generated, and not old alerts previously stored on the sensor.
    A few other things to check:
    Try executing "show conf" and look for any tunings on Sig 3109.
    There is a very small possibility of the config being out of sync. Doing a show conf should show you the config currently being used by the sensor.
    Execute "show events" and verify that the SigID is 3109 and the SubSig is 1 or 0. If it is another subsig like 2, then you will need to separately edit the settings for that subsig.
    Marco

  • Event structure mouse up event outside icon bounds

    I've just noticed that the 'mouse up' event only works if the mouse cursor remains hovering over the control panel icon associated with it.
    It's a problem for me because I have a slider bar which passes values (via an event queue, then RS232 to hardware) when the slider value changes. But that can generate lots of queued up serial writes if I slide quickly back and forth with the slider, so I use a mouse up event to flush the queue. It appears to work, but if I click and drag, sliding the cursor outside the slider bar area, it fails to recognise the mouse up event.   

    Hi Graham,
    Is it the default behaviour that the Mouse Up event only works while the mouse is above the control itself. If you want to have a slightly larger area, you can use the Mouse Up event of the Pane, and then check the co-ordinates of the mouse cursor before doing your processing.
    Regards,
    Imtiaz Chowdhury
    Head of Digital Technologies
    Brand786

  • OnSelect event in THTMLB ddlistbox

    Hi,
          I'm using the OnSelect event for the dropdownlistbox. However, after the eventhandler finishes, the listbox resets and goes to the initial value. The selected entry is not retained. All the rest of the fields in the page retain their values. Can anyone provide workaround for this?

    Peter,
           I have bound the selection attribute of the listbox to  a value attribute created under the context nodes. I have checked the value of this value attribute after selecting from the dropdown list. It is able to store the item selected and I'm able to populate other fields based on that. I can't understand why the listbox is reset. OnClientSelect has no issues, but I can't use that. I will have to use the debugger with some patience. Hey, thanks a lot. You've helped me out with other questions as well. I will check this out and award you points.
    Arun Prakash.
    Edited by: Arun Prakash Karuppanan on May 17, 2008 9:46 PM

  • How can I stop an event structure detecting keydown events until the vi has initialised?

    My application has a sequence structure with 3 frames. First one initialises some front pane objects and controls, the second communicates with an external device via a serial port to a start condition and waits for this to complete by polling the device. The third contains the event structure which reads the device when the spacebar is pressed. The problem is that any pressing of the spacebar when the application is in the first 2 frames of the secquence structure is stored and executed as soon as the third frame becomes active. I have tried using dynamic Event registration but to no avail. Am I doing something wrong? can the keyboard be disabled until the second frame complete
    s?

    I usually avoid sequence structures in favor of driving execution order through data dependency (error clusters are great for that). However, since you've already got one, you coul try to add another frame right before your event structure. In that frame, place another event structure that can trap that stray keyboard event. Put a tiny timeout value on it so it doesn't appear to "pause" your VI's response. That event structure will catch any bogus key presses that happen during initialization.
    Having said all that, I still think the behavior is not proper. The event should not be handled if it happened before your VI gets to the event structure. For now, you can try that workaround.
    Daniel L. Press
    PrimeTest Corp.
    www.primetest.com

  • Sending mail to a particular positon in org structure via workflow

    hi all
    i have a problem regarding sending mail to particular position in org structure on runtime execution  via workflow so that i neednt hard court the particular position
    to achieve this i am using expressions,first i have created a new container element and then i have used container operation like this:
    (lead.employee responsible.business partner= container element defined by me)
    when i first try to execute the workflow and test it ,in the container  i am getting the value of the container element in which i have the position where i have to send the mail.but inspite of value getting populated ,when i am using that container element to send mail like:
    expression: container element
    the mail is not send,when i checked the log it is mentioned that " you are not the authorised person to stsart the workflow and start failed" but workflow is still triggered and i am able to pass the object but not able to send the mail.
    please tell me is there any feasible way to achieve this,like rule or in my way how is it able to achieve
    detailed possible solution will really be appreciated.on thing we are working on CRM 5.0 standalone system
    full marks will be rewarded
    best regards
    ashish

    Hi,
    Follow this ,
    Goto PFTC -> Choose "Workflow Template" from the drop down -> Enter the workflow template id "123********" in the text box -> now click on "change" button -> Now goto the menu addional data -> agent assignment -> maintain -> select the task text -> and set it as general task.
    I guess you have done the same for the standard task TS*********** but failed to do it for the workflow template (WS123*************). Or have you done it already?
    Also once you make this change "Refresh your buffers" once before checking it out.
    Richard A

Maybe you are looking for