Custom table for DRAW

Hi,
    I need to create a custom table for document. For each document, there may be some people comment it, so one DRAW record may have several comment record in ZXXX table.
    I try to use user exit CV110001 to implement this, but when I try to save my custom data in my ZXXX table, I can't get the document type, document number and other primary key fields for the docment I am edting...
    What shall I do to implement this?
    Thank you in advance.

Hi Lupin,
maybe the BADI DOCUMENT_MAIN01 with method BEFORE_READ_DATA or AFTER_READ_DATA could be useful for you. Please check also the BADI DOCUMENT_MAIN02 definition in transaction SE18.
Best regards,
Christoph

Similar Messages

  • Archiving Object - Entry missing in Customizing table for object Z*********

    Hello friends,
    We have created a archiving object in transaction AOBJ. However when i enter this object in SARA, we get this error message.
    "Entry missing in Customizing table for object Z******* "
    I have matched my object with few other archiving objects and things looks similar.
    Have you faced this kind of problem..
    thanks
    ashish

    Hi,
    I checked and i can see entry for ZSCS_TRAFO object in AOBJ.
    But when i enter ZSCS_TRAFO, i get this error :
    Entry missing in Customizing table for object ZSCS_TRAFO
    Message no. BA057
    Diagnosis
    A function cannot be executed due to a missing table entry.
    Procedure
    Please create an entry for the archive object ZSCS_TRAFO with the AOBJ transaction.
    However, a few other Z objects works well.
    thanks
    ashish

  • 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

  • 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.

  • 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

  • Usage of formula variable with custom table for values

    Hi,
    I have the following scenario:
    a customer wants a report regarding payments of invoices with a formula in it to calculate interest results. In order to do so they want to be able to define a interest rate wich can be used to calculate te result by multiplying the rate by time and amount (for every line in the query the same rate should be used).
    As a solution I thought it would be easiest to give the key user access to a custom table via a custom transaction and then use the entered rate in the query by selecting it from this table using a formula variable (using an exit).
    I was wondering if anyone has ever used such a solution, or if one thinks this is possible.

    Hi Brock,
    Its possible, but I haven't tried as requirements didn't imply.
    More simpler idea is why don't you use a flat file loading through the IP to Info providers?
    Or even more better option is why don't you adapt to Virtual Info providers?
    For your suggested custom table using custom transaction, we can surely make it. Its possible in SE93. Try this transaction code. It must definitely help.
    Thanks,
    Arun Bala G
    Edited by: Arun Bala G on Jan 11, 2010 2:16 PM

  • Add a custom table for field selection while creating field catalog for LIS

    Hi,
    I have a requirement to add a Custom table to be available for field selection while creating a field catalog for LIS. Its required as there are many custom fields to be used for field catalog creation and adding them in one of the existing tables listed is not a feasible option for us. Please let me knw if its possible..?? If yes how to get it done..??
    Regards,
    Akash Sinha

    hi,
    You need to add your field in the Data Dictionary first. For example, if
    you want the new field in the Order Item field catalog do the following.
    Look at structure MCVBAPUSR (SE11). If you already have a user structure
    appended to this structure then you can add your new field to your existing
    structure. If there is no structure already appended to MCVBAPUSR then you
    must create a new structure with your field in it and then append the new
    structure to this one.
    If you look at structure MCVBAP you will see the data appended to the end
    of it.
    Now you should see it in the field catalog.
    regards,
    balajia

  • Custom table for documents

    I want to create a table to store documents. I created a table with three columns (doc, doc_desc, and mime_type). I then created a form based on this table to upload docs. I can succesfully load docs into the table.
    My question is how can I retrieve them? I used to be able to get the item ID from the WWV_THINGS table and get the doc even though the doc was not in a Portal table. Its like a duplicate entry was being made into WWV_THINGS, but thats not the case anymore. Anyone know how I can create a table, load docs into it and get the docs out?
    I dont want to use item areas.
    Thanks

    Hi Gopal,
    As this is custom table attribute it will not be displayed on standard page. You need to enhance it with custom page.
    Creating change document object is first step. Now you need to update change document. You can use FM DPR_PROJECT_WRITE_DOCUMENT as reference for creating a FM module to update the change document with custom table attribute. Call it in update task after updating data to custom table.
    You can use the FM CHANGEDOCUMENT_READ to read the change document for custom table attribute.
    Regards,
    Alok.

  • Auto-numbering of item field in custom table for EEW enhancements for BUPA

    Hi Experts,
    We have a requirement to generat 3 custom tables in EEWB,for BUPA and assigned it to BP_HEAD. I have done all the generations and it works fine, the problem  is that the tables that are generated is not allowing us to have a data(material) of 0...n cardinality. 
    The table that we are aiming is to allow multiple records, so my solution is to have an extra item number field so that it will allow multiple records for a material. But users are requesting to have the item number field of the tables to be auto-numbering.
    I would like to know if this autonumbering is possible or not? what methods in BP_EEW should i use to implement this logic. I 'm very new to CRM2007, so I'm still not very familiar on how to use the objects generated by the component workbench.
    p.s.
    I've already search the forum but can find any relevant topic related to my request. If you have any known related topic, It would be highly appreciated.
    Thanks and regards,
    JP
    Edited by: John Paul Auditor on Sep 1, 2009 3:36 AM

    Dear Syed,
       You can do many things in table maintenance screen like validation of some field, making some field required or displayed etc.
       For auto increment you have to use Number-Ranges. FM NUMBER_GET_NEXT is helpful in this case.
       Where to write the code??? The Function-Group you have made. There will be includes. You can easily locate the place to write these codes.
       Caution point is that if you re-generate the table maintenance then all code will be gone.
    Regards,
    Deva.

  • Custom Table for RFC destinations

    Hi,
    I am working on SAP PI/XI. I had created an Custom Function Module (RFC Wrapper) in XI or PI which calls Bapi's in SAP R/3.
    So we specify the RFC Destinations in the code to call the Bapis. But these RFC destination Values changes for DEV, QA and PRD systems. when we transport, these Values we need to change as per the Enviromment(DEV,QA,PRD).
    I want to Maintain the the RFC destinations Values dynamically.
    For that I want to define a Table to maintain the RFC destinations. There could be "n" of RFC destinations to R/3. I want to differentiate RfC destinations pertained only to my scenario or Interface.
    How do I proceed. what should be the table structure and fields?
    Kindly provide your valueable Inputs
    Thanks &Regards,
    Varun

    Hey
    You should be able to handle this by reading the System Id of the current system
    Just have a If-Else condition in your FM.
    If SY-SYSID ="Dev"
       then call Dev RFC dest
    If SY-SYSID="Qa"
       then call QA RFC dest
    etc etc
    Thanks
    Aamir

  • How to find T-CODES for maintenance view of custom tables?

    Hi,
    I have a list of custom tables for which maintenance view is generated. Also, many of them might have a T-Codes assigned to them.
    I need to know how to find out these T-codes?
    Is there some table which maintains these or a function module which can give the t-code name?
    Help will be appreciated.
    Thanks.
    Shreyas

    Hi shreyas,
    1. one way is
    2. goto se93
    3. Press Ctrl F
    4. Expand the search criteria (from button on toolbar)
    5. In program name enter SAPMSVMA (This program is for sm30)
    6. In transaction code enter Z*  or Y*
    regards,
    amit m.

  • Database Design - Multiple Customer Tables

    Scenario:
    - Let's say there are various customer "types"
    - Each one has a set of attributes which is only applicable to that customer type.
    - You have a table for orders that is for all customers
    - Want to treat it as one customer table for reports, updates, etc...
    The solution we've come up with is to basically have a lookup table which allows you to lookup the table the customer record exists in. The order table would have a "customer type" column to key off of. You then use a view to fill in the missing columns from each table for say a global query.
    I'm assuming this is a common business problem so thought I would ask the experts if there's a "best practice" for solving this problem.
    Thanks

    Think vertically ... not horizontally.
    An infinite number of attributes can be stored in finite space if you do. For example:
    CREATE TABLE horizontal (
    customer_id    NUMBER,
    attribute_val1 VARCHAR2(20),
    attribute_val1 VARCHAR2(20),
    attribute_val1 VARCHAR2(20));
    CREATE TABLE vertical (
    customer_id     NUMBER,
    attribute_name VARCHAR2(20),
    attribute_value  VARCHAR2(20),The first example requires you to add a column and break everything every time you add a new attribute. The second keeps right on working.

  • Updating a custom table on PO save

    When we create an order with component having item catg N a PR created in backgroud. When I save the order I want the PR to be updated in the custom table for further action.
    Is any exit possible for this. The custom tabl to be updated only whn the PO is saved.

    Hi Aditya,
    There are also BADIs through which you can achieve it very easily.
    SAP Help:
    BAdI: Order Change
    With this business add-in all changes (creation, change, set deletion flag) to PM/CS/PP/PS/PI orders can be processed further and if necessary prohibited.
    Standard settings
    Business add-ins are not active in the Standard System. The business add-in can be used several times.
    Recommendation
    If you use different order types and want to handle these in different ways, note that this BADI is used by all of the above-mentioned order types. To differentiate between the order types, evaluate the "AUTYP" field for the corresponding order header.
    These are the possible entries in the "AUTYP" field:
    10: Production order (PP order)
    20: Network (PS order)
    30: Service and plant maintenance order (CS/PM order)
    40: Process order (PI order)
    Activities
    To activate the business add-in, you must create an active implementation. Note that business add-ins can be used several times and therefore all active implementations are called and run through.
    Further notes
    Note that no system messages may be sent in the methods. The only exception is the AT_SAVE method. Within this method, a system message may be issued, but only if you trigger the exception ERROR_WITH_MESSAGE at the same time.
    Also, note that within the methods, the "commit work" instruction may not be executed because this would inevitably lead to incorrect data in the database.
    Regards
    Mahesh

  • Create a custom table

    Hi All,
    I have to create a custom table for sales dept. Can some one please give me the entire process to create a custom table.
    Thanks,
    Veni.

    Go to transaction SE11.
    Enter table name as per naming conventions(it should start with z or y)
    go to table fileds and enter the required filds, remeber to have mandt as first table field.
    the enetr the key fields as per your requirement.
    assign foreign keys as applicable.
    create data elements and domains if required.(or craete them before craeting the table so that you can directly use)
    finally after entring the all table filds activate it.

  • Unable to find custom table in HANA Studio - Data Provisioning - SLT

    Hi All,
    We are working on a scenario where in we have created a custom table in ECC and when I tried to find the custom table for performing replication using SLT , however, I am not able to find the custom table in SAP HANA Studio. The custom table related entries are maintained in DD08L, DD02L, DD02T. We are able to find standard tables in SAP HANA Studio which could be replicated using SLT.
    Please could you let us know the reason  or anything we are missing as pre-requisites for custom tables to be visible in SAP HANA Studio for SLT.

    Hi,
    Since you confirmed that the custom table details are available in DD02l, DD02T and DD08L,
    I would request you to check the language in which the source table is maintained/created.
    If the  table at the source is maintained in a different language than you are logged in to HANA St
    udio, it will not be displayed in SLT Provisioning.
    Please let me know your observation.
    BR
    Prabhith

Maybe you are looking for

  • Accepting Payment Via Amex

    We have a client who's having problems submitting payment using their American Express credit card. Are there any known issues at this time with PayPal business accounts not accepting payment via American Express? Anyone having a similar problem?  

  • Need BAPI Requirement

    Hi Freinds, Can any one give me some requirement, i want any report using BAPI's on SD or MM ? can u pls mail to [email protected] Points for sure Regards Vijaya

  • Satellite A660 - cannot see saved files

    The problem is with a game that I have. I can see a file that I downloaded from the net to play, but those files from the game that I have saved do not show up when I look for them they don't show up. But when I view compatibility files they show, bu

  • DB Connect Issue

    Hi All, We are doing extracting data from MS-SQL by DB connect. We did the source system connectivity and its working fine. Developed the views on the tables considering naming conventions (Upper case for both View/Fields). We are able to view the fi

  • Movie Clip Actionscript....

    For my online gallery, I'm using movie clips as buttons to navigate. I was having the movie clip play when you scrolled over it and off of it. Now i have it so when you click on it, it stops at the mid-way point. What I need help on is to get it to g