Custom Transaction finding

Hi All,
I m a functional consultant, i would like to know whether any Custom Transaction is maintained for a given  Custom table.
Whats the best procedure to find this.
Regards,
Chandu.

hi Chandu,
go to SE16>table name ( DD25V)>Enter primary table name as (Custom Table name)-->enter Aggregate as (V) in the selectopn screen -->Execute
you can get the view's names for custom tables..
Go to tabble->TSTCP>Enter View name as ( /*SM30 VIEWNAME=(Custom tablename),UPDATE=X; )-->execute
from above results you can get the t-code related to table name
Regds / Prabhudas

Similar Messages

  • Finding if custom transaction is locked using FM ENQUEUE_READ....

    Hello Gurus,
    How to find if a given custom transaction is locked or not ? I have opened the custom custom transaction but when I try to use FM ENQUEUE_READ, I do not find that T-code locked.
    Please help.
    Regards,
    Jainam.

    1) Transaction is locked in an open transport:
    Go to SE93 and display the Object Directory Entry and choose lock overview.
    2) Transaction is locked for execution:
    Check in transaction SM01 if the transaction in question is locked.
    Which lock do you try to read?

  • How to Run a Custom Transaction in Back Ground after give the Input?

    Hi,
        I have problem that how to execute a Custom Transaction in Back Ground after end user will save a variant for input. In my Transaction there is no menu to save a Variant & to Execute in Back Ground.
    Please suggest me how to do this in my Custom Transaction.

    Hi Ramana,
    what kind of report you want to  execute? the report is Executable Report or Modulepool prog. ??
    if it is a executable program so when u execute (F8) from SE38 when u find the selection-screen in the menu bar ->Program ->Execute in Background( F9) option exits there u can schedule your report in Background or else use toce SM36 ( Define Background Job).
    Why you want to run it in background with transaction code if you have this options?
    Regards,
    Sunil kairam.

  • Escaping field value in custom transaction

    I have created a custom transaction inserting fields in a table called `billing`. The values are taken mainly from two other tables called `account` and `paypalinfo`. I have attached the code below.
    Please not the values to be inserted notated in wavy brackets like{paypalinfo.txnid}. This means the variable content is replacing what is in between the brackets and the brackets themselves of course at run time. Sine these are often character strings, I have put them into single quotes.
    This worked great until I had an Irish guy acccessing my site with the sirname of O'Hara. That of course confused the statement, as suddenly there was a ' character, which was supposed to be interpreted as string, but was interpreted as SQL field delimiter and thus broke the code.
    Here is my question: Should I escape the value and how would I do it, since this is not a normal code but a placeholder replaced at runtime? Or should I use another SQL field value delimiter, thus replace ' with ` ? I think the latter solution is inferior - just think of what heappens if you get an O`Hara instead of an O'Hara.
    So in essence the question is: How do you handle escaping varabiable content in custom transactions with run time replaced variables in {...} brackets?
    Any feedback welcome.
    Here is the code:
    // Make a custom transaction instance
    $customTransaction2 = new tNG_custom($conn_chilli);
    $tNGs->addTransaction($customTransaction2);
    // Register triggers
    $customTransaction2->registerTrigger("STARTER", "Trigger_Default_Starter", 1, "POST", "KT_Insert1");
    // Set custom transaction SQL
    $customTransaction2->setSQL("INSERT INTO billing (buyer_email, account, affiliate, partner, admin, transid, transdate, buyer_fname, buyer_lname, package, minutesbought, amountpaid, currency, userid, mac, nasid, routermac) values ('{paypalinfo.buyer_email}','{paypalinfo.account}','{account.affiliate}', '{account.partner}', '{account.admin}', '{paypalinfo.txnid}', '".$right_now."', '{paypalinfo.firstname}', '{paypalinfo.lastname}', '{paypalinfo.itemname}', '{package.tavail}', '{paypalinfo.mc_gross}', '{paypalinfo.mc_currency}', '{SESSION.id}', '{paypalinfo.usermac}', '".$router_name."', '{paypalinfo.routermac}')");

    You should never be using anything but:<br /><br />'b string mysql_real_escape_string  ( string $unescaped_string  [, resource $link_identifier  ] )<br /><br />'i http://www.php.net/manual/en/function.mysql-real-escape-string.php<br /><br />The reasons for this is that this are related to SQL injection attacks.  I would hand code this, but for anything more complex than CRUD ( http://en.wikipedia.org/wiki/Create,_read,_update_and_delete ) (which ADDT handles very nicely) I favor hand coding as it is faster, less complex when enforcing business process.  Also, this allows one usage of the database management system's transaction mechanisms which are typically far more robust and reliable on top of being simpler to work with.  <br /><br />Please note that the type of my storage for your database within MySQL will support different features.  To enable the usage of database transactions you will need to use the InnoDB table type rather then the default MyISAM table type.  Various versions of MySQL have other options for transaction safe table but those two are the ones that are consistently available in web environs where bleeding edge software is not normally deployed.<br /><br />http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html<br /><br />Diatribe aside, what you need to do with these templated objects is to duplicate the object referenced {paypalinfo} and apply mysql_real_escape_string to the duplicates elements {paypalinfo_escaped_copy.txnid}.  Then run the copied ADDT code with values from {paypalinfo_escaped_copy}.  How you do you this I leave you to track down as I do not find that level of abstraction to be a good use of my time and other other libraries/frameworks do it much more elegantly using less of my time.<br /><br />But as Gunter already noted, refactoring your problem to work with your tools existing architectures can be simpler.  ADDT has a limited programming architecture (primary design) which is done to simplify the automatic generation of code.  This can make some simple things complex (50-80 mouse clicks) as opposed to  typing one or two lines of code.<br /><br />some thoughts, <smile><br /><br />Sean

  • Not able to execute custom transaction in Background mode

    Dear All,
    There is a custom modele pool program to update the data in info type 9003. We have written a Z program in that we are calling this custom modele pool through CALL TRANSACTION with mode 'N' and update 'S'.
    Z Program is running successfully and updating data in 9003 info type when we run in foreground mode.
    But it is not updating when runs in Background mode.
    Am I need to take any other precautions when run in background mode for custom transaction?
    We are using 4.6C version.
    Thanks in advance.
    Regards,
    Abaper

    For custom transactions you shouldn't have a problem - unless you're trying to do something that needs dialog with the presentation server.
    Set an infinite loop in the custom transaction, launch your program in backround, then from Sm50, go to debug and find out what's going on.
    DATA: debug.
    WHILE debug IS INITIAL. " Debug from SM50 will get you here, change field DEBUG in the
    ENDWHILE.               " debugger to contain 'X', and the loop will end.
    Also, if your custom tx calls any standard SAP programs/FM, there is a chance that those programs work differently in background than foreground.

  • Performance problem in custom transaction

    Hi,
    We have a custom transaction for checking the roles related to an transaction.
    We have the same copy of the program in DEE, QAS and PRD(obvious).
    The catch is in DEE the transaction runs very slow, whereas in QAS and PRD the transaction is normal.
    In the debugger mode i found in DEE while accessing AGR_1016 it takes an long time.
    I checked the indexes, tables and extents and noticed that in DEE the extents, size and the table size(physical size) is more than in PRD.
    Whereas, the records are more in PRD and less in DEE.
    Please guide me on what all checks i can perform to find out where exactly the problem is?
    Regards,
    Siddhartha.

    Hi,
    What database are you running? It sounds like that's where the issue is, if it's a table with a lot of changes a table reorg might be in order (especially with older databases). You should probably close this message and open another one in the relevant DB forum.
    Michael

  • Change the description of Custom transaction

    Hi All
    Business requirement is to change the description of custom transaction. I have changed in SE93.
    But, now this change should appear in all the roles(single and composite) wherever this transaction used.
    Do I need to update each role or Do we have any option to refresh the description of transaction in roles?
    Thanks in advance.
    Srini

    Hi Srinivas,
    I first recommend to identify the # of roles in which the custom transaction code exists. If you find the tcode in only few of the roles, you can modify them individually from the role menu and transport them back.
    If you have more roles, alternative is to use eCATT scripts. But, make sure that you use the search option in the role menu, rather than selecting the tcode manually.
    The last option is as recommended above. Maintaining the values in the table is not recommended though
    Regards,
    Raghu

  • Custom Transaction running slow on R/3 4.7 ,Oracle 10.2.0.4

    Hi,
    We have a custom transaction for checking the roles related to an transaction.
    We have the same copy of the program in DEE, QAS and PRD(obvious).
    The catch is in DEE the transaction runs very slow, whereas in QAS and PRD the transaction is normal.
    In the debugger mode i found in DEE while accessing AGR_1016 it takes an long time.
    I checked the indexes, tables and extents and noticed that in DEE the extents, size and the table size(physical size) is more than in PRD.
    Whereas, the records are more in PRD and less in DEE.
    Please guide me on what all checks i can perform to find out where exactly the problem is?
    Regards,
    Siddhartha.

    Hi,
    Thanks for the reply.
    The details are given below.
    Please let me know if u need any more information.
    /* THE ACCESS PATH */
    SELECT STATEMENT ( Estimated Costs = 2 , Estimated #Rows = 1 )                                                                               
    5  7 FILTER                                                            
      Filter Predicates                                                                               
    5  6 NESTED LOOPS                                                  
    ( Estim. Costs = 1 , Estim. #Rows=1 )                       
      Estim. CPU-Costs = 14,882 Estim. IO-Costs = 1                                                                               
    5  4 NESTED LOOPS                                              
    ( Estim. Costs = 1 , Estim. #Rows = 1 )                   
      Estim. CPU-Costs = 14,660 Estim. IO-Costs = 1                                                                               
    1 INDEX RANGE SCAN UST12~0                              
    ( Estim. Costs = 1 , Estim. #Rows = 1 )               
    Search Columns: 4                                     
    Estim. CPU-Costs = 9,728 Estim. IO-Costs = 1          
    Access Predicates Filter Predicates                   
    5  3 TABLE ACCESS BY INDEX ROWID AGR_1016                  
    ( Estim. Costs = 1 , Estim. #Rows = 4 )               
    Estim. CPU-Costs = 4,932 Estim. IO-Costs = 1                                                                               
    2 INDEX RANGE SCAN AGR_1016^0                       
    Search Columns: 2                                 
    Estim. CPU-Costs = 3,466 Estim. IO-Costs = 0      
    Access Predicates Filter Predicates                                                                               
    5 INDEX UNIQUE SCAN UST10S~0                                
    Search Columns: 5                                         
    Estim. CPU-Costs = 221 Estim. IO-Costs = 0                
    Access Predicates Filter Predicates                                                                               
    The details of the index UST12~0   
    UNIQUE     Index   UST12~0                      
    Column Name                     #Distinct       
    MANDT                                   7
    OBJCT                                    1,339
    AUTH                                       6,274
    AKTPS                                    2
    FIELD                                      762
    VON                                         6,112
    BIS                                           246
    Last statistics date                           02.08.2008
    Analyze Method                                Sample 80,739 Rows
    Levels of B-Tree                               2
    Number of leaf blocks                      9,588
    Number of distinct keys                   722,803
    Average leaf blocks per key           1
    Average data blocks per key          1
    Clustering factor                                42,765
    Table   AGR_1016                                
    Last statistics date                  24.09.2008
    Analyze Method                       Sample 5,102 Rows
    Number of rows                        5,102
    Number of blocks allocated    51
    Number of empty blocks         0
    Average space                        2,612
    Chain count                              0
    Average row length                 48
    Partitioned                               NO
    NONUNIQUE  Index   AGR_1016~001                 
    Column Name                     #Distinct       
    MANDT                                          4
    PROFILE                                    4,848
    COUNTER                                  10
    Last statistics date                  24.09.2008
    Analyze Method                 Sample 5,102 Rows
    Levels of B-Tree                               1
    Number of leaf blocks                      24
    Number of distinct keys                   5,101
    Average leaf blocks per key             1
    Average data blocks per key            1
    Clustering factor                              1,449
    UNIQUE     Index   AGR_1016^0                   
    Column Name                     #Distinct       
    MANDT                                          4
    AGR_NAME                                   4,725
    COUNTER                                       10
    Last statistics date                  24.09.2008
    Analyze Method                 Sample 5,102 Rows
    Levels of B-Tree                               1
    Number of leaf blocks                         30
    Number of distinct keys                    5,102
    Average leaf blocks per key                    1
    Average data blocks per key                    1
    Clustering factor                          1,410
    If any more info is required..Please tell me.
    Siddhartha

  • How to make a custom transaction..?

    Hello gurus,
    I have been given the task to make a custom transaction ZVA02.One the first screen there will be a field Order Number and then once we enter the order number it searches and find out whether that order exists or not...if it does then make the change in the fields..if it does not then create a new order by that name...
    I have no clue how to go about with this...Your help is required experts...
    Cheers:Jim

    check with ABAPDOCU Transaction to create dialog program.
    goto ABAPDOCU Transaction -> ABAP User Dialogs -> Screens  here you will have example programs.
    you can validate order number against VBAK Table
    simple query in dialog
    select single vbeln from vbak into vbak-vbeln
                                      where vbeln =  screen field order #.
    if sy-subrc eq 0.
    call transaction 'VA02' and skip first screen.
    else.
    call transaction 'VA01' .
    endif.
    even you can build new screen what ever in sales order -

  • Change documents for the custom transaction

    hi,
    how could we trap the changes in our custom transaction to CDHDR,CDPOS tables.
    we had created the object and generated update information.
    where exactly we should call our  write_document function module (generated in the object class ) in our module pool program.

    Activate the 'Change document' checkbox for data element. You must updating some table by your program. So just check the 'Change document'  checkbox for those dataelement that you are updating in the table.
    You will find the 'Change document' checkbox in the following path : dataelement-> farther element->'Change document'  checkbox.
    Now, if that checkbox is checked, the CDHDR and CHPOS table will be updated whenever you do any chnge in the table.
    Now you can readthe table with a date to find out whether the bable is modified.
    Now performance wise it is better to use change pointer instead of change document. Change pointer also do the same functionality as the change document.
    To do that go to BD52, give a message type andd all the table and fields for which you are updating through your program.
    Now you can use 'Change_pointer_read' FM to read the values that are change.
    Ex:
            CALL FUNCTION 'CHANGE_POINTERS_READ'
              EXPORTING
                message_type                = gc_message_type
                creation_date_high          = s_erdat-high
                creation_date_low           = s_erdat-low
                creation_time_high          = gc_time_high
                creation_time_low           = gc_time_low
                read_not_processed_pointers = 'X'
              TABLES
                change_pointers             = lt_chgptrs_tab.
    gc_message_type message you have given in BD52 and you will get all the chaged element in lt_chgptrs_tab.
    Now after reading the values to update the fact that you have read those values you have to call another FM.
              CALL FUNCTION 'CHANGE_POINTERS_STATUS_WRITE'
                EXPORTING
                  message_type           = gc_message_type
                TABLES
                  change_pointers_idents = gt_pointer_id.
              COMMIT WORK.
    gt_pointer_id will have all the change pointer ids from lt_chgptrs_tab table that you have already reead.
    The table for change pointer is BDCP.

  • Attachment functionality to custom transaction

    Hi All,
    I need a help in providing attachment functionality to a custom transaction.
    I have build a custom transaction for GL master, the requirement is that i need to provide a attachment functionality to attach a
    documents like in standard trasactions(attaching a documents in Va02). How can i achieve this functionality?
    Is there any class/FM to call?
    Thanks in advance.
    Venu.

    Hi,
    I think you have to use GOS service. Search for GOS. check the below thread or debug the standard transaction, you can find FMs
    A couple of things regarding GOS and ArchiveLink for attaching Business Doc
    Hope this helps u.,
    Thanks & Regards,
    Kiran.

  • Creation of custom Transaction for confirm goods in SRM

    Hi Experts
    i need to create a custom transaction same as standard one  for confirm goods/servics in SRM portal.
    In sap GUI, the transaction is BBPCF03
    Can you please suggest any good sources where i can learn to Custome Tcodes for my requirement
    Thanks in advance
    Edited by: kittu reddy on Nov 19, 2008 7:27 AM

    Hi Hussaini,
    Here are the steps.
    1> Customization needs to be completed in SPRO. Logistics Execution -> Mobile Data entry section. Also compare entries with LM01 for understanding.
    2> In the 'Define menu management', you can create dynamic menus. For Menu or transaction type, if you enter "1", a menu appears; if you enter "2", a transaction appears. Custom transactions can be created and assigned here.
    Once that is done, when you execute LM01 you will see your custom transactions come up. Make sure that these are created keeping in mind the RF device screen size and limitations.
    Regards,
    Anand.

  • Custom Transaction using RSDMD to go to MD Screen Directly

    Hi,
    I have created a custom transaction for Master Data Maint. which uses RSDMD and the InfoObject name.
    By using this custom transaction I can reach to
    the screen to filter the records. Here I click on
    execute (F8) to reach the actual data.
    I used SHD0 to create this custom-transaction.
    How do I include the "execute / F8" functionality in my custom transaction, so that when I use custom-transaction I can go directly to the data.
    Would appreciate your help.
    Thank you,
    Pramod.

    Hi Mark,
    Your design of going for Name01, Age01 , Date01.....
    is absolutely correct. Stdandard SAP even does the same thing.
    Regarding the dump...you can do one thing..try referring
    standard infotypes which uses table control like Basic pay infotype 0008.
    If you get any help from there then its fine..or just post send the dump analysis (point 3 of dump) to forum i guess from that definitely we can conclude at the reason for dump...
    Enjoy SAP.
    Pankaj

  • Error while calling Receipt Un-application :Customer Transaction Identifier has taken a precedence over the transaction number

    Hi All,
    While calling the receipt Un-application API, I am getting a error like' Customer Transaction Identifier has taken a precedence over the transaction number'
    Kindly suggest as to how can I troubleshoot this?
    Appreciate your valuable Inputss

    Hi,
    i recommend having a Service request logged for this issue, as from related documentations in metalink most of them seemed to be a bug where oracle suggested patches (code Fixes) ... hence reaching oracle support would be a better approach ...
    Regards,
    Ivruksha

  • Creation Of Custom Transaction For RF enabled devices "mobile data entry"

    Hello Everyone,
    i need some information, or some material or some example's for creating custom transactions that will invoke the standard good issue transaction of sap from the handled device using the RF , so can anybody give some reference which will help me in creating custom transaction for a RF enabled handled device, which will invoke the standard sap goods issue transaction( mb1a) ,, there are some LM-transaction which do goods issue from the RF enabled handled device, but in my case i want to do goods issue using reservation as my input, so can anybody guide me or send some reference material matching to my problem, i would really appreciate it..
    thanks in advance...
    sapient2006

    Hi Hussaini,
    Here are the steps.
    1> Customization needs to be completed in SPRO. Logistics Execution -> Mobile Data entry section. Also compare entries with LM01 for understanding.
    2> In the 'Define menu management', you can create dynamic menus. For Menu or transaction type, if you enter "1", a menu appears; if you enter "2", a transaction appears. Custom transactions can be created and assigned here.
    Once that is done, when you execute LM01 you will see your custom transactions come up. Make sure that these are created keeping in mind the RF device screen size and limitations.
    Regards,
    Anand.

Maybe you are looking for