Can we delimit periods in custom tables

Hi All,
I have a requirement wherein i need to create a custom table with following fields:
1) Company Code        - Primary Key
2) Fiscal Year              - Primary Key
3) Cost Element Group - Primary Key
4) Partner Activity         - Primary Key
5) From Period
6) To Period
7) Labour Rate
8) Material Price
Now I need the values something like this:
DC10    2001    Fringes    D1090   1   2   2.00   4.5
DC10    2001    Fringes    D1090   3   4   1.5     5
So its something like for the same set of first four fields, i may have diff rates for diff periods.
Is there any way to achieve this, other than making 'From Period' and 'To Period' as primary keys?
Thanks in Advance
Prathima

Hi,
Make it as two table as Parent(Check) table with first four fields:
Table-1 :
1) Company Code - Primary Key
2) Fiscal Year - Primary Key
3) Cost Element Group - Primary Key
4) Partner Activity - Primary Key
And another table(Value table) with [(1) Company Code - Foreign Key] and other remaining fields :
Table-2:
1) Company Code - Foreign Key
2) From Period
3) To Period
4) Labour Rate
5) Material Price
Regards,
Raghu

Similar Messages

  • Custom Table for Verifying Duplicate Invoice against Legacy Invoice Data

    Hi All,
    We are trying to upload legacy invoice data in a custom table. Then we want to use SAP duplicate invoice check functionality to look for the potential duplicate invoice from this custom table as well apart from the standard SAP tables.
    If you know of some user exit or any function module which I can use to link this custom table with the standard SAP duplicate invoice check functionality then it would be of great help.
    Regards,
    Sanjay

    Hi Jurgan!
    Thanks for the reply,
    We are using ECC6,
    Support pack : SAPKH60013
    Settings for Duplicate Invoice Check In Vendor Master is correct
    Customization setting OMRDC transaction, tick mark for invoice reference no. only
    If all the cited characteristics match, the system displays a
    customizable message. M8462 (if logistics invoice documents are found) or M8108 (if accounting documents are found).
    I have ensured that message M8108 (if accounting documents are found) is maintained as an error message in OMRM.
    Still system is allowing duplicate invoices for the reference nos. 00082 and 00072.
    For other reference Nos. which are previously used for other documents, system issues error message successfully.
    I dont want to delete archived accounting doc. and if I maintaind BKPF entris of this archived doc manually it will create probelm in FI.
    is this happen due to life span of secondory index of archived accounting doc. is completed ?.
    Please Help
    Many Thanks
    Vikas

  • Validation of entry in custom table

    Hi ppl,
    I have one requirement where users can maintain value into a custom table. While entering a new value, if the similar primary key entries already exist in the table then there is a requirement of giving a pop-up box to the user informing that a similar kind of entry already exist and if he wants to overwrite. If the user clicks yes, then the new record should be saved and also one of the field in old record should be modified.
                                            I have written an event in the table maintenace by which i am able to get the pop-up and the old entry gets modifed but when the PBO module gets triggered inside a standard include i get the error mssage " Record already exist". The error is obvious as the same primary keys are used in the second entry too but i am just curious to know if there is any way by which this standard error could be overcome so that the user should get only my pop-up box  and not the standard error message.
    Regards,
    Venkat

    hey,
    You are getting the standard text because you are going to insert into the table.You cannot suppress the standard message but you can do some  other thing.You take the values in the table to the internal table and before insertion into the table you should check the value which the user had entered and then check the value and the key.Thus you can catch that before the insertion into the table.
    You can use the READ statement with key  for reading the database.if the sy-subrc is 0 you can understand a value is there in the table.
    Hope this will be helpful.
    Regards,
    Midhun Abraham
    Edited by: Midhun Abraham on Oct 5, 2008 5:23 AM

  • Event Alert on Custom Table not working

    Hi
    Custom table is registered in Custom schema, created synonym in apps and granted all priviliges to apps.
    Creates event alert based on insert on custom table, though custom table is getting populated from concurrent program event alert seems to be not firing
    not sure why is this happening.
    Thanks
    Kamalakar.G

    Hi,
    Please see these threads.
    Alerts -- Can we create Alerts on custom table under Custom Application?
    Re: Alerts -- Can we create Alerts on custom table under Custom Application?
    Table used in Event Alert
    Re: Table used in Event Alert
    Problem with Custom Table Registration
    Re: Problem with Custom Table Registration
    Thanks,
    Hussein

  • Pictures in custom table

    Hi,
    Can I save pictures in custom table ? If yes, how to do that?
    Regards,
    Beena

    Beena,
    I  think very well we can save pictures in tables,as SAP has a standard table for the same called STXBITMAPS.May be we can create a ztable of the same structure.
    K.Kiran.

  • Setting up event Alert on custom table

    I appologize for placing my question in probably the wrong forum, but I know you guys are the sharpest and I'm spent on this problem.
    Overview: I have a form that runs a report to print out some of the form's data. If the user wants to email that same data, after the print job is completed, the form updates a table with the output file name created by running the report. Here's where my problem comes in... I'm trying to create an event driven alert, but I get the below error when I go to save:
    Event Table : REPORT_HDRS
    ORACLE ID : APPS
    The listed ORACLE ID is missing the event table or does not have the correct privileges to Application Object Library or Oracle Alert objects.
    Please verify that the event table exists, or re-register the ORACLE ID with Application Object Library as necessary. Then re-enable (or disable)
    the event alert as desired.
    If the ORACLE ID is for a shared installation of an application, it may be normal for the event table to not be present.
    Any ideas as to what I'm missing would be greatly appreciated.

    Hi,
    Please see these threads.
    Alerts -- Can we create Alerts on custom table under Custom Application?
    Re: Alerts -- Can we create Alerts on custom table under Custom Application?
    Table used in Event Alert
    Re: Table used in Event Alert
    Problem with Custom Table Registration
    Re: Problem with Custom Table Registration
    Thanks,
    Hussein

  • Setup custom table for textedit

    how can you set up a custom table for textedit? I have a custom sap table for user to enter a project.
    ie.
    field        data element   Datatype   length     
    projectnum   zprojectnum       char       8
    projectid    zprojectid        char       4
    projectname  zprojectname      char       20
    projectdesc     ?                ?        ? 
    how would you set this up so that project desc can have unlimited length?
    also where is the text store and how to store the textedit?

    There are three important parameters that we will require while dealing with long texts.
    TEXT ID
    TEXT OBJECT
    TEXT NAME
    Usually TEXT ID will ST and TEXT OBJECT will be TEXT unless you have created some other values for the same. Now coming to the TEXT NAME, this could be your unique key of the data for which you want to maintain the long text.
    If you don't have single unique column, you can concatenate two or three columns and store the long text against that using the SAVE_TEXT function.
    While reading the text, the same columns will have to concatenated and use it the READ_TEXT function.
    Regards,
    Ravi
    Note : Please mark all the helpful answers and close the thread if the issue is resolved.

  • Can I create a custom table of contents and link to other .pdf files based on responses to a form?

    Hey Everyone! First post ever, so bear with me:
    I'm trying to create a streamlined method to use a form  to let myself and others add information and select certain options to put together a custom table of contents. Basically, I would like to have a form with a series of text fill and single/multiple choice options that will automatically populate a table of contents based on the selections and will link to other .pdf files that are associated with the selections. I was hoping this would be possible with a form, but I'm relatively new to the function of the software as a whole and my research came up short. Any suggestions on how to start are more than welcome, and if I wasn't quite clear enough I would be happy to elaborate.
    Thanks for your time!

    You would need to search for other PDF creation software that can accomplish what you desire.
    There are many cheaper  PDF creation alternatives other than Adobe's Acrobat Pro software.
    Also, try doing a web search under these terms to see if you can find an app/software/solution that may work for you.
    How to create table of contents in PDF files

  • How can i create a custom table in to my banking services server

    I am having product type and account type details for those things I need to create a table
    Product Id.                 Account Type
    DP_PYGO_P     21
    DP_BASIC     25
    DP_UNLIMIT     24
    DP_ADVANTG     17
    DP_SAV                     34
    DP_TBILL                     54
    DP_USDCHQ     19
    DP_FREEDOM     52
    For the above fields how can i create a custom table into banking services server

    Transaction SE11, maybe? I don't really see the problem, unless you have never created a transparant table before...

  • How can I place a custom table over an image?

    I have a graphic embedded in the Master Page at the start of every chapter like this.
    I created a borderless Custom Table without the data that I want to place over the image so it looks like the text is typed on the notebook paper. I apparently can't add this to the Master Page, but I can't seem to figure out how to do this on the Body Page either. The table is the same as in my previous question but included here again for reference. While the borders are evident here, I will turn them off when I get this placed. The merged cells are for graphics that will change every Lesson. Appreciating this forum as always. Someday I hope I have enough knowledge to help other people here...
    Thanks,
    Laurie

    Laurie,
    You need to have a text frame over the area that you want your table to appear. On the Master Page, use the graphics tools to draw the text frame (Body not Background type) where you need it. Then on the Body pages insert the table. You may need to play with the positioning of the graphic on the Master Page and perhaps use the Format > Page Layout > Line Layout > Baseline Synchronization option as well as the Table Row Height properties to get things to properly align.

  • Can anyone pl tell me from which table i can fet credit exposure of custom

    HI all.
    can anyone pl tell me from which table i can fet credit exposure of customer...??
    or
    how to use credit_exposure/sd_credit_exposure??
    which is used?
    thanks,
    bobby.
    Moderator Message: Consult your Functional Consultant/specs.
    Edited by: kishan P on Sep 13, 2010 2:52 PM

    do you mean table KNKA or KNKK?
    regards Andreas

  • Custom table can be displayed and not maintainable using SE16n.

    Hi Gurus,
    I have created a custom table with DATA BROWSER/TABLE VIEW MAINT. equal to 'N' (Display/Maintainance not allowed) in SAP ECC 6. The the requirment is, this custom table can be displayed using the transaction SE16n.
    This requirement is existing in ECC 5. with same setting DATA BROWSER/TABLE VIEW MAINT. equal to 'N' (Display/Maintainance not allowed) and this table can be viewed using transaction SE16n.
    would there be possible that this requirement be implemented in SAP ECC6? would this be due to the version?
    Please help.
    Thank you..
    Regards,
    SAI

    Hi Kiran,
    Thanks for your answer but unfortunately this is not what I'm looking for. Iam also familiar with &SAP_EDIT.
    Well, my problem is, the custom table setting Data browser/Table view Maint. is set to "N Display / Maintainance not Allowed" ( under Delivery and Maintainance Tab). Also there is no table maintainance generator setup.
    So basically with this setting, in transaction SE11 'Contents' is disabled. And with transaction SE16n, when you execute and tried to view the table, error "You cannot display zcustom_table with standard tool". (checkboxs are hidden)
    What the requirement is looking, the custom table can be viewed (this is with the same setting above but can be viewed using SE16n and the checkbox maintain entries is automatically tick but when executed "auth failed" so, basically to view the entries, untick the checkbox then entries can now be viewed.)

  • Can we make the weblogic look at custom table for emailid

    Hi,
    I am implementing the SQL based provider for weblogic.
    I want the weblogic look for email id of the user in the same custom table for sending notifications. Is it possible ?
    By defualt I think weblogic maintains some attributes for user, email id is of those. I want weblogic to look into custom table instead for email id.
    Thanks
    Saikrishna

    Hi,
    Oops, I might have take my words back, since you will use it for finding for superiors.
    In general you can find superiors with SWX_GET_MANAGER or search *GET_MANAGER in SE37. You will probably find nice examples here in SCN if you just find the correct function module and search with that.
    Check also workflow rule 00000168 (in transaction PFAC). That is the standard rule for finding superior.
    Anyhow what comes to me taking my words back: If you use the above-mentioned functions or rules, it will actually find the managers from existing org. structure AND perhaps your new structure. You might want to test it. This is something I didn't think when I first gave my answer (in the cases when I've seen another org.structure, superiors were not used). Also, if you create new org. structure with superiors, I am not sure but it might have some effect to  the existing HR structure ("who is the right superior for an employee?").
    I might need to think again.
    Regards,
    Karri
    Edited by: Karri Kemppi on Nov 25, 2011 7:11 PM

  • How can we add a field with drop down in a custom table

    Hello,
    I have a requirment in which I have to add a extra field in a custom table.
    Secondly I need to have a drop down with some values in it.
    Can you let me know how can we go about this.

    hi..
    your requirement is not very clear..
    but if you are adding a  field and want drop down with values....... it is possible by providing search help for that field.
    Hope the requirement is same.

  • Can we create roles/permission list based on custom table

    I wanted to create Roles and Permission list based on custom table (which holds Business Logic),like if column value is 3 then certain roles and 2 then certain............ is it possible in PS?
    Thanks

    Are you looking at restricting the data that is shown or access to pages? Please elaborate your requirements so that a solution can be provided.

Maybe you are looking for

  • Java Stored Proc - ORA-03113: end-of-file on communication channel

    Help with error please. Running java stored procedure and getting end-of-file error. This error occurs after successful connection established. Simple function returns a java.util.String that is a coded version of the DATE parameter. Procedure does n

  • Errata for "Adobe Dreamweaver CS5 with PHP: Training from the Source"

    There doesn't appear to be an errata page on the Peachpit/Adobe Press website for my book, so I have created one on my own website at http://foundationphp.com/phpcs5/errata.php. Many thanks to conmolbry for pointing out the problems.

  • PERNR search help in ABAP Web Dynpro

    All, I wish to add a search help based on PERNR into my web dynpro application. I have used the code: *create a range table   lt_range_table = wd_this->m_handler->create_range_table( i_typename = 'ZEMP_SEL' ). *add a new field to range table   wd_thi

  • DYNPRO_NOT_FOUND : ABAP program "MP058400"

    Dear Sir Category ABAP Programming Error Runtime Errors DYNPRO_NOT_FOUND ABAP Program MP058400 Application Component PA-PA-IN Dynpro does not exist. The system attempted to use dynpro 0000 in program "MP058400". This dynpro does not exist. Kindly hel

  • Will "BW 3.1" work with ECC 6.0 ??--------its urgent

    One client is using BW 3.1 version.  He wants to upgrade SAP from version 4.7 to ECC 6.0 But he does not want to upgrade BW right now. 1) Will "BW 3.1" work with ECC 6.0 ?? 2) Do we have to upgrade BW also? Is it mandatory or we can avoid it? You may