How to populate Reference Component inside an EBO/EBM

Hi All,
I have a requirement where I am getting multiple types of data, Worker and Job from a file. 1 Worker can have multiple Jobs. I am using SyncWorkerEBM to map this data. I am able to map all the fields related to Worker successfully but when it comes to mapping the Job data, there is a reference component present inside this EBM JobReference. But when I expand it I see only the Identification elements in this and no fields which are present in the actual Job EBO.
My question is how to populate the fields that are present in the referenced component (EBO) inside the single components?
It is something similar to populating ShipToPartyRefrence details coming inside the SalesOrder.
Regards,
Neeraj Sehgal

Hello all
as explained it is always better to use the BADIs. The Function modules are internally used (form the SAP perspective). If you perform later SAP updates/upgrades etc. you are on the save side if you use the BADIs and if you try to prepare an OSS you will be supported. If you try to prepare an OSS regarding the function module in most cases you will not be sucessful.
But may be take a look here:
BAPI_BUS1077_CHANGE and BAPI_BUS1077_DELETE for referenced data
and here
BAPI_BUS1077_CHANGE failling for identifier long texts
The use of the BAPIs is still not easy.
With best regards
C.B.
PS: take a look here may be:
http://richard-harper.me.uk/sfmdr_sitemap/fglists/groups/z1GY.html
or here
http://www.se80.co.uk/sapreports/r/rc1_/rc1_1077_bapi_example_change.htm
Edited by: Christoph Bergemann on Oct 2, 2010 5:16 PM
Edited by: Christoph Bergemann on Oct 2, 2010 5:19 PM
Edited by: Christoph Bergemann on Oct 2, 2010 5:20 PM

Similar Messages

  • How to populate a Table inside a structure?

    Hello,
    Im very new to ABAP and Im having a rather sily problem. I have a Structure (ZSHIPMENT) with one component (CASES) of the type Z_CASE_TABLE. Z_CASE_TABLE is a table with a line type of ZCASE_STR. ZCASE_STR is a Structure with one Component (CASE_ID) of type String.
    So ZSHIPMENT - ZCASE_TABLE - ZCASE_STR - CASE ID.
    I want to write some code to create this object and use it in a method.
    This is what Im trying:
    method TEST_02.
      DATA: Shipment TYPE ZSHIPMENT,
        case TYPE ZCASE_STR.
      case-case_id = 'case1'.
      INSERT case INTO Shipment-cases.
    endmethod.
    But I get this error: CASE is not an internal table - the "OCCURS n" specification is missing.
    Can someone give me a hint on how to populate my memory object?
    Ive tryed all shorts of things but I never get it to work.
    Thanks in advance.
    Gonso

    Ramiro,
    wow! you hit the nail in the head! The zshipment type was not active to its latets version. Thanks to the debugger I could see its real face.
    Thanks!!!!

  • How to populate list component via xml file?

    There is a TextArea component that should show the name and
    the description of the item selected in the list component. But I
    dont know how to populate list with external XML and what should be
    the coding in flash as well as what should be written in the XML.
    Please help.

    Here's an xml file listing a couple of brother comedy teams:
    <?xml version="1.0" encoding="UTF-8"?>
    <team>
    <brothers>
    <Marx>
    <name>Groucho</name>
    <name>Chico</name>
    <name>Harpo</name>
    <name>Zeppo</name>
    <name>Gummo</name>
    </Marx>
    <Howard>
    <name>Moe</name>
    <name>Curly</name>
    <name>Shemp</name>
    </Howard>
    </brothers>
    </team>
    Open a new .fla and save it in the same folder as the .xml
    file. Place a List Component on the Stage and name it (in this
    case, "comicTeams_list"). In the first frame write the following
    ActionScript:
    //create XML object and load external xml file
    var broList:XML = new XML();
    broList.ignoreWhite = true;
    broList.onLoad = processList; // this is a function that will
    be written below
    broList.load("populateList.xml");
    function processList(success:Boolean):Void{
    if(success){
    loadList();
    }else{
    trace("Load failure");
    function loadList():Void{
    var broName:String;
    var listEntries =
    broList.firstChild.childNodes[0].childNodes[0].childNodes.length;
    for(var i:Number = 0;i<listEntries;i++){
    broName =
    broList.firstChild.childNodes[0].childNodes[0].childNodes
    .childNodes[0].nodeValue;
    trace(broName);
    comicTeams_list.addItem(broName);
    //to make something happen when you click on a name in the
    List, create a Listener and function
    var broListListener:Object = new Object();
    broListListener.change = someAction; //"someAction" is a
    function to be written shortly
    //add the Listener to the List
    comicTeams_list.addEventListener("change", broListListener);
    function someAction(evtObj:Object):Void{
    var pickedBrother:String = evtObj.target.selectedItem.label;
    //write actions here, referencing pickedBrother variable
    The names of the Marx Brothers will appear in the box.
    This is written in AS2. When you post a question, it's a good
    idea include which version of ActionScript you're using.

  • How to populate Reference Tab of CG02 in ABAP?

    Hi,
    I need to know how to populate the RefSpec field under Reference Tab in CG02 from an ABAP program.
    I was able to populate the Identifiers tab and the physical/chemical properties using the FM C1E5_SUB_EXPERT_DATA_CHANGE.
    Can i populate the Reference tab using the same FM? if yes, which parameter/table should i pass the value.
    thanks.

    Hello all
    as explained it is always better to use the BADIs. The Function modules are internally used (form the SAP perspective). If you perform later SAP updates/upgrades etc. you are on the save side if you use the BADIs and if you try to prepare an OSS you will be supported. If you try to prepare an OSS regarding the function module in most cases you will not be sucessful.
    But may be take a look here:
    BAPI_BUS1077_CHANGE and BAPI_BUS1077_DELETE for referenced data
    and here
    BAPI_BUS1077_CHANGE failling for identifier long texts
    The use of the BAPIs is still not easy.
    With best regards
    C.B.
    PS: take a look here may be:
    http://richard-harper.me.uk/sfmdr_sitemap/fglists/groups/z1GY.html
    or here
    http://www.se80.co.uk/sapreports/r/rc1_/rc1_1077_bapi_example_change.htm
    Edited by: Christoph Bergemann on Oct 2, 2010 5:16 PM
    Edited by: Christoph Bergemann on Oct 2, 2010 5:19 PM
    Edited by: Christoph Bergemann on Oct 2, 2010 5:20 PM

  • How to find a component inside region at the bean level

    Hi,
    Am using JDEV 11.1.2.0.0 . As per requirement developing a sample to use keyboard shortcut .. Registered the keys combination in the js and added the respective client and server listeners. My requirement goes as follows..
    1. Have a .jspx page called -> HotKeys.jspx.
    2. In the .jspx page have a region called DepartmentTF -> Department.jsff that in turn holds the navigation buttons.
    First -> Ctrl + F
    Next -> Ctrl + N
    3.Having running the page , when i give Ctrl + N , it should identify the Next button and trigger the respective code..
    But the issue is how do i found the Next button component at bean level...
    Thanks and Regards,
    Vinitha G

    Hi,
    if the JSFF is always shown in the region, then you could access the button with the knowledge of the path it sits in
    1. find the regions
    RichRegion _region = uiViewRoot.findComponent("regionId");
    2.
    _region.findComponent("idOfNextButton");
    If you need this to be more dynamic, have a read here:
    http://www.oracle.com/technetwork/developer-tools/adf/downloads/58-optimizedadffacescomponentsearch-175858.pdf
    Frank

  • How Can i COM Component inside Applet.

    Hi All,
    I want to use a COM component which is calling C API's inside an Java applet. Is there any way i can load COM dll inside applet and directly calls COM's functions.
    Pls give your suggestions.

    One more thing i would like to mention, I go through Implementation of Java Native Interface(JNI) and i can call COM fns through it but it is a longer procees as i have to write stub functions for each API implemented in COM component. If in my COM component is having 100 API then i have to write 100 such functions in JNI..
    I think there should be direct method of calling COM API;s
    Any suggestions.

  • How to populate the time component of a cube?

    We have a question regarding how to populate the time component of a cube. Let me explain:
    We are using OWB 10gR2. We have created a cube with several dimensions. We are now building the mapping to load the cube. The cube operator has two columns for every dimension (e.g., "customer" and "customer_id" for the "customer" dimension).
    We understand that, in this case, "customer_id" stands for the dimension business key, so we create an arrow from the business key in the source table to the "customer_id" column in the cube operator.
    So far so good. The mapping works all right, and the cube is loaded correctly.
    Now we need to do the same for the time dimension. We have already created the time dimension and we have loaded it. We have also included it in the cube, so now we have two new columns in it: "time_day_code" and "time", both NUMBER data type.
    We have the "sale_date" column (DATE data type), in the source system and, of course, now we want to populate the date column in the cube. We suppose that, somehow, we have to translate the "sale_date" field into the numeric column of the surrogate key of the time dimension. How should do we do this? I suppose that OWB must do the translation for us, just as it does for the other dimensions, but how? We have been looking into the manuals, and we have found no explanation on how to go about this.
    Any help would be appreciated.
    Best regards
    Juan Algaba

    Hi Juan
    You are right this should have been in the manuals, checked and there is only a brief mention (Using a Time Dimension in a Cube Mapping section)
    The identifier format should have been documented for each level and will involve creating the formatted attribute for input to the cube operator's time dimension reference attribute.
    The time dimension business keys are stored as follows;
    Day Level - YYYYMMDD
    Month Level - YYYYMM
    Week Level - YYYYWW
    Quarter - YYYYQ
    Year - YYYY
    If you have a source that has a SQL date datatype for example and want to construct the key for a cube's time dimension at the day level something like the following expression can be used to construct the time reference from a SQL date...
    to_number(to_char( time_key, 'YYYYMMDD'))
    The result of this expression can be used as input to the cube's time dimension attribute.
    Cheers
    David

  • How to change the component styles (inside panelFormLayout.)

    Hello friends,
    Can anyone help me, How to change the component styles where components (af:inputtext) inside af:panelFormLayout.
    i changed all of the components one by one style, inlinestyle .. from the inspector. By result is nothing.
    how to extend blafplus-rich and override some of the components style?
    thanks for your helps

    thanks alright but i want to learn again after this.
    Which component has a content or border or how can i find list components attributes for change style?
    For example i want to change document content pane, what will i write to css. i am little knowledge about css.
    Thanks for help

  • Flex 4 tree component - how to populate using an array?

    It's unclear how to populate a tree control using an array as the dataprovider like you could in Flex 3.
    Here is a Flex 3 example. Even when I replace the mx:Object tags with fx:Object tags things don't work ... there seems to be no mx:children tag ...
    http://blog.flexexamples.com/2007/12/03/using-an-array-as-a-data-provider-in-a-flex-tree-c ontrol/
    Please advise.

    This should do it:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
            xmlns:s="library://ns.adobe.com/flex/spark"
            xmlns:mx="library://ns.adobe.com/flex/halo">
        <fx:Script>
            <![CDATA[
                private function tree_labelFunc(item:Object):String {
                    var suffix:String = "";
                    if (tree.dataDescriptor.hasChildren(item)) {
                        suffix = " (" + item.children.length + ")";
                    return item.name.toUpperCase() + suffix;
            ]]>
        </fx:Script>
        <fx:Declarations>
            <fx:Array id="arr">
                <fx:Object name="One">
                    <fx:children>
                        <fx:Array>
                            <fx:Object name="Two" />
                            <fx:Object name="Three" />
                            <fx:Object name="Four">
                                <fx:children>
                                    <fx:Array>
                                        <fx:Object name="Five" />
                                        <fx:Object name="Six" />
                                    </fx:Array>
                                </fx:children>
                            </fx:Object>
                            <fx:Object name="Seven">
                                <fx:children>
                                    <fx:Array>
                                        <fx:Object name="Eight" />
                                    </fx:Array>
                                </fx:children>
                            </fx:Object>
                            <fx:Object name="Nine" />
                        </fx:Array>
                    </fx:children>
                </fx:Object>
            </fx:Array>
        </fx:Declarations>
        <mx:Tree id="tree"
                dataProvider="{arr}"
                labelFunction="tree_labelFunc"
                width="200"
                horizontalCenter="0"
                verticalCenter="0" />
    </s:Application>
    Peter
    Update: I also posted the updated Spark example at http://blog.flexexamples.com/2007/12/03/using-an-array-as-a-data-provider-in-a-flex-tree-c ontrol/.

  • Calling a java webdynpro component inside a SAP Workflow

    Hi Experts ,
    Is it possible to call a java webdynpro component inside a SAP Workflow  from the task .
    If yes please let me the procedures .
    Regards
    Sarmistha

    Someone has posted this, Take a look if it helps you:
    "1. Activate your service in transaction SICF;
    2. Activate the WS_HANDLER in SICF (probably you have to do more in SICF, SAP notes will be given to you in your browser when you want to call the service);
    3. Make the correct settings in WF_HANDCUST;
    4. Do ofcourse SWU3 including webserver activities;
    5. Define how you want to call the service via WF_EXTSRV including parameters;
    6. Generate a task from your defined service in WF_EXTSRV;
    7. Incorporate this task in your workflow definition;
    8. Test your workflow. Here you probably get some errror messages that the service cannot be called by for instance inactive ICF services. Activate the correct paths in transaction SICF."
    Regards, IA
    <MODERATOR: For reference, that 'Someone' was Joost in [this thread|Re: Callback from WebDynpro to Workflow]>
    Edited by: Mike Pokraka on Jun 19, 2008 4:52 PM

  • How do a reference a container from one of its objects?

    If i have on object in a container, how do i reference the
    container from inside the object. For instance, if i have
    a textbox and i want it to change color depending on
    a value in the container, how do i get to the container.
    thanks for any help
    owen brandon

    If you are asking about AWT or Swing, the Component class has a getParent() method that returns a Container.

  • How can i reference a MIME object within a correspondence format through...

    how can i reference a MIME object within a correspondence format through TX oofo or se71?
    Hi, I need to put a MIME object within a correspondence's format that i've already done through Tx oofo. My problem is, that i don't know exactly how can i make the reference of that MIME object in the format? and What structure type do i have to use in order to make appear the MIME object in my correspondence's format? Does anybody can help me with this?   
    Regards    Hector

    Frank,
    I tried to find some examples/samples on how to create CollectionModel for a table component but not successful.
    Can you clarify the following ?
    1. "CollectionModel" is referenced only by af:table attributes "value", "selectedRowKeys" and "selectionListener".
    The rest of af:table attributes such as "rows", "fetchSize" used to reference the iterator binding in the binding container via the EL expression "#{bindings.VOIteratorBinding.xxx} .
    What should I replace that EL expression with?
    2. I heck out the bean method to create the CollectionModel as following, is it close to what you mean?
    public void initBusinessDataDashboardView() {
    OperationBinding operation = BeanUtils.getOperationBinding("getPanelBusinessData");
    Map params = operation.getParamsMap();
    Key panelKey = getPanelInfoView().getKey();
    params.put("panelKey", panelKey);
    params.put("maximizedView", false);
    panelView = (ViewObject)operation.execute();
    // Heck code to create CollectionModel
    RowSet rowSet = panelView.getRowSet();
    ArrayList rowList = new ArrayList();
    while (rowSet.hasNext()) {
    rowList.add(rowSet.next());
    model = new ChildPropertyTreeModel(rowList, null);
    // To be used to set up af:table value, selectRowKeys, selectionListener via EL expr #{backingBeanScope.MyBean.model.xxx}
    public CollectionModel getModel() {
    return model;
    Am I on the right track?
    Edited by: Pricilla on May 4, 2010 2:20 PM

  • How can I reference a winforms control using a variable in Powershell?

    I have a powershell winform that has a lot of text boxes, but for the sake of this post, lets say I have 5. I want to loop through the 5 text boxes to see if their text property is empty. If the textbox contains something, I want to add the text value to
    an array. Here's an example of what I'm trying to do.
    textbox1.text = "Red"
    textbox2.text = ""
    textbox3.text = "Blue"
    textbox4.text = ""
    textbox5.text = ""
    $MyArray = @()
    for ($i = 1; $i -le 5; $i++) {
    If ($textbox[$i].text -ne "") {
    $MyArray += $textbox[$i].text
    I realize the textbox object is not an array so this code will not work. I guess the simple question is, How can I reference a set of static controls using a variable without having to do something like this
    [object[]]$textboxes = New-Object System.Windows.Forms.TextBox
    For ($i = 1; $i -lt 5; $i++) {
    $textboxes += New-Object windows.forms.textbox
    $textboxes[$i].DataBindings.DefaultDataSourceUpdateMode = [System.Windows.Forms.DataSourceUpdateMode]::OnValidation
    $textboxes[$i].Name = $textboxes[$i]
    $BoxItems.Controls.Add($textboxes[$i])

    Hi D-Dub,
    here are two ways to retrieve the text value of $Textbox1:
    $Textbox1.Text
    (Get-Variable "Textbox1").Value.Text
    Now what could you do with the second way, inside a loop, I wonder ... ;)
    Cheers,
    Fred
    There's no place like 127.0.0.1

  • How to Use COM Component in a Java Bean

    Dear Sir,
    How can I use a COM Component in a Java-Bean . I am having a COM Component for reading Weighment Reading on a Serial Port and want to use this Component in a Java-Bean . I would also like to call the methods of this COM Component inside my Java-Bean . COM Component is a dll file .
    Please guide me how to go ahead . If possible kindly provide some sample code for the same .
    With Thanks and Regards
    B V Mittal

    You need a Java to COM bridge like Jacob. Try searching this forum for more information, I've answered this question several times before.
    Dom.

  • How to use CrossReference and DVM in ODI &how to populate data into Xref

    Can any one tell how to use Domain Value Maps and Cross Referencing in ODI?
    DVM or Domain Value Map are created and used in ESB console of SOA suite.
    My actual requirement is as follows:
    The below steps describe loading data from ERP Application 1 to ERP Application 2.
    1. The Source Application ERP APP1, populates the interface table using their native technology.
    2. A job scheduler invokes the Source side ODI Package.
    3. ODI then extracts the data from Source Interface table and populates the Target Interface table.
    4. After populating the Target interface table the ODI populates the X-ref table with App 1 ID and generated common ID.
    5. The ODI either deletes or updates the rows that were processed from the Source interface table.
    6. On the Target Application ERP APP2, the native application extracts data from target interface table and populates target database there by generating ERP Application 2 ID.
    7. A job scheduler on the Target application invokes the ODI package to populate the Application 2 ID onto the Xref table matching on the Common ID.
    I just want to know :
    1. How to populate data into the Xref table from Source datastore
    2. And if data is successfully laoded from target datastore to actual base table of target then how to populate the target id into the cross reference table.

    can anyone suggest me some answer, then it would be of great help?

Maybe you are looking for

  • I cannot sync my apps to my iphone 3gs

    i have a huge problem... i cannot seem to sync my apps to my iphone... the calendars and music and photos all sync properly except the apps... i also cannot check or click the sync apps in my itunes... this problem started when i transferred all my f

  • Pre-Order Question

    So I pre-ordered Titanfall for Xbox1, but I won't be in town when it comes out and one of my friends really wants to pick it up on the 11th at the midnight release. Is there any way to change the name on the pre-order, or would I have to cancel the o

  • Stock difference in MCHB & MARD

    Hi, I am seeing stock differnce between MCHB & MARD table. For a particular MM/plant, the stock does not show in MCHB but there are few stocks showing in MARD & MARC tables. All our stocks are batch managed. i checked there was nothing in transit for

  • What exactly does the global switch command line do ?

    Hello All Just foraging in the dark world of APP-V. I have a question which I cannot find answer for through google. There are powershell commands to publish an APP-V application globally. What exactly does the global switch do ? I understand it make

  • Business Process Procedures-Document

    Hi Guys, I am looking for Business Process Procedures document of QM. Is there any link where I can get the Business Process Procedures Normaly these documents are with Building block documents but for QM it is not available for any process other tha