Time Dependant on Vendor(LFA1 Table)

Hi,
Can any one help me in creating time dependency on Vendor.
The exact Problem,
I want to creat time dependent on newly created master infoobject YVENDOR, the source table is LFA1.In transfer rules I am not able to mapp any R/3 field to date fields because to unavailabilty of matched fields in LFA1.
I am uable to Mapp Date From and Date to, please suggest me the R/3 fields to mapp.
Please suggest.....Points will be rewarded for good reply.
Thanks
Ram
Message was edited by: Ram

Use a ABAP routine for the current date , something like
sy-datum for current system date ( for the BW server )
Instead of getting the same from R/3 you base your timestamp on the date of loating the data into BW.
Arun
Awarding points is a way of saying thank you on SDN

Similar Messages

  • Moving time-dependant data from one table to another (archiving)

    Hello all
    I would like to know if there's an easier solution or a "best practice" to move data from one table to another. The context of this issue can be found within "archiving".
    More concretely: we have an application that uses several tables to log information to.
    These tables are growing like crazy, and we would like to keep only "relevant" data in those tables, so I was thinking about moving data from these tables that have been in there for, say 2 months, to "archiving" tables.
    I figured there must be some kind of "best practice" to get this done.
    I have already written a procedure that loops the table that has the time indicator and inserts the records from the normal tables into the archive tables (and afterwards delete this data), but it seems to be taking ages to get it done.
    Thanks in advance!
    Message was edited by:
    timschraepen

    There is nothing to do with PL/SQL.
    You can refer below links:
    http://www.lc.leidenuniv.nl/awcourse/oracle/server.920/a96524/c12parti.htm
    http://www.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10739/partiti.htm#i1006727

  • Displaying non existing vendors from lfa1 table..

    Hi All..
    I have a selection screen range for vendor number: LIFNR.
    I want to display all the vendor numbers that are not present in the LFA1 table.. ( If the user gives the vendor range on the selection screen)..
    Any idea or suggestions on how to approach would be great..
    Thanks a lot..

    OK then , pl try thye following piece of code...
    report  zlif                                    .
    data:  w_num type i.
    data: begin of itab occurs 0,
            lifnr type lifnr,
          end of itab.
    data itab2 like itab occurs 0 with header line.
    data w_lifnr type lifnr.
    select-options: s_lifnr for w_lifnr.
    ranges: r_lifnr for w_lifnr.
    select lifnr into table itab from lfa1.
    find the number of entries
    w_num = s_lifnr-high - s_lifnr-low.
    w_num = w_num + 1.
    do w_num times.
      if sy-index = 1.
        w_lifnr = s_lifnr-low.
      else.
        w_lifnr = w_lifnr + 1.
      endif.
      r_lifnr-sign = 'I'.
      r_lifnr-option = 'EQ'.
      r_lifnr-low = w_lifnr.
      append r_lifnr.
    enddo.
    loop at r_lifnr.
      read table itab with key lifnr = r_lifnr-low.
      if sy-subrc ne 0.
        write:/ r_lifnr-low.
      endif.
    endloop.
    Regards,
    Suresh Datti

  • Time dependent Vendor (LFB1)

    Hi gurus,
    I'm quite new in this topic, so sorry if it seems basic question
    Would it be possible to add into LFB1 table, fields Valid to (DATBI) and Valid From (DATAB) in order to have time depend attributes from vendor? If yes, how would you do this? If no, do you see any alternative to have time dependent payment terms in BW?
    Thanks

    Joan,
    Vendor Master Data has only Withholding taxes with time dependent fields. I've never seen another fields like that.
    Please, take a look in link bellow and search for this issue in another tecnical forum. I don't think you will get solution here  Concerning Functional Vendor analysis.
    http://help.sap.com/saphelp_nw04/helpdata/en/13/c3e7379899d06fe10000009b38f8cf/content.htm
    Regards

  • Time-dependent Vendor Master & Handling Special Characters

    Hi,
    I need to extract time-dependent Vendor Master.
    1. The data source for <b>0VENDOR</b> does not have fields to hold the valid date range.
    2. Does the Master data in R/3 for Vendors will hold the valid date range?
    3. The text for <b>0VENDOR</b> provides time-dependent, but how to map the <b>valid from</b> and <b>valid to</b> fields?
    Handling Special Characters:
    We are trying to extract data from Legacy system via DB Connect. The item text field consists of special characters. Of course in BW customization we can specify all the special characters to consider. But the special character we observed is 'square' symbol i.e. 'new line character' in Oracle. We are updating this to an ODS object. When looked at error log, observed that green light for the number of records transferred and updated, but finally when it load into ODS object and activates popping up the error message saying 'could not recognize special character'.
    Please help me getting the 2 issues resolved.
    Thanks in advance.
    Regards,
    Sudhakar.

    Hi Everyone,
    Thanks for inputs on Special characters issue...
    Finally resolved with below piece of code in the start routine:
    DATA: FLAG,
          OFF TYPE I,
          LEN TYPE I VALUE 1,
          ALLOWED_CHAR(95) VALUE
    '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ`~!@#$%^&*()-_=+ ' &
    'abcdefghijklmnopqrstuvwxyz:;<>,.?/|\{}[]"'''.
    CONSTANTS: C_CHAR VALUE '-'.
      LOOP AT DATA_PACKAGE WHERE NOT /BIC/ZI_DESC IS INITIAL .
        DO.
          IF DATA_PACKAGE-/BIC/ZI_DESC CN  ALLOWED_CHAR.
            REPLACE SECTION OFFSET SY-FDPOS LENGTH LEN OF
                    DATA_PACKAGE-/BIC/ZI_DESC WITH C_CHAR.
            FLAG = SPACE.
          ELSE.
            FLAG = 'X'.
          ENDIF.
          IF FLAG = 'X'.
            EXIT.
          ENDIF.
        ENDDO.
        MODIFY DATA_PACKAGE.
      ENDLOOP.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    I have seen the link sent by 'Eugene Khusainov' today. Thought putting my piece of code that may help others...
    Regards,
    Sudhakar.

  • How to create time dependant master data table in R/3?

    Hi gurus,
             I am new to BW.I try to execute the 'Time dependant Attribute' into BW.in my scenario my source system must give me the data like "salesrep ID,Manager ID,Date to,Date from,Sales region". I like to know how to define this master data in SAP R/3(Source system)?. Give me the steps to create master data table in R/3.
    Manager may change periodically.even i need to maintain all the changes in R/3.
    Thanks & Regards,
    Bharath

    built-in type method means.,
    there is no need to create data element and domain objects seperately for each and every field of the table which ever you are creating, system will implicitly fix the size based on the data type you selected....

  • Vendor IDOCs are not uploading in LFA1 table

    Hi All,
    We have a SAP system where Vendor IDOCS are coming from MDM through SAP PI middleware. The problem we are facing is we are not able to see all Vendors in LFA1 table.
    In WE05 IDOCS are posting successfully but when we check for respective vendors in LFA1 table only few vendors are available there.
    Can anybody guide us to solve this issue? Also pls let us know the process of uploading master data into table as we are very new in ABAP.
    Regards,
    Sarita

    be open minded. SAP gives several import methods to load vendors.  one of them is per IDOC.
    But the vendor master IDOC does not automatically create the adress master.
    And even more important, if you migrate data from one SAP system to another, the IDOC method is more straight forward than the batch input, because you can send the IDOCs from legacy system to new system, you will then have a 1:1 relation of the structure in LSMW and you can create vendor masters by knowing the new vendor number from an internal number range already in LSMW, long before you actually post the vendor. With batch input you can either post with numbers from external number range, or you just dont know the new number already in LSMW.
    And you dont need to download the data to Excel. And further, the LFA1 adress data has less information than the ADRC adress data.

  • Update time dependent master data table

    Hi Experts,
    Load to ZCUSTOMER is failing bcause time dependent Q table has few customers in modified version. We applied change run process. Job is successfully done, but it is not updating q table.
    Please provide us the solution on updation of Q tables.
    Thanks...

    Hi Viren,
    Sorry for late reply.
    Your answer is helpful to us.
    We got an option for correct errors in q table of zcustomer.
    But further steps are performed by our onsite team.
    we dont know actual steps they have taken up to solve issue.
    But as said by sita, I think we need to access se14, to activate q table incase your answer doesn't work out.
    Thanks once again..

  • Which tables are hit when a query runs - time dependent objects performance

    Hello all,
    We are trying to see what are the effects of time dependent master data objects in query. We will have a key date as variable so user can see the data as a particular point.
    I am trying to see what are all the tables hit when a query is executed and how the time dependent info objects affect performance. Basically we are trying to see is - does the query hit the P or Q or Y tables of the infoobject. Is there any tcode or program that I can use to see which tables were hit and how much time the query took to execute.
    Also if the time dependent attribute is in free characteristic does it directly effect the query.
    If you can share some more experience with time dependent master data objects in query and its effects on performance that will be great.
    Thanks all in advance

    Hello Siggi, Thanks for inputs
    That is what I actually did before posting message here, the tables that are hit are /BI0/S...or /BI0/R and /BI0/T....    I never see the tables /BI0/P or /BI0/Q ... tables hit. I have a key date on variable screen at so when i put future or past date the /BI0/SDATE table is hit does it sound about right to you ?
    Is the /S table hit the most because the data is being seen from the SID's that are generated.
    Can you share your thoughts.
    Thanks again,
    Have assigned you points.

  • Characteristic 0PROFIT_CTR: Time-dependent Master Data Table '/BI0/QPROFIT_

    Hello All,
    I want to release a infoObject 0PROFIT_CTR to Prod. But after releasing the TR it errors with the following messages:
    Characteristic 0PROFIT_CTR: Time-dependent Master Data Table '/BI0/QPROFIT_CTR' not buffered
    Characteristic 0PROFIT_CTR: Time-dependent Text Table '/BI0/TPROFIT_CTR' not buffered
    I went into these tables and also have set the buffering to ON and made them Fully buffered (Checked).
    But even then it gives me same error.
    Please help.
    Regards,
    KP

    Hi Harika,
    You are right, you will have to use SE14 in production system, just check that whether you have authorization to use it or not. If you don't have authorization then you can check with Basis team.
    You can execute SE14, then give table name and in the lower part of the screen Click on the option Save and adjust, and activate the table. Once this step is done you can re-import your request.
    Make sure that you do not delete data.
    Regards,
    Durgesh.

  • How to remove time dependent attributes from 0VENDOR- Please help

    Hi All,
    As part of master data enhancement, I had added some time dependent attributes to Vendor Master object. After activating, the respective time dependent tables were all created/activated.
    Now due to change of requirements, when I am trying to convert the time dependent attributes to non time dependent, I keep getting the activation error because it keeps giving a message "Unable to change the primary key" for MVENDOR. This view is getting the DATETO field because of the original activation. It is not removing that field and is causing the issues.
    Even if I adjust/delete the QVENDOR table in SE14 and then try to activate 0VENDOR, it is still retaining the DATETO field in the MVENDOR view and is recreating the QVENDOR table.
    I even tried to delete the time-dependent fields from the 0VENDOR (instead of just de-selecting the time dependent flag)...it is saving the changes..but giving activation error.
    Is it not possible to delete the time dependent attributes from the Master data...once they are added ?
    Please advice.
    Any help with this will be greatly greatly appreciated.
    At this point 0VENDOR is in inactive state.

    Hi Friends,
    First of all, sorry I did not get a chance to respond earlier. There was an issue with my p/w for some strange reason and could not log back in till today.
    Also, thank you for all your suggestions.
    However, the issue is now fixed. Basically I had already explored and tried every option suggested int his forum, but was still having issues.
    The problem was that there was another table in the system that had a reference to this Master Data table field (as a foreign key). After I removed the foreign key referece in the other table, then it let me proceed further.
    Thanks again..

  • Time Dependent MD data discrepancy

    Hello,
    I have turned on time dependency for an attribute of Project Definition.  The data looks correct in the master data table.  Also when i browse the table using different inputs in the "valid to" and "valid from" fields i get the expected results.  My problem is when i add the same dates to my key date field I get strange results.  Let me be specific.  If i run the query without a key date i get a certain result set.  Next i add a key date and i get an exploded data set.  The time dependent values look correct but strangely I am seeing more granularity in my vendor values.  How could this be?  Its my understanding that key date should only effect time dependent attributes.  Vendor is definitely not a time dependent attribute.  The key date should not effect other characteristic values correct?  Can someone explain to me how this could be occuring?
    Regards,
    TMS

    Hi,
    Check the join conditions in your infoset first then go with checking master data.
    I guess you will find issue corercted in your join conditions itself.
    I hope it will help.
    Thanks,
    S

  • Time-dependent master data in the cube and query

    Hello,
    I have a time-dep. masterdata infoobject with two time-dep attributes (one of them is KF). If i add this infoobject into the cube, what time period SID will be considered during the load? I assume it only matters during load, if i add the KF to the query it gets its value based on the SID in the cube.. right?
    Thanks,
    vamsi.

    If its Time Dependent Master Data object when you run your Master Data if that time any changes to the Master Data that value will be overwrite to the old value you will get the new value. When you run the Query execution the Infocube Master Data infoobject will having the SID that time it will to there it will be displayed at that moved what is the value you have in the Master Data table.
    This is what my experience.
    Thanks,
    Rajendra.A

  • Delivery cost in scheduling agreement having time dependent condition

    Hi experts,
    We have one peculiar requirement.
    We have palnt at indonesia.  We are doing import there from india.
    Our requirement is as follows.
    1. We should use scheduling agreement with time dependent conditions.  Because we want to track the price changes and sometimes we want to retro pricing effect and revaluate it.
    2. We want to add importers vat and import tax.
    3. But those tax amount should not get added into inventory
    4. During MIRO it should get accounted to vendor.
    We could succeed this by removing "Time dependend condition" check in document type config.
    But our client is definitely required the point no 1.
    But when we activate time dependent condition check, during MIRO those conditions are not appearing.  But if you remove that check, it is appearing in MIRO accounting.
    Can any one suggest suitable solution?
    Or SAP MIRO will not permit this scenario?
    regards,
    K.Sundaresan.

    delivery cost will not work if u remove the tick Time dependend condition for SA
    SAP MIRO will not permit this scenario
    so u will have to decide what is more important to u and act accordingly
    Solution will be u ask client what is mor imp for there company
    as SAP will not support MIRO for deliver for time dependent condition
    I had a talk with SAP on this and they have told that
    SAP will not support MIRO for deliver for time dependent condition
    AS in Case of imports in india we need to do MIRO before GR
    hope this hel;sp

  • How to Display Time-Dependent Characteristic Data In Query

    Hi Experts,
       I have encountered a problem. I want to use Time-Dependent Chart. And want to display different value according characteristc's valid from time. For Example,
    The Characteristic 0COSTCENTER has the navigation attribute 0COMPANY, The data as:
    0COSTCENTER   Valid from   Valid To       0COMPANY
    BW2305              20070101   20070430     A
    BW2305              20070501   99991231     B
    I want  the report  can display as :
    0COSTCENTER   Valid from   Valid To       0COMPANY  AMOUNT
    BW2305              20070101   20070430     A                  1000
    BW2305              20070501   99991231     B                  2000
    But when I set the query's key date 20070420, the report display as:
    0COSTCENTER   Valid from   Valid To       0COMPANY  AMOUNT
    BW2305              20070101   20070430     A                  1000
    BW2305              20070501   99991231     A                  2000
    when I set the query's key date 20070520, the report display as:
    0COSTCENTER   Valid from   Valid To       0COMPANY  AMOUNT
    BW2305              20070101   20070430     B                 1000
    BW2305              20070501   99991231     B                  2000
    Can anybody tell me how I can get report expected.
    Thanks in advance.
    SF

    Hi,
    1) Add the characterstics 0COSTCENTER ,0DATETO,DATEFROM and  0COMPANY to the cube.
    2) And also add these 4 IOs to the Communication structures which has update rules with the concern cube.
    3) I hope , you already have  0COSTCENTER in the Commnication structure and mapping for that infoobject at both Update rules and Transfer rules.
    4) Leave to the Blank(no mapping) mappings for the IOs 0DATETO,DATEFROM and  0COMPANY in the Transfer rules.But make 1:1 mapping in the Update rules for these 2 infoobjects.
    5) Write the below code in the strt routine of the Update rules:
    TYPES:  BEGIN OF type4.
          include structure like /BI0/QCOSTCENTER.
    TYPES END OF type4.
    DATA:
      ITAB4 TYPE STANDARD TABLE OF TYPE4
           WITH HEADER LINE
           WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
    SELECT * FROM /BI0/QCOSTCENTER INTO CORRESPONDING FIELDS
    OF TABLE ITAB4
    WHERE OBJVERS = 'A'.
    loop at DATA_PACKAGE.
         READ TABLE ITAB4 WITH KEY COSTCENTER = DATA_PACKAGE-MATERIAL 
    DATETO LE DATA_PACKAGE-PSTNG_DATE
    DATEFROM GE DATA_PACKAGE-PSTNG_DATE.
                  IF SY-SUBRC EQ 0.
                    DATA_PACKAGE-DATETO = ITAB4-DATETO.
                    DATA_PACKAGE-DATEFROM = ITAB4-DATEFROM.
                    DATA_PACKAGE-COMP_CODE = ITAB4-COMP_CODE.
                  ENDIF.
                  Modify DATA_PACKAGE.
      endloop.
      ABORT = 0.
    Here I assumed you have Posting date in the Communication structure and used to map to Fiscalperiod of the cube.
    6) Do the Master data upload to Cost center and active the master data of it always before uploading the data to cube.
    7) Do the uploading to cube from Sratch.
    With rgds,
    Anil Kumar Sharma .P
    Message was edited by:
            Anil Kumar Sharma

Maybe you are looking for

  • How to set up printing from my mac to a windows shared printer.

    I'm trying to print to an HP PSC 1610 All in One printer. Everything is good in the set up while adding a new printer on the mac. The windows workgroup shows up as does the printer. My problem is that the particular model does not show up in the drop

  • Cancel post goods issue..............

    How do I cancel post goods issue?Process of how it happens?pls tell me.

  • Inkscape crash when open files.

    Hi! Inkscape crash when I try open files. When I try File - Open File or Save File Inkscape is closed. In terminal show follow message: Emergency save completed. Inkscape will close now. If you can reproduce this crash, please file a bug at www.inksc

  • MDM 7.1 Server installation Problem

    Hi, When I am trying to run "Sapinstgui" I am getting the following error. Java.io.FileNotFoundException: C:\abc(Access is denied]) The System cannot find the path specified C:\abc does not contain the needed(local_policy.jar,US_export_policy.jar) po

  • JDBC insert statement problem

    i have the following code. please help me out. import java.io.*; import java.sql.Connection; import java.sql.DatabaseMetaData; import java.sql.ResultSet; import java.sql.DriverManager; import java.sql.SQLException; import java.sql.Statement ; import