Remove L01 prefix from Olap uni

HI Experts
In my webi doc . i should not have L01 prefix from the olap universe.
For ex: if i have L01Country from olap uni . i should only have country in webi.
My issue is i can edit object properties and do it but how to do it at once when there are around 2000 or more object details i cant edit each and every one .
any procedure to hide it r remove it at universe level
Regards

i think this link may help you
http://www.forumtopics.com/busobj/viewtopic.php?t=21029&postdays=0&postorder=asc&start=0
good luck
Amr

Similar Messages

  • How to remove namespace prefix from target payload when using HTTP in PI7.0

    Hi,
    i have a requirement to remove namespace prefix from target payload when receiver receives the payload by an HTTP request.
    i am not able to use XML Anonymizer Bean as in HTTP channel its not possiile.
    Target structure after mapping now is:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns3:Order xmlns:ns3="urn:xxx-com:pi:project">
    fields
    </ns3:Order>
    i need the target structure after mapping should look like:
    <?xml version="1.0" encoding="UTF-8"?>
    <Order xmlns:="urn:xxx-com:pi:project">
    fields
    <Order>
    i removed namespace from source and target Message Type of message mapping but still getting "ns3" prefix. My requirement is to just have this ns3 removed.
    Please reply if anyone has solved this problem before.
    Thanks

    Hi ,
    >>>i removed namespace from source and target Message Type of message mapping but still getting "ns3" prefix. My requirement is to just have this ns3 removed.
    Which process you've used for removing namespace...java/xslt mapping. In case of java mapping plese remove ns3 while creating the target element. Please go through the below blog it may help you.
    Quick Tips: Dealing with Namespaces in XI/PI
    Regards,
    Priyanka

  • Remove Namespace Prefix from SOAP response

    Hi
    I have a File-XI-SOAP scenario. I pass data from the file to SOAP. If the data is good, I receive a Response and If the data is bad I get an fault message called AccountUtilsException. But I am not able to read this message properly.
    The message we receive from the webservice is
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?><!-- Request Message Mapping --> <edu.purdue.account.AccountUtils.AccountUtilsException xsi:type='ns1:AccountUtilsException' xmlns:ns1='urn://www.purdue.edu/apps/account/ns'><message xsi:type='soapenc:string' xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/'>lastName is a required field</message><type xsi:type='xsd:int'>5</type></edu.purdue.account.AccountUtils.AccountUtilsException>
    In sxmb_moni when we try to read this message I get the error Reference to undeclared namespace prefix: 'xsi'.
    I tried removing the xsi prefix using anonymizer.acceptNamespaces = urn://www.purdue.edu/apps/account/ns ns1.
    I tried this too urn://www.purdue.edu/apps/account/ns ''.
    the AF_MODULES/AnonymizerBean is second in my processing sequence immediately following the XISOAPAdapterBean.
    The problem still persists. Any suggestions? The webservice people are not willing to remove the xsi:
    Thanks,
    Jahnavi

    The XMLAnonymizerBean does not consider namespace prefixes in attributes. So you should allow also those prefixes and namespaces which are used here.
    Without the XMLAnonymizerBean the xsi namespace declaration should be available as well, if not it is a bug. Check if you have applied the latest patch and open an OSS ticket, if this is the case.
    Regards
    Stefan

  • Removing schema prefix from DDL statements

    When I do a change via sql developer, such as adding/dropping a field or table, etc... I need to send the change as a SQL script to my DBA (so it could be sent with our next upgrade to customers, etc).
    But, the changes are always prefixed by the schema owner. How can I remove this? For example, if I add a field called: B to table: A, which is under schema O, the sql will look like this:
    alter table O.A add (B);
    I don't want the "O." to be in there by default. IMO, it is "stupid" for SQL Developer to do this.
    My connection profile is to login as user "O".
    I do see an option:
    Preferences, Database, ObjectViewer Parameters: Show Schema
    I un-check this box, because it does make one thing better: it makes it if I goto the "SQL" tab of a table i'm looking at, the sql to create the table won't have the schema prefix, which I think is the "correct" behaviour.
    Is there anyway to "turn off schema prefix" for my "alters" ?

    On the connections tab...
    I expand TAbles
    I highlight the table i want to add to.
    I click Actions
    I click Columns, Add
    I proceed with entering the column via the GUI.
    There's a tab called "SQL" that writes the SQL for whatever i'm doing. I want to be able to take this sql and send to my DBA, but I don't want it to be prefixed by the schema owner.

  • Remove prefix L01 from olap universe

    HI Experts
    I need to remove L01 or prefix from the object name in olap universe ... i found tools- options in that there is replace preifx l00, l01 but i am nable to use it properly can some one help
    Example : if object is L01 business partner it should appear Business partner only it should not have L01
    regards

    You can find some handy tool Based on VBA to mass update the texts of your universe and replace the L00 and L01 prefixes. As far as i could find out in XI 3.1 currently is the only way, unless you want to do it manually one by one. Have a look at the links below. I can confirm that it works.
    [http://www.forumtopics.com/busobj/viewtopic.php?t=21029&postdays=0&postorder=asc&start=0]
    [Remove L01 prefix from Olap uni;

  • Remove prefix from dimension id in *rec statement

    Hi,
    I search through the documentation and find that to add a prefix, the statement should be
    *REC(ACCOUNT = ACC_ + ACCOUNT.GROUP).
    Does anyone knows how to remove the prefix when creating new records,
    for e.g. in my account dimension, I have a member "ACC_HC". After processing, it should generate a record using account "HC"?
    appreciate you help. Thanks!
    Rgds
    PH

    I don't know if I understand you correctly, but what you want to do is not use the prefix?
    Cause then you would just type
    *REC(ACCOUNT=ACCOUNT.GROUP)
    and it would generate a record without prefix.
    Regards,
    Tim Vierhout

  • Is it possible to remove xml declaration from a target HTTP msg in PI 7.1?

    Hello,
    I am working on a SOAP to HTTP scenario in PI 7.1.
    I am using a java mapping to create a target string. This target string does not contain XML declaration(<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>) in it.
    To elaborate the issue, while testing the message mapping, this XML declaration is not being prefixed to the message content. But, in integration engine, the http target message is being prefixed by this XML declaration by default.
    Output when tested in Operation Mapping(Desired result):
    abc=123:def=456
    Output been sent to receiver:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> abc=123:def=456
    Is there any possibility to send a  HTTP message to the receiver without this XML declartion. In other words, I need only the message content to be sent to the receiver.
    Kindly suggest.
    Regards,
    Swetha

    Hi,
    You can use JAVA/or XSLT mapping
    See this for Code
    Remove Encoding UTF from xml declaration in PI

  • Remove 1000 prefix before hier nodenames while loading master data

    Hi experts,
    I am loading the master data for profit center dimension in bpc from 0profit_ctr in bw. The attributes are loading fine but the hier nodenames are starting with 1000 which i want to remove. Unless they are removed, there will also be a problem when i next attempt to load the hierarchy. I used suppresscharacter=1000 before the *Mapping section, but that does not work. Though it shows in the package detail that the records have been loaded but when i check the dimension i find that the Hier nodenames are totally skipped.
    Kindly note, that i used the approach used in the following thread:-
    Conversion: Remove first 4 characters and then ParseINT.
    N.B : the attributes don't have 1000 before them , so they should be loaded as it is, infact they are getting loaded properly.
    I only need to remove the 1000 prefix from Hier nodename. i have also tried using an if statement in mapping section as
    ID(1:4)=*STR(1000) THEN ID(5:14)
    but this approach is also not working as the hier nodenames do not have any fixed length and while validating it fails to get to the end of the record, the 5:14 thing isnt effective probably as the lengths vary.
    Please help.
    Edited by: debchandra on Dec 2, 2011 8:25 AM

    Hi Vishal,
    As i mentioned, SUPPRESSCHARACTER=1000 in the *OPTIONS did not work. it's totally skipping the records beginning with 1000. Note, that i followed the approach as in : Conversion: Remove first 4 characters and then ParseINT.
    Thanks,
    Debayan
    Edited by: debchandra on Dec 5, 2011 11:14 AM

  • XSLT mapping to remove namespace prefix

    Hi experts,
    I have one requrement where I need to remove the prefix ns0 from the xml (given below) getting generated in message mapping.
    <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns0:ExecuteRequest xmlns:ns0="http://test/">
    <ns0:_sRequestXML><inteflow>body</inteflow></ns0:_sRequestXML></ns0:ExecuteRequest></soap:Body></soap:Envelope>
    I am usimg the below xslt and it is now adding one ns0 prefix in the tag <inteflow>.
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="/">
    <ExecuteRequest xmlns="http://test/">
    <_sRequestXML>
    <inteflow>
    <xsl:copy-of select="//inteflow"/>
    </inteflow>
    </_sRequestXML>
    </ExecuteRequest>
    </xsl:template>
    </xsl:stylesheet>
    Result after using xslt.
    <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ExecuteRequest xmlns="http://test/"><_sRequestXML>
    <inteflow xmlns:ns0="http://decisionintellect.com/inteport/"></inteflow></_sRequestXML></ExecuteRequest></soap:Body></soap:Envelope>
    Can you please help. What is wrong in the xslt and how I can get the desired result.
    Thanks & Regards,
    Pratyus Ganguly
    <?

    Hi Pratyus
    XMLAnonymizerBean works fine when I try it with your payload. Here is the config, basically I included the namespace for everything except the ns0.
    Parameter Name
    Parameter Value
    anonymizer.acceptNamespaces
    http://www.w3.org/2001/XMLSchema xsd http://www.w3.org/2001/XMLSchema-instance xsi http://schemas.xmlsoap.org/soap/envelope/ soap
    Before
    After
    Rgds
    Eng Swee

  • How to remove namespace Prefix ns0

    Hi ,
    I receive an xml from an external service.In that each element in prefixed by namespace ns0: How can I remove that name space.I trieed using
    ora:ProcessXSLT.But its not working.Its giving TypeError
    Please find below my xml and xslt files.
    XML ---
    <ProcessSalesLead xmlns:ns0="http://www.starstandards.org/STAR/ProcessSalesLead" revision="3.0" release="8.1-Lite" environment="Production" lang="en-US" xmlns="http://webservice.services.freeway.wipro.com">
    <ns0:ApplicationArea>
    <ns0:Sender>
    <ns0:Component>String</ns0:Component>
    <ns0:Task>SalesLead</ns0:Task>
    <ns0:ReferenceId>1-4CPJ</ns0:ReferenceId>
    <ns0:CreatorNameCode>XX</ns0:CreatorNameCode>
    <ns0:SenderNameCode>XX</ns0:SenderNameCode>
    </ns0:Sender>
    <ns0:CreationDateTime>2007-11-28T15:33:16+05:30</ns0:CreationDateTime>
    <ns0:Destination>
    <ns0:DestinationNameCode>XX</ns0:DestinationNameCode>
    <ns0:DealerNumber>10005</ns0:DealerNumber>
    </ns0:Destination>
    </ns0:ApplicationArea>
    <ns0:DataArea>
    <ns0:Process acknowledge="Never" confirm="Always"/>
    <ns0:SalesLead>
    <ns0:Header>
    <ns0:DocumentId>1-4CPJ</ns0:DocumentId>
    <ns0:IndividualProspect>
    <ns0:PersonName>
    <ns0:GivenName>Ray</ns0:GivenName>
    <ns0:FamilyName>Aamos</ns0:FamilyName>
    </ns0:PersonName>
    <ns0:Address>
    <ns0:AddressLine>1200 Davisville Rd</ns0:AddressLine>
    <ns0:City>York</ns0:City>
    <ns0:StateOrProvince>AL</ns0:StateOrProvince>
    <ns0:Country>US</ns0:Country>
    <ns0:PostalCode>78201</ns0:PostalCode>
    </ns0:Address>
    <ns0:Contact>
    <ns0:Telephone desc="Day Phone">2018742349</ns0:Telephone>
    <ns0:EMailAddress desc="Work">[email protected]</ns0:EMailAddress>
    <ns0:Fax desc="Work">2018745698</ns0:Fax>
    </ns0:Contact>
    <ns0:OwnedVehicle>
    <ns0:Model>Sonata</ns0:Model>
    <ns0:ModelYear>2006</ns0:ModelYear>
    <ns0:Make>Hyundai</ns0:Make>
    </ns0:OwnedVehicle>
    </ns0:IndividualProspect>
    <ns0:Provider>
    <ns0:Contact>
    <ns0:PersonName>
    <ns0:GivenName/>
    <ns0:FamilyName/>
    </ns0:PersonName>
    </ns0:Contact>
    </ns0:Provider>
    <ns0:Dealer>
    <ns0:DealerName>Metro Motors Florida</ns0:DealerName>
    <ns0:Address>
    <ns0:AddressLine>Miami</ns0:AddressLine>
    <ns0:City>Miami</ns0:City>
    <ns0:StateOrProvince>FL</ns0:StateOrProvince>
    <ns0:Country>US</ns0:Country>
    <ns0:PostalCode>33010</ns0:PostalCode>
    </ns0:Address>
    <ns0:SalesContact>
    <ns0:Telephone desc="Day Phone">3058938000</ns0:Telephone>
    </ns0:SalesContact>
    <ns0:OrganizationName>Metro Motors Florida</ns0:OrganizationName>
    </ns0:Dealer>
    <ns0:LeadComments>Existing Vehicle info</ns0:LeadComments>
    </ns0:Header>
    <ns0:Detail>
    <ns0:LeadStatus>Accepted</ns0:LeadStatus>
    <ns0:SalesVehicle>
    <ns0:Model>Camry</ns0:Model>
    <ns0:ModelYear>2007</ns0:ModelYear>
    <ns0:ModelDescription>Camry LE</ns0:ModelDescription>
    <ns0:Make>Toyota</ns0:Make>
    <ns0:VehicleNote/>
    <ns0:ExteriorColor/>
    <ns0:TransmissionType>A</ns0:TransmissionType>
    </ns0:SalesVehicle>
    </ns0:Detail>
    </ns0:SalesLead>
    </ns0:DataArea>
    </ProcessSalesLead>
    XSLT --
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
    <xsl:template match="*">
    <!-- remove element prefix (if any) -->
    <xsl:element name="{local-name()}">
    <!-- process attributes -->
    <xsl:for-each select="@*">
    <!-- remove attribute prefix (if any) -->
    <xsl:attribute name="{local-name()}">
    <xsl:value-of select="."/>
    </xsl:attribute>
    </xsl:for-each>
    <xsl:apply-templates/>
    </xsl:element>
    </xsl:template>
    </xsl:stylesheet>
    Please help me on this.Its very urgent .
    thanks
    deepthi

    can you please copy paste your schema validation errors. i suspect there is a mismatch between your schema and xml data that you input to your schema processor. can you copy paste the definition of your schema for <ProcessSalesLead>.
    you mentioned you received this xml from external service, maybe this external service doesn't have the correct schema and generates this xml which is not compatible with your schema.
    I would suggest to validate this xml as part of your receive, please use "validateXML" partner link property in bpel.xml, so you avoid invalid documents getting into the system at first.
    <partnerLinkBindings>
    <partnerLinkBinding name="...">
    <property name="wsdlLocation">http://localhost:8888/orabpel/default/1.0/yourParnerProcess?wsdl</property>
    <property name="validateXML">true</property>
    </partnerLinkBinding>

  • How to remove namespace prefix

    hi,
    i have a problem in receiver SOAP adapter because of namespace prefix.
    so i have to remove the namespace prefix from the paylaod. but namespace should be there...
    what are the possibilities to remove the namespace prefix alone from the payload?
    Thanks & Regards,
    Krish

    hi,
    you have to simply add one module in your communication channel
    that is XMLAnonymizerBean
    you can refer below for help:
    Remove namespace prefix or change XML encoding with the XMLAnonymizerBean
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/bf37423cf7ab04e10000000a1550b0/frameset.htm
    hope it helps.
    regards,
    ujjwal kumar

  • Removing old photos from iPhoto to external HD but not the library

    Hi I have just purchased a new external HD.  I already have one which is used with Time Machine for backing up my mac.  My problem is the mac HD is not that big and my extrenal with time machine is also getting full and after reading around I discovered that it will start to erase old backups to replace with new ones.  My problem with this is that I have used Time MAchine as a way of storing home movies and films exteranally as they take up to much space and therefore are no longer on the mac itself.  I bought a new disk so that rather than being a backup i can simply store files there and when needed plug it in if i want to use them ie videos old photos etc.
    I currently have smart albums set up in iPhoto for each year so photos automatically drop into these depending on when they were taken. 
    I would like to move the older albums straight to an external and delete from my mac.  How do I go about this as deleting the smart folder wont delete the originals and can I drag a smart folder to an external drive?  If not how do I find photos taken by year move them across to the external and delete the original.
    Thanks

    Hello there MrCoates14,
    You are correct, deleting the photos from the Smart Album will not remove the originals from the computer, and based on what else you want to do with iPhoto, heres what I recommend.
    First you can export the photos in the Smart Album to an external drive, as outlined in this article iPhoto '11: Export a photo found here http://support.apple.com/kb/PH2438. Note: At step 1, you want to highlight ALL the photos in the album, not just 1.
    To export photos:
    Select the photo or photos you want to export.
    Choose File > Export.
    At the top of the Export Photos window, click the File Export button.
    To specify the file type for the exported photo, choose an option from the Kind pop-up menu:Original: Exports the photo as it was originally imported into iPhoto, before editing.Current: Exports the photo in its current format. If you imported a RAW-format photo and then edited it in iPhoto, the photo is exported as a JPEG file.JPEG: If you choose this format, choose an option from the JPEG Quality pop-up menu. The higher the quality, the bigger the photo. For example, if the photo will be used on a website where optimal quality for printing isn’t required, you could choose Low to save storage space on the website.TIFF: A lossless file format that works well for transferring photos between computers and applications.PNG: Another lossless file format popular for web images.
    To change the size (resolution), choose an option from the Size pop-up menu:
    For photos to be emailed or mainly viewed onscreen, these settings compress the photos (making them smaller):
    Small: Use for photos you email or publish to websites where you don’t expect anyone to download and print your photos.
    Medium: Use when you or your recipients have a reasonably fast Internet connection, such as DSL. This setting is not suitable for making prints.
    Large: Use this setting when you and your recipients have a very fast connection. This size can be used to print small to standard-size photos (2 by 3, 3 by 5, and 4 by 6 inches).
    For photos to be printed or published for download, these settings provide maximum detail for final prints:
    Optimized: Use for larger prints and for publishing photos to websites for others to download and print. With this setting, photos are slightly compressed to a smaller file size so that they download faster without compromising quality.
    Actual Size/Full Size: Use to make high-quality prints in small to large sizes, or to upload photos to websites so that others can download and print them. This setting matches the actual size of your photo, so it may take longer to upload or download.
    Specify your other options:Include checkboxes: If you choose JPEG or TIFF from the Kind pop-up menu, you can include titles, keywords, and location information with the exported photos by selecting the checkboxes.File Name: Choose whether to export photos in sequence, or by their filenames, iPhoto titles, or album name.Prefix for sequential: If you choose Sequential from the File Name pop-up menu, you can specify text to appear before each number (for example, Birthday01, Birthday02, and so on). This step is optional.
    Click Export.
    Choose where to save the exported photo files, and then click OK.
    Then when they are all exported you can Create a New Event from the photos in each album to group them all together in Events, so that when you delete the new event with all the photos in the album in it, they will be deleted from the library. Here is the article for that named iPhoto '11: Create a new Event found here: http://support.apple.com/kb/PH2364.
    You also have the option to iPhoto '11: Move your iPhoto library to a new location if you just want to move the entire library to the external drive and use the library from the drive directly: http://support.apple.com/kb/PH2506
    Cheers,
    Sterling

  • RSA2/Cost Element Hierarchy (0COSTELMNT_0102_HIER)/remove 0CO_AREAP Prefix

    Hi, gurus.
    We are using 0COSTELMNT_0102_HIER delivered infosource.  This datasource is extracting from our source system the cost element hierarchy.  When loading into BW, every element is getting a controlling area Prefix (cost element characteristics, hierarchy nodes and hierarchy name).  This is the standard behaviour.
    Our requirement is to remove Controlling Area prefix from every hierarchy node and from hierarchy name, but not from characteristic elements.
    eg......0CO_AREA........0COSTELMNT............0HIERNAME
    .........M650..................RU_SIGMA................M650RU_SIGMA
    .........M660..................RU_SIGMA................M660RU_SIGMA
    And we want to get the hierarchy name without the controlling area, so:
    ....................................................................0HIERNAME
    ....................................................................RU_SIGMA
    We can´t upload the hierarchy from a flat file cause we want to load and refresh it daily from the source system.
    We've asked in Marketplace about the missing "change" option in RSA2 transaction, cause we see 2 options to do this:
    1) Create a customer datasource for 0COSTELMNT hierarchy with RSA2 and use 2 custom function modules for extraction and hierarchy catalogs.
    2) Modify 0COSTELMNT_0102_HIER and call 2 new custom function modules for catalog and data extraction (GSBH_HIERARCHY_TRANSFER_SETS, GSBH_HIERARCHY_CATALOG_SETS)
    In any case, we would need access to RSA2 with create/modify authorization.
    They answered that RSA2 is for display only.  Here is their answer:
    "RSA2 is a display only transaction. This transaction is not released for changes in customer systems. The reason is that there would be risks due to incorrect modifications."
    I've also tryed BW07 transaction, but it is just for sets created with GS01 transaction (hierarchy class 0000), and I can´t create a custom datasource for Cost Element from this point.
    If is there another way to supress controlling area prefix??
    Our Development team don´t want the idea to modify GSBH_HIERARCHY_TRANSFER_SETS, GSBH_HIERARCHY_CATALOG_SETS function modules without an OSS note that says so.
    Thanks in advance, Leticia
    I'm having just the same problem mentioned in this thread /community

    I have created a ABAP program to download the costelementgroup from SAP R/3 into a flatfile.<br>
    Hope this helps.<p>
    &----<br>
    *& Report  Z_EXTRACT_COSTELMNTGRP_HIER<br>
    *&<br>
    &----<br>
    *&<br>
    *&<br>
    &----<br>
    <br>
    REPORT  Z_EXTRACT_COSTELMNTGRP_HIER.<br>
    <br>
    ************************************************************************<br>
    TABLES<br>
    ************************************************************************<br>
    <br>
    TABLES: SETLEAF,<br>
            CSKU,<br>
            CSKT.<br>
    <br>
    ************************************************************************<br>
    TYPES<br>
    ************************************************************************<br>
    <br>
    TYPES:  BEGIN OF T_FL_SETLEAF,<br>
            SETNAME TYPE SETLEAF-SETNAME,<br>
            LINEID TYPE SETLEAF-LINEID,<br>
            VALOPTION TYPE SETLEAF-VALOPTION,<br>
            VALFROM TYPE SETLEAF-VALFROM,<br>
            VALTO TYPE SETLEAF-VALTO,<br>
            LTEXT TYPE CSKU-LTEXT,<br>
            END OF T_FL_SETLEAF.<br>
    <br>
    TYPES:  BEGIN OF T_FL_CSKU,<br>
            KSTAR TYPE CSKU-KSTAR,<br>
            LTEXT TYPE CSKT-LTEXT,<br>
            END OF T_FL_CSKU.<br>
    <br>
    TYPES:  BEGIN OF T_FL_CSKB,<br>
            KOKRS TYPE CSKB-KOKRS,<br>
            KSTAR TYPE CSKB-KSTAR,<br>
            DATBI TYPE CSKT-DATBI,<br>
            END OF T_FL_CSKB.<br>
    <br>
    TYPES:  BEGIN OF T_FL_HIER,<br>
            NID(8) TYPE N,<br>
            IOBJ(30),<br>
            NNAME(32),<br>
            PID(8) TYPE N,<br>
            HID TYPE I,<br>
            VALC TYPE I,<br>
            DESC(60),<br>
            END OF T_FL_HIER.<br>
    <br>
    TYPES:  BEGIN OF T_FL_MKHIER,<br>
            HID TYPE I,<br>
            PID(8) TYPE N,<br>
            END OF T_FL_MKHIER.<br>
    <br>
    TYPES:  BEGIN OF T_FL_FINAL,<br>
            OUT(500),<br>
            END OF T_FL_FINAL.<br>
    <br>
    ************************************************************************<br>
    WORKAREAS<br>
    ************************************************************************<br>
    <br>
    DATA:  VFL_CSKU TYPE T_FL_CSKU,<br>
           VFL_CSKB TYPE T_FL_CSKB,<br>
           VFL_SETLEAF TYPE T_FL_SETLEAF,<br>
           VFL_HIER TYPE T_FL_HIER,<br>
           VFL_HIER1 TYPE T_FL_HIER,<br>
           VFL_MKHIER TYPE T_FL_MKHIER,<br>
           VFL_FINAL TYPE T_FL_FINAL,<br>
           VFL_SETHIER TYPE SETHIER_CO.<br>
    <br>
    DATA:  V_SETHEADER TYPE SETHEADER.<br>
    <br>
    ************************************************************************<br>
    INTERNAL TABLES<br>
    ************************************************************************<br>
    <br>
    DATA:  VIT_CSKU TYPE STANDARD TABLE OF T_FL_CSKU,<br>
           VIT_CSKB TYPE STANDARD TABLE OF T_FL_CSKB,<br>
           VIT_SETLEAF TYPE STANDARD TABLE OF T_FL_SETLEAF,<br>
           VIT_SETLEAF1 TYPE STANDARD TABLE OF T_FL_SETLEAF,<br>
           VIT_HIER TYPE STANDARD TABLE OF T_FL_HIER,<br>
           VIT_MKHIER TYPE STANDARD TABLE OF T_FL_MKHIER,<br>
           VIT_FINAL TYPE STANDARD TABLE OF T_FL_FINAL,<br>
           VIT_SETHIER TYPE SETHIER_CO OCCURS 0 WITH HEADER LINE,<br>
           VIT_SETVAL TYPE SETVAL_CO OCCURS 0 WITH HEADER LINE.<br>
    <br>
    ************************************************************************<br>
    VARIABLES<br>
    ************************************************************************<br>
    <br>
    DATA:  NID(8) TYPE N,<br>
           PID(8) TYPE N,<br>
           CSTEL(14) TYPE N,<br>
           SETCLS(4) TYPE C,<br>
           IOBJ(10) TYPE C,<br>
           HID TYPE I,<br>
           NHID(8) TYPE N,<br>
           NVALC(8) TYPE N,<br>
           OUT(500),<br>
           L_FLAG(2) TYPE N,<br>
           L_LINK(1),<br>
           L_COAREA LIKE BAPICO_GROUP-CO_AREA,<br>
           RETURN LIKE BAPIRET2.<br>
    <br>
    ************************************************************************<br>
    SELECTION SCREEN INPUTS<br>
    ************************************************************************<br>
    <br>
    SELECTION-SCREEN BEGIN OF BLOCK SS01 WITH FRAME TITLE TEXT-002.<br>
    PARAMETERS: P_SUBCLS(4) OBLIGATORY,                "Org. eenheid bepalen<br>
                P_SETNM(15) OBLIGATORY.            "Kostensoortgroep bepalen<br>
    SELECTION-SCREEN END OF BLOCK SS01.<br>
    <br>
    SETCLS = '0102'.                        "Setklasse voor kostensoortgroep<br>
    IOBJ = '0COSTELMNT'.                    "InfoObjectnaam voor kostensoort<br>
    <br>
    SELECT SETNAME LINEID VALOPTION VALFROM VALTO INTO TABLE VIT_SETLEAF<br>
           FROM SETLEAF<br>
           WHERE SUBCLASS = P_SUBCLS<br>
           AND SETCLASS = SETCLS.<br>
    <br>
    SELECT KSTAR LTEXT INTO TABLE VIT_CSKU<br>
           FROM CSKU<br>
           WHERE KTOPL = P_SUBCLS<br>
           AND SPRAS = 'NL'.<br>
    <br>
    LOOP AT VIT_SETLEAF INTO VFL_SETLEAF.<br>
    <br>
      IF VFL_SETLEAF-VALOPTION = 'EQ'.<br>
    <br>
        READ TABLE VIT_CSKU INTO VFL_CSKU WITH KEY<br>
                   KSTAR = VFL_SETLEAF-VALFROM BINARY SEARCH.<br>
    <br>
        IF SY-SUBRC = 0.<br>
    <br>
          VFL_SETLEAF-LTEXT = VFL_CSKU-LTEXT.<br>
    <br>
          IF VFL_SETLEAF-LTEXT IS INITIAL.<br>
    <br>
            SELECT SINGLE KTEXT FROM CSKU INTO VFL_SETLEAF-LTEXT<br>
                   WHERE SPRAS = 'N'<br>
                   AND KTOPL = P_SUBCLS<br>
                   AND KSTAR = VFL_SETLEAF-VALFROM.<br>
    <br>
          ENDIF.<br>
    <br>
          APPEND VFL_SETLEAF TO VIT_SETLEAF1.<br>
    <br>
        ENDIF.<br>
    <br>
        CLEAR VFL_CSKU.<br>
    <br>
      ELSEIF VFL_SETLEAF-VALOPTION = 'BT'.<br>
    <br>
        LOOP AT VIT_CSKU INTO VFL_CSKU<br>
             WHERE KSTAR GE VFL_SETLEAF-VALFROM<br>
             AND KSTAR LE VFL_SETLEAF-VALTO.<br>
    <br>
          VFL_SETLEAF-VALFROM = VFL_CSKU-KSTAR.<br>
          VFL_SETLEAF-VALTO = VFL_CSKU-KSTAR.<br>
          VFL_SETLEAF-LTEXT = VFL_CSKU-LTEXT.<br>
    <br>
          IF VFL_SETLEAF-LTEXT IS INITIAL.<br>
    <br>
            SELECT SINGLE KTEXT FROM CSKU INTO VFL_SETLEAF-LTEXT<br>
                   WHERE SPRAS = 'N'<br>
                   AND KTOPL = P_SUBCLS<br>
                   AND KSTAR = VFL_SETLEAF-VALFROM.<br>
    <br>
          ENDIF.<br>
    <br>
          APPEND VFL_SETLEAF TO VIT_SETLEAF1.<br>
    <br>
          CLEAR VFL_CSKU.<br>
    <br>
        ENDLOOP.<br>
    <br>
      ENDIF.<br>
    <br>
      CLEAR VFL_SETLEAF.<br>
    <br>
    ENDLOOP.<br>
    <br>
    CLEAR VIT_SETLEAF[].<br>
    <br>
    SORT VIT_SETLEAF1 BY SETNAME VALFROM.<br>
    <br>
    CALL FUNCTION 'K_GROUP_REMOTE_READ'<br>
      EXPORTING<br>
        setclass   = SETCLS<br>
        co_area    = L_COAREA<br>
        chrt_accts = P_SUBCLS<br>
        groupname  = P_SETNM<br>
      IMPORTING<br>
        return     = RETURN<br>
      TABLES<br>
        et_sethier = VIT_SETHIER<br>
        et_setval  = VIT_SETVAL.<br>
    <br>
    NID = 00000001.<br>
    PID = 00000000.<br>
    <br>
    LOOP AT VIT_SETHIER INTO VFL_SETHIER.<br>
    <br>
      IF NID EQ 00000001.<br>
    <br>
        HID = VFL_SETHIER-HIERLEVEL.<br>
    <br>
        VFL_HIER-NID = NID.<br>
        VFL_HIER-PID = PID.<br>
        VFL_HIER-HID = HID.<br>
        VFL_HIER-IOBJ = '0HIER_NODE'.<br>
        VFL_HIER-NNAME = VFL_SETHIER-GROUPNAME.<br>
        VFL_HIER-DESC = VFL_SETHIER-DESCRIPT.<br>
        VFL_HIER-VALC = VFL_SETHIER-VALCOUNT.<br>
    <br>
        VFL_MKHIER-HID = HID.<br>
        VFL_MKHIER-PID = PID.<br>
    <br>
        APPEND VFL_MKHIER TO VIT_MKHIER.<br>
        APPEND VFL_HIER TO VIT_HIER.<br>
    <br>
        NID = NID + 1.<br>
    <br>
        CLEAR: VFL_HIER, VFL_MKHIER.<br>
    <br>
      ELSE.<br>
    <br>
        IF HID EQ VFL_SETHIER-HIERLEVEL.<br>
    <br>
          HID = VFL_SETHIER-HIERLEVEL.<br>
    <br>
          VFL_HIER-NID = NID.<br>
          VFL_HIER-PID = PID.<br>
          VFL_HIER-HID = HID.<br>
          VFL_HIER-IOBJ = '0HIER_NODE'.<br>
          VFL_HIER-NNAME = VFL_SETHIER-GROUPNAME.<br>
          VFL_HIER-DESC = VFL_SETHIER-DESCRIPT.<br>
          VFL_HIER-VALC = VFL_SETHIER-VALCOUNT.<br>
    <br>
          NID = NID + 1.<br>
    <br>
          APPEND VFL_HIER TO VIT_HIER.<br>
    <br>
          CLEAR: VFL_HIER.<br>
    <br>
        ELSEIF HID LT VFL_SETHIER-HIERLEVEL.<br>
    <br>
          HID = VFL_SETHIER-HIERLEVEL.<br>
          PID = NID - 1.<br>
    <br>
          VFL_HIER-NID = NID.<br>
          VFL_HIER-PID = PID.<br>
          VFL_HIER-HID = HID.<br>
          VFL_HIER-IOBJ = '0HIER_NODE'.<br>
          VFL_HIER-NNAME = VFL_SETHIER-GROUPNAME<br>.
          VFL_HIER-DESC = VFL_SETHIER-DESCRIPT.<br>
          VFL_HIER-VALC = VFL_SETHIER-VALCOUNT.<br>
    <br>
          READ TABLE VIT_MKHIER INTO VFL_MKHIER<br>
            WITH KEY HID = VFL_SETHIER-HIERLEVEL BINARY SEARCH.<br>
    <br>
          IF SY-SUBRC = 0.<br>
    <br>
            VFL_MKHIER-PID = PID.<br>
            MODIFY TABLE VIT_MKHIER FROM VFL_MKHIER.<br>
    <br>
          ELSE.<br>
    <br>
            VFL_MKHIER-HID = HID.<br>
            VFL_MKHIER-PID = PID.<br>
            APPEND VFL_MKHIER TO VIT_MKHIER.<br>
    <br>
          ENDIF.<br>
    <br>
          NID = NID + 1.<br>
    <br>
          APPEND VFL_HIER TO VIT_HIER.<br>
    <br>
          CLEAR: VFL_HIER, VFL_MKHIER.<br>
    <br>
        ELSE.<br>
    <br>
          HID = VFL_SETHIER-HIERLEVEL.<br>
    <br>
          READ TABLE VIT_MKHIER INTO VFL_MKHIER<br>
            WITH KEY HID = VFL_SETHIER-HIERLEVEL BINARY SEARCH.<br>
    <br>
          PID = VFL_MKHIER-PID.<br>
    <br>
          VFL_HIER-NID = NID.<br>
          VFL_HIER-PID = PID.<br>
          VFL_HIER-HID = HID.<br>
          VFL_HIER-IOBJ = '0HIER_NODE'.<br>
          VFL_HIER-NNAME = VFL_SETHIER-GROUPNAME.<br>
          VFL_HIER-DESC = VFL_SETHIER-DESCRIPT.<br>
          VFL_HIER-VALC = VFL_SETHIER-VALCOUNT.<br>
    <br>
          NID = NID + 1.<br>
    <br>
          APPEND VFL_HIER TO VIT_HIER.<br>
    <br>
          CLEAR: VFL_HIER.<br>
    <br>
        ENDIF.<br>
    <br>
      ENDIF.<br>
    <br>
    ENDLOOP.<br>
    <br>
    LOOP AT VIT_HIER INTO VFL_HIER WHERE VALC NE 0.<br>
    <br>
      LOOP AT VIT_SETLEAF1 INTO VFL_SETLEAF WHERE SETNAME EQ VFL_HIER-NNAME.<br>
    <br>
        VFL_HIER1-PID = VFL_HIER-NID.<br>
        VFL_HIER1-HID = VFL_HIER-HID.<br>
        VFL_HIER1-IOBJ = IOBJ.<br>
        VFL_HIER1-DESC = VFL_SETLEAF-LTEXT.<br>
    <br>
        SELECT KOKRS KSTAR DATBI INTO TABLE VIT_CSKB<br>
               FROM CSKB<br>
               WHERE KSTAR EQ VFL_SETLEAF-VALFROM.<br>
    <br>
        LOOP AT VIT_CSKB INTO VFL_CSKB WHERE DATBI GE SY-DATUM.<br>
    <br>
          VFL_HIER1-NID = NID.<br>
    <br>
          CONCATENATE VFL_CSKB-KOKRS VFL_SETLEAF-VALFROM INTO CSTEL.<br>
    <br>
          VFL_HIER1-NNAME = CSTEL.<br>
          NID = NID + 1.<br>
    <br>
          APPEND VFL_HIER1 TO VIT_HIER.<br>
    <br>
          CLEAR: VFL_CSKB.<br>
    <br>
        ENDLOOP.<br>
    <br>
        CLEAR: VFL_SETLEAF, VFL_HIER1.<br>
    <br>
      ENDLOOP.<br>
    <br>
      CLEAR VIT_SETLEAF[].<br>
    <br>
    ENDLOOP.<br>
    <br>
    <br>
    LOOP AT VIT_HIER INTO VFL_HIER.<br>
    <br>
      NHID = VFL_HIER-HID.<br>
      NVALC = VFL_HIER-VALC.<br>
    <br>
      CONCATENATE VFL_HIER-NID ';' VFL_HIER-IOBJ ';' '"' VFL_HIER-NNAME '"'<br>
                  ';' ';' VFL_HIER-PID ';' ';' ';' 'N' ';'<br>
                  '"' VFL_HIER-DESC '"' ';' '"' VFL_HIER-DESC '"' ';'<br>
                  '"' VFL_HIER-DESC '"' INTO OUT.<br>
    <br>
      VFL_FINAL-OUT = OUT.<br>
      APPEND VFL_FINAL TO VIT_FINAL.<br>
      CLEAR VFL_FINAL.<br>
    <br>
    ENDLOOP.<br>
    <br>
    CALL FUNCTION 'GUI_DOWNLOAD'<br>
    EXPORTING<br>
      filename = 'hierarchy.csv'<br>
    TABLES<br>
      data_tab = VIT_FINAL<br>
    EXCEPTIONS<br>
      OTHERS   = 1.<br>
    <br>
    Edited by: Bjorn Houben on Dec 28, 2009 2:07 PM
    Edited by: Bjorn Houben on Dec 28, 2009 2:16 PM
    Edited by: Bjorn Houben on Dec 28, 2009 2:16 PM

  • TS3989 My 5th gen ipod touch was stolen.  I removed the device from my iTunes account, but their pictures still show up on the photostream on the one I purchased to replace it.  How do I get this to stop, the cops have no interest in their faces, nor do I

    My 5th gen iPod touh was stolen a month ago.  I immediately removed that device from my account and yet today I looked at my photostream and there are tons of pics of these people on my photostream.  How do I get this to stop?!?

    Change your iCloud ID password: http://support.apple.com/kb/HT5624.  After doing so, go to Settings>iCloud, tap Delete Account, then sign back in with the new password.

  • Anyone know how to remove Overdrive books from my iphone that have been transferred from my computer? They do not show up on itunes. I see a lot of answers to this question but they all are based on being able to see the books in iTunes.

    How do I remove Overdrive books from the library that were downloaded onto my computer then transferred to my iphone? The problem is that they do not show up in iTunes.
    I see this question asked a lot when I google, but they always give answers that assumes you can find the books in iTunes either under the books tab, or the audio books tab or in the music. They do not show up anywhere for me. They do not remove from the app like the ones I downloaded directly onto my iphone.the related archived article does not answer it either.  I even asked a guy working at an apple store and he could not help either.   Anybody...?
    Thanks!

    there is an app called daisydisk on mac app store which will help you see exactly where the memory is focused and consumed try using that app and see which folders are using more memory

Maybe you are looking for

  • Error while loading shared libraries libQtGui.so.4

    I was "fixing" TeamSpeak 3 shortcut today, and I don't know why I logged on as root and copied all the libs from TS directory to /usr/lib. Apparently, there was libQtGui.so.4, and I have overwritten the "original". Now my KDE (latest from repos) won'

  • Can MacOSX damage repeatedly an usb hdd?

    Hi all! I'm experiencing a very bad situation so i pasted below what i wrote to Samsung/Seagate: The hdd in question is a Samsung G3 Station USB 2TB (less then 1-year of life). I use the usb disk on a Mac system with 2 partition in HFS+ formatted fil

  • Multiple Forms Auto Populate on input of customer id number?

    Hi Wondering if there is a way that forms can auto populate information regarding customer input data if a separate form is used? Process is Registration this is customer registration process with member details for term and level details. Then Reque

  • Special Prices for BP Period Discounts

    Hi all Is it possible to mass import Special Prices for BP Period Discounts for all Customers and Items? Kedalene Chong

  • Is XS Project right for Database Schema and tables

    Hi Friends 1.As per OpenSAP video it is suggesting to use XS Project for Database objects. In my case I am planning to do AO Reporting and not creating any UI , is XS project still the right project type. There is an option for General ->Project - wo