Debugging of standard transaction(screens)

Hi,
  How can I debug standard transactions and screens.
  I have program name and screen number.
How can I go ahead for debugging.
Regards
Sasi

Hi,
Debugger is the best weapon an Abaper has. SO go ahead and debug.
Find what the program does.
If you know the program name.. GO to the program. Keep the breakpoint where it is necessary. and run the transaction
Else type /h on the prompt press enter.
Then enter the tcode in the prompt and press enter
Regards
Vijay
Edited by: Vijay on Jul 3, 2008 11:13 AM

Similar Messages

  • Edit standard transactions screen

    I am supposed to edit the screen of a standard transaction VA11.
    Am supposed to add sum10-12 fields on the input screen .I have found that
    probably the screen-exits would help.
    But as of now I have tried to find the standard exits but there is no screen-exit for this transaction to my knowkledge .So can ne 1 tell me the procedure to add the scree-exits. I've heard that it shud be requested to SAP to create such an exit .
    Is it true ? how shall i ? can ne1 give me the relevant details for the screen-exit and the related function module exit to be written .

    Such in the Coding for call Customer Funktion.
    All Exist are call so.
    Or have a look at the tables:
    tables : tstc,     "SAP Transaction Codes
             tadir,    "Directory of Repository Objects
             modsapt,  "SAP Enhancements - Short Texts
             modact,   "Modifications
             trdir,    "System table TRDIR
             tfdir,    "Function Module
             enlfdir,  "Additional Attributes for Function Modules
             tstct.    "Transaction Code Texts
    By Chris

  • Include SAP standard transaction screen in ABAP webdynpro view?

    Hi all,
    Any body have idea on how to create SAP transaction screen in WebDynpro view?
    ex : i have requirement like i need IB52 transaction in webdynpro view, so that it will be called this view from EP iview to do some process.
    Regards,
    Rajesh Yadla

    Hi,
    you can use a IFRAME and run a Portal transaction Iview for IB52 inside the WD-IFRAME.
    For that you first have to create an iview for the Transaktion IB52 inside your Portal.Then call the preview of the Iview. This Preview-URL(or the PCD) you can call as source inside the WD-IFRAME. For me this works fine.
    Regards
    Frank

  • Calling custom dialog screen from Standard Transaction(user Exit)

    Hi, I'm calling Standard Transaction from a Custom Screen. I'm calling a custom screen again with in standard transaction (implemented custom screen thru user exits using macros). But when I click 'continue/cancel' in the custom screen, control is going back to main cutom screen rather go back to standard transaction. Could anyone please help me out how to come back to standard transaction from custom screen rather going back to main cutom screen.
    ***INCLUDE LZ_R_FORWARD_FORWARD_LOADI01 .
    *&      Module  USER_COMMAND_9000  INPUT
    MODULE user_command_9000 INPUT.
      CASE sy-ucomm.
        WHEN 'EXEC'.
          PERFORM validate_popup_data.
          IF flag_error_screen NE 'X'.
            MOVE-CORRESPONDING ZFFL_POPUP to var_ZFFL_POPUP.
            clear flag_return.
            SET SCREEN 0.
            LEAVE SCREEN.
          ENDIF.
        WHEN 'CANC'.
          flag_return = 'X'.
          SET SCREEN 0.
          LEAVE SCREEN.
        WHEN OTHERS.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_9000  INPUT
    *&      Module  exit_9000  INPUT
    MODULE exit_9000 INPUT.
      CASE sy-ucomm.
        WHEN 'CANC'.
    *      MOVE perf_flag TO lbpla_exist_flag.
          flag_return = 'X'.
          SET SCREEN 0.
          LEAVE SCREEN.
      ENDCASE.
    ENDMODULE.                 " exit_9000  INPUT
    Thanks in advance.

    Hi
    So the command SET SCREEN 0. LEAVE SCREEN. should "place" the program just after the calling of the popup so here:
    FUNCTION z_call_screen.
    * Call the Pop up screen
        CALL SCREEN 9000 STARTING AT 35 05.
    "<------------------------- The program should be here after going back from popup 9000
    ENDFUNCTION.
    Is it true?
    Max

  • HOW TO PASS THE DATA FROM SELECTION SCREEN TO STANDARD TRANSACTION?

    HI,
    HOW TO PASS THE DATA FROM SELECTION SCREEN TO STANDARD TRANSACTION?
    thanks,
    samba.

    By selection screen, what do you mean?   There is no selection screen in WDA as there was in classic dynpro. Do you mean you are using the Select-Options reusable component?  Are you wanting to call a standard transaction via ITS - SAPGUI for HTML?  Please provide more details to your question.

  • Debugging ZdriverProg when  attached toa  Standard Transaction code

    Hi all,
    iam doing with SAP Standard smartform
    initially the ZProgram and Zform are  attached
    to standard Program : RV56TD00  for the transaction VT02N
    (ApplicationV7 - Shipment :  Bill of Lading)
        +
    Zform
    Now iam working on  Modifying the ZProgram  to Zprogram1 + Zform1
    where  Zform1 is modified version of Zform
    Zprogram1 + Zform1  both are  saved in LOCAL OBJECT
    please let me know ..that
    1) How can i test and Debug  my Zprogram1
    if possible  Provide an example .. for the above said things ..
    In Short  : for  a standard transaction ( VT02N ) where  Zprog + Zform are attached . how to debug Zprog ????????????????
    for  appropriate  answer  Points  will  be  rewarded instantly..
    Looking for ur   answer...
    Thanks
    Aslam...

    Hi,
    Open the ZPROGRAM and put the breakpoint in that and go to VT02N transaction go with print prieview now it will display in debugging mode .
    If you want to degug in smartforms open the smartform and create a program lines and in the input parameters give the variable you need to check in the debugging mode and go with print preview in the vt02n .
    Thanks,
    NN

  • How to do a screen sequence for a standard transaction?

    Hi experts -
    I have a requirement that the business wants a field on transaction VL02N to be grayed out based on specific delivery types.  I have been told that that would require a custom screen sequence to be developed.
    (1) What is the best solution to accomplish this?
    (2) If the solution is a custom screen sequence for the standard transaction code VL02N, then how is that done?
    Many thanks!
    Mark

    When one says "custom screen sequence"  an Industry Solution that utilizes BDT, like Insurance or Gas/Oil comes to mind.  Are you working with one of the BDT-based Industry Solutions in SAP?   If so, customization by field-group or screen or view could be considered, but I think you'd find a much simpler way to do.
    If not, one usually does this with an exit that allows control of screen elements, as does SD Order processing, a Badi implementation or enhancement in a PBO module for the screen to set the screen-input value to '0' for that field name. 
    You should, though, search the forums, since these kinds of questions are often asked....and answered....such as:
    [VL0xN exits|VL01N / VL02N Exit;

  • Help with moving between custom screens in a Standard Transaction

    All,
    I'm working with a standard transaction, but in this transaction, the I'm having 2 tabs of customized screens. In each of the screen, I have 1 mandatory fields to be filled. If the user only fill in the mandatory field of the first screen and click save, I need to display an error message and also display the second screen automatically? How can I do this? I tried to use CALL SCREEN 9200 but the system keep displaying the error "Screen SAPLXQQM 9200 must not be in Include screen".
    Can anyone help me on this one? Thanks in advance.

    You must don't calling screen 9200. I mean delete lines code
    CALL SCREEN 9200.
    from your program.
    This code can be placement in screen fiew logic only!
    Instead, set code of needed tab of tabstrip using FM. Program process this command and automaticly call tab with your 9200-subscreen.

  • Modificaiton of standard sap transaction screen

    Hi All,
    I have a requirement to modify standard sap screen for transaction PR05 in travel module. I need to add a few fields to the screen and hide a current field. Can you guide me the best way to do it.
    I think of the following ways:-
    1. Change the config for the screen (but I guess by this way I cannot add new field, just hide one of the current field)
    2. Find user exits ( can I use them to modify screen or can just run them at certain events)
    3. changing standard code
    thanks for your assistance.
    Best regards,
    FS

    Hello FS,
    We can also check the feasibility with <b>screen exits</b>..SAP in the standard code gives us blank screens wherein we can add our fields which can show up at particular locations on the screens.one <u>example</u> is <u>the screen 9999 of the program SAPMP56T</u> which is the program for Travel Expense Manager PR05 transaction....if we go to the screen painter there is a message saying that developer can add thier fields here....we have to find the correct screen exits ourself and it may not always be available for a particular case or a standard transaction..
    I believe that in the PR05 there are no proper BADIs or exits that suits the addition of fields to the standard screen....
    Changing the standard code should always be considered as a last resort than an option.....
    Reward if useful
    Regards
    Byju

  • Adding fields/text on standard SAP transaction screens

    Hi,
    How do we add the fields on standard SAP transaction screens?
    For example, if I have to add field on transaction FB01 screen or change text of existing fields, how does it works?
    Please let me know.
    Thanks ,
    Yogita

    hi
    every standard sap transaction have enhancement options you can add fields there
    try this program to find the field-exits of the standard transaction.
    [https://wiki.sdn.sap.com/wiki/display/Snippets/howtogettheuser-exitsofa+transaction]
    regards
    sarves

  • How to call Custom screen in standard transaction on same session

    Hi ,
    I am getting this Problem.
      After one of the screen in standard Transaction (CV01N) I need to call one custom screen. for this I created one program type M with screen. in Stan. transaction I am calling like Call transaction 'XXXX'(for above M program).here I am geeting all my required functionality .but I am getting this custom screen in separate session. I want to call this custom screen on same session of std transaction ( means background custom screen is std.screen).
    Can any one guide me to achive this functionality;
    Regards,
    Saida.

    Hi Agasti,
      Thnx for your reply.
      I tried that method also. even that also calling the Custom screen in new session not in SAP standard session.
    Regards,
    Saida

  • Can we add one additional screen in standard transaction.

    One requirement is to create screen after executing the standard transaction.
    I have an UserExit to create from where i can use to write a code for the standard tramsaction ,
    But How can i add one userdefined screen in SAP Stardard Transaction.
    I am not talking about the subscreen / custom exit.
    I want to create a small screen  this would be itself a screen not imposed on any other screen.
    Points will be rewarded for the help full answer.

    Hi, Mike.  It depend on the transaction, but a quick and easy way is to develop a function module which will throw a popup screen and call the function in your user exit.
    Regards,
    Rich Heilman

  • Debugging a standard SAP Transaction

    Hi Guys,
    I would like to know how do we debug a standard SAP Transaction in 4.6c.
    Waiting for ur reply.
    Thanks and regards,
    Frank.

    Hi Frank,
    In order to debug a SAP standard transaction,type in the T-code in the system,click on the system on the Menu bar and then status.The new window gives you the Program name.Double click on the program and put the breakpoint on the first statement of the program and then execute the T-code again.
    If in case the above procedure does not fulfil your requirement,then the other way is to type in the T-code and then put /h in the command box and press F8.It starts the debugger right away and then you can debug it either line by line through F5,Function module by Function module through F6 or straight Execute through F8.
    Also, you can put the breakpoints at any point of time and save them as well so that the next time you debug the same T-code, the program stops at those points in the same session.
    In case you have any further clarifications,do let me know.
    Regards,
    Puneet Jhari.

  • Debugging standard transaction MB1C - Queries

    Hi Experts,
    SAP standard transaction MB1C is not updating the database table MSEG.
    Please help me in finding the cause of this issue.
    1. I have checked the ST22 for any errors - no errors logged.
    2. How is the transaction insert entries into the trans. table MSEG. ( any update, modify queries)
    3. How to debug the MB1C tx to find the issue..
    When I post the documents, it says "Document #### posted". When I go and check the table.. I get "No table entries found".
    Please provide me some ideas where is the problem.

    > SAP standard transaction MB1C is not updating the database table MSEG
    I don't know MB1C, but if you use the normal transaction MB03 (?) to display the goods receipt (or whatever its name is), does it display normally? (ask the functional people if you don't know the transaction)
    If yes, then maybe it's normal that MSEG is not filled (sorry if it makes some people howl). In that case, you should trace MB03 transaction via ST05 and other techniques (see Brad's answer) to check from which tables the data comes from.
    If you can't see the goods receipt using any transaction, then it's probably a bug and you have to contact SAP support.

  • How to restrict some users from viewing a screen of standard transaction

    Hi All,
    I need to restrict certain user ids from viewing the 'Payment Transactions' screen for the below mentioned transactions.
    FK01, FK02, FK03, MK01, MK02, MK03, XK01, XK02, XK03
    The Basis consultant has tried to configure it. However its not working. So need to find other solution.
    For all transactions other than FK01, MK01, XK01 (create vendor), the BAdi GOS_SRV_SELECT is called before the payment transaction screen appears. But for transactions FK01, MK01and XK0, no such BAdi is there.
    Also I'm not able to figure out how to restrict that particular screen using Badi GOS_SRV_SELECT. What will be the service name for this?
    Please help !!!
    Thanks in advance,
    Radhika

    hi,
    u can do this using user exits.
    identify the appropriate exit for ur transaction and thn put condition like
    if username = ...
    loop at screen.
    hide..
    endloop.
    i was just trying to give u some hint .make it to ur best.
    reward if hlpful.

Maybe you are looking for

  • How to get Snapshotid in  CreateDynaSet Method in VC++ (Using Oip8.tlb)

    While acessing the BFILE datatype in a table using the following code in VC+6.0 on WINDOWS-95 OraDb.'GetCreateDynaset' is throwing an Exception at 3rd parameter (i.e.,snapshot id).This parameter is OPTIONAL in VB6.0 and it worked in VB6.0 (with out S

  • Neighbor below my office tried to 'PAIR UP' w/ my mac via BLUETOOTH

    This is the deal, I live in an apartment and I have my home office in the spare room, which incidentally is directly above a teenager who's bedroom is right below my office. There are, of course many people in the building with computers etc, and the

  • Can you send pic/video messages in texts?

    i don't see the option to send pic/vid messages in the sms app...

  • Magic Mouse scrolling issues in Yosemite

    Ever since updating to Yosemite (10.10.1) on my MacBook Air (2014 - 1.4 GHz i5, 4GB ram), my Magic Mouse has been exhibiting some odd behavior.  Often times when I try scrolling up and down a page in Chrome with a one-finger vertical motion, it decid

  • New Drives - boot Neo4 Platinum from SATA II?

    I am going to re-configure my AMD 64 3200+ K8N Neo4 Platinum mobo to have 2 Hitachi T7K250 SATA II hard drives (currently PC has a single IDE drive that will be removed).  I have XP PRO original as well as SP2 on a separate disc. Can anyone suggest a