How do I maintain SAP table TFDIR?

Hi,
I am trying to get the user exit working for bapi_acc_document_post.
In order to do this, I need to be able to add my custom function module into TFDIR but I don't know where this is maintained.
Can anyone tell me how do I change the data in this table in a proper manner?
Thanks,
Guan

I did not know you were using a BTE. Its assignment to Function modules is simple:
1) Go to transaction FIBF
2) Go to Settings -> Products -> of a Customer. Create a new entry. It can have any Z name. Set it to Active.
3) Go back, and this time, go to Settings -> P/S Function Modules -> of a Customer. Create a new entry. In the 'Event' column, choose the apropriate BTE number. It will be between 00001010 and 00001040 for Acct documents, depeneding on your requirment. In the 'Product' column, use the one set up in step 2 above. Columns Ctr and Appl. are optional. In the 'Function Module' column, type in your function module, created from the template SAMPLE_INTERFACE_XXXXXXXX. For example, I used BTE 00001025, and the function module was copied from SAMPLE_INTERFACE_00001205.
Save your entries and this should work.
Hope this helps,
Bhanu

Similar Messages

  • How can I maintain two tables content at the same time with SM30

    Hi all,
    I created two customizing tables that I would like to link together for maintenance in SM30. Table 1 is the header and table 2 can have multiple detail records.
    They are linked via the ID key field. I would like to run the Table Maintenance Generator on the first table in SE11 and be able to maintain both table data at the same time in SM30.
    How can I do that without any ABAP programming? Should I use Append or Include structure or else?
    Thank you for giving as much detail as possible.
    Regards,
    Sylvain

    Hi,
    You cant do it w/t abap programing.
    You can code in "EVENT" to achive the same.
    Open table maintainance generator of first table through se56 or se11.
    follow the path: environment>Modification>Event.
    Select sutaible event from drop down like Before Save... and do coding.
    In this way data will be saved in second table automatically when you save in first table.
    In case of any query, please revert.
    regards,
    Dhan

  • How to use a SAP table in Validation Look Up

    Hi Experts,
    I my job for every record in the input data set I need to check for the value of the data set column in the SAP table.
    I am using a validation transform and am using the "Exists in Table" option, where I am specifying the column in the SAP table to look up.
    It is giving me an error BODI-1112468 saying that SAP table cannot be used in Validation Look up.
    Please suggest any other way to resolve it.
    Thanks in advance.

    user12088323 wrote:
    How to use a Sybase table in Oracle SQL statement?
    Sybase version : 11.9.2.4
    Oracle version : 10.2.05
    Thanks.Any Oracle client connected to the Oracle database can access Sybase data through the <font style="background-color: #FFFFCC">Database Gateway for Sybase</font> (it requires an additional license) or the <font style="background-color: #FFFFCC">Database gateway for ODBC</font> (it's free).
    The Oracle client and the Oracle database can reside on different machines. The gateway accepts connections only from the Oracle database.
    A connection to the gateway is established through a database link when it is first used in an Oracle session. In this context, a connection refers to the connection between the Oracle database and the gateway. The connection remains established until the Oracle session ends. Another session or user can access the same database link and get a distinct connection to the gateway and Sybase database.
    Database links are active for the duration of a gateway session. If you want to close a database link during a session, you can do so with the ALTER SESSION statement.
    To access the Sybase server, you must create a <font style="background-color: #FFFFCC">database link</font>. A public database link is the most common of database links.
    SQL> CREATE PUBLIC DATABASE LINK dblink CONNECT TO
    2  "user" IDENTIFIED BY "password" USING 'tns_name_entry';
    --dblink is the complete database link name.
    --tns_name_entry specifies the Oracle Net connect descriptor specified in the tnsnames.ora file that identifies the gatewayAfter the database link is created you can verify the connection to the Sybase database, as follows:
    SQL> SELECT * FROM DUAL@dblink;
    Configuring Oracle Database Gateway for Sybase
    <font style="background-color: #FFFFCC">{message:id=10649126}</font>

  • How to maintain SAP Release status in table COTPL

    Hi All,
    We have upgraded our system from ECC EHP4 TO ECC EHP 5. Now our SAP Release is 702 but in table COTPL
    still the SAP Release status is 701 becuase of which there is error in some of our sap jobs.
    Request you all to help us. How we can maintained SAP Release in table COTPL?
    Thanks

    Hi,
    You can try using priority field in the rule. Please check this.
    Priority for Responsibilities
    If you are using responsibilities for role resolution in Workflow, you can provide individual responsibilities with priorities.
    Example: There are various responsibilities for a standard role for processing orders, grouped, for example according to order value (one responsibility for orders up to a certain value, another for orders with a greater order value).
    Assuming that orders for a particular customer are always to be processed with the same responsibility (and therefore by the same agent), you can access it via another responsibility with a higher priority that contains the customer name as the only criterion. The responsibility (-ies) with lower priority, and therefore the order value, is then no longer taken into account during agent determination.
    Use only numeric values here, and note that, logically, the responsibility with the highest numberic value in this field has the highest priority.
    Procedure
    1. Sequence Priority of Objects
    In Create mode, assign a priority to the objects you wish to rank.
    To do so, assign an alphanumeric value (1, 2, 3... or A, B, C...) to each object.
    In Change mode, overwrite the value in the field.
    2. Priority When Defining Evaluation Paths
    In the Priority field, enter the priority or priorities for objects that should be considered in evaluation paths. Enter "*" if you want to have no restriction.
    3. Priority for Responsibilities
    Maintain the priority directly in the detail screen for the responsibility or in the overview screen for the responsibilities for the rule. Note that you must use numeric values here. On the overview screen, the system sorts the responsibilities in descending order of priority.
    Hope this helps.
    Feel free to revert back.
    -=-Ragu

  • How to find R/3 table  for FI and PS Datasources

    Hi,
    Can anyone tell me that how can we find SAP tables for FI and PS datasources in BI. Please provide information as it is urgent. Points will be assigned
    Thanks
    Shanthi

    Hi,
    To find DS assigned to a table.
    How to find the Datasources for the given table names ?
    How to find the Datasources for the given table names ?
    To find Tables assigned to a DS.
    USe Extractor Checker RSA3. Execute ST05 (activating SQL Trace), switch on the trace and execute the extractor checker. Once the extractor checker presents the results
    switch off trace. The clcik on Display trace and you will see all the tables that were hit by the extractor checker to
    retrieve data and present it to you.
    Note: Set the break point in the Extractor Function module.
    View the ST05 Extended Trace list. The Object name shows the Tables accessed.
    Thanks,
    JituK

  • Input Filed Length Changes in SAP Table How to maintain in WDJ

    hi ,
    i have scenario where we are having the scenario like dat ..
    container id with 10 chars previousl y in sap system
    currently from sap they have changed the length to 20 char in sap tablle.
    from web dynpro java we have set length 20 char .
    scenario: user can enter text from web dynpro view (portal form ) when click on ok it will save in sap table.
    example
    we are entering  text   testbyvenkatreddy
    click on save
    testbyvenk
    now i need to display the full 20 char length
    can inputs ?
    Regards ,
    venkat p

    Hi ,
    actually the user can enter the value from portal ie thru web dynpro form
    example :
    'testbyvenkatreddy'
    when user clicks on save .
    it will call bapi  and update the database the same value will be updated in portal ..
    but it is taking only 10 char when we put an external breakpoint  in BAPI  we observed the input to the bapi is going only 10 char  even we have more than 10 char .
    From SAP system side they have changed  only char length 10 to 20 thts it ...
    they didn't changed  the filed name or structure only they changed in dataelement ..
    is we need reimport the bapi agian or  reboot the server ?
    wht we need to do exactly  we are on support project having lots of bapis in single application ...
    regards ,
    venkatp

  • In LSMW how to maintain Internal table?

    Hiii
      In lsmw data uploading.. it need to maintain internal table manually or it maintaind by SAP ?
    Thanks & Regards
    Arya

    HI
    how to update the existing entry in Ztable through LSMW
    /message/5906806#5906806 [original link is broken]
    Regards
    Pavan

  • Which standard SAP programs access parameters maintained in table TVARV?

    Hello,
    There is a table TVARV which contain parameters that are used in several SAP standard programs.  I need to find out which programs access the parameters maintained in table TVARV.  Can anybody tell me how to go about finding which programs access parameters in table TVARV?
    Thank you!

    Hi Rae,
    There is a nice program developed by DYLAN HACK  which is developed to know what jobs are affected by individual TVARV variables.
    Matt, As per the forum rules, I have written the name of the author as well.
    Kindly find the program on below link :-
    [http://searchsap.techtarget.com/tip/0,289483,sid21_gci862489,00.html#]
    Regards
    Abhii
    Edited by: Abhii on Dec 11, 2009 5:20 PM

  • How can i make entry in standard SAP table

    hi all
    how can i make entry in standard sap table.
    ex- lfa1
    without using programming,BDC.

    Hi,
    in the table if u find delivery and maintainance allowed with restrictions in delivery /maintainance tab u can enter data from program only.
    see the below example.
    tables: lfa1.
    lfa1-lifnr = '0878877'.
    lfa1-name1 = 'my name'.
    lfa1-ort01 = 'bangalore'.
    lfa1-land1 = 'in'.
    modify lfa1.
    rgds,
    bharat.

  • How to update Records of SAP table from .CSV file

    Hi,
    I have written a code which takes a data from (,) delimited CSV file and adds it into the Internal table.
    Now I want to update the all fields in SAP table with the Internal table.
    I want to use Update statement.
    Update <table Name> SET <field needs to update> WHERE connditon.
    I don't want to iterate through thousand on record in sap table to check the where condition.
    Could you please tell me how to do it.

    Hi. I thing you will not workaround the iterating of the internal table.
    You can pre-load all the records into another internal table
    check lt_csv[] is not initial. " important, otherwise next select would read all records of the table
    select .... into lt_dbitab for all entries in lt_csv where key-fieds = lt_csv-key_fields...
    check sy-subrc eq 0 and lt_dbitab[] is not initial.
    then do in-memory update of the it_dbitab
    loop at it_dbitab assign <fs>.
      read table lt_csv assign <fs_csv> with key ... " lt_csv should be sorted table with key, or you should try to use binary search
      if sy-subrc eq 0.
        ...change required lt_dbitab fields: <fs>-comp = <fs_csv>-comp...
      endif.
    endloop.
    ant then you can do mass-update
    update dbtab from table lt_dbitab.
    From performance view, this solution should be much faster than iterating lt_csv directly and updating every single database record
    Br
    Bohuslav

  • How to add PO date and Vendor name in SAP table MB5S

    How do I add PO date field and Vendor name field in SAP table MB5S?? Kindly Help

    As a general recommendation just tell the ABAPer your requirement, don't tell him how to do it.... he probably knows, or should know, better ways of doing something then a functional consultant.
    And please don't tell people to copy standard reports, most of the times there is a BADI, enhancement, or an implicit enhancement spot available. I'm a consultant who can program ABAP (including complex programs), and I've never had to copy a standard program. Ever.
    PS: And no, I didn't have to register the object for modification either.
    EDIT: I went to check the program and you have two explicit enhancement spots to use:
    ENHANCEMENT-POINT read_data_01 SPOTS es_rm07msal - You use this to fill the extra fields of itab;
    ENHANCEMENT-POINT EHP605_RM07MSAL_03 SPOTS ES_RM07MSAL - You use this to enhance the field catalog of the ALV if you are on EhP5, if not create an implicit enhancement on the same stop.
    Current SAP allows enhancements everywhere, copying programs should be forbidden.

  • How to add  functionality in  SAP tables

    Hi All,
    i created one  enchancement to ME31K screen,
    i added one button to contract header  page when user click on this button it will tak me to my functionlity.
    and in my screens i added one more button that will tak me to contract header  page.( i used that stmt 'Leave program').
    but in second cycle if the user click on button it is showing me the following error.
    This function not defined
    Message no. 06006
    Diagnosis
    There is no entry for this function in Table 168F (system table). An error involving the screen control has probably occurred.
    Procedure
    Contact your system administrator.
    Am i need to add this functionalty to any  sap table.
    plz guide me on this.
    Thanks & Regards,
    Murthy Sannidhi

    Hi,
    The function exits used for screen enhancement of ME31K screens would have an export parameter E_UCOMM. Which needs to be mapped to a function code maintained in T168F table. Ideally 'KOPF' function needs to be passed onto E_UCOMM within the function exit.
    i.e. E_UCOMM = 'KOPF'.
    This shall solve the issue.
    Thanks & Regards,
    Kiran Kumar Somaroutu

  • How to save the pdf file or word doc into sap table

    Hi Expertu2019s
       I have a pfd file in my presentation server .Now I want to save the pdf file into sap table using module pool program. Whenever i need, I want to open that file from the table and show it in the Screen. Please any one tell me how I can save the file. What is the table name, guide me.
    Regards,
    S.Nehru.

    Hi,
    Try the following code
    FORM gui_upload.
      DATA: lv_filetype(10) TYPE c,
            lv_gui_sep TYPE c,
            lv_file_name TYPE string.
      lv_filetype = 'PDF'.
      lv_file_name = <name of ur file>.
    DATA: tb_file_data TYPE TABLE OF text4096.
    * FM call to upload file
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                = lv_file_name
          filetype                = lv_filetype
          has_field_separator     = lv_gui_sep
        TABLES
          data_tab                = tb_file_data
        EXCEPTIONS
          file_open_error         = 1
          file_read_error         = 2
          no_batch                = 3
          gui_refuse_filetransfer = 4
          invalid_type            = 5
          no_authority            = 6
          unknown_error           = 7
          bad_data_format         = 8
          header_not_allowed      = 9
          separator_not_allowed   = 10
          header_too_long         = 11
          unknown_dp_error        = 12
          access_denied           = 13
          dp_out_of_memory        = 14
          disk_full               = 15
          dp_timeout              = 16
          OTHERS                  = 17.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    "gui_upload
    I dont think you can save the data into sap tables in PDF format.
    With the above code you can save data into an internal table.
    Regards,
    Manish

  • How to retrieve information get in a sap table

    Hello,
    A sap program in my job chain reads a sap table. How can I retrive information of one of its fields and pass it in parameter in another step of my job chain ?

    Hi,
    The Z program returns informations in the job protocol, the question is how to parse the protocol to retrieve the string and put it in a parameter. I've been told that I can put a script in the "action" tag of the job definition as a post-running action. Where can I find an exemple of that kind of script ?
    FYI : the z program returns the following sentence, "flux sortant : nouveau compteur =0002" and what I need is to get 2 as a parameter for the next step.
    Re.

  • How  and where does SAP standard programs update the master tables...

    Hello there,
    How  and where does SAP standard programs update the master tables...
    to be precise.. if a (any) transaction occurs  the programs behind it holds the data in temporary structures.
    where and when does it get updated in the master table.
    can anyone tell me how it happens?
    I Know that from the where used list one can find the corresponding table but most of the time it wont suffice
    I am expecting a proper answer.
    Santosh B

    Hello Santosh,
    you need to do some self-reading on the following topic
    Updates in the SAP System (BC-CST-UP)
    http://help.sap.com/saphelp_47x200/helpdata/en/e5/de86e135cd11d3acb00000e83539c3/frameset.htm
    Regards,
    Siddhesh

Maybe you are looking for

  • Shipment Cost Document Posting of two different G/L Accounts

    Hi All, Shipment cost document posting should happen to two different G/L Accounts based on Division of the Material.If suppose there are two divisions 10 & 20.While posting happening in shipment cost document the material belongs to 10 Division must

  • Cannot download the trial version, why?

    My attempt to download the trial version of Photoshop failed, error 49, anyone to help me please?

  • Any way to have two DVD SP projects open at the same time?

    Hi Since it is likely that I'm going to re-build all the menues in my PAL DVD in a new NTSC project, I'd like to know if there is any way for me to have two separate DVD Studio Pro projects open at the same time. That way I can easily check and copy

  • FTP Proxy not being denied (and some other questions)

    I have a simple BM37+NW6SP5 test server for testing rules prior to moving them to production (2x BM38+NW65SP6). Recently we tried to block all access to FTP sites and allow only a select group of users access. The rules on the test proxy looked somet

  • How to decode duty cycle using LabVIEW?

    The duty cycles are output of an accelerometer, which are the input of the DAQcard-DIO-24, but how to decode the duty cycles after acquisition? I knew a timer would be useful, but have no idea about how to perform with labview. Thanks a lot. --yang M