Add an Embedded Component to a Existing Screen?

Is it possible to Add an Embedded Component to a Existing Screen?

Hi,
This is what I've done and it's working fine for me.
In EC, define a InPort and bind the ParameterName to your DataModel:
In my case, I use "accountorgoifeco.OIF.xuicomponent" to add into another tab my EC. Open it, and in the Extensibility Explorer, choose an available anchor and click in "Add view with Embedded Component".
Insert a name and choose your EC:
Then click on Bind button...
Select a Public outport  from the ByD screen and your previously defined Inport on your EC. Choose the parameter to bind and click Bind.
Save and Activate the ByD screen.
As you can see in the next screen, the parameter AccountID is passed to the EC.
I hope you find it useful.

Similar Messages

  • Add & use custom jars in "Java embedding" component

    I need to generate pdf file in process.
    So I included "Java embedding" component, and write my code. For clarity example:
    com.itextpdf.text.Document document = new com.itextpdf.text.Document( 
                        com.itextpdf.text.PageSize.A4, 50, 50, 50, 50); 
              try { 
                   com.itextpdf.text.pdf.PdfWriter pdf = com.itextpdf.text.pdf.PdfWriter 
                             .getInstance(document, new java.io.FileOutputStream("c:\\text.pdf")); 
                   document.open(); 
                   document.add(new com.itextpdf.text.Paragraph("This is test message")); 
                   catch (com.itextpdf.text.DocumentException de) { System.err.println(de.getMessage());  }
                   catch (Exception de) { System.err.println(de.getMessage());}
              document.close();Im using external jar file, of course I add it to classpath (right click soa project -> properties -> libraries and classpath ->add jar).
    But I get folowing error (no during compilation, but during deploying):
    Failed to compile bpel generated classes.
    failure to compile the generated BPEL classes for BPEL process "SimpleProcess" of composite "default/SOAProject!1.0*soa_9f8e80a4-346d-424e-9e12-1b69e2024e58"
    The class path setting is incorrect.
    Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
    [04:35:23 PM] Check server log for more details.
    [04:35:23 PM] Error deploying archive sca_SOAProject_rev1.0.jar to soa_server1 [[fe80:0:0:0:5968:cb45:2001:f6ce]:8001] 
    [04:35:23 PM] ####  Deployment incomplete.  ####
    [04:35:23 PM] Error deploying archive file:/C:/Projects/SOAProject/deploy/sca_SOAProject_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)where ist the problem???
    Edited by: user1175491 on Nov 2, 2010 4:39 PM

    Ajaykumar, can u please write me what exactly append to bpel:exec part (which classes include?)? it looks now:
    <bpelx:exec name="GeneratePDF" version="1.5" language="java">
    <![CDATA[
                  com.itextpdf.text.Document document = new com.itextpdf.text.Document(  
                        com.itextpdf.text.PageSize.A4, 50, 50, 50, 50);  
              try {  
                   com.itextpdf.text.pdf.PdfWriter pdf = com.itextpdf.text.pdf.PdfWriter  
                             .getInstance(document, new java.io.FileOutputStream("c:\\text.pdf"));  
                   document.open();  
                   document.add(new com.itextpdf.text.Paragraph("This is test message"));  
                   catch (com.itextpdf.text.DocumentException de) {System.err.println(de.getMessage());}
                   catch (java.lang.Exception de) {System.err.println(de.getMessage());}  
              document.close();]]>
    </bpelx:exec>Edited by: user1175491 on Nov 2, 2010 5:07 PM
    Edited by: user1175491 on Nov 2, 2010 5:08 PM

  • Add a new field to an existing Condition table

    How can I add a new field to an existing condition table?
    I have table 971 and I want to add INCOTERMS (INCO1) to this existing table but do not see how to add it.
    Thanks

    Hi Vicky,
        I dont think you can add new fields to the condition table once you have activated the condition table.
    SAP says you can only make limited changes to the condition table, like changing the description, fast entry screen, header and footer fields, but not able to add new fields to the table, and I think that is the correct approch or else for the same table you will have two sets of condition records.
    Please refer to the below link:
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/de/7a8534c960a134e10000009b38f83b/frameset.htm
    What you can do is create a new condition table with additional field and assign this table before the currently used table in the access sequence.
    Hope this helps.
    Regards
    Raj

  • Add a new button to BID Invitation screen

    Hi,
    How to Add a new button to Bid Invitation Screen in SRM?
    Thanks,
    Raveendra

    Hi
    Which SAP Version you are currently on ? What is the exact requirement ?
    If i understand you right, Incase you want to add a button to the existing screen template then it will require standard code change and also you need to plan out how will you will code the logic to activate the button.
    There is no BADI which can do this as this is not a SAP funtionality. You need to do a little bit of research on this to get the job done.
    Regards
    - Atul

  • SAP Cloud SDK : Make Display mode when open Embed Component in Account TI screen

    Hi Experts,
    I have created the custom business object and assign some fields into it.
    I have also assign some custom action into this custom business object. After that i have created the Embed component and and configured into Account_TI screen and its display data.
    Now when I open Any Account and go to that newly embed component in silverlight 2 options comes ( Save and Cancel ) to remove this options or to make display mode by default I have followed the below steps:
    1) Open Embed Component into UI designer.
    2) Go to Properties Window.
    3) In the top from the dropdown list select embed component.
    4) In the Property go to Configuration --> WorkProtectRelevant equal to false.
    5) After save and activate and check but still getting ( Save and Cancel ) option in embed component
    Is there any other solution or any other settings require to remove this ( Save and Cancel ) option.
    Regards,
    Mithun

    Hi Brad and Sumeet,
    Thanks for you reply on this post.
    In my requirement we do not want to save record anymore.
    Also my scenario : We have consuming the on-premise web service into c4c we have created the custom business object ( Not Screen) and based on this custom business object we have created the embed component and  design the screen to embed with Account_TI.
    We have Read the Account ID from Account _TI screen and assign to embed component element Alternative key AccountID.
    We have created of configured the embed component Inport to Read and Assign the Account ID as below:
    My Custom business object :
    businessobject ECC_recordBO {
      [AlternativeKey] [Label("Customer Number")] element AccountID : BusinessPartnerInternalID;
      element CtLimit : LANGUAGEINDEPENDENT_LONG_Text;
      element AvailCLimit : LANGUAGEINDEPENDENT_LONG_Text;
      element AccCurrency : CurrencyCode;
      action ViewAcc;
    My embed component InPort event :
    ReadEvent
    In ReadBOEvent I have add below actions:
    BO Operation
    Condition
    And under the condition I have use the below actions :
    To create BOOperation
    Second DataOperation as below :
    Assign AccountID from Account_TI to AccountID of embed component.
    Also once the user come into the Account_TI screen and go to embed component first its in display mode and when he click on any action under embed component its in edit mode but we do not want to save data anymore.
    Regards,
    Mithun

  • What happens if I make a picture album on my ipad or iPhone and then sync with my Mac? Will it add a new album to iPhoto on my Mac? Also, what will happen if I add pictures on my ipad to existing albums that I made in iPhoto on my Mac?

    What happens if I make a picture album on my ipad or iPhone and then sync with my Mac? Will it add a new album to iPhoto on my Mac? Also, what will happen if I add pictures on my ipad to existing albums that I made in iPhoto on my Mac?

    ubercoder wrote:
    So what I have gleemed from this thread - is that Apple will not help me if an iPad mini is dropped and the screen breaks.  I would have lived without the insurance if I could have simply bought a new screen and then had it replaced by Apple.
    On something so fragile I would have expected a piece of glass to be a replacement part. But I am glad I made this post because now I no for sure if I break the screen there is no way to have it fixed by Apple and keep it in Warranty.
    Yup, kind of like anything else you accidentally break that is more cost effective to replace than to repair. Keep that iPad away from the toddler

  • Need to add 2 new columns to the existing table control of C223 transaction

    Hi ABAP Gurus,
    I have to do a screen enhancement for transaction C223.
    Below is the requirement:
    need to add 2 new columns to the existing table control of C223 transaction.
    there is no customer exits, screen exit or user exit present for this transaction C223, i have found one enhancement spot for this transaction.
    i dont have any idea how to do this in standard transaction C223, the table control in C223 saves the data to MKAL table and the table control uses the structure MKAL_EXPAND in the screen program.
    i have created an append structure for  the 2 fields to the standard table MKAL.
    Can anyone please suggest me how this can be done in standard screen C223, will the enhancement spot can be used to do this....
    please sugest...
    Thanks & Regards

    Hi Santosh,
    Thanks for the reply. I have looked into this Enhancement Spot CPFX_SCREEN_SET , inside this there is only one method INPUT_DISABLED having below parameters
    IM_MKAL     Importing     Type     MKAL                                                                                Production Version
    EX_MSGID     Exporting     Type     SY-MSGID                                                                                Messages, Message
    EX_MSGTY     Exporting     Type     SY-MSGTY                                                                                Messages, Message
    EX_MSGNO     Exporting     Type     SY-MSGNO                                                                                Messages, Message
    EX_MSGV1     Exporting     Type     SY-MSGV1                                                                                Messages, Message
    EX_MSGV2     Exporting     Type     SY-MSGV2                                                                                Messages, Message
    EX_MSGV3     Exporting     Type     SY-MSGV3                                                                                Messages, Message
    EX_MSGV4     Exporting     Type     SY-MSGV4                                                                                Messages, Message
    EX_INPUT_DISABLE     Exporting     Type     CHAR1                                                                                Display Only if X Was Set
    the BADI definition present here is a SAP internal so we cant implement the BADI , but we can created a enhancement spot implementation for this. as per my understanding on this the enhancement spot is only for making the table control fields display / change .  i dont think this can be used to add two new coloumns to C223 table control.
    I am not sure thats why seeking your help/valuable sugestion on this.
    Please provide your sugestion on this , so that i can come to conclusion on this issue.
    Thanks & Regards
    Siddhartha Mishra

  • Change existing screen variants of certain z t-code.

    Hi,
    I have a zT-code  which has some existing screen variants , one of them is say z_2904.
    Now It is required to change one field in this screen variant z_2904 to display only.
    I can see the screen variant in SHD0 but the check boxes are in disabled mode.
    Please tell me how to change these fields to output mode in the variant.
    Thanks,
    Sucharita.

    hi....
    THIS IS TESTED PROCEDURE
    execute the program which is having varient...
    click on varient and get its value for scrren assignment....
    now edit the values accordingly with new values...
    now go to push button SCREEN ASSIGNMENT..
    now you will get an option to overwrite the varient..overwrite it.
    IN SHDO..you can add the varient after you have created it
    regards

  • How to add a phone number to an existing contact o...

    Hi all,
    Should be simple but apparently it is not: how to add a phone number to an existing contact on the E71 ?
    I can not believe Nokia made a mess out of such a simple, basic function!
    dovale 

    I just want to add another telephone number to an existing contact. I don't want to Add detail, Edit label, etc., just to add another telephone number! Simple.
    Apparently  the solution is this:
    On main screen write any number 0123456789 >> Press >> Option >> Save to Contacts >> Update Existing (Scroll or name your last saved contact or where you wanted to add new number) then save! 
    It is an amazingly anti intuitive and convoluted solution but I'm afraid that the entire UI of S60 3rd addition is one big UI mess!
    dovale 

  • Replacing an embedded component by another one

    Hi!
    I have created a WD component interface (let's name it INTERFACE) and I am using this in a main component (let's call it MAIN). Then I have two interface Implementations (many will follow), let's name them IMPL_1 and IMPL_2.
    In the MAIN-component I have an ViewcontainerUIElement, that is connected with the Usage of the interface. When the user clicks a button, a specific implementation - e.g. IMPL_1 should be embedded there. this works by calling CREATE_COMPONENT( 'IMPL_1' ).
    If the user clicks another button, another implementation of the interface should be shown there - so I remove the existing component via DELETE_COMPONENT and create the new one with CREATE_COMPONENT( 'IMPL_2' ).
    That does not throw any error, but the embedded view disappears and will never come back again.
    So my question is: what is the easiest way to replace an embedded component IMPL_1 with another one IMPL_2 - both implementing the same interface! This should be fairly simple, as I'm referencing just the interface in the MAIN-Component.
    Any hints? I'm just finding very difficult solutions with PREPARE_DYNAMIC_NAVIGATION and so on - but I don't want to recreat all Plug-Connections again as they have been connected in the designer using the interface-definition....
    Thanks in advance!
    TopperDEL

    Hi Robert,
    that sounds like a solution to my problem, yes. Unfortunately I'm not at that system until thuesday. But I will try this and post back what happened.
    But thanks so far for that hint! I think that'll work!
    Sincerely,
    TopperDEL

  • How to Add Shopping Cart items to an existing PO

    hai friends
    how to Add Shopping Cart items to an existing PO
    Regards
    Emil

    Hi,
    go to the Manage PurchaseOrder
    (BBP_POC) transaction.
    Then, I enter the "Item data" tab and I go to add shopping cart item part and click on "Start Search".
    I select one item in a shopping cart appearing in the screen and press "Add to Purchase Order" button.
    BR,
    Disha.
    Do reward points for useful answers.

  • PLz Help me its urgent, how to add new field in mm01 basic data screen

    Hi everyone,
         plz tell me how to add new field in mm01 basic data screen,i added that field in basic data screen but when i create a material the data for that field will not save in database table.
    Thanks,
    murali.

    Hi Murali,
    when created added a field on the screen by using user exit then after that you have add the field in main table where you will be getting these table in the userexit only, please make sure about this. And i am sure defenitly it will get updated in to the table.
    reward if useful.
    thanks
    abdulsamee.

  • HT5312 You never said how can i add a rescue email to my existing account

    You never said how can i add a rescue email to my existing account

    http://support.apple.com/kb/HT5312

  • How do you add an Airport Express to an existing Airport Express network

    how do you add an Airport Express to an existing Airport Express network

    I assume that you are interested in using the new Express to extend the wireless range of the other.
    If so, please check out the following Apple Support article.

  • How do you add a new icon to the home screen?

    How do you add a new icon to the home screen?

    The only new icons you can add to your home screen are webclips, which can be added by using the "+" button in safari on the desired web page.
    You won't be able to add new apps until February when the SDK is fully seeded to developers.

Maybe you are looking for

  • Illustrator and Photoshop CS2 have both suddenly "Quit Unexpectedly"

    I haven't upgraded because I've been comfortable using this version and didn't see any need to up grade. Until now. I called Adobe and was told that they won't support or gaurantee any of their product older than CS6. Any Ideas why they both suddenly

  • I can not write in file

    hi i use tomcat5.32 + cpanel . my code is : <% String path = application.getRealPath(""); path +="/as.txt" ; FileOutputStream fos = new FileOutputStream(path); fos.write("this is test ?".getBytes()); fos.flush(); fos.close(); %> when requested get th

  • Updating from 1.4.0 to 5.0

    Hi, I have been using version 1.4.0 that came with my Java book. I went to go get the latest Eclipse IDE and it said that it is compatible with versions of Java 1.4.1 and higher. I guess that it is not compatible with version 1.4.0. If I want to use

  • Organizational structure from one plan variant to another

    Hello, We want to make a copy of an organizational structure from one plan variant to another. This copy should include all      assignments like purchasing groups to organizational units made in PFOM . Can we do this? Thanks

  • Conflict between python-pyqt4 and python-pyqt5

    Hi! When trying to use matplotlib in the Spyder Python IDE I get the following error RuntimeError: the PyQt5.QtCore and PyQt4.QtCore modules both wrap the QObject class It's obviously a conflict between pyqt4 and pyqt5. However, pyqt4 is a hard depen