Debug a standard prg

Hi Friends,
the funcational consultant doing a work with  t.code kks2.
there is one errror message is coming.
error message : Item 00001 : Cost element 1276101000 does not exist in CO area US01 for 11/05/2007     .
so how to find out this error in program debugging...
where i can catch this error in prg...
pls. explain how to debug the standard prg. and tcode.
regards,

Best way to debug is :
Take the message number and message id .
now goto Program ( When you go transaction -> system->status -> here you get program name).
click on find -> enter message number ( Select main program ) -> here you get message number ,now keep the break point ).
some times they call messages  as like dynamically.
goto transaction -> enter all the data -> /h in command bar -> now create watch point -> use varaible as message id and value as message number ) ,operator is =
now it stops exact area
Thanks
Seshu

Similar Messages

  • Debugging of standard script

    Hi All,
       Can i debug the standard sap script? And how can i get the test print with data?

    HI,
    Once you activated it as young said, you can use some more tips for debugging script.
    1)When you execute after activating the debugger, you will get a pop up in which you can give a statement for debugging in perticular place . If you give perform in the statement it will stop at the statement in where script has perform command.
    2)Once you execute the first step it by giving command or with out giving a command ,   you will get into script debugger. Here you can put soft break points . Just put the cursor on a line where you want to put the  break point and click on  break point that appears in application tool bar.  so you need not execute each and every line.
    Order of execution: While executing the order of executing windows is as follows.
    First main window will trigger then in alphabetical order.
    Let us suppose you have Main window , Header window, Footer window, Address window and Title window
    So first main window will trigger, then address window ,  Footer window, Header window at last Title window.
    Reward points if useful
    Regards,
    Nageswar

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

  • How to Debug SAP standard Program SAPMM07I

    Hi All
    Please tell how to debug an SAP Standard Program for  MI07 T-code.
    In this Transaction I would like to change the  Unit of Measure filed  to Alternate Unit.
    Please, Help me out .. how to debug this program and how to change this field.
    Thank you
    Prasead K

    Hi Myline
    Thanks for your reply. My Issue is that I would like to Diplay  "Difference Qty" VM07I-DIFMG and Base Unit
    of Measure (ISEG-MEINS) in MI07 Tcode as Unit of Issue (MARM-AUSME) which is defined on Material Master Plant Data View.
    Till Now, I did is I copied MI07 Standard Program SAPMM07I to ZSAPMM07I. And Assigned this  Z program to MI07 in SE93. Now, I need to make modifcation in this Zprogram such that I display: Unit of Issue  and Difference Qty fields on MI07 instead of Base unit of Measure.
    Here, Base unit of measure is  EA and Unit of Issue in ICS (Imperial Cases).  IN MI04 we enter in ICS(unit of Issue.. which is converted to EA. and MI01 its in EA. (Base unit of Measure).
    Please if this not clear.. please let me know.
    Waiting for your reply.
    Thanks once again.. !
    Prasead K
    Edited by: Prasead K on Feb 19, 2008 9:15 AM

  • Debug vs Standard causing HTTPRequest errors

    Hello Flex Community
    My worst bug/problem rised up today where everything was running nice and smooth while building my Flex 4 application in Debug mode but when I did a release (as standard .swf) the application failed constantly straight after any httpRequest would fire.
    After searching the net for a bit I found this:
    http://stackoverflow.com/questions/1137223/flex-app-not-working-without-debug-version-of-f lash-player
    This looked like the problem as I had just switched from using xmlDecode functions to serialize the data to the serialization filer and had some getStackTrace functions that would potentially fail if it were not in Debug mode.
    My question is can there be any other debug only methods causing this? or possibly something to do with the newer serializationFilter?
    It would be worth noting these are https requests
    Any feedback would be appreciated
    Thanks
    Tyrone

    getStackTrace
    is not a problem really, problem is that it returns null in regular FP and if you do some noughty operations on it you get NPE,
    but since that will only happen in non debug version of FP you get no clue, and hence app haltes,
    so rule of thumb is to protect possible NPE generating code, for example
    getStackTrace().substring... something will definately halt your system in non debug version of  FP player since you can not do substring on null
    easies way is to put it inside  try {} catch .

  • Standard prg name

    hi ,
    can any one tell me the standard program name for generating two invoices at a single payment.
    thanks
    karthik

    Please add more clarity to your question

  • Adding GSBER in RFUMSV00 standard prg

    Hi to All,
    We are trying to change the Standard Program RFUMSV00 to add Businnes Area in the output.
    Actual User Requirement is, they want Business Area in selection Screen and in the dispalying in the output too.
    It is displaying in the output but it is not controlling by the selection screen field GSBER.
    Please Give your valuable Suggestions.
    Thanks in Advance
    Vidya

    Hi,
    From another thread I've found this.
    The BADI - FI_TAX_BADI_010 is available with RFUMSV00. Inside that in TOP OF PAGE, the method IM_SELECTION_FIELDS can be used to add fields to the select options, I suppose.
    Below is the link to the original thread.
    Link: [Re: RFUMSV00, how to assign in the user field 1?]
    Regards,
    Teddy Kurniawan

  • Debugging the Standard Extractor

    Hi ,
    I have issue with delta loads for one of the Standard extractors.
    Need to debugg and see where is the issue.
    If it is full load i know we can do from RSA3. We have option to debugg delta load in RSA3. But it is grayed out.
    Thanks in advance.
    Rgds,
    Ravi.

    Hi
    deltas are already running?or it is your first delta?
    if you are trying first delta-->please check your roosprmsc table is having entry for the field 'initstate' as 'x' for your data source...
    Try to execute your rsa3 through se30..
    hope it helps up to some extent
    Thanks
    Teja

  • Standard prg

    Dear experts,
    i m doing a standard program in values are coming in development server but the same prog if executing production not coming...
    can anyone tell me..
    Regards
    Arun.

    the data in Development server adn PRD might not be same..
    go to the table urself and check for th data.. if its really present
    Award points if helpful.

  • IDOC or Standard prg to transfer Purchase req from APO to SNC

    Hi Experts,
    could you pls tell me whether any IDOC or standard program is available to transfer the Purchase requisition from APO to SNC.
    thanks in advance.

    Hi,
    You can use RSMIPROACT / RSMIPROACT2 report to send Purchase Requistion.
    With RSMIPROACT2, you can also use XML message (ProductActivityNotification) to send the data to SNC.
    PROACT (IDOC) needs to be configured for the logical system (your SCM system) in WE20 for this report to work through IDOC.
    Regards,
    Sandeep

  • Need tips on debugging standard programs

    I am a beginner and my first project is a maintainence project. Debugging standard programs is getting too tough for me. Is it with everybody? Can you please suggest me some ways to make my task easier.
    The comments are in german and there are no explanation of ne step newhere. I cant even remember which program or include file i'm in.

    Hi,
    You can refer the below links to develop the debugging skills.
    debugging in standard progrms
    debugging
    http://help.sap.com/saphelp_nw04/helpdata/en/b3/d322540c3beb4ba53795784eebb680/content.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9cbb7716-0a01-0010-58b1-a2ddd8361ac0
    http://www.sappro.com/downloads/Settings&SystemAreas.pdf
    Hope this will help to start with.
    Regards,
    Ferry Lianto

  • Debugging RFC function module from ECC to CRM

    Hi All,
    My requirement is to debug an RFC function module present in CRM(7.0) system from ECC(6.0) system. A report program in ECC will call CRM custom FM. I found many posts in SDN with the same issue and tried to implement suggestions provided there. But I couldn't succeed. The approach I followed is:
    I logged in to ECC report program and kept an external breakpoint just before the function module call.
    I logged in to CRM system, opened the function module and kept an external breakpoint there.
    In both the systems I provided the dialogue userid( id through which I log in to SAPGUI) in the system->settings->debugging option.
    In CRM I activated the external break point in  transaction SRDEBUG.
    Now when I execute the report program in ECC, control stops at the breakpoint. If I press F5 at the function call, control is not going to the external break point set in the CRM FM. I am getting output of FM directly.
    I tried with different settings like turning on the check box for IP matching and session breakpoint active immediate, switching to classic debugger etc. I also tried to provide the RFC user id instead of dialogue user but system throws exception saying only dialogue userids are allowed. I found that by inserting an infinite loop statement, control goes inside the RFC CRM FM but I prefer not to change the code.
    Please let me know if I missed anything.
    Thanks and Regards,
    Naren

    Hi,
    Debug RFC calls
    When an RFC function module is called it is usually not possible to debug the call, using the below techniques we can achieve the same. For this example we are calling an RFC enabled FM in ECC system from CRM system.
    Scenario 1: Calling a custom RFC FM
    STEP 1: Add an infinite loop in the remote custom Function Module (adding a u201CDO. ENDDO.u201D statement at the start of the FM would be enough).
    STEP 2: Execute your program in the CRM system. The execution stops at the RFC call, because of the infinite loop.
    STEP 3: Now login to the ECC system and go to transaction SM51 select the process which is executing the RFC and navigate to the menu: u201CProgram/Session->Program->Debuggingu201D this triggers the debugger session in a separate window.
    Scenario 2: Calling a Standard RFC FM
    When we are debugging a standard program we cannot add the infinite loop, hence we cannot go to SM51 and debug the work process. The RFC destination for the ECC system has a User specified, the RFC function module gets executed using this users credentials. Usually the basis team set up the RFC user as non Dialog user, this does not allow debugging. Contact your Basis team and get this changed to a dialog user enabling you to debug RFC function calls via the normal debugger.
    Note: User name configured in the RFC destination (transaction SM59) 
    Note: User type for the RFC User (transaction SU01D)
    Hope this will be helpful..

  • Error in the SAP standard function module 'RSDRI_INFOPROV_READ'.

    Hello Experts,
    We upgraded from 3.5 to 7,0 support pack 17 .
    After upgrade we are getting error
      with return code 11 'Others´'.
    While debugging the standard function module we found that the standard method s_r_infoprov->read is being executed with the return code = 8 (inherited_error).
    Any suggestions?
    Regards,
    Vivek

    Not sure if the parameters provided were correct,you may wish to do a sanity check
    Input Parameters:
    1. I_INFOPROV - This will hold the Name of the Info Cube from where we need the pull the data.
    2. I_T_SFC - This parameter is in the format of Internal Table which holds the Character Info Objects we need to pull from the Source Cube.
    3. I_T_SFK - This parameter is also in the format of Internal Table which holds the Key Figure Info Objects which we need to pull from the Source Cube.
    4. I_T_RANGE - This is also in the format of Internal Table which holds the Selection criteria for which we need to pull from the Source Cube u2013 For example the Company Code u2013 001 and Fiscal Year Period u2013 001/2006.
    5. I_T_REQUID u2013 Selection of cube data based on Request Id.
    6. I_SAVE_IN_TABLE u2013 In case you need to save the data in DB table
    7. I_REFERENCE_DATE u2013 This holds the current date.
    8. I_AUTHORITY_CHECK u2013 This will hold the value u2018Ru2019, which is meant for READ.
    9. I_DEBUG u2013 This is for Debugging mode and holds the default value u2018Yu2019.
    Output Parameters:
    1. E_T_DATA u2013 This Output Parameter is of internal table format, in which we can mention the output fields (For all the fields mentioned in the Input Parameter, this output parameter will hold the values).
    2. E_END_OF_DATA u2013 Once the FM is executed successfully, this output parameter will hold the value u2018Xu2019, means extraction completed successfully.
    Hope it Helps
    Chetan
    @CP..

  • How to use standard classes to create custom modulepool program like ME21N

    I am at the Starting Point of doing a classical dynpro program via Abap Objects which address all controls with MVC Architecture .So i debugged the standard ME21n transaction to find out how i can start with. I came across this interface which has no Attributes and Methods.I wondered y .Thats y i posted a Question .I also seen a lot of Standard classes
    CL_TABLE_VIEW_MM
    CL_BASIC_MODEL_VIEW_MM
    CL_COMPOSITE_SCREEN_VIEW_MM
    CL_SCREEN_VIEW_MM
    CL_TABLE_VIEW_MM
    CL_TABSTRIP_VIEW_MM
    CL_TC_BUTTON_VIEW_MM
    CL_TC_ITEM_VIEW_MM
    CL_TOGGLE_VIEW_MM
    CL_VALUE_MODEL_VIEW_MM
    and much more for Model and Controllers ..Can u plz guide me how i can make use of this classes effictively in my custom module pool programming

    I think all these classes serve the purpose of embracing the basic ones and are used specificalty in MM module.
    If you want to create similar module pool program with nice expand/collapse buttons in relation to subscreens please refer the some tips [here|expand/collapse button functionality on module pool screen;
    Also there are transactions like BIBS, DWDM which you can follow the examples from. I think SAP has covered all GUI controlls there so you can create really complex programs with various GUI controlls independently of module used for.
    Of course you can still stick to classes you mentioned but I think the better is to learn some standard approach of creating such screens, then if you feel more advanced go for using module specific ones if you really need that.
    Regards
    Marcin

Maybe you are looking for

  • Strange MRP behavior - creation of schedule lines we don't need

    We are having a very strange MRP issue that I'm hoping there's a solution for.  If MRP looks something like this (extremely simplified): 04/16 SchLine 100 04/17 DepReq  100 05/16 SchLine 100 05/17 DepReq 100 06/16 SchLine 100 06/16 DepReq 100 06/28 -

  • Put Message in the Monitor

    I am trying to write a message to the monitor from the start routine of my update rules.  I am using the below code:       MONITOR-MSGID = 'RSM1'.       MONITOR-MSGTY = 'I'.       MONITOR-MSGNO = 799.       MONITOR-MSGV1 = 'Load Error: '.       MONIT

  • Refresh/Redraw SVG Graph onChange of DatePicker

    Hi, Is it possible to redraw/refresh a graph when I change the time in a datepicker? The graph is dependent on the datetime value for where it shows the corresponding graph values. The idea is that the user can change the time and either automaticall

  • Exception thrown when start OC4J

    Sometimes, I got the folloowing exceptions when I started OC4J. Exception Description: Several [9] SessionLoaderExceptions were thrown: Exception [TOPLINK-9005] (OracleAS TopLink - 10g (9.0.4.7) (Build 050405)): orac le.toplink.exceptions.SessionLoad

  • Message Services

    scenario SAP -> PI -> MII -> Legacy system folder PI to MII using webservice MII to Legacy system folder using FTP Requirement: Send messages to legacy system from MII in order MII have received from PI system. And Need Message Monitoring which comes