BAPI for finding child WBS elements under a Parent WBS element

Hi friends,
I am working on the transaction ZIOS02 transaction. On releasing the Parent or Main WBS element in ZIOS02 transaction I need to copy some data from ZIOS to PRPS based on WBS element.
I have a Bapi for retrieving all the WBS elements based on Project Definition (BAPI_PROJECT_GETINFO) but i want to know whether is there any BAPI for finding the child WBS elements when we give a Parent WBS elemnts as Input to BAPI.
Could any one please help me in the query ASAP.

Hi friends,
I have got the answer for finding the child WBS elements.
In Function module BAPI_Project_get_info.
Use parameter subtree = 'X' and give the WBS element name in tables section under I_wbs_element. You will get all the child WBS elements which are under Main WBS element.
Thanks
Satish Raju

Similar Messages

  • I have set up an Apple ID for my child who is under 13. I did not get the steps to set up the password for the ID. How do I do that now. The family sharing has sent an email notification to the email by how do I access it?

    I have set up an Apple ID for my child who is under 13. I did not get the steps to set up the password for the ID. How do I do that now. The family sharing has sent an email notification to the email by how do I access it to accept.
    Thanks.

    Hey Lori,
    You can set or change the password for an Apple ID by following the steps in this article -
    Apple ID: Changing your password - Apple Support
    Thanks for using Apple Support Communities.
    Be well,
    Brett L 

  • Script XMLrule or ??? to group elements under new parent?

    Back after a few weeks on a non-Adobe urgent project plus some recovery ...
    I'm wondering if anyone has XML / XMLrule scripting experience sufficient to give me at least a hint on the following challenge. I have discovered the online scripting tutorials, documents and sample files (huge collection!)... unfortunately I can't find even the beginnings of something addressing what looks to me like a common and highly scriptable challenge.
    My example is below. I can't find code snippets for any of the following:
       - traversing a set of elements to find and select a set of desired elements
       - inserting a selected set (range?) of elements into a new parent
    This is pretty clear when done manually in the user interface, but opaque in the scripting / XMLrules environment.
    Anybody got any hints? Or a book / resource that digs in deep enough?
    Thanks much,
    Pete
    Example of the problem:
    Imagine at some level of a tag structure you have ANY kind of repeating tag sequence. E.g. (in highly abbreviated form)
    <people>
       <name>
       <address>
       <phone>
       <name>
       <address>
       <phone>
       <name>
       <address>
       <phone>
    <projects>
        <name>
        <startdate>
        <enddate>
        <name>
        <startdate>
        <enddate>
    What I want is to group sets of elements underneath a new parent, something like
    (virtually)... GatherElementsUnder(XPath,StartWithElement,NewParentElement)
    ie
    GatherElementsUnder(/people,name,person)
    GatherElementsUnder(/projects,name,project)
    would produce
    <people>
      <person>
         <name>
         <address>
         <phone>
      <person>
         <name>
         <address>
         <phone>
      <person>
         <name>
         <address>
         <phone>
    <projects>
      <project>
          <name>
          <startdate>
          <enddate>
      <project>
          <name>
          <startdate>
          <enddate>

    I've answered this now. Sample script link, plus commentary, is here: http://forums.adobe.com/message/4963977

  • BAPI for Finding Materials which have Classification Characteristics

    Hi,
    Does anyone know of an RFC or BAPI to return a list of materials which have a specific Classification Characteristic
    Most of the functions I've found will return the all the classification characteristics if you know the material number and the class.
    The other search tools and reports all seem to work with the SAP GUI and are quite interactive. I need to be able to execute an RFC or BAPI without SAP GUI.
    In my case, I know the Class Type and Class and I know the characterstic and attribute value but need a list of matching materials.
    Thanks
    Paul

    Hi Ashok
    Actually my requirement is that i want to post the Vendor expenses thro' Vendor Portal and for that Validation will not helps us.
    So thro' BAPI 's only we can post the expenses ...........
    I suppose that its clear for you now.
    Revert
    Regards
    Praveen

  • XML Rule + JS example: group elements under new parents

    Thanks again to everyone here for helping me get started! I'm now making real progress. In token of my appreciation, here's something that hopefully will eventually help others.
    I've worked out how to use the XML Rule facility (together w/ some JS management) to collect groups of XML elements and create new parent elements containing each group.
    The sample code here demonstrates several things in both JavaScript and InDesign Script, including:
    Use of the XML Rules facility to quickly retrieve data from the XML structure
    Use of the following-sibling XPath facility to obtain same-level XML elements
    Creating XML tags, parent elements, and moving elements
    Multi-dimensional JS array for managing XML elements
    By the way, here are a few more things that were not obvious to this noob (I'm sure they are documented; just took time to find them...)
    In the InDesign script editor, you can bring up the Object Model Viewer by pressing F1
    In the object model viewer, you must click below "Browser" and select the InDesign Object Model before doing a search
    At the following link is a list of links to incredibly valuable documents and a huge collection of "Scripting Guide" sample scripts. http://www.adobe.com/products/indesign/indepth.displayTab2.html#Scriptingresources
    Using try { xyzzy; } catch (myErr) { alert(myErr); }  ... is your friend
    Below is a description of what my sample code actually accomplishes. But first, here are some things I learned about the XML Rules facility. Probably obvious to someone who has used this before but hey, I'm new to this:
    You create a set of XML Rules and pass them to the "glue code." Each time the set of rules is run, a single (potentially complex) traversal is made through the XML Structure.
    The implication of #1 is that for any given element in the structure, the first rule that matches the element will process it. Thus, the sequence of rule definitions is always important. This both simplifies and sometimes makes more complex how one designs a set of rules.
    An example in my case:
    I wanted to collect all elements at one level into "groups", with a particular (known) tag as the first element in each group.
    It was pretty clear how to find the known tag; use an XPath like "/devices/name" if the tag is "name" underneath "/devices."
    But how to collect the intervening tags? In normal XPath/XSLT syntax, this is a bit complicated. But in the XML Rule system, it's actually easy...
    Since the first rule will always collect every "name" element, my second rule becomes simply "/devices/name/following-sibling::*" which means "collect all siblings after the 'name' element. Normally, that would include following name elements as well, but it does not do so here since the first rule collects those.
    Don't bother trying to rearrange the XML structure from within XML Rule processing. In certain limited situations it can work... but it is just as easy, and quite reliable, to collect the needed info during XML Rule processing, then make the structure changes as a later step.
    The MakeXMLGroups(myXPath,myParentTag,myHeadTag) function changes:
    Devices
       Name
       Type
       Desc
       Name
       Quantity
       Type
       Desc
       Name
       Desc
    To:
    Devices
      Device
          Name
          Type
          Desc
      Device
          Name
          Quantity
          Type
          Desc
      Device
           Name
          Desc
    In this case, the function call was MakeXMLGroups("/Devices","Device","Name").
    (NOTE: I'm on personal travel this week so may not get back to answer questions until next week...)
    Here are links to the necessary files:
    http://ds.org/files/adobe/MakeXMLGroups.jsx
    http://ds.org/files/adobe/grpXMLRulesExampleSetup.jsx
    http://ds.org/files/adobe/grpXMLRulesExampleData.xml
    Message was edited by: SLTyPete to insert file links

    Hi John,
    1) I like that the new model adds parameterization. It's cleaner than pulling in parameters from pre-set variables. However, the given example didn't actually make much use of it. The only non-constant parameter multiply-used in the example is the "table" variable. Seems like a lot of work for not a lot of gain, at least in this case?
    2) I am cautious that this new template/model condenses the paradigm sooo much, that it is no longer clear where XPath is involved vs straight constant tag names. Yes, Adobe's example is overly-expanded but that's common in code meant to be a demonstration.
    3) I also am cautious that the example intermingles direct node creation into the XPath search/processing chain. I've learned to be VERY careful with this. It only can work when the changes made do not interfere with the rule processing. In my model, I simply avoid it completely (by not making node-position or node-add/remove/move changes until after tree parsing is complete.) This will always be a safe model.
    Bottom line: while I very much appreciate the parameterization and lintability (is that a word? Sure makes sense to me )... I think I would still define each rule separately rather than bring them all together as an inline array in the rule processing call. To me it seems sooo condensed that the XPath meaning can become lost. (Would someone recognize that //para/section-head is actually an XPath statement that could (in another situation) be //para/* or //para/following-siblings::* ... while some of the other strings are exact-match tag names?)
    I realize this is all a matter of style... my preference: clarity for the future reader, particularly when the future reader is me a year later who forgot what all those parameters and embedded methods were all about ...
    Blessings,
    Pete

  • Function modules or BAPI for posting plan costs for WBS Element

    Hi all,
    Does anyone know, whether there exists a function module or BAPI for posting plan costs to a WBS Element? K_COSTS_PLAN_PS does not work, because RKP1 is not allowed.
    Greetings

    check
    BAPI_COSTACTPLN_POSTACTINPUT   Activity Input Planning: Posting                
    BAPI_COSTACTPLN_POSTACTOUTPUT  Activity/Price Planning: Posting                
    BAPI_COSTACTPLN_POSTKEYFIGURE  Stat. Key Figure Planning: Postings             
    BAPI_COSTACTPLN_POSTPRIMCOST   Primary Cost Planning: Postings                 
    BAPI_PDTRANSCO_POSTPRIMCOST    Transfer of Planning Data: Post Primary Costs   
    K40C                           CO Actual Postings, Manual                      
    BAPI_ACC_PRIMARY_COSTS_POST    Accounting: Post Primary Costs                  
    BAPI_COPAACTUALS_POSTCOSTDATA  BAPI Operating Concern: Post Costing-Based Actua
    BAPI_PRIM_COST_CHECK_AND_POST  Primary Costs: Formal Parameter Check           
    S@meer

  • BAPI for settlement rules in WBS Elements

    Hi,
    Is there any standard bapi, method, or whatever... to create / modify settlement rules for WBS Elements?.
    Rgds,
    Jose

    Look at BAPI/FM of FG CJ2054
    BAPI_BUS2054_CHANGE_MULTI     Change WBS Elements by BAPI
    BAPI_BUS2054_CREATE_MULTI     Create WBS Elements by BAPI
    BAPI_BUS2054_DELETE_MULTI     Delete WBS Elements by BAPI
    BAPI_BUS2054_GET_GUID_FROM_KEY     Read the GUIDs Using the WBS Keys
    BAPI_BUS2054_GET_KEY_FROM_GUID     Read the WBS Keys Using the GUIDs
    CJ2054_CHANGE     
    CJ2054_CREATE     
    CJ2054_DELETE     
    CJ2054_WBSELEMENT_CHANGE_STRU     
    MAP2I_BAPI_BUS2054_CHG_TO_PRPS     
    MAP2I_BAPI_BUS2054_NEW_TO_PRPS     
    MAP2I_BAPI_BUS2054_UPD_TO_PRPS     
    Regards

  • Is there any BAPI for Upload Documents of WBS elements?

    Hi Guys,
                 Can anbody tell me is there any BAPI for Uploading Documents  of WBS elements ?
    Thanks,
    Gopi.

    hi
    check these BAPI
    Change WBS Elements Using BAPI                                                                               
    BAPI_BUS2054_CHANGE_MULTI           
    Create WBS Elements Using BAPI 
    BAPI_BUS2054_CREATE_MULTI                                                               
    Delete WBS Elements Using BAPI                                                                               
    BAPI_BUS2054_DELETE_MULTI                                                               
    Detail Data for WBS Elements                                                                               
    BAPI_BUS2054_GETDATA                                                                      
    Reading the GUIDs using the WBS Key
    BAPI_BUS2054_GET_GUID_FROM_KEY                                                     
    Reading the WBS Key using the GUIDs                                              
    BAPI_BUS2054_GET_KEY_FROM_GUID                                                                               
    Check Existence of a WBS Element                                                 
    BAPI_PROJECT_EXISTENCECHECK                                                                               
    Element                                                 
    thnks
    sitaram

  • How to find parent wbs element from child wbs element

    Hi ,
            I have a WBS element . How to find its parent WBS element . What should be the logic and table fields should i consider ? Please help me , its urgent.

    You can use the BAPI_PROJECT_GETINFO function module to get this info.
    The function is very well documented, and it looks like the table E_WBS_HIERARCHIE_TABLE should have the WBS heirarchy in it.
    Hope this helps.
    Sudha

  • How to find a BAPI for BOR's?

    Hi Guys,
                 Can any body tell me how to find BAPI's for BOR's .I was asked to find a BAPI for use case "Add Resouces to project" for BOR is BUS2001  and also for use case "Add resouces to Tasks/WBS " whose BOR is BUS2054?
    Thanks,
    Gopi.

    Hi Gopi,
    U can find in Transaction BAPI , SWO1
    Goto SWO1 transaction and give the Business Object name (BUS2001)
    and press Display.
    Here Goto methods and drop down , u can see the methods , then double click on the methods and u can see a pop-up.
    In that u ahve ABAP tab. goto ABAP tab there u can find the BAPI Function Modules.
    BUS2001
    BAPI_PROJECTDEF_CREATE         Create Project Definition
    BAPI_PROJECTDEF_EXISTENCECHECK Check whether a project definition exists
    BAPI_PROJECTDEF_GETDETAIL      Read detailed information for the project definition
    BAPI_PROJECTDEF_GETLIST        Returns a container of project definitions
    BAPI_PROJECTDEF_UPDATE         Change Project Definition
    BUS2054
    BAPI_PROJECT_EXISTENCECHECK    Check Existence of a WBS Element
    BAPI_PROJECT_GETINFO           Read detailed information for work breakdown structures
    BAPI_PROJECT_MAINTAIN          Edit project including networks
    BAPI_PROJECT_SAVEREPLICA       Replicate work breakdown structure (ALE)
    Best regards,
    raam

  • I am trying to create an apple ID for a child but I can't find where to change my shared payment info on my iPad

    I have an iPad Air IOS 8.1.2 and I am trying to create an apple ID for a child but I am unable to find how to change the "shared payment method" when I go into my account settings it does have my Credit card but in settings under iCloud > family > shared payment method it still have my debit card. How/where can I update this card to mt credit card instead of my debit card?

    Hi azbaby2000,
    If you need to change the payment method associated with your Apple ID, use the steps in this article -
    Change or remove your payment information from your iTunes Store account (Apple ID) - Apple Support
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • How to set CRTD- REL for a project consist of more than 100 WBS elements

    Dear Experts,
    Now our clients is encounting such a problem:
    There is a WBS structure consists of ONE Level 1 WBS code, serveral Level 2 WBS code and hundreds of Level 3 WBS code.  All the Level 2 WBS are created automatically according to the data transferred from another system via interface.  Level 1 and Level 3 WBS can be created mannually in project builder. And all the status of Level 2 WBS are set to CRTD once they are created automatically.
    Level 1 WBS(Let's call it A) has already been set to REL. Only one Level 2 WBS (let's call it A-00) was still CRTD because *it was created after level 1 WBS A was set to REL.*  And there are as much as 120 Level 3 WBS(let's call it from A-00-01 to A-00-120)  was created under  Level 2 WBS A-00 mannually.  Now how can I set all the level 3 WBS status from "CRTD" to "REL"?
    I have tried following two methods but both of them are failed.
    A.  Directly set Level 2 WBS A-00 or Level 3 WBS A-00-01to REL (in both CJ20n and CJ02) but the system show a Message No. BS013 falut:
    Object A has system status REL, According to this status, transaction "Particially release project" is not allowed"
    B.  Set Level 1 WBS A to REL(in both CJ20n and CJ02) but the system runs extremly slow and finally the feedback comes to a ABAP error of "Run time error" after more than 30 minutes.
    Did any of you face similar situation? Any suggestion for this issue are appreciated.
    Regards,
    Atom
    Edited by: Atom2009 on Dec 4, 2009 1:36 PM

    Check the settlement profile used in the WBS elements and project.  The configuration could be such that the settlement rules are limited.
    Maximum number of distribution rules
       Maximum number of distribution rules for each settlement rule.
       You cannot settle receivers for which there are no distribution rules.
    The IMG path for this in PS is Project System -> Costs -> Automatic and Periodic Allocations -> Settlemennt -> Settlement Profile -> Create Settlement Profile.
    Hope this helps.
    Edited by: Paul Shrewsbury on Dec 8, 2009 12:49 PM

  • BAPI for  ""Change Cost Element / Activity Input Planning ""

    Hi
    Is there any BAPI for  ""Change Cost Element / Activity Input Planning "" ( TC KP06) as there is BDC for that but is goes through lot of steps . ( TC OKKS, KP04, KP06 )
    So if any one know the BAPI for the same please let me know,  and if possible send me your code also it will be really help full.
    Regards

    o   OBJECT_INDEX - Index uniquely identifying the row and thus the           
        object. The index must be greater than zero and may only appear once     
        in the table. If the index does not exist in INDEXSTRUCTURE, the row     
        is ignored.                                                                               
    o   COSTCENTER    - Cost center that includes the activity.                                                                               
    o   ACTTYPE       - Activity type that includes the activity. You must       
        fill this together with COSTCENTER. You only need it for an activity     
        input that is activity-dependent.                                                                               
    o   CO_BUSPROC - Business process that includes the activity.                                                                               
    o   ORDERID       - Order that includes the activity.                                                                               
    o   WBS_ELEMENT  - WBS element that includes the activity                                                                               
    You may fill one object only,for example COSTCENTER, CO_BUSPROC,             
    ORDERID, or WBS_ELEMENT.                                                     

  • I need a bapi  for workdownstructure elements

    i need a bapi  for workdownstructure elements 
    •     WBS number
    •     WBS descriptions
    •     WBS start date
    •     WBS end date
    •     Status
    thanks and regards,
    jameer.p
    Edited by: Jameer P on Jan 30, 2008 12:59 PM

    Hai.
    It may help you.
    can use WS_DOWNLOAD like this:
    L_T_HEADERS TYPE TABLE OF TEXT40.
    IF SP_LOCAL = 'X'.
    Headings: TEXT-U01 ... TEXT-U28
        DO 28 TIMES.
          CLEAR: L_F_INDEX,L_F_NAME,L_F_HEADERS.
          L_F_INDEX = SY-INDEX.
          CONCATENATE 'TEXT-U' L_F_INDEX INTO L_F_NAME.
          ASSIGN (L_F_NAME) TO <FS_HEADER>.
          L_F_HEADERS = <FS_HEADER>.
          APPEND L_F_HEADERS TO L_T_HEADERS.
        ENDDO.
        CALL FUNCTION 'WS_DOWNLOAD'
             EXPORTING
                  FILENAME                = SP_FILE
                  FILETYPE                = 'DAT'
             TABLES
                  DATA_TAB                = L_T_OUT
                  FIELDNAMES              = L_T_HEADERS
             EXCEPTIONS
                  FILE_OPEN_ERROR         = 1
                  FILE_WRITE_ERROR        = 2
                  INVALID_FILESIZE        = 3
                  INVALID_TYPE            = 4
                  NO_BATCH                = 5
                  UNKNOWN_ERROR           = 6
                  INVALID_TABLE_WIDTH     = 7
                  GUI_REFUSE_FILETRANSFER = 8
                  CUSTOMER_ERROR          = 9
                  OTHERS                  = 10.
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE 'I' NUMBER SY-MSGNO
                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          LEAVE PROGRAM.
        ELSE.
          DESCRIBE TABLE L_T_OUT LINES L_F_COUNT.
          MESSAGE I145 WITH L_F_COUNT SP_FILE.
        ENDIF.
    Regards.
    Sowjanya.b.

  • Create WBS Element under Specific existsing Level1 WBS Element

    Hi friends,
           In a Project definition, once the User creates the Level 1 WBS Element,
    I need to Create a Level 2 WBS Element by default. Please suggest me any function modules or BAPI
    to Create the WBS element under Particular WBS Element.
    I checked the BAPI BAPI_BUS2054_CREATE_MULTI
    I hope it creates WBS elements, but not under Specific WBS element.
    I am checking the function module CJWB_CREATE_PRPS
    Please suggest how to go ahead.........
    Thanks in Advance,
    Ganesh

    wbs cant b created under network,
    just go to cj20n, select network/activity, then right click there, u ll never see any wbs element in create tab.
    Graphically network is above a wbs in cj20n, does not mean that wbs is coming under network.
    ashis

Maybe you are looking for

  • Aperture 2.1 and Adobe Photoshop CS2

    Hey. I'm using Aperture as my bread and butter. I don't have any issues. In my previous posts I mentioned that I don't use Photoshop, but now I'm using Photoshop a lot more...for retouching and localized corrections. All of my tonal corrections and t

  • Openzone Signal Repeating

    Currently working away from home and as luck would have it there is a weak Openzone signal down the road. If the atmospherics are good I can get onto this otherwise I need a signal repeater in one of my front windows. Question - will the signal repea

  • Trying to amend textArea

    I have a textArea(attached is a document listenter and a CaretListener) where I am trying to amend the contents. What I am trying to accomplish is when a user inputs text into the textArea that he/she cannot enter text past a certain point (ie caret

  • BOR object for Displaying the Spool

    I am trying to create work item that will display spool output.I have thought of using FM "SWW_WI_START_SIMPLE"  to create a work item and will take to the display of the spool file .Can any body suggest the BOR object which I can use for displaying

  • What is the best All in One program for picture and video editing?

    Hello i am new to photoshop and would like to really make some fantastic photos and video for my family and friends. I want to add effects to video and Edit photos to the 10th degree. Can someone please recommend an Adobe program. Should i get CS4 ex