Debug the transfer Rule

Hi,
Please let me know how to but the break point in the Transfer Rule to debug it
Regards,
Mayank

Hi Mayank,
You can simulate debugging in transfer rules or update rules if you have used a PSA.
To simulate debuggin with selective records, load your data target via PSA.
Load the info package till PSA.
In the Details tab, in the monitor of your infopackage/scheduler---> in the details tab-->drill down the messages until you start seeing data package.
When you right click on the message Proceesing of Data package1/2/...n,  you will find an option to simulate debug.If you select this option it opens a new window where you could mentione---> activate the debugger in the transfer rule or activate the debugger in the update rule...
Please refer to the SAP help link below for further details or clarification.
[ Debugging transfer rules|http://help.sap.com/saphelp_nw04/helpdata/en/5c/37e03ba722cb5ae10000000a114084/frameset.htm]
In DTP, there is one specific processing mode for debugging and you could switch the debugger at particular break points by checking the relevant checkbox.
Hope this helps,
Best regards,
Sunmit.

Similar Messages

  • How to debug a transfer rule during data load?

    I am conducting a flat file (excel sheet saved as a CSV file) data load.  The flat file contains a date field and the value is '12/18/1988'.  In transfer rule for this field, I use a function call to transfer this value to '19881218' which corresponds to BW DATS format, but the monitor of the InfoPackage shows red error:
    "Value '1981218' of characteristic 0DATE is not a number with 000008 spaces".
    Somehow, the last digit or character of the year 1988 was cut and the year grabbed is 198 other than 1988.  The function code is (see below in between two * lines):
    FUNCTION ZDM_CONVERT_DATE.
    ""Local Interface:
    *"  IMPORTING
    *"     REFERENCE(CHARDATE) TYPE  STRING
    *"  EXPORTING
    *"     REFERENCE(DATE) TYPE  D
    DATA:
    c_date(2) TYPE c,
    c_month(2) TYPE c,
    c_year(4) TYPE c,
    c_date_combined(8) TYPE c.
    data: text(10).
    text = chardate.
    search text for '/'.
    if sy-fdpos = 1.
      concatenate '0' text into text.
    endif.
    c_month = text(2).
    c_date = text+3(2).
    c_year = text+6(4).
    CONCATENATE c_year c_month c_date INTO c_date_combined.
    date = c_date_combined.
    ENDFUNCTION.
    Could experts here tell me what's wrong and also tell me on how to debug a transfer rule during data load?
    Thanks

    hey Bhanu/AHP,
    I find the reason.  Originally, I set the character length for the date InfoObject ZCHARDAT1 to 9, then I find the date field value (12/18/1988)length is 10.  Then I modified the InfoObject ZCHARDAT1 length from 9 to 10 and activated it already.  But when defining the transfer rule for this field, before the code screen, click the radio button "Selected Fields" and pick the filed /BIC/ZCHARDAT1, then continue to go to the transfer rule code screen, but find the declaration lines for the infoObject /BIC/ZCHARDAT1 is as following:
      InfoObject ZCHARDAT1: CHAR - 000009
        /BIC/ZCHARDAT1(000009) TYPE C,
    That means even if I've modified the length to 10 for the InfoObject and activated it, but somehow the transfer rule code screen always takes the old length 9.  Any idea to have it fixed to take the length 10 in the transfer rule code screen defination?
    Thanks

  • BW3.5: Error message when trying to activate the transfer rule

    When I was trying to activate the transfer rule for one info object( charateristic with master data) , I got the following error  in [[  ]]
    Error when creating transfer structure /BIC/CCPIZGR00CC_ATTR in source system CI2220
    Diagnosis
    An error occurred when creating transfer structure /BIC/CCPIZGR00CC_ATTR as an IDoc segment in source system CI2220 .
    System response
    The action was terminated. No data was changed.
    Procedure
    Use the generation log in source system CI2220 to identify the error, and remove the cause.
    CI2220 is the backend R/3 system, I had no issue in replicating the data source etc. this error occurred while trying to activate the transfer rule after assigning the info source to the replicated datasource in BW.
    Can anybody tell me how to view( what transaction etc) the generation log to understand the issue?
    Thanks in advance
    Arunabha

    Hi Roberto,
      Thanks for yoyur prompt reply, I would try to follow the instruction, but at the same time please note that previously we had no issue in activating the transfer structure. I would like to see the log in the source system, but don't know how to and which transaction to use etc. any help would be appreciated.
      Thanks
    ARUN

  • How can I activate the transfer rules for the ODS updating a data target.

    We are on BW 3.5 and I'm loading data into the 0FIGL_O10 ODS  and then uploading the data into the cube 0FIGL_C10. The data loads just fine to the ODS but when I try to <u><b>'update the data target'</b></u> I get a date & time stamp' error on the info-package transfer rules.
    I then Replicate the datasource 80FIGL_O01.
    I must then <u><b>'activate' the transfer rules</b></u>.
    However I cannot get the transfer rules for 80FIGL_O10 in CHANGE MODE to activate them.
    How can I activate the transfer rules for the ODS updating a data target.
    The error text is as follows:
    DataSource 80FIGL_O10 has to be replicated (time stamp, see long text)
    Message no. R3016
    Diagnosis
    DataSource 80FIGL_O10 does not have the same status as the source system in the Business Information Warehouse.
    The time stamp in the source system is 02/15/2007 10:42:33.
    The time stamp in the BW system is 11/07/2006 13:11:54.
    System response
    The load process has been terminated.
    <b>Procedure
    Copy the DataSource again and then activate the transfer rules that belong to it. You have to activate the transfer rules in every case, even if they are still active after the DataSource has been copied.</b>
    Thanks for your assistance.
    Denny

    Hi Dennis,
           Try, using Business Content to activate your data source
           hope this will help you
    How activate business content?
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a66d5e07211d2acb80000e829fbfe/frameset.htm

  • How to delete blank space from value of Infoobject in the transfer rule

    does anyboady know how to write a routine in the transfer rule in order to delete ending blank spaces from value of Infoobject 'ORDTEXT'. E.g. value: 'ABM    '?  After routine, the result should be 'ABM'.
    Thanks for any input.

    Deleting 'ending blank spaces' from a character type field (ie info-object or text) in SAP is not meaningful. For all usage, a char type field of length 8 having value  'ABM     '  is same as 'ABM'.
    Ok, HTML is changing the display in the above, so let me restate it
    For all usage, a char type field of length 8 having value  'ABM_____'  is same as 'ABM', take the underscore character (_) in the first string as a placeholder for space character.
    Edited by: Ajay Das on Jul 29, 2009 12:07 PM

  • Conversion exit error while activating the transfer rules

    Hello gurus,
    We are doing a function module extraction with 3.X data sources.
    On activating the transfer rules , i am getting a conversion exit error for "0fiscyear", but in the infoobject we don't have the conversion exit for it.
    Points will be awarded for any kind of response.
    Thanks and Regards,
    Anu.

    Hi,
    1. Please check in the transformation, its necessary to provide the fiscal variant mapping as well when ur mapping fiscal year object. as on the basis of that value fiscal period will be derived.
    2 I guess ur doing direct mapping (Time conversion) and there is no routine written for that.  if any u can check that as well for any error.
    Thanks
    dipika
    Edited by: Dipika Tyagi on Jun 25, 2008 7:39 AM

  • Run time error while activating the Transfer Rules

    Hi,
    Error when activating Transfer rules for Infosource :
    0FI_GL_1 -
    (General ledger: Transaction figures)
    Run time error : ASSERTION FAILED
    Transfer rules traffic light is in Green. But when i am trying to activate the Transfer rules, its giving Run time error.
    Thanks,
    Kishore

    Hi,
    As mentioned in the note 939383 , either Import Support Package 08 for SAP NetWeaver 2004s BI (BI Patch08 or SAPKW70008) into your BI system or do correction instructions given in the note.
    It is always better to import the latest patches avialble in service market to avoid this type of problems.
    Also see tha note 1010672 amd check whether it is applicable to your problem.
    With rgds,
    Anil Kumar Sharma .P
    Message was edited by:
            Anil Kumar Sharma

  • CLIENT of the source system in the Transfer Rules

    Hi,
    Can I get the CLIENT of the source system dynamically in the Transfer Rules (and assign it to an InfoObject)?
    I have a generic extractor from a R/3 source system. The table in the source system & the extract structure the DataSource both contain MANDT, but its not coming in the RSO2 screen (which, if I'm not wrong, is how it should be).
    I need the CLIENT info. in my BW data targets. I do not want to hardcode this value in Trans Rules as the client in Dev & Prod is different for my R/3 sys.
    If I can't get it directly from the DataSource, is there any way I can get it from any system field using routine?
    If I'm not wrong - SYST-MANDT in the Formulas will give me only my BW CLIENT.
    Thanks in advance for your help.
    Regards,
    Melwyn

    hi,
    i think if your bw dev and prod client is different you can try in transfer rules
    if sy-mandt = xxx. ( bw dev client number)
       result = 'yyy'. (source system dev)
    else.
       result = 'zzz'. (source system prod)
    endif.
    or enhance the extract structure/ append structure with zz field for mandt and field in user exit zxrsau01 with sy-mandt
    or if use infoobject 0LOGSYS, populate in transfer rules with result = g_s_minfo-logsys.
    hope this helps.

  • How to knw the Transfer rules of Infosource 80PUR_O01?

    In AWP,
    In Metadata Repository,
    Taking an example,
    "<b>Vendor Evalution-0PUR_C02</b>" Infocube we get Update rules at the bottom of the page,
    from Update rules page, in the bottom of tht page we get Infosource,
    Now in this Infosource page we get <b>'Transfer Rules'.</b>
    this is the normal procedure i suppose to find <b>'Transfer Rules'</b>.
    Similarly im trying out for <b>"Purchasing Order Qty Service Level-0PUR_C07"</b>,
    but im not able to get the 'Transfer Rules for ths Cube.
    Please let me know the Procedure, how to find out Transfer rules for this <b>"PO Qty Service level"</b> Infocube................?
    Regards,
    Sourav

    the best place to search the content objects is HELP.SAP.COM
    InfoSources
    2LIS_02_ITM Purchasing Data (Document Item Level) as of 2.0B
    2LIS_02_SCN Allocation Schedule Line with Confirmation
    2LIS_02_CGR Allocation Confirmation with Goods Receipt
    2LIS_02_SGR Allocation Schedule Line with Goods Receipt
    http://help.sap.com/saphelp_bw33/helpdata/en/c4/1478c35bda7b4cb5224251c84ffaa2/frameset.htm

  • Unable to find the Transfer Rules in Transport Connection

    Hi Guys,
    I am on BW 3.5.
    I am unable to find the Transfer Rules created in transport Connection. I need to Transport these changes. I was able to Transport Communication structure and the Infosource.
    I tried activating the Transfer Rules and also replicated the datasources but it does'nt prompt me for a Transport request.
    Hence I need to explicitly Transport by going into Transport Connection where I am unable to find the object.
    Please help me on how to include this object in the Transport request created.
    Thanks in advance.
    Regards,
    Tyson

    Another way is to go the transfer rules or update rules or any object which you want to transport->extras on top>Object direct entry>change the package from $temp>rest you know
    Cheers,
    shana
    Assigning pts is the way of saying thanks in SDN

  • Problem with the active version of the transfer rule ABAP program with sour

    Hi,
    I have a problem with the active version of the transfer rule ABAP program with source system EXCEL. 
    The system does not react to changes done in the transfer rule coding. For FISCPER I have hardcoded the result 'BABABA' and still the results delivered are those from the CSV.
    Resetting the system buffers does not help. The problem is systematic in combination with source system EXCEL (i.e. not only 1 InfoSource).  Checking the active program Extras->Display Program shows the coding (result='BABABA') being there, but
    as stated, the system does not produce the result BABABA, but instead the result of the CSV.
    It seems as if the original version from the very first activation of the transfer rule program remains somewhere and continues to be used.  Does anybody know how to flush it out and get the system to actually use the coding appearing as the active program.
    I have posted an OSS note, but SAP takes it time to answer and I am under time pressure so I figured that maybe one of you know who to solve it before SAP does.
    Greetings and thanks,
    Martin

    Hi martin,
    just try to go out the RSA1 and then return to your infopac. ...
    sometimes there some "cache" trouble

  • Can we run the Transfer rule activation in parllel ?

    HI All,
    As part of BI system refresh I need to activate the transfer rules for three of the source systems by tunning the report RS_TRANSTRU_ACTIVATE_ALL . I have many systems and each one taking around 1-2 hours and my doubt now whether I can go for activating the rules parellely for all the source systems or it should be done one by one only.
    Appriciate you can answer with the justification.
    Thanks & Regards
    Rajesh Meda

    HI,
    Yes u can run them in parallel....
    Because U r activating the Transfer Structures in BI side....and these mappings are independent of the remaining systems..
    So these can be done parallellly.
    Hope this helps u..
    Best Regards,
    VVenkat..

  • BE3.5 : Error from the source system while activating the transfer rule

    When I was trying to activate the transfer rule for one info object( charateristic with master data) , I got the following error  in [[  ]]
    Error when creating transfer structure /BIC/CCPIZGR00CC_ATTR in source system CI2220
    Diagnosis
    An error occurred when creating transfer structure /BIC/CCPIZGR00CC_ATTR as an IDoc segment in source system CI2220 .
    System response
    The action was terminated. No data was changed.
    Procedure
    Use the generation log in source system CI2220 to identify the error, and remove the cause.
    CI2220 is the backend R/3 system, I had no issue in replicating the data source etc. this error occurred while trying to activate the transfer rule after assigning the info source to the replicated datasource in BW.
    Can anybody tell me how to view( what transaction etc) the generation log to understand the issue?
    Thanks in advance
    Arunabha

    Hi Arunabha,
    I would confrim that there is no issue with the datasource in your r/3 system. Can you run the datasource on your r/3 system with no errors using RSA3?
    If the datasource is ok, then I would check out the error message number in OSS or SDN. I have seen this error before, I just cannot recall what the fix was.
    Cheers!

  • Error while accessing the transfer rules after installation

    I get the status " Idoc type in the source system is not available"  when i try to access the transfer rules of delivery service ,0sd_c04 infocube. can anyone help me to fix the error.

    Hi Hari,
    How  you installed Transfer rules, is it through BC.
    Check the Data Structure in Info Source , whether all fileds are available or not.
    First delete Transfer structure and again propose the transfer rules, activate it.
    Let us know status.....
    Reg
    Pra

  • Debugging the pdate rules

    Hi ,
    my all records are truncated in update rules level.
    so in RSMO screen the IC updating is 0 records.
    i read some therds ..
    using debug we can  find prob . is it right?
    plz tell me way
    1.how can debug the updates rules ?
    2.how can i fix, which records are effected for truncated ?
    it is very argunt ...
    i assign points ,...
    Regards,
    PSR

    HI Roberto,
    i have not much kowldge on ABAP.
    Plz tell me logic for this code and where can records are truncated ?
    Routine :
    FORM compute_data_field
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
      USING    COMM_STRUCTURE LIKE /BIC/CS2LIS_02_SCL
               RECORD_NO LIKE SY-TABIX
               RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING RESULT LIKE /BI0/V0PUR_C01T-IR_VAL_RET
               RETURNCODE LIKE SY-SUBRC
               ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal table "MONITOR", to make monitor entries
    IF ( COMM_STRUCTURE-PROCESSKEY = '027' or  "RE Retoure
        COMM_STRUCTURE-PROCESSKEY = '007' )
        AND COMM_STRUCTURE-BWAPPLNM EQ 'MM'.
        RESULT = COMM_STRUCTURE-CPPVLC.
    if the returncode is not equal zero, the result will not be updated
        RETURNCODE = 0.
    else.
        RETURNCODE = 4.
    endif.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    plz tell me way ?
    Regards,
    PSR

Maybe you are looking for

  • Create file excel in background

    Hi, I have need to create a excel file from itab when lunch report in background (sm36). I utilized GUI_DOWNLOAD but I have error code page... Help me please..... Thanks!!

  • Missing Subject line for the Approval Notification Mail

    Hi, We use CUP 5.3 SP7. We have configured the system for role based approval. We found that the approval notification mail being sent without any Subject line. It's configurable to set the admin mail id, but couldn't find one to set the Subject. We

  • Post Processing Backflushing Backlogs

    Hi All, When I wanted to reprocess backflushing backlogs with MF45, I can not do any changes such as changing storage Location or batch number and etc because appeared post processing list  is read only. How I can change this screen from display mode

  • Is Oracle 9i down?

    While trying to get Spatial Database Engine set up to work with Oracle 9i on a Solaris 9 platform, I get the following. Does this mean that Sqlplus is working but Oracle itself is down?: sqlplus "/as sysdba" SQL*Plus: Release 9.0.1.0.0 - Production o

  • Sub page total in the smart forms

    Hi Experts I am facing page total problem in smartform. In my first page sub total adding only first line item amount of second page and it keeps going on every page further i.e. always next page first line item amount is getting added and therefore