Populating 0-many complex type within another complex type

I have a process that is returning 'Person' types. These contain much info, from which, for each person I need to add only 3 node values to a 'member' type within an 'event' type.
The person types are all processed individually by separate user tasks.
Is addChildNode() the thing to be using here? Possibly with addElement()? I've looked in JDev at the descriptions of these functions, but to be honest they just confuse me more... it's been a long day... :D
Any help much appreciated,
Dan

If this Re: Joining two output tables in ONE table is for 7.2 still correct, the solution seems to be as there is no solution except handle it in the service itself

Similar Messages

  • Copy value of condition type to another condition type *Not Percentage*

    Hi SAP community!
    How can I copy the value of a condition type to another condition type in my pricing procedure?  The rules are that these conditions are not Percentage. The calculation type is Quantity for the two conditions.
    I want to copy the value of condition type PMIN (Minimum Price) to another Z condition type.
    Thank you all

    Hi Lakshmipathi;
    In fact, there are two Z conditions that I need to have with the same value of the PMIN. I 've maintained my pricing procedure this way:
    For the PMIN, the step is 320
    For the ZPV1, the step is 920 and I put in "From " field 320 and in the "To" field 320
    For the ZPV0, the steo is 925 and I put in "From " field 320  and in the "To" field 320
    But when I looked the Conditions Tab in the sales order there is no value copied to the Z conditions. 
    In order to do this, my Z conditions do not need an access sequence assigned, right?

  • How can i change a pdf file type to another file type

    how can i change a pdf file type to another file type

    You can copy the contents and paste it into a Word file. Just don't expect everything to transfer or to retain all of the formatting.

  • How to shift valuation class from one material type to another material type ?

    I have came across following weird scenario:
    We already created huge no.of materials of material type say ZABC with two valuation classes say 1100 and 1200(GL accounts for these VCs for different posting keys in OBYC settings are same). Account category reference for this material type is 0010.
    After that we created new material type say ZPQR  with new Account category reference 0025, and valuation class 1200 is linked with this ACR 0025. Because of this, valuation class 1200 disappeared from material type ZABC. In order to avoid inconsistency, we need to have valuation class 1200 linked with older material type i.e.ZABC.How we can do this ? What impacts must have happened in this period (from MM/FI) in the system, where valuation class get shifted from one material type(ZABC) to another material type(ZPQR)....please help us in this scenario.

    Thanks Sana,
    We are also looking for the solution provided by you i.e. reassign ACR 0010 to Valuation class 1200.
    Your are also correct in terms of  statement "config doesnt allow me to assign same valuation class to 2 different AREF (Account reference number/Account category reference).
    I wanted to know, what are the possible impacts in the system during this re-assignment of ACR to old material type ZABC.
    Regards,
    Sudarshan.

  • Settlement PM WO in Maintenance Activity Types (within a WO type)

    Dear PM master,
    i have a new requirement here, facing the issue in settlement rule (limiting and defaulting the specific maint act type to settlement receiver)
    I already set-up default settlement rule by Work Order type is a standard functionality, but my company implement new accounting standard, that a major repair overhaul and Turn around (major maintenance, with a huge cost), must be settle to a deferred cost (i.e. WBS).
    In My company business configuration, Work Order Turn around and Overhaul covered by maintenance activity type, which are linked by same WO type (preventive maintenance):
    WO type:
    PM02 (preventive maintenance), consists:
    Mtc. Act Type:
    001 (Turn around)
    002 (Overhaul)
    003 (Time Based)
    004 (condition based)
    005 (Plant Stop)
    Now i want to default the settlement rule, in that PM02 order type which is within maint act type '001' or '002' to WBS or other costing receiver. when others maintenance act type remain same (defaulted by configuration in settlement rule profile in WO type)...
    I just guessing, there will be a customer or user exit playing role in my case, but which one and how, that what i must figured it out.
    Please do me a favour.
    thanks

    OK....
    this will be my starting point to discuss with my ABAP team.
    looking forward to discuss the progress further more.
    thanks

  • Nested Type consisting another table type!

    Hi,
    How can I achieve below type declarations?
    TYPES:BEGIN OF ty_scarr,
            carrid    TYPE scarr-carrid,
            carrname  TYPE scarr-carrname,
            currcode  TYPE scarr-currcode,
          END OF ty_scarr,
          BEGIN OF ty_sflight,
            carrid TYPE sflight-carrid,
            connid TYPE sflight-connid,
            fldate TYPE sflight-fldate,
            price  TYPE sflight-price,
          END OF ty_sflight,
          tt_sflight TYPE STANDARD TABLE OF ty_sflight.
    TYPES:BEGIN OF ty_result.
            INCLUDE TYPE ty_scarr.
            TYPES: sflight_tab TYPE tt_sflight,
          END OF ty_result.
    The above results in syntax error however below one works:
    TYPES:BEGIN OF ty_scarr,
            carrid    TYPE scarr-carrid,
            carrname  TYPE scarr-carrname,
            currcode  TYPE scarr-currcode,
          END OF ty_scarr,
          BEGIN OF ty_sflight,
            carrid TYPE sflight-carrid,
            connid TYPE sflight-connid,
            fldate TYPE sflight-fldate,
            price  TYPE sflight-price,
          END OF ty_sflight,
          tt_sflight TYPE ty_sflight OCCURS 0.
    TYPES:BEGIN OF ty_result.
            INCLUDE TYPE ty_scarr.
            TYPES: sflight_tab TYPE tt_sflight,
          END OF ty_result.
    Is there a way to achieve above without using "OCCURS 0" keyword as "OCCURS" keyword is not supported withing OO context?
    Thanks!

    Hello,
    Which ABAP release are you working on?
    When i use your code (on an ABAP 740 kernel) i get the following error message -
    This is because the type is generic w.r.t the key. If you intend to use it in other types, you have to explicitly define the key for the table type.
    Since I'm on ABAP release 740 so i can use the addition EMPTY KEY -
          tt_sflight TYPE STANDARD TABLE OF ty_sflight
                     WITH NON-UNIQUE EMPTY KEY.
    If you are on previous releases i think you can use the addition DEFAULT KEY.
    BR,
    Suhas
    PS - Further read: ABAP News for Release 7.40 - Internal Tables with Empty Key

  • Question about changing a file type into another file type

    Hello. This isnt a java question but you guys have been so helpful in the past I hope its ok if I ask this question for a friend.
    How can I import a scriptware file into Screenwriter 2000, or change a .scw file into a .tag file?
    Anyone who can help thanks.

    I know nothing about scriptware or Screenwriter. But, my only advice is to see if Scriptware can export some other file type (not necessarily a .scw file) that Screenwriter can read. Sometimes, when I have two text editors whose native formats are incompatible (like opening a paper typed in a new version of Microsoft Word using an old version of WordPerfect or something), I save the file as an RTF file, rather than in the native format. Maybe something like that applies to your situation, too.
    Hope that helps.
    Jason

  • How to transfer stock from one storage type another storage type

    Hi Guys
    I have 10 items
    How can I transfer all in One Single Transfer order  from one storage type to another storage type
    I need to take TO print for all these 10 TO items

    Hi,
    Goto LT01 transaction with Movment type = 999 and stock category = Required stock category. Create a PCN and process the remaining process so as to change the stock type.
    Regards,
    Dilli Babu R

  • Material Transfer From one Material Type to another should not be possible

    Dear Gurus ,
                        I have a issue here i want to lock the transfer posting from one Material Type to Another Material Type . The point is the Transefr Posting Shuold happen from same Material Type  . So can anybody help me out that what should I do for the same

    Hi ,
            I tried for the same but its not working . I just kept a Break point in this exit . Tried to transfer from MB1B its not stopping at the Break Point Can U suggest as I am doing it from MB1B .
    Regards
    Shankar

  • Populating a complex table from another object collection in Syclo Agentry applications

    Hello Experts,
    I have an object which contains a table data as part of a collection property.
    Can I use this object to insert the data in another complex table? I am unable to use a separate bapi wrapper to populate the complex table in this case.
    As I have seen the existing complex tables in the Work Manager applications, they all get populated at the beginning of the main transmit.
    at this instant, I don't have the data in one of my objects based on which I have to populate my complex table.
    So, after the object is filled using a BAPI call, I have to fill up this complex table.
    Is it possible to populate this table this way?
    Any help will be appreciated.
    Thanks,
    Arihant Kothari

    Arihant,
    Yes.  You can create an Update Complex Table transaction.  It works against the Main Object, but then you choose which complex table you want to update on the transaction.  Add the properties you want to update and populate them.  To populate from your object collection, use "From other object property" for your initial value on a property, then point to the object and property you want to populate from: Whatever Object -> Whatever property.  Use a looping sub-action to loop over your object collection and create/update complex table records with your new transaction.  Finish the original sub-action with an Apply.  Don't apply after each CT record create because that is much slower.  Use a single Apply step after your Loop in the main action.  If the CT record already exists, it will be updated.  If it does not exist, it will be created.
    Jason Latko - Senior Product Developer at SAP

  • Problem with complex dataBinding within concat

    Im trying to create a link with a databound onClick attribute like so:
    <link ....>
    <boundAttribute name="onClick">
    <concat>
    <fixed text="submitForm('result',0,{'event':'action','action':'"/>
    <dataObject select="defaultAction" source="fti:search"/>
    <dataObject select="##','index':'%index%'});return false;" source="resultRow@fti:search"/>
    </concat>
    </boundAttribute>
    </link>
    fti:search is a dataObject that returns another dataObject for the selectString resultRow. The resultRow dataObject should then be called with the selectString ="##','index':'%index%'});return false;
    However the resultRow dataObject is never called with that selecString.
    I also tried writing:
    <fixed data:text="##','index':'%index%'});return false;@resultRow@fti:search"/>
    but with the same result.
    I'm using this syntax for many other controls, but for the text attribute of a <fixed> element it doesn't seem to work.
    So how can I do a complex dataBinding within a <concat> element?
    Thanks,
    Guido

    Hi Guido
    I think you need this
    <dataObject select="##,'index':'%index%});return false;" data:source="resultRow@fti:search"/>Cheers
    Ian

  • Setting TileList height to Change Based on How Many Items Are Within It

    In my app I have a tilelist populated by an array collection and I need it's height to change based on how many items are within it i.e. as new items are added to the array collection which populates it the tilelist will grow in height so that a scrollbar isn't necessary. Is there some sort of formula I can apply to the tilelist height property so that it expands in height as more items are added to it similar to the way a vbox would?

    Hi,
    OK - you don't actually need to know how many items there are as javascript can create a collection for you and you can loop through that. In your example, each item will have a NAME attribute of "f02" - using document.getElementsByName("f02") will create a collection of all items that have this name and using a "for" loop, will allow you to examine every one.
    One thing to note is that any INPUT item that is disabled or made read-only will not be included in the data when the page is submitted (this is a browser thing not an Apex one), so these items need to be re-enabled immediately prior to the submit action.
    For an example of all of this, see my first post in: Re: A better method of handling tabular forms with variable column type?
    Andy

  • Problem with calling a midlet within another midlet

    hello friends,
    can a create an instance of a midlet within another midlet.i tried to call , but i have got a Security exception. plz comment on this ..
    regards..

    "For security reasons, it is assumed that MIDlets within a MIDletSuite are packaged
    together for a reason and should be able to interoperate. What's implied here is that the
    MIDlets share a name space; in other words, each MIDlet in the MidletSuite can "see" one
    another. Because they can see one another, they can launch one another (Class.forName
    metaphor).
    In contrast, one MIDletSuite cannot launch another MIDletSuite. That's because they do not
    share name spaces. Since the CLDC+MIDP does not have a security manager (too big and
    complex for small devices), the MIDP expert group felt it more prudent to limit the interaction
    of downloaded applications to those that are packaged together by the provider."extract from Sun
    see http://developers.sun.com/mobility/midp/articles/pushreg/ for infos to launch MIDlets...

  • Using attributes from another entry type

    Hey experts,
    use case: there are multiple departments within the company. Each department has it's own folder in Active Directory where users are stored for that department. When a new user is created in IdM and send to AD he should be created in the folder relevant for his/her department.
    I have created an entry type called Department and filled it with departments and their LDAP starting point for user creation. I have also created a reference attribute in MX_PERSON to the department name.
    problem: when the job CreateADSUser is fired it receives pending value date from MX_PERSON but I need to use the LDAP starting point which goes with the department from the department entry type.
    So my question is: how do I use the LDAP starting point value which is stored in my department entry type in a job which receives MX_PERSON data. I'm guessing a script or something but am unsure how to do this.
    Thanks in advance.

    HI Jonathan,
    We did exactly the same thing but without using a separate entry type for the department, it was just the department number. We then in the code that calculated the DN of the person, coded in to read the department number and based on that enter a text string into the DN. If you want to do it with another entry type for department, the can't you load the value on the mx_person of department, which will be the MSKEY of the department you want, and then use ISGetValue (Or something like that) to get the name of that department based on it's MSKEY?
    Hope that is helpful,
    Ian

  • PL/SQL: Executing a procedure from within another procedure

    Hello, I'm a newbie and I need help on how to execute procedures from within another procedure. The procedure that I call from within the procedure have return values that I want to check.
    I tried: EXECUTE(user_get_forum_info(p_forumid, var_forum_exists, var_forum_access, var_forumname));
    but I get the error message:
    PLS-00103: Encountered the symbol "USER_GET_FORUM_INFO" when expecting one of the following::= . ( @ % ; immediate
    The symbol ":=" was substituted for "USER_GET_FORUM_INFO" to continue.
    And when I tried: EXECUTE(user_get_forum_info(p_forumid, var_forum_exists, var_forum_access, var_forumname));
    I get the error message:
    PLS-00222: no function with name 'USER_GET_FORUM_INFO' exists in this scope
    PL/SQL: Statement ignored
    The procedure USER_GET_FORUM_INFO exists. (don't understand why it says "no FUNCTION with name", it's a procedure I'm executing)
    I'm stuck so thanks for any help...
    Below is all the code. I'm using Oracle 9i on RedHat Linux 7.3.
    ================================================================================
    CREATE OR REPLACE PROCEDURE user_forum_requestsaccess (
    p_forumid IN NUMBER,
    p_requestmessage IN VARCHAR2
    AS
    var_forumid NUMBER;
    var_forum_exists NUMBER;
    var_forum_access NUMBER;
    request_exists NUMBER;
    var_forumname VARCHAR2(30);
    FORUM_DOESNT_EXIST EXCEPTION;
    FORUM_USER_HAS_ACCESS EXCEPTION;
    FORUM_REQUEST_EXIST EXCEPTION;
    BEGIN
    SELECT SIGN(NVL((SELECT request_id FROM forum.vw_all_forum_requests WHERE forum_id = p_forumid AND db_user = user),0)) INTO request_exists FROM DUAL;
    EXECUTE(user_get_forum_info(p_forumid, var_forum_exists, var_forum_access, var_forumname));
    IF var_forum_exists = 0 THEN
    RAISE FORUM_DOESNT_EXIST;
    ELSIF var_forum_access = 1 THEN
    RAISE FORUM_USER_HAS_ACCESS;
    ELSIF request_exists = 1 THEN
    RAISE FORUM_REQUEST_EXIST;
    ELSE
    INSERT INTO tbl_forum_requests VALUES (SEQ_TBL_FORUM_REQ_REQ_ID.NEXTVAL, SYSDATE, p_requestmessage, p_forumid, user);
    INSERT INTO tbl_forum_eventlog VALUES (SEQ_TBL_FORUM_EVNTLOG_EVNT_ID.NEXTVAL,SYSDATE,1,'User ' || user || ' requested access to forum ' || var_forumname || '.', p_forumid,user);
    COMMIT;
    END IF;
    EXCEPTION
    WHEN
    FORUM_DOESNT_EXIST
    THEN RAISE_APPLICATION_ERROR(-20003,'Forum doesnt exist.');
    WHEN
    FORUM_USER_HAS_ACCESS
    THEN RAISE_APPLICATION_ERROR(-20004,'User already have access to this forum.');
    WHEN
    FORUM_REQUEST_EXIST
    THEN RAISE_APPLICATION_ERROR(-20005,'A request to this forum already exist.');
    END;
    GRANT EXECUTE ON user_forum_requestsaccess TO forum_user;
    ================================================================================
    Regards Goran

    you don't have to use execute when you want to execute a procedure (only on sql*plus, you would use it)
    just give the name of the funtion
    create or replace procedure test
    as
    begin
        dbms_output.put_line('this is the procedure test');
    end test;
    create or replace procedure call_test
    as
    begin
        dbms_output.put_line('this is the procedure call_test going to execute the procedure test');
        test;
    end call_test;
    begin
        dbms_output.put_line('this is an anonymous block calling the procedure call_test');
        call_test;
    end;
    /

Maybe you are looking for