HELP: Customized Transaction Codes

dear sap gurus,
just want to ask about what i observed with my customized tcodes (for my Z programs, which are run by users using SA38).
the customized tcodes call a screen layout different from that of running the Z programs themselves. i do not see the actual fields.
is there a way to correct this?
thanks a lot.
best regards,
albert
Edited by: Albert Joseph  Canceran on Apr 30, 2009 10:23 AM

Hi,
You should get the first-appeared screen number (SY-DYNNR) when running the Z program, then go to SE93 to check the corresponding Tcode.
If the Z program calling a standard selection screen, or just show result without a selection screen, the SY-DYNNR should be '1000' in SE93, and its type should be 'report transaction'.
If the Z program calling a customize screen, please check SY-DYNNR with that in SE93. Also, it should have the type 'dialog screen'.
Regards,
Xiaohong.Z

Similar Messages

  • Program associated with Custom transaction code.

    Hi Guys,
    I was studying two custom transaction code made in my company's SAP System.
    Program associated with one custom transaction was starting with name SAPZMxxx and program associated with other custom transcation code was starting with Z.
    Can anyone tell me whhat is the difference or in other words what is the significance of starting with SAPZM....
    Tushar.

    You can exactly know the kind of program only seeing the program attribute.
    Infact if the program name begin with SAPMZ, you're sure it's a module pool custom, but if it begin with Z* you can't be sure it's a report.
    SAPM is a convention, if you're creating a program called SAPMZ... the system know you want to create a module pool.
    But if you're creating a program called Z... the system can know which kind of program you want to create only after you've indicated the type in the attributes.
    Here you can choose whichever type of program, a module pool too.
    So the name of module pool can begin with SAPMZ or Z.
    Max
    Message was edited by: max bianchi

  • How to find all Custom tables (transp) that have a custom transaction code?

    My client has asked us to provide a list of all Z (custom) tables and the associated transaction codes for maintaining them.
    I know I can manually do this with a Z* search in se11 and then do a where used on each table to find out if a view (transaction code) exists for the table - BUT THIS WOULD TAKE HOURS IF NOT DAYS TO DO AND BE LIABLE FOR HUMAN ERROR.
    Does anyone know the way we could code a search for this information (ABAP) and know what tables to use?
    Thanks.
    Scott

    Hi
    You can search in table TSTCP for custom tables that have a maintainance view and a transaction associated, which is a call to SM30. To do this, just select the table with TCODE starting with 'Z' and PARAM starting with '/*SM30'.
    But you can also have some Z tables updated by an module pool program. This is more complex to find, because you don't know if you simply have the field used in the screen for some other use in a transaction, or if it is in that screen just to update the table. In this case, you need to analyze each screen.But I hope the first tip help you to solve your problem.

  • ABAP Query Execution via Custom Transaction Code - Not working

    We have created an ABAP Query in our DEV client and we then created a transaction code to run that query. We have done this because the customer does not want anyone to have access to SQ01, SQ02 in production. This works great in DEV but we can not get it to work in production.
    The ABAP Query was exported to our Prod client successfully.  I say exported because you do not do direct transports with queries.
    We then transported the new transaction code to run the query to production and it was successful.
    However, when we run the transaction is production we get a sys dump stating it can not find the query.
    We believe the problem is the TRDIR table is missing an entry for the program in production (it has an entry in DEV).
    I would have thought that the export on the query would have brought in this entry -but obviously not.
    Any suggestions on how we can get this entry into the production client?  Did we miss a step on the export that would do this?  We want to only bring over this entry - not the entire TRDIR table for obvious reasons (size (1.5 million entries, programs not ready for production, etc.).
    Please help!
    Thanks.
    Scott

    Hi,
    The above solution will work if you assign the transaction in one server, If you want this will not work in quality/production boxes when transported the query..the program name will not be the same in all the servers...
    For this. Do the below:
    In SE93, Create a Paramter Transaction
    -> Transaction = Start_report
    -> In default values, give the below details:
         D_SREPOVARI-REPORTTYPE = AQ
         D_SREPOVARI-EXTDREPORT = Name of the Query
         D_SREPOVARI-REPORT = User Group
    Save the transaction..Now if the program is generated with different names in the quality/proudction, this will still work..
    Regards
    Vijay Hebbal

  • Create custom Transaction code

    BW Experts,
    Can I create a custom transaction (T-CODE) in BW  which will basically bring up a screen to trigger an event which would run a infopackage.
    I need to give user the access to run a infopackage and not to admin workbench. The above is the method I thought about, but do not know if it is possible to do it. I would appreciate any help on this.
    Thanks
    Ashwin

    Aswin,
       It is very much possible. Create an ABAP Program and call the Function Module BP_EVENT_RAISE . Pass your Event to Function Module.
    Go to SE93. Create a Transaction Code by providing Technical Name. You will get a pop up to choose the Transaction Type. Select Program with selection Screen. provide Description and Program Name you created earlier. Save.
    all the best.
    Nagesh Ganisetti.
    Assign Points if it helps.

  • Custom transaction codes?

    Hi All,
    Is there any possibility in CRM to create our own transaction code? I want to create my own transaction code to create BP - Person - new role -> contracted employee as default.
    Thanks and Best Regards,
    Abdul

    Hi,
    You can enhance the BP by creating a transaction code that allows you to create BP only with specific roles.
    Tx code: to create a transaction code is SE93
    To assign the Tx code to a specific role related activity: BUSF
    Hope this helps
    Regards
    Rekha Dadwal

  • Custom Transaction codes overwritten during transports

    Hi,
    When I create custom queries in my production client, assign transaction codes to them, and assign them to roles they get overwritten every time I perform a transport for those roles. We are still at an early stage of implementation and there are still some daily authorization changes that require a transport from test to production. When the roles are transported it wipes all my reports (transaction codes) assigned to these roles in the production system. Is there a way to perform a transport without wiping out the customizations made to the role in the production system like these?
    Thank you,
    Sergiy

    The answer is in the way one works with BI (or BW).
    If the design is that queries are to be created in production (which is often used). As far as i know the only exception on the rule that everything should be build in DEV. And this is the only good way as you do not want end-users to work in DEV. There are some things to know about the way SAP works.
    If a role is changed in DEV and transported to PROD all queries assigned to the role in PROD will be disconnected.
    Solution a role to be used in PROD were queries will be assigned to should never be transported again.
    Solution in detail, there should be roles for different use:
    1.     Access to Info providers in version read and write.
    2.     Access to publish reports in roles per query role.
    3.     Query/Menu roles per info area.
    Roles 1 and 2 allow for access and can be transported as often as you want. Role 3 is only to be used as a container of queries to be used by end users and should NEVER be transported again (best practice is to delete if in DEV after transport and NOT assign it to a transport before deletion).
    In the publisher role it can be arranged to which role(s) the publisher can assign reports. It is also possible to force users to use a report naming convention in this role.

  • Need help on transaction code to create

    1)How to create a transaction code with input parameter?
    2) I have a selection screen with the input parameter VKORG.
    If I entered a value in vkorg, that related values only updated in custom table thru that transaction.

    Hi,
    First Create the program in SE38 (Report program /Module pool program)
    Steps to create the t-code for Report program.
    T-code for report program
    1. Go to se93
    2. give the meaning full t-code name
    3. Click on Create button (popup will appear)
    4.Give the meaning full short text
    5.Select the second radio button and press enter
    (Program and selection Screen)
    6. U will get a new screen , here u give ur report program name
    7. save, check and execute
    T-code for module pool program
    1. Go to se93
    2. give the meaning full t-code name
    3. Click on Create button (popup will appear)
    4.Give the meaning full short text
    5.Select the first radio radio button and press enter
    (program and screen)
    6. U will get a new screen , here u give ur report program name
    7. save, check and execute
    Hope this will solve ur problem
    Regard
    Anees

  • Custom Transaction code .... back ground run

    Hi All,
    We have custom transaction ZPRS(Module pool program)... which contains selection screens ..
    usually user run give the values on selectin screens and press submit.. it displays the list of values on table control..
    But user asking instead of table control .. after selection screen input they have run in BACK GROUND.
    Please suggest how to that... I know submit is for executable program,...
    Thanks...
    reddy.

    >
    Dave L wrote:
    > so, a little very basic analysis here....
    The first bit of analysis would include looking at the date of the initial post
    Rob

  • Search Help for transaction code KE53

    Hi Experts,
    I want to add one more elementary search help in already existing search help PRCT for tcode KE53.
    This is a collective search help. I am trying to create an elem. searh help which includes 3 input fields
    Profit Center (PRCTR), Text desc. of Profit Center (LTEXT), and Company Code (BUKRS). But the problem is PRCTR & BUKRS are in table CEPC_BUKRS and PRCTR & LTEXT in table CEPC. Then how do i club the 3 in a single elem help. Do i have to use Search Help Exit. I have created a FM in which i have written a select query as follows:
    SELECT APRCTR ALTEXT B~BUKRS
           FROM CEPCT AS A
           INNER JOIN CEPC_BUKRS AS B
           ON APRCTR = BPRCTR
           INTO CORRESPONDING FIELDS OF TABLE ITAB.
    ITAB is the table in FM. The FM also includes the changing parameters :SHLP & CALLCONTROL and tables SHLP_TAB & RECORD_TAB (but i dont know the use of the parameters). How do i proceed.
    I dont have any idea about search help exits. Also there is no table which includes PRCTR, BUKRS and LTEXT.

    Hi,
    No need to write a search help exit. You can instead give a database view in the selection method. This database view can be a join on the tables CEPC  and CEPC_BUKRS.
    Refer to the search help PRCTN which uses a database view as the selection method.
    Since this is a standard search help, you will have to use append search help technique. Refer to this link for [enhancing the standard search help|http://help.sap.com/erp2005_ehp_04/helpdata/EN/1f/29ef5777df11d2959800a0c929b3c3/frameset.htm].
    regards,
    Advait
    Edited by: Advait Gode on Dec 30, 2008 9:45 AM

  • Query in F4 help on transaction code PP01

    Hi,
    Our user wants as on active object display when using search facility in transaction PO03 screen.
    I have checked in debug mode, program uses function module "RH_OBJID_REQUEST" for displaying F4 help.
    But in this function module there is no parameter to pass Search Period (Start date) and Search Period (End date).
    System passed default value "Start date is 01.01.1900" and "End date is "31.12.9999" due this reason all objects are coming in search help screen.
    Please suggest is there any way to restrict delimited objects in F4 screen.

    Search for search help exit you will find many links below is the link
    [http://wiki.sdn.sap.com/wiki/display/Snippets/ImplementingSearchHelp+Exits]
    Nabheet

  • Custom T codes for Report painter in FI

    Hi All -
      I have list of report painter reports (created thru GR31) and need to create custom transaction codes. I need information for following points:
    1. How to create tcodes for report painter report
    2. We have to transport those tcodes from DEV server to production and client numbers are different, will the transaction codes work when we promote to different server.
    Thanks in advance.
    Rds,
    K

    Hi,
    Following are the Answers to your Queries.
    1. Please refer to [Creating Transaction Code For Report Painter Reports|http://www.google.com/url?sa=t&source=web&ct=res&cd=1&ved=0CAgQFjAA&url=http%3A%2F%2Fdap-consulting.com%2Fyahoo_site_admin%2Fassets%2Fdocs%2FReport_Painter_Reports.47142031.pdf&ei=MiWYS5ilCYeOlAfn4pCGDQ&usg=AFQjCNEZ0YO6vJ97K24MbU_NI5ROTb5vJA&sig2=Ke-svnqddqrz8RMcTuEnaw].
    2. Please refer to 5th chapter (Page 90) of this document for [Transporting the Report Painter Reports|http://www.google.com/url?sa=t&source=web&ct=res&cd=3&ved=0CA0QFjAC&url=http%3A%2F%2Fwww.sapficoconsultant.com%2FBonus%2FReport%2520painter.pdf&ei=UiaYS8WOA5KylAei3830DA&usg=AFQjCNEHYqOFUd4XmZeX0JFt80OS-u7-mQ&sig2=dz40ldGpk_iyIRFR-yIxug].
    Hope this helps.
    Regards,
    Chandravadan

  • Attach ADOBE form to transaction code.

    Dear All,
                I have a solution to be implemented wherein I need to attach an offline Interactive Abobe form to a transaction code.
    The scenario is the end user has access to this custom transaction code which when he executes should open the form for him. He would then fill in the contents and submit it which would trigger an custom workflow process.
    We do not wish to use WebDynpro application and hence would appreciate if any useful information is provided.
    Appreciate your help.
    Thanks & Regards,
    Kavita D.

    I am not sure if that is what you want, but what I would do:
    1) create a transaction code
    2) create a printing program (trivial), set printing settings to immediate preview
    3) create an interface and adobe form layout
    4) link the transaction and the program together, now when a person runs the transaction, the printing proram gets triggered and as an output it provides a blank (or pre-filled) adobe form
    5) now you have the UI ready but miss the way how to trigger the WF from the form
    6) to get 5) you need to create a web service and connect the webservice with your adobe form, there are plenty resources on how to do this
    7) you should be able to trigger the workflow through a simple adobe form protected as a custom transaction
    Hope that suits your needs,
    cheers Otto

  • How to search custom T Codes for SAP SD Module

    Hi All,
    I have searched over the net to figure that custom T Codes can be searched using table TSTC and putting 'Z' in the selection criteria 'T code'.
    This shows the list of all Z tcodes for all modules. How do I find the Z tcodes for SD Module. Please help here!!
    Thanks

    Dear Vaibhav,
    Krishna has explained good way to search it out but most of the time Authorization of T-code SE93 is missing so here is another way to find our transaction codes.
    1. Execute Transaction Code SE11 :
    2. Enter the table name "TSTC" & Click on display :
    3. Click on the icon as:
    4. Write Z* for custom transaction codes :
    5. It will show the T-code and also the Program Name & T-Code Description and related information :
    Regards,
    Suhaib Bin Aziz

  • Corresponding SPRO Transaction Codes

    HI Gurus,
    Can you provide me a link or a list of all corresponding spro (customizing)  transaction codes VS (versus) easy access (user side) transaction codes.
    i will assign great number points if it is useful.
    thanks in advance
    kumar

    Hi
    Please go through the following links for a list of various <b>T-Codes </b>that will be used in SAP. Also dig as much as you can in this website to get more information.
    http://www.sap-img.com/financial/sap-fi-transaction-code-list-1.htm
    http://www.sap-img.com/financial/some-important-tcodes-for-fi-gl-ar-ap-asset.htm
    http://www.sap-img.com/financial/tcodes-for-configuring-assets-accounting.htm
    Hope it helps you in getting the T-Codes that you are looking for in SPRO.
    Assign points if helpful to you in anyway.
    Thanks,
    NareN.

Maybe you are looking for

  • ITunes blocks Harry Potter mp3s.  Why ?

    We recently bought the Harry Potter audio books in mp3 format.  I can import them into iTunes but I can not get them into the iCloud or to any of my devices - iPads or iPhones.  iTunes puts a NotCloud icon in the row for each.  If you click on the ic

  • How to create an XML File Port in we21

    Hi firends, Can any one help me in creating the XML FILE PORT Its Urgent Thanks Ganesh

  • RDLC - Group Header Continued on next page...

    Hi All, I have a requirment in RDLC, if the group rows exceeds more than one page, I need to add a content at the bottom of page and next page first row, like below Group              ------Recrods-----------              ------Recrods----------- Gro

  • It ok to compress backup files?

    Hello All, OS: AIX 5.2 We are creating Oracle backup files on daily basis. We transfer the files to backup server. No we have been asked to compress files into one file. My question is it ok to compress backup files? Please note: I created a folder c

  • Adobe Premiere Pro CS6, format for exporting video to web.

    On the Adobe Premiere Pro CS5.5 I used the format "H.264" and preset "Apple Ipad 400x224, 16x9, 29.97, 400kbps." That preset isn't available in the Adobe Premiere Pro CS6 edition. What would you recommend that would be comparable and good for exporti