Lookup Characteristic on IP data post (FUNDS_CTR- COMP_CODE)

Hello.
In my case, funds centers belong to appropriate company code, say
FUNDS_CTR1,  FUNDS_CTR2, FUNDS_CTR3 belong to COMP_CODE1
FUNDS_CTR4,  FUNDS_CTR5, FUNDS_CTR6 belong to COMP_CODE2
FUNDS_CTR10,  FUNDS_CTR11 belong to COMP_CODE3
etc.
I got IP-enabled InfoProvider with 0COMP_CODE and 0FUNDS_CTR. I've created aggregation level on 0FUNDS_CTR. Is it possible to create lookup mechanizm (by ABAP or some type of hierarchy or whatever) to get comp. code by funds center on data post to the InfoProvider? Back to the example:
Then user chooses FUNDS_CTR4 I post this value with COMP_CODE2 value
Then user chooses FUNDS_CTR11 I post this value with COMP_CODE3 value
etc.
thanx in advance,
points will be awarded

Hi Gediminas,
please check the follwing link:
http://help.sap.com/saphelp_nw70/helpdata/en/43/1c3d0f31b70701e10000000a422035/frameset.htm
Please search in this forum as well for characterist relationships. You will find useful information about this topic.
Regards Matthias Nutt
SAP Consulting Switzerland

Similar Messages

  • BI-IP WEB characteristic without master data

    Hello!
    In Bex ready for input query i can use characteristic without master data and then i can insert new values in characteristic key (maintain this characteristic from ready for input query). But when i try use this feature in WEB application i get error messsage about incorrect master data validation. Do you have any idea  how use this feature in WEB?
    Thanks

    Hi,
    please be aware that this is called "Master data planning". Master data plannig is not supported in BI-IP although it may work in some cases. As far as I remember somebody posted how this could be done in the Web recently. I remember he used a class to achieve it. I have not tested the approach, but you should find the thread in the forum. Nevertheless you should try to find a "better" approach for generating new master data.
    See [Data entry of Character values;
    Regards
    Matthias Nutt
    SAP Consulting Switzerland

  • Wrong data posting in the infocube

    Hi Gurus,
    When we are writing in our infocube with BPS (not depending on interface type), data are stored on wrong characteristic.
    For example : we are writing on the Characteristic "1" and data is stored on another characteristic. As a result, no data have been changed and we cannot do the budget.
    Thank you in advance for your help,

    Hi;
    I am not sure how to do correct your wrongly assigned data; but if you don't find any good answers may be you can try deleting the wrongly assigned data from that char and post again to the correct one...
    BK

  • Invoice verification Invoice date,Posting date and Baseline Date

    Hi Sap Gurus
    Pls Tell Me in detail what Dates should be entered at MIRO transaction,
    Invoice date,Posting date and Baseline Date
    i presumed that the date on the Invoice slip will be Invoice date,
    But in the Invoice the Date is very long back, say a month Older,
    the month of Posting as Posting date, but any posting Date made in MIRO will be Paid after 2 or 3 months so in this case what should be the Posting date.
    at Base line date in the present company Senario the Discount on Vendor payment is literally valid for all the time , say
    In Invoice if the condition is 10% discount if paid in 30 days is given.
    but in actual sense the Vendor is paid 10% less even if he is paid after 4 or 6 months also, so in this case what should be the Entry in Baseline date
    another senario is the vendor has sent only one Invoice for 2 POs how can this be accomadated in SAP
    Pls suggest its Urgent,
    Age may have a Bar, But Points No Bar
    Thanks and Regards
    Sathish

    Hi
    LIV is nothing but You are getting Invoice from the Vendor for your PO   and GR.....and you are checking the Invoice for Price, Qty,Amount etc. by refering the PO  and posting the Invoice...
    Invoice Date : 
               The date of Vendor' Invoice...ie) Date at which the vendor Raised the invoice for his supply against your PO...
    Posting Date :
       The Date at which you actually Verifying Vendor's Invoice and doing the Posting...
    base line date :
        Generally the Posting Date...
    The Imp. of Baseline date is for eg)
    If in the Payment Terms if some conditions are maintained like say
    10% Discount for Payment With in 30 days, if
    PO created on 01.11.2007.
    GR done at 10.11.2007.
    Invoice slip Received at 30.11.2007 but having the Date on it as 20.11.2007...
    So as per your terms you will get 10% Discount if you make the payment on or  20.12.07....
    Here if you keep  inv. Date: 20.11.2007  and Posting Date : 30.11.2007  and Baseline Date as  30.11.2007 ( you cannot maintain baseline date earlier than  Posting date)....even though as per terms the you are  eligible for discount if you make the payment on or before 20.11.2007.....as per the system you are still eligible to get the Discount if you make payment on or 30.12.2007( since you have maintained baseline date as 30.11.2007)...
    this way Baseline date is Importane...
    Generally we use to maintain always Posting Date as Baseline date....
    It is advantageous..
    Reward if useful
    regards
    S.Baskaran

  • Difference between doc date,posting date and invoice date

    hi bw guys
    can someone give a brief on the difference between doc date,posting date and invoice date.and the invidual definitions
    thank you

    Hi,
    Posting Date: Date which is used when entering the document in Financial Accounting or Controlling. The posting date can differ from both the entry date and the doc date.
    Document Date: The document date is the date on which the original document was issued. Ex: Inv date, Bill date etc.,
    Invoice Date : Usually the date when goods are shipped. Payment dates are set relative to the invoice date.
    -Vikram

  • Document Date & Posting date relations with PO-GRN-MIRO.

    Dear Experts,
    Could you please join the date relations for PO-GRN-MIRO with DOCUMENT DATE & POSTING DATE.
    I want to ask that what exactly we say Document Date & Posting Date to PO - GRN & MIRO.

    what exactly we say Document Date & Posting Date
    Just type in google difference between document date and posting date  and execute.  You will find lot of threads discussed on this topic.  Please dont post any query without searching the forum or google.
    G. Lakshmipathi

  • GRN Document Date / Posting Date Field Mandatory or Freeze

    Dear All,
    We have four Company Codes with single Chart of Accounts. we required to make GRN Document Date / Posting Date Field Mandatory or freeze on current date for only one Company Code. Can it be possible through Standard Configuration?
    Regards,
    Majid Khan

    what exactly we say Document Date & Posting Date
    Just type in google difference between document date and posting date  and execute.  You will find lot of threads discussed on this topic.  Please dont post any query without searching the forum or google.
    G. Lakshmipathi

  • Regarding dates(posting key ,clearing key ,key due ,base line)

    HI Friends,
    I am new to bi,could you please can any one explain me significance of the below dates .
    1) Posting key date
    2)clearing key date
    3)key due date
    4)base line date
    5)key date for due date
    Above date regarding FI-AP Report.
    Thanks in advance,
    Vas.

    1) posting date: the date, when a FI-position is posted (booked). (to differentiate with create date = the date when a FI-document is created)
    2) clear date: the date, when a position is payed (cleared) from Vendor (Supplier)
    3) due date: the date, when the position has to be payed (payment date)
    4) baseline date is more a self-defined date (company depending), where the company has a basis to calculate some cindition like the trade discount or due date... Ask your FI-Colleagues for more details.
    5) key date: It is more a input field when you execute a query. Based on this input field you can make a calculation or comparision (with certain requirements/conditions).
    For example: a FI-position is still open when the posting key date <= posting date. The position is cleared when clear key date > clear date and posting key_date < posting date.
    Another example: a FI-position is overdue when a key date for due date > due date and a posting key date > posting date.

  • How to correctProcess Order confirmation data posted in the previous month

    Hi All PP Gurus,
    Can anybody tell me the answer of following
    How we can correct the process order confirmation data posted in the previous month.

    Dear Ashok/Brahmankar,
    Actually i am facing the following problem:-
    1) If you cancel the confirmation done in the previous month by the tcode CORS, the CO document is posted in the previous period because we cannot change the posting date in CORS. But the previous period is already closed.
    Can we change the posting date in CORS manually? Or do you have any other idea? 
    2) When reading the master data in COR2, I face the error because the status of PO is already set as 'DLV'.
    Do we need to read the master data even when the value is changed in KP26?
    Thanks,
    Narayan

  • Exception Reporting based on a characteristic of type DATE

    Hi Friends,
    I am new to this community. Please help me in solving the below problem about exception.
    There is an infoobject 0CSM_PLDA (Planned closed date). It is an charactesitic of data type 'DATE'. And my requirement is that for an infoobject 0CSM_PLDA <b>I have to create an alert based on difference between SYSDAT and 0CSM_PLDA :</b>
    Good - < 5 days
    Medium – between 5 and 2 days
    Bad – <1 day
    So please tell me
    1. How to find out the difference between SYSDAT and 0CSM_PLDA ? Where does Sysdat is avaialble in BW?
    2. 0CSM_PLDA is a characteristic of type DATE and as you know Exception generally supports keyfigure...then tell me how to solve this?
    Please answer in detail. Thanks----Sasi.<b></b>

    Hi Stefan,
    Still I couldn't find the solution.
    0CRM_PLDA is a characteristic of type DATE. And SYSDAT we can assume it as a characteristic of type DATE.
    How can you find out the difference between two characteristic of type DATE. In formula, its possible to perform calculations only on keyfigures. So finding the difference is the complex one for me.
    Even I tried with formula replacement for an 0crm_plda. Its not helpful.
    please guide me in solving the problem.
    Thanks,
    Sasi

  • Grabbing xml from raw data post to my webserver

    Trying to figure out how to catch xml being posted to my webserver. The client's instructions are:
    The HTTP and HTTPS delivery method performs a text/plain mime binary data post to the supplier's webserver. Suppliers must develop a catch web page. This page will receive the binary post.
    This is an xml document that I must capture and write to disk. I'm intending to use a java servlet to grab this data but java is new to me. It looks like HttpServletRequest is what I'm looking for. Anyone with any pointers?
    thanks,
    destin

    Okay, I've got some coding off a site that looks like it will do what I want. It's quite a robust applications which will do more than I need but as long as it does at least what I want, i could care less. As it will extract files from the datastream for me, it is going to save them to disk.
    I believe I have to specify a directory to save it to. I believe this is the line I'm going to modify, so assuming that's the case, how do I specify a directory here:
    private File fileOutPutDirectory = null;
    Do I have to use absolute paths or can I use relative. Also, what directory construct is expected by java? Anyone with an example of what urls are supposed to look like in this case?
    Thanks,
    destin

  • Characteristic Relationship - displaying data

    Hi All,
    I implemented characteristic relationship (through ABAP class) and it is working fine except one thing.
    It displays the desired combinations, but also posted data in infoprovider in planning mode, that were suppose to be hidden (according to char. rel. logic).
    I set for all the relevant characteristics "characteristic relationship" in query designer....
    Any idea what I am doing wrong?
    Many Thanks!
    Pavel

    Hi Pavel,
    sorry, maybe your exist does not work in all cases (implementation of the check method).
    From your description it seems that you want to control access or maybe only make something not input ready. In the first case use authorization, in the latter use data slices.
    When you say 'measures' it is also not clear for me whether you mean 'key figures'. You can not control key figures with characteristics relations, except you are using a characteristic to model key figures (account model). But again, characteristic relationships are a means to control the valid combination in the cube (so to say they define the 'truth' in the cube or what are 'consistent' data records). Data slices are a concept to protect data from being changed (typical example: lock a planning version).
    Regards,
    Gregor

  • Zip data posted from client does not show up correctely at Server

    The java client post GZip'd data to the Webserver. The webserver for some reason shows the first 10 bytes correctly. Not sure what I am overlooking
    Also get java.io.EOFException: Unexpected end of ZLIB input stream
    public class GetPost {
         public String line;
         public String inputLine;
    public static void main(String[] args) throws Exception {
              GetPost r = new GetPost();
                   r.postURL("User","pass");
    // public Reverse { }
    public static byte [] zip(String data)
    throws IOException
    byte[] incomingBytes = data.getBytes();
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    GZIPOutputStream zip = new GZIPOutputStream(baos);
    for (int i = 0; i < incomingBytes.length; i++)
    zip.write(incomingBytes[i] & 0xFF);
    zip.close();
    byte[] uncompressedBytes = baos.toByteArray();
    return uncompressedBytes;
    public static String unzip(byte [] dataBytes)
    throws IOException
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    ByteArrayInputStream bios = new ByteArrayInputStream(dataBytes);
    GZIPInputStream unzip = new GZIPInputStream(bios);
    int in = unzip.read();
    while (in != -1)
    baos.write(in);
    in = unzip.read();
    unzip.close();
    return new String(baos.toByteArray());
    public String postURL( String t1 , String t2 ){
    try {
              String data1="h";
    URL urlpost = new URL("http://192.168.15.4:8080/result.html");
         URLConnection conn = urlpost.openConnection();
         conn.setDoOutput(true);
         GZIPOutputStream gz = new GZIPOutputStream(conn.getOutputStream());
         byte [] kkkk=zip(data1);
         String uuu=unzip(kkkk);
         System.out.println("XXXXX" + uuu );
         for (int i=0; i< kkkk.length ; i++){
              Byte jj= new Byte(kkkk);
              System.out.println("LLLL " + " " + i + " " + jj );
         int t= kkkk.length;
         System.out.println("IIII" + t);
         int x= data1.getBytes().length;
         gz.write(kkkk);
         gz.finish();
         gz.close();
         // Get the response
         BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));
         while ((line = rd.readLine()) != null) {
         // Process line...
         System.out.println ("The line is " + line );
         } catch (Exception e) {
              return line;
    The client output is
    LLLL 0 31
    LLLL 1 -117
    LLLL 2 8
    LLLL 3 0
    LLLL 4 0
    LLLL 5 0
    LLLL 6 0
    LLLL 7 0
    LLLL 8 0
    LLLL 9 0
    LLLL 10 -53
    LLLL 11 0
    LLLL 12 0
    LLLL 13 -25
    LLLL 14 6
    LLLL 15 107
    LLLL 16 -111
    LLLL 17 1
    LLLL 18 0
    LLLL 19 0
    LLLL 20 0
    Server output is correct only for the first 10 bytes
    LLLL 0 31
    LLLL 1 -117
    LLLL 2 8
    LLLL 3 0
    LLLL 4 0
    LLLL 5 0
    LLLL 6 0
    LLLL 7 0
    LLLL 8 0
    LLLL 9 0
    LLLL 10 -53
    LLLL 11 0
    LLLL 12 0
    LLLL 13 -25
    LLLL 14 6
    LLLL 15 107
    LLLL 16 -111
    LLLL 17 1
    LLLL 18 0
    LLLL 19 0
    LLLL 20 0

    FYI - I got it to work ... I was gzip it twice... here is what worked
    import java.io.BufferedReader;
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.io.PrintWriter;
    import java.net.URL;
    import java.net.URLConnection;
    import java.net.URLEncoder;
    import java.util.zip.*;
    import java.io.OutputStreamWriter;
    public class WorkingCopyOfGetPost {
         public String line;
         public String inputLine;
    public static void main(String[] args) throws Exception {
              WorkingCopyOfGetPost r = new WorkingCopyOfGetPost();
                   r.postURL("User","pass");
    // public Reverse { }
    public static byte [] zip(String data) throws IOException {
         byte[] incomingBytes = data.getBytes();
         ByteArrayOutputStream baos = new ByteArrayOutputStream();
         GZIPOutputStream zip = new GZIPOutputStream(baos);
         for (int i = 0; i < incomingBytes.length; i++){
              zip.write(incomingBytes[i] & 0xFF);
         zip.close();
         byte[] uncompressedBytes = baos.toByteArray();
         return uncompressedBytes;
    public static String unzip(byte [] dataBytes) throws IOException {
         ByteArrayOutputStream baos = new ByteArrayOutputStream();
         ByteArrayInputStream bios = new ByteArrayInputStream(dataBytes);
         GZIPInputStream unzip = new GZIPInputStream(bios);
         int in = unzip.read();
         while (in != -1){
              baos.write(in);
              in = unzip.read();
         unzip.close();
         return new String(baos.toByteArray());
    public static ByteArrayOutputStream zip1(String data) throws IOException {
              byte[] incomingBytes = data.getBytes();
              ByteArrayOutputStream baos = new ByteArrayOutputStream();
              GZIPOutputStream zip = new GZIPOutputStream(baos);
              for (int i = 0; i < incomingBytes.length; i++){
                   zip.write(incomingBytes[i] & 0xFF);
              zip.close();
              //byte[] uncompressedBytes = baos.toByteArray();
              return baos;
    public String postURL( String t1 , String t2 ){
         String data1="t";
         try {
              /* byte [] kkkk=zip(data1);
              for (int x=0;x<20;x++){
                   System.out.println("Byte Array Values " + x + kkkk[x] );
              ByteArrayOutputStream bo= zip1(data1);
              byte [] AAA=bo.toByteArray();
              for (int x=0;x<21;x++){
                   System.out.println("Byte Array Values " + x + " "+ AAA[x] );
              URL urlpost = new URL("http://192.168.15.4:8080/result.html");
         URLConnection conn = urlpost.openConnection();
         conn.setDoOutput(true);
         System.out.println( "The size of the byteArrayOutputstream " + bo.size() );
         bo.writeTo(conn.getOutputStream());
         // GZIPOutputStream gz = new GZIPOutputStream(conn.getOutputStream());
         // System.out.println("rrrr " + kkkk.length);
         // gz.write(kkkk);
         //gz.finish();
         //gz.flush();
         bo.flush();
         // String s=unzip(kkkk) ;
         //System.out.println("s " + s);
         // Get the response
         BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));
         while ((line = rd.readLine()) != null) {
         // Process line...
         System.out.println ("The line is " + line );
         rd.close();
         bo.close();
         } catch (Exception e) {
              return line;
    }

  • How can i send data POST with a html link in a textfield

    Hello,
    This is my problem : I generate (from a php script) html
    links in a textfield. I would like for each link to send data with
    the POST method to an other script.
    My problem is that the getURL("lien", "", "POST") function
    can be use only by a movieclip or button event ... and not from a
    html link ...
    How can i do it ?
    Have you a small idea???
    Thanks ....

    yes, thanks but now my problem is in my function associated
    to this link :
    function SendPost()
    var toto="toto";
    getURL("
    http://127.0.0.1/board/scheduledfirst.php",
    "_blank", "GET");
    The function is executed but after in php i can get anything
    with echo ($_GET["toto"]); echo ($_POST["toto"]);
    Why ?

  • Error in document date & posting date-- Posting period 001 2008 is not open

    hi guru's
    while doing vendor creation in XK01, i m not getting the data screens like address, ..etc.i m getting error..posting period not open". what does it mean..
    What date i need to give in both fields...?
    can anybody send a set of data for me to create a vendor to test for my bdc/lsmw?
    can any help me step by step vendor creation in xk01,
    I am getting this below....
    Posting period 001 2008 is not open
    Message no. F5201
    Diagnosis
    Period 001 of fiscal year 2008 is not open for posting for the variant of posting period 1000.
    System Response
    Processing cannot be continued.
    Procedure
    The error can have several causes. In order to eliminate the error, proceed as follows:
    1. Check whether the posting date was entered correctly. The system determines the posting period by means of the date.
    2. Check whether the required posting period is open for posting for the variant of posting period 1000 and account type +. Make sure that the period is open for posting.
    To do this, specify a period interval in which the required period for the variant of posting period 1000 and account type + is contained.
    Proceed
    thanks

    Hi
    Kris is right, that message means you can't post a FI document in the period 1 (probably Gennuary) of the 2008, but this can't mean you can't create a new vendor.
    So are you sure on trx?
    If the trx is right perhaps somebody has inserted a control in a user-exit.
    Max

Maybe you are looking for