How to debug the routines in the transformations as well as start,endroutin

Hi all,
Can anyone explain me how to debug the routines in the DTP, as well as the how to debug the start and end routines>?
I am new to bi 7 ?
thanks
Pooja

Hi,
In Execute tab change the processing Modes to 'serially in the dialog process for debugging' . then you can see the option 'simulate'.
http://help.sap.com/saphelp_nw70/helpdata/en/45/8594ebd17f1956e10000000a11466f/content.htm
Step by step doc,
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0038ad7-a0c7-2c10-cdbc-dd674682c8e7?quicklink=index&overridelayout=true

Similar Messages

  • An issue regarding the routines in a transformation rule

    Hi experts,
    I have two fields in my transformation rule which i fill through characteristic routines. The second routine needs information provided by the first routine. For example:
    First char. A
    Sec. char. B
    In the routine for B i am using the field A which has to be filled in this moment through the first routine for a certain assignment.
    The problem is that i recognized that i get here the wrong assignment because in this moment in which the routine B is running the information provided by routine A is still not there. So i have analyzed and saw that the char. B has the position 25 in the transformation rule and the char. A has the position 27. Does it really mean that in the loading the char. B is filled at first and the char. A after that because of the order? Is that the problem why I don't still have information of char. A while i am filling char. B?
    If yes has anyone a good idea how to handle it? The further problem is that we can not change the order because the cube is filled and we have to delete the data at first in order to do it and it is not possible at the moment.
    I would really appreciate it.
    Thank you in advance.
    Kind regards,
    Ali

    Hi,
    AS we do not know what logic you are trying to write in field level routine so its pretty difficult to understand the scenario.
    I can suggest you to write the same logic in END Routine based on your requirement.
    Share your logic and code for more inputs.
    Hope it helps.
    Regards,
    AL

  • Find the routine frm the program name

    Hi,
    Is it possible to find out which routine( in VOFM) the below program is refering to?
    Program :  LV60AA58
    Thanks
    Keshi

    Hi
    It is not possible to find the routine function by getting program. Unless if you know the use of the routine then u can find it.
    But you may consider one ball mark thing.
    LV61* is the requirement at sales order, live LV45* are generally for copy control for sales order F* are for billing.
    If you use extensively the routines then by experience u can figure out. But as such there is no tables/config which wil list all the functions.
    Hope thishelps u to clarify ur doubt.
    Kind Regards
    Sandeep

  • How to Delete the Junk data in Transformation Routines

    Hi,
    I had scenario like infoobject for 0CUSTOMER master data is bringing the values
    C123456_RECEIPTS.
    C12345_RECEIPTS.
    So when i extract the data from R/3 for this 0CUSTOMER master data it is bringing the SOME JUNK DATA
    I would require delete the C12345_RECIEPTS it should allow only C123456_RECIEPTS.
    I have to do in the routines for the deletion of this.
    Requesting send some sample code on how to delete it the BI 7.

    Hello,
    If the data is like after every C5* or C6* there is an underscroll sign (_), then below code will work in start routine:
    Data: wa_source_package like line of source_package,
              itab_sp type standard table of tys_SC_1,
              a(6) type c,
              b(10) type c.
    loop at source_package into wa_source_package.
       split wa_source_package at '_' into a and b.
       if strlen( a ) = 7.
          append wa_source_package to itab_sp.
       endif.
    endloop.
    refresh source_package.
    source_package = itab_sp.
    Regards,
    Shashank

  • How to debug routine in process type "Deletion of overlapping requests"

    Hi all,
    I created a process chain including a process of the type "Deletion of overlaopping requests from InfoCube".
    In this process I created a routine to decide which requests to delete. Now I would like to debug this routine, but do not know how.
    Merely setting a breakpoint does not seem to help.
    Does anyone have a hint how to debug this routine?
    Many thanks,
    Stefan

    Hi,
    put a "BREAK-POINT." statement into your code (don't forget to remove it afterwards). Then you activate your process chain and go the menu Execution at the top of RSPC. There you choose "Execute synchronous to Debugging". The process chain should then kick off and stop at the point where you put the break point.
    Hope it helps.
    Stefan

  • Problem in writing the routine in transfer rule....

    Hi,
    I want to put the routine for the upper case in the transfer rules.
    When I go to the Infosource and create the transfer routine I do not
    get the editable code for the field for which I want to create the routine.
    Only editable thing I get is "RESULT"
    As nothing else is editable not even the TRAN_STRUCUTE has anything.
    Everything is commented out by the system automatically.
    How to make this editable and put the code.
    Thanks , Jeetu

    try to concatenate all the message into a string.. and finally call the method. Also, search in WEB DYNPRO forum on this..
    LOOP AT t_return INTO wa_return WHERE type = 'E'.
         lo_api_controller ?= wd_this->wd_get_api( ).
            CALL METHOD lo_api_controller->get_message_manager
              RECEIVING
                message_manager = lo_message_manager.
            lv_message_string = wa_return-message.
    *     report message
            CALL METHOD lo_message_manager->report_error_message
              EXPORTING
                message_text = lv_message_string.
    *        EXIT.
        ENDLOOP.

  • How to avoid extended checks for the events used in ALV.

    Hii,
    I hav delvpd an alv report in which i hav used events for which i haven't declared PERFORM for the same. but when i had checkd in the Extended program checks it says that form interface is not called directly.. check for dynamic PERFORMS...
    how to avoid this error in the extended check program.

    Another option can be calling the routine from the program itself with a check that never satisfies.
    like:
    if 1 = 2.
    perform top_of_page.
    endif.
    form top_of_page.
    endform.
    Regards,
    Joy.

  • Debug shopping cart from the webfront end

    Hello,
    Could you send the steps how to debug shopping cart
    from the web front end.
    if you send any document related to debug. it could be very help full and appreciated your help.
    Thanks in advance,
    prasad.s

    hi Siva,
      Follow the foll steps :
    1-->Transaction SICF.
    Select service.
    Change service settings and insert parameter ~GENERATEDYNDPRO=1.
    2-->Find program to debug. E.g. SE93. Enter bbpsc01 and Display and get Program field (SAPLBBP_SC_UI_ITS)
    Execute SE38 and enter program name.
    3-->Turn HTTP Debugging ON. Utilities-Settings-Debugging. Click Actv and username.
    4-->Add HTTP Breakpoint. Display source code and select Utilities-breakpoints-set.
    5-->On “External Debugging” select ‘HTTP Breakpoint’.
    Remember to remove breakpoints, deactivate debugging and remove parameter GENERATEDYNPRO.
    Can run program RSBREAKPOINTS to find which programs you have breakpoints set in.
       Hope this helps....
    regards,
    Disha.
    pls reward points if answers are helpful.

  • Capturing line items in the routine-mail order sending problem

    Hi
    I am sending Sales Order Output to the Email.
    I have configured the output type Using Option 'External Send' Option.
    But the Problem is Whenever there are blocks for Sales Order Email Should not be send.
    1.    When there is a block in Sales Order Header, then no email should be sent.
    2.    Similary when there is a block Sales Order Item , then no email should be sent.
    There is some standard routine attached to Outputtype Procedures .
    First Condition we can met using routine, in the routine if the block is there , then no output will
    be triggered.
    But in the same routine we couldn't able to capture item level data to validate the second condition.
    If anybody is having the idea to validate second condition, Please help me.
    Thanks&Regards
    (YUGANDHAR.P)

    hi check this simple example which is sending the sales order email........
    TABLES: ekko.
    PARAMETERS: p_email   TYPE somlreci1-receiver .
    TYPES: BEGIN OF t_ekpo,
      ebeln TYPE ekpo-ebeln,
      ebelp TYPE ekpo-ebelp,
      aedat TYPE ekpo-aedat,
      matnr TYPE ekpo-matnr,
    END OF t_ekpo.
    DATA: it_ekpo TYPE STANDARD TABLE OF t_ekpo INITIAL SIZE 0,
          wa_ekpo TYPE t_ekpo.
    TYPES: BEGIN OF t_charekpo,
      ebeln(10) TYPE c,
      ebelp(5)  TYPE c,
      aedat(8)  TYPE c,
      matnr(18) TYPE c,
    END OF t_charekpo.
    DATA: wa_charekpo TYPE t_charekpo.
    DATA:   it_message TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
                    WITH HEADER LINE.
    DATA:   it_attach TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
                    WITH HEADER LINE.
    DATA:   t_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
            t_contents LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            t_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
            t_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            t_object_header LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            w_cnt TYPE i,
            w_sent_all(1) TYPE c,
            w_doc_data LIKE sodocchgi1,
            gd_error    TYPE sy-subrc,
            gd_reciever TYPE sy-subrc.
    *START_OF_SELECTION
    START-OF-SELECTION.
      Retrieve sample data from table ekpo
      PERFORM data_retrieval.
      Populate table with detaisl to be entered into .xls file
      PERFORM build_xls_data_table.
    *END-OF-SELECTION
    END-OF-SELECTION.
    Populate message body text
      perform populate_email_message_body.
    Send file by email as .xls speadsheet
      PERFORM send_file_as_email_attachment
                                   tables it_message
                                          it_attach
                                    using p_email
                                          'Example .xls documnet attachment'
                                          'XLS'
                                          'filename'
                                 changing gd_error
                                          gd_reciever.
      Instructs mail send program for SAPCONNECT to send email(rsconn01)
      PERFORM initiate_mail_execute_program.
    *&      Form  DATA_RETRIEVAL
          Retrieve data form EKPO table and populate itab it_ekko
    FORM data_retrieval.
      SELECT ebeln ebelp aedat matnr
       UP TO 10 ROWS
        FROM ekpo
        INTO TABLE it_ekpo.
    ENDFORM.                    " DATA_RETRIEVAL
    *&      Form  BUILD_XLS_DATA_TABLE
          Build data table for .xls document
    FORM build_xls_data_table.
      data: ld_store(50) type c.  "Leading zeros
      CONSTANTS: con_cret(5) TYPE c VALUE '0D',  "OK for non Unicode
                 con_tab(5) TYPE c VALUE '09'.   "OK for non Unicode
    *If you have Unicode check active in program attributes thnen you will
    *need to declare constants as follows
    *class cl_abap_char_utilities definition load.
    *constants:
       con_tab  type c value cl_abap_char_utilities=>HORIZONTAL_TAB,
       con_cret type c value cl_abap_char_utilities=>CR_LF.
      CONCATENATE 'EBELN' 'EBELP' 'AEDAT' 'MATNR' INTO it_attach SEPARATED BY con_tab.
      CONCATENATE con_cret it_attach  INTO it_attach.
      APPEND  it_attach.
      LOOP AT it_ekpo INTO wa_charekpo.
    *Modification to retain leading zeros
      inserts code for excell REPLACE command into ld_store
      =REPLACE("00100",1,5,"00100")
        concatenate '=REPLACE("' wa_charekpo-ebelp '",1,5,"'
                                 wa_charekpo-ebelp '")' into ld_store .
      concatenate ld_store into .xls file instead of actual value(ebelp)
        CONCATENATE wa_charekpo-ebeln ld_store  wa_charekpo-aedat wa_charekpo-matnr  INTO it_attach SEPARATED BY con_tab.
        CONCATENATE con_cret it_attach  INTO it_attach.
        APPEND  it_attach.
      ENDLOOP.
    ENDFORM.                    " BUILD_XLS_DATA_TABLE
    *&      Form  SEND_FILE_AS_EMAIL_ATTACHMENT
          Send email
    FORM send_file_as_email_attachment tables pit_message
                                              pit_attach
                                        using p_email
                                              p_mtitle
                                              p_format
                                              p_filename
                                              p_attdescription
                                              p_sender_address
                                              p_sender_addres_type
                                     changing p_error
                                              p_reciever.
      DATA: ld_error    TYPE sy-subrc,
            ld_reciever TYPE sy-subrc,
            ld_mtitle LIKE sodocchgi1-obj_descr,
            ld_email LIKE  somlreci1-receiver,
            ld_format TYPE  so_obj_tp ,
            ld_attdescription TYPE  so_obj_nam ,
            ld_attfilename TYPE  so_obj_des ,
            ld_sender_address LIKE  soextreci1-receiver,
            ld_sender_address_type LIKE  soextreci1-adr_typ,
            ld_receiver LIKE  sy-subrc.
      ld_email   = p_email.
      ld_mtitle = p_mtitle.
      ld_format              = p_format.
      ld_attdescription      = p_attdescription.
      ld_attfilename         = p_filename.
      ld_sender_address      = p_sender_address.
      ld_sender_address_type = p_sender_addres_type.
    Fill the document data.
      w_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
      w_doc_data-obj_langu = sy-langu.
      w_doc_data-obj_name  = 'SAPRPT'.
      w_doc_data-obj_descr = ld_mtitle .
      w_doc_data-sensitivty = 'F'.
    Fill the document data and get size of attachment
      CLEAR w_doc_data.
      READ TABLE it_attach INDEX w_cnt.
      w_doc_data-doc_size =
         ( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
      w_doc_data-obj_langu  = sy-langu.
      w_doc_data-obj_name   = 'SAPRPT'.
      w_doc_data-obj_descr  = ld_mtitle.
      w_doc_data-sensitivty = 'F'.
      CLEAR t_attachment.
      REFRESH t_attachment.
      t_attachment[] = pit_attach[].
    Describe the body of the message
      CLEAR t_packing_list.
      REFRESH t_packing_list.
      t_packing_list-transf_bin = space.
      t_packing_list-head_start = 1.
      t_packing_list-head_num = 0.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE it_message LINES t_packing_list-body_num.
      t_packing_list-doc_type = 'RAW'.
      APPEND t_packing_list.
    Create attachment notification
      t_packing_list-transf_bin = 'X'.
      t_packing_list-head_start = 1.
      t_packing_list-head_num   = 1.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
      t_packing_list-doc_type   =  ld_format.
      t_packing_list-obj_descr  =  ld_attdescription.
      t_packing_list-obj_name   =  ld_attfilename.
      t_packing_list-doc_size   =  t_packing_list-body_num * 255.
      APPEND t_packing_list.
    Add the recipients email address
      CLEAR t_receivers.
      REFRESH t_receivers.
      t_receivers-receiver = ld_email.
      t_receivers-rec_type = 'U'.
      t_receivers-com_type = 'INT'.
      t_receivers-notif_del = 'X'.
      t_receivers-notif_ndel = 'X'.
      APPEND t_receivers.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
           EXPORTING
                document_data              = w_doc_data
                put_in_outbox              = 'X'
                sender_address             = ld_sender_address
                sender_address_type        = ld_sender_address_type
                commit_work                = 'X'
           IMPORTING
                sent_to_all                = w_sent_all
           TABLES
                packing_list               = t_packing_list
                contents_bin               = t_attachment
                contents_txt               = it_message
                receivers                  = t_receivers
           EXCEPTIONS
                too_many_receivers         = 1
                document_not_sent          = 2
                document_type_not_exist    = 3
                operation_no_authorization = 4
                parameter_error            = 5
                x_error                    = 6
                enqueue_error              = 7
                OTHERS                     = 8.
    Populate zerror return code
      ld_error = sy-subrc.
    Populate zreceiver return code
      LOOP AT t_receivers.
        ld_receiver = t_receivers-retrn_code.
      ENDLOOP.
    ENDFORM.
    *&      Form  INITIATE_MAIL_EXECUTE_PROGRAM
          Instructs mail send program for SAPCONNECT to send email.
    FORM initiate_mail_execute_program.
      WAIT UP TO 2 SECONDS.
      SUBMIT rsconn01 WITH mode = 'INT'
                    WITH output = 'X'
                    AND RETURN.
    ENDFORM.                    " INITIATE_MAIL_EXECUTE_PROGRAM
    *&      Form  POPULATE_EMAIL_MESSAGE_BODY
           Populate message body text
    form populate_email_message_body.
      REFRESH it_message.
      it_message = 'Please find attached a list test ekpo records'.
      APPEND it_message.
    endform.           
    regards,
    venkat

  • The routine is not active in Quality server :Urgent

    Hi All,
    I have assign the routine in the pricing procedure and it works fine in developement server. But it is not fetching the proper value on the quality server .But the routine shows active on the condition type . Is there anything to do more . The basis people also check that but there is no problem in transport .
    Need help ugently.
    Regards,
    Abhijit Dutta.
    SAP -SD .
    Call:9920863887.

    Hi Abhijit,
    The new routine must not have been activated properly while transferring to quality system. Execute program RV80HGEN to regenerate all the VOFM routines. The output of this program denotes that all routines were activated
    Regards
    Nadarajah Pratheb

  • How to debug sharepoint 2013 provider hosted app?

    We developed SharePoint 2013 provider hosted app using MVC 5 Entity Framework of Database first and publish in Windows Azure site as well as deployed that project to our SharePoint app Catalog. We need to change Windows azure site so we
    changed to publish in  another Windows Azure site and deployed again to our SharePoint app Catalog. No problem the app is working after we changed Windows Azure site. I am new of this technology I faced so hard of changed
    existing Windows Azure site to New Windows Azure site. Please tell me how to debug the SharePoint Provider hosted app? Please tell me step by step process.
     Thanks in Advance.

    Hi,
    According to your description, you might want to know how to debug provider hosted app.
    To get a quick start, I would suggest you take a look at the link below about
    Debugging SharePoint Apps That Are Hosted In Windows Azure Web Sites:
    http://blogs.technet.com/b/speschka/archive/2013/11/25/debugging-sharepoint-apps-that-are-hosted-in-windows-azure-web-sites.aspx
    Another two similar articles for your reference:
    http://sharepointfieldnotes.blogspot.jp/2013/03/making-it-easy-to-develop-and-debug.html
    http://blogs.msdn.com/b/officeapps/archive/2013/01/03/debugging-remote-event-receivers-with-visual-studio.aspx
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • How to debug dynamic calls

    Hi Gurus,
    Can any one tell me how to debug dynamic calls?
    The scenario is:
    I know the message that is getting fired from a message class.
    I didnot find its usage from the where-used list, as it says - possible dynamic calls.
    How do i know, from where this message is getting fired?
    Pls suggest.
    Thanks, Rashmi

    Hi,
    Just try this
    In the new debugger Breakpoints --> Breakpoint at  --> Breakpoint at Statement
    give MESSAGE
    This will set break point at all message statement. Execute till you get the message
    Regards

  • How do you identify the Logical system in start routine of a transformation

    My scenario is this.  I have five r3 systems that I am extracting from.   In the start routine of the transformation from the r3 data source to my data store I  am going to delete data and I need to know the source system id.    How do I identify the logical system or source system id in the transformation.  Is there a system field that contains this information.    I do not want to hard code the source system id in the routine.

    hi
    have a lool at tables rsreqdone and rsbkrequest with a join you should be able to determine the source.
    regards
    Boujema
    How to give points: Mark your thread as a question while creating it. In the answers you get, you can assign the points by clicking on the stars to the left. You also get a point yourself for rewarding (one per thread).
    Edited by: Boujema Bouhazama on May 9, 2008 12:04 AM

  • How to debug start routine for the custom code?

    Hi Experts,
    Can anybody tell me how to debug the start routine? Also could you please guide me where to write the custom code in the start routine.
    Thanks in advance.
    Sharat.

    Rajkumar,
    Thank you for your help. but the blog link that you send it to me does not mention anything about ABAP debugger screen.
    What should I do once I get in to the ABAP debugger? the link only tells how to get to the ABAP debugger that I know.
    Also it say that I have to use the infinite loop to debugg the start routine.
    Can anybody tell me how to debugg start routine with the scren shots please. I don't know how to use infinite loop in the start routine. Is their any easy process step by step to see my particular record behavior in the start routine?
    I will assing you the points. again thank you.

  • How to debugging the infopakage

    debugging infopakage

    Hi,
    Try
    1) Go to info package monitor.
    2) Go to details tab.
    3) RC on the data packet (under processing data packet option) and click simulate update
    4) It will ask you in transfer rules or update rules. Choose suitable option and then start the debug.
    5) It will get you to the debugger screen.
    Also check below link,
    Tracing data transformation in SAP BW without debugging
    Re: How debug a routine created in InfoPackage for Data selection ?
    Regards,
    Satya

Maybe you are looking for

  • HP 6300 ALL IN ONE NOT PRINTING

    MY HP 6300 ALL IN ONE IS CONNETED TO MY AIRPORT EXTREEM. I CAN NOT GET THE PRINTER TO PRINT. THE PRINT DOCUMENT LOADS AND SHOW THE PRINT JOB PRINTING BUT NOTHING HAPPENS. I HAVE THE PRINTER CONNECTED TO THE AIRPORT EXTREEM VIA ETHERNET. THE PRINTER W

  • Lost digital book

    I have purchased several albums from iTunes over the past few years. I keep my music on my Mac and iPod. My Mac Mini has had several issues with data loss including the loss of my music library and about half the songs. Apple is trying to sort it out

  • Lost the access to the first partion  of the firewire drive and the data ?

    Hello to everybody, after i moved 5,5GB Data from my internal harddisk, HFS+ , to my external Firewire drive, FAT 32 formatted for compatilibilty with a PC, i lost the access to the first partion of the firewire drive and the data. At first after hav

  • Final Cut and OS X Yosemite

    Some of my softwares does´t open anymore, because installing Java runtime environment is required. I´ve done the installation twice - with the system rspond: Success. Why does this question - requiring the same installation appear constantly? Final c

  • Mac os on  virtual box or vmwere

    Hi. If i buy a mac OS, and I install it on a virtual box or vmwere on a windows computer, will it be legal and can i update the mac.  So its like the original windows is on the computer and i install the mac os on virtual box or vmwere. SO iwant to i