Quality system refresh in SRM

Hi All,
After the SRM quality system refreshed with production ,what are all the settings we have to check and maintain so that we have connectivity with the backend system.
What are the RFC settings to be maintained and procedure to maintain?
Thank you
Regards,
Yshu

Hi. First set up the RFC destinations as you would normally, then run BDLS to change the logical system from the production one to your qualtity one.
Then, run program RHOMATTRIBUTES_REPLACE to change the attributes that contain logical system, you can use the sub-string checkbox to just change the first part of the attributes.
Finally check your middleware setting, you will probably need to delete the current site and create a new one pointing at the QA system.
Regards,
Dave.

Similar Messages

  • Quality System Refresh DB2-AIX

    Dear Gurus
    I am using DB2 with 4.6 AIX
    by using  online backup of my Production, how can i refresh the quality system. i am new to DB2.
    please let me know  what are the steps involved in this..
    Thanks in advance.

    Hi,
    it depends on your database version, if logs are included by default. With DB2 9.5 you have logs included by deafult in your online backup. With older DB2 versions, you have to specify the INCLUDE LOGS clause.
    There is a nice tool to check your backup image file: db2ckbkp (check backup). When you call
    db2ckbkp -H <backupimage> you can see the header information, that shows you if logs are included in your backup image.
    kind regards
    Thomas

  • ORA-01017: invalid username/password; logon denied quality system refresh from production

    Dear All;
    I am in the post activities of SAP system refresh.
    I restored the system using brtools successfully as you can see below:
    then I went with the rest of the steps based on sap recomendations, and reached to SAP sql queries:
    CREATE USER "OPS$<DOMAIN>\<SID>ADM" DEFAULT TABLESPACE SYSTEM TEMPORARY TABLESPACE PSAPTEMP IDENTIFIED EXTERNALLY;
    CREATE USER "OPS$<DOMAIN>\SAPSERVICE<SID>" DEFAULT TABLESPACE SYSTEM TEMPORARY TABLESPACE PSAPTEMP IDENTIFIED EXTERNALLY;
    GRANT CONNECT, RESOURCE, SAPDBA TO "OPS$<DOMAIN>\<SID>ADM";
    GRANT CONNECT, RESOURCE, SAPDBA TO "OPS$<DOMAIN>\SAPSERVICE<SID>";
    CREATE TABLE "OPS$<DOMAIN>\<SID>ADM".SAPUSER (USERID VARCHAR2(256), PASSWD VARCHAR2(256));
    INSERT INTO "OPS$<DOMAIN>\<SID>ADM".SAPUSER VALUES ('SAPSR3', '<Password>');
    CREATE SYNONYM "OPS$<DOMAIN>\SAPSERVICE<SID>".SAPUSER FOR "OPS$<DOMAIN>\<SID>ADM".SAPUSER;
    CONNECT /
    GRANT SELECT, UPDATE ON "OPS$<DOMAIN>\<SID>ADM".SAPUSER TO "OPS$<DOMAIN>\SAPSERVICE<SID>";
    CONNECT /as sysdba
    GRANT CONNECT, RESOURCE TO "OPS$<DOMAIN>\SAPSERVICE<SID>";
    GRANT CONNECT, RESOURCE TO "OPS$<DOMAIN>\<SID>ADM";
    I checked if all users are on opened state using select USERNAME,ACCOUNT_STATUS from dba_users;
    The database is running file, and it is opened, but when I run R3trans -d it gives me RC 12 and i get this error:
    *** ERROR => CONNECT failed with sql error '1017'
    set_ocica() -> SQL error code 1017
    -->oci_get_errmsg (con=0, rc=1017)
    OCIErrorGet -> SQL error code: 1017
    ORA-01017: invalid username/password; logon denied
    DbSlConnect(con=0) -> orc=0, 99=DBSL_ERR_DB
    ***LOG BY2=>sql error 1017   performing CON
    ***LOG BY0=>ORA-01017: invalid username/password; logon denied
    I used brconnect -u / -f chpass -o PSAPSR3 -p sap so i can reset the password, but still I am getting the same invalid username or password error.
    I checked the listener status, and it is running.
    Kindly let me know how I can fix my error
    Best Regards
    ~Amal Aloun

    Dear Gaurav;
    I am running SAP Kernel 720 64bit unicode PL300
    The content of my trans log file is the following:
    4 ETW000 r3trans version 6.23 (release 720 - 15.05.12 - 20:12:03).
    4 ETW000 unicode enabled version
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 05.08.2014 - 17:50:30
    4 ETW000 control file: <no ctrlfile>
    4 ETW000 R3trans was called as follows: r3trans -d
    4 ETW000  trace at level 2 opened for a given file pointer
    4 ETW000  [     dev trc,00000]  Tue Aug 05 17:50:30 2014                                                 149  0.000149
    4 ETW000  [     dev trc,00000]  db_con_init called                                                        27  0.000176
    4 ETW000  [     dev trc,00000]  set_use_ext_con_info(): rsdb/ssfs_connect not set => ssfs not used        41  0.000217
    4 ETW000  [     dev trc,00000]  determine_block_commit: no con_hdl found as blocked for con_name = R/3
    4 ETW000                                                                                                  28  0.000245
    4 ETW000  [     dev trc,00000]  create_con (con_name=R/3)                                                 14  0.000259
    4 ETW000  [     dev trc,00000]  Loading DB library 'dboraslib.dll' ...                                    44  0.000303
    4 ETW000  [     dev trc,00000]  DlLoadLib success: LoadLibrary("dboraslib.dll"), hdl 0, addr 000007FEF1650000
    4 ETW000                                                                                                 947  0.001250
    4 ETW000  [     dev trc,00000]      using "E:\usr\sap\TST\SYS\exe\uc\NTAMD64\dboraslib.dll"               18  0.001268
    4 ETW000  [     dev trc,00000]  Library 'dboraslib.dll' loaded                                            19  0.001287
    4 ETW000  [     dev trc,00000]  function DbSlExpFuns loaded from library dboraslib.dll                    23  0.001310
    4 ETW000  [     dev trc,00000]  Version of 'dboraslib.dll' is "720.00", patchlevel (0.215)               242  0.001552
    4 ETW000  [     dev trc,00000]  function dsql_db_init loaded from library dboraslib.dll                   26  0.001578
    4 ETW000  [     dev trc,00000]  function dbdd_exp_funs loaded from library dboraslib.dll                  34  0.001612
    4 ETW000  [     dev trc,00000]  New connection 0 created                                                 237  0.001849
    4 ETW000  [     dev trc,00000]  0: name = R/3, con_id = -000000001, state = DISCONNECTED, tx = NO , bc = NO , hc = NO , perm = YES, reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO , prog = 
    4 ETW000                                                                                                  56  0.001905
    4 ETW000  [     dev trc,00000]  db_con_connect (con_name=R/3)                                             20  0.001925
    4 ETW000  [     dev trc,00000]  determine_block_commit: no con_hdl found as blocked for con_name = R/3
    4 ETW000                                                                                                  25  0.001950
    4 ETW000  [     dev trc,00000]  find_con_by_name found the following connection:                          16  0.001966
    4 ETW000  [     dev trc,00000]  0: name = R/3, con_id = 000000000, state = DISCONNECTED, tx = NO , bc = NO , hc = NO , perm = YES, reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO , prog = 
    4 ETW000                                                                                                  36  0.002002
    4 ETW000  [     dev trc,00000]  -->DbSlConnect(vers=-1, type=0, env='[default env]', userid='[default usr]')
    4 ETW000                                                                                                  53  0.002055
    4 ETW000  [     dev trc,00000]  DIR_CLIENT_ORAHOME is not set as profile nor env. parameter.             574  0.002629
    4 ETW000                        Assuming using instant client with unspecified location.
    4 ETW000  [     dev trc,00000]  Register application info.                                                97  0.002726
    4 ETW000  [     dev trc,00000]  Oracle client version: 10.2.0.4.0, (dbsl 720 220612, UNICODE[2])       10033  0.012759
    4 ETW000  [     dev trc,00000]  Detailed Oracle client (patch) info not available.                        30  0.012789
    4 ETW000  [     dev trc,00000]    Default connection: tnsname ='TST'                                      73  0.012862
    4 ETW000  [     dev trc,00000]  -->oci_initialize(con=0, char='UTF16', nchar='AL16UTF16', nls=-1),uc_ln=2
    4 ETW000                                                                                                  50  0.012912
    4 ETW000  [     dev trc,00000]  OCIEnvCreate(mode=16384=OCI_UTF16) returned 0 (for default NLS handle)
    4 ETW000                                                                                                1828  0.014740
    4 ETW000  [     dev trc,00000]     OCIHandleAlloc(OCI_HTYPE_ERROR, con=0, ErrHp=027944B0)                 58  0.014798
    4 ETW000  [     dev trc,00000]     OCIHandleAlloc(OCI_HTYPE_ERROR, con=0, ErrBt=02796088)                 36  0.014834
    4 ETW000  [     dev trc,00000]  NLS env. settings: lang=41004D00450052004900430041004E00                 167  0.015001
    4 ETW000  [     dev trc,00000]                     terr=41004D0045005200490043004100                      29  0.015030
    4 ETW000  [     dev trc,00000]                     char=55005400460031003600                              22  0.015052
    4 ETW000  [     dev trc,00000]  Client NLS setting (by OCINlsGetInfo(con=0)): 'AMERICAN_AMERICA.UTF16'
    4 ETW000                                                                                                  43  0.015095
    4 ETW000  [     dev trc,00000]  charset='UTF16', ncharset='AL16UTF16', UNI_ASC=FALSE                      19  0.015114
    4 ETW000  [     dev trc,00000]  Logon as OPS$-user to get SAPSR3's password                               28  0.015142
    4 ETW000  [     dev trc,00000]  Connecting as /@TST on connection 0 (nls 0) ... (dbsl 720 220612, UNICODE[2])
    4 ETW000                                                                                                  61  0.015203
    4 ETW000  [     dev trc,00000]     OCIHandleAlloc(OCI_HTYPE_SVCCTX, con=0, svchp=02795F48)               370  0.015573
    4 ETW000  [     dev trc,00000]  Allocating server context handle                                          31  0.015604
    4 ETW000  [     dev trc,00000]  Attaching to database server TST (con=0, svchp=02795F48, srvhp=0279EFF8)
    4 ETW000                                                                                                  74  0.015678
    4 ETW000  [     dev trc,00000]  Assigning server context 0279EFF8 to service context 02795F48          30008  0.045686
    4 ETW000  [     dev trc,00000]     OCIHandleAlloc(OCI_HTYPE_SESSION, con=0, usrhp=027ABBE0)               86  0.045772
    4 ETW000  [     dev trc,00000]  Starting user session: OCISessionBegin(con=0, usr='/', svc=02795F48, srv=0279EFF8, usr=027ABBE0)
    4 ETW000                                                                                                  40  0.045812
    4 ETW000  [     dev trc,00000]     OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR               28164  0.073976
    4 ETW000  [     dev trc,00000]     OCISessionBegin(OCI_DEFAULT) failed with SQL error 1017:               95  0.074071
    4 ETW000  [     dev trc,00000]     ORA-01017: invalid username/password; logon denied                                                                       
    4 ETW000                                                                                                  39  0.074110
    4 ETW000  [    dbsloci.,00000]  *** ERROR => CONNECT failed with sql error '1017'                         38  0.074148
    4 ETW000  [     dev trc,00000]     set_ocica() -> SQL error code 1017                                     19  0.074167
    4 ETW000  [     dev trc,00000]  -->oci_get_errmsg (con=0, rc=1017)                                        20  0.074187
    4 ETW000  [     dev trc,00000]     OCIErrorGet -> SQL error code: 1017                                    57  0.074244
    4 ETW000  [     dev trc,00000]     ORA-01017: invalid username/password; logon denied                                                                       
    4 ETW000                                                                                                  39  0.074283
    4 ETW000  [     dev trc,00000]  Info: 99=DBSL_ERR_DB, oerr=1017, try to connect with default password.
    4 ETW000                                                                                                  38  0.074321
    4 ETW000  [     dev trc,00000]  Connecting as SAPSR3/<pwd>@TST on connection 0 (nls 0) ... (dbsl 720 220612, UNICODE[2])
    4 ETW000                                                                                                  30  0.074351
    4 ETW000  [     dev trc,00000]  Assigning username to user session: con=0, usrhp= 027ABBE0                23  0.074374
    4 ETW000  [     dev trc,00000]  Assigning password to user session: con=0, usrhp=027ABBE0                 36  0.074410
    4 ETW000  [     dev trc,00000]  Starting user session: OCISessionBegin(con=0, usr='SAPSR3', svc=02795F48, srv=0279EFF8, usr=027ABBE0)
    4 ETW000                                                                                                 133  0.074543
    4 ETW000  [     dev trc,00000]  Tue Aug 05 17:50:40 2014                                             9992977  10.067520
    4 ETW000  [     dev trc,00000]     OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR                  33  10.067553
    4 ETW000  [     dev trc,00000]     OCISessionBegin(OCI_DEFAULT) failed with SQL error 1017:               85  10.067638
    4 ETW000  [     dev trc,00000]     ORA-01017: invalid username/password; logon denied                                                                       
    4 ETW000                                                                                                  37  10.067675
    4 ETW000  [    dbsloci.,00000]  *** ERROR => CONNECT failed with sql error '1017'                         29  10.067704
    4 ETW000  [     dev trc,00000]     set_ocica() -> SQL error code 1017                                     19  10.067723
    4 ETW000  [     dev trc,00000]  -->oci_get_errmsg (con=0, rc=1017)                                        18  10.067741
    4 ETW000  [     dev trc,00000]     OCIErrorGet -> SQL error code: 1017                                    55  10.067796
    4 ETW000  [     dev trc,00000]     ORA-01017: invalid username/password; logon denied                                                                       
    4 ETW000                                                                                                  52  10.067848
    4 ETW000  [     dev trc,00000]     DbSlConnect(con=0) -> orc=0, 99=DBSL_ERR_DB                            22  10.067870
    4 ETW000  [    dblink  ,00000]  ***LOG BY2=>sql error 1017   performing CON                               58  10.067928
    4 ETW000  [    dblink  ,00000]  ***LOG BY0=>ORA-01017: invalid username/password; logon denied            22  10.067950
    2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'TST'"
    Best Regards
    ~Amal Aloun

  • System refresh from Production to Quality

    Hi,
    We are going for system refresh from Production to Quality. We are at SAP NetWeaver 2004s with 700 release and at 0021 level. Our data base system is DB6 with the release 09.07.0000
    I understand that there is a note 886102 available for the system copy. But I would like to know how that had been practically implemented from your ready documents like
    1. What would be the BI consultant role during the refresh (I mean where do we involve at). I have seen many links related to this but nothing answer my question, so please don't give me links available.
    2. How to identify tables that need to be copied and restored to retain the correct source systems for data/info sources.
    3. What should be the BI consultant task before refresh?
    4. What should be the BI consultant task post refresh?
    5. What are issues faced post refresh in quality system.
    I request, the consultant who had worked on these refresh can provide me correct solution.
    Thanks in advance.
    Regards.
    Raj

    Our prerefresh activities included
    Inform security team to do no user or authorisation changes for quality during the refresh.
    Set message in development to not release any transports anymore and set message in quality to inform users in quality not to manually import transports into quality and also not approve transports for production. This ensures no transports get moved to quality and production.
    Switch off cyclic import all job (like TMS_0000000038TMS_TP_IMPORT) and the cyclic  RSTMS_DIST_APPROVED_REQUESTS job 
    Prepare list of transports for re-import to quality after refresh and give this to BASIS.
    Post refresh activities included
    Tcodes SM37, SM35 and SP01. Check that BASIS had set all released jobs to status "Susp/Released"
    "All jobs are in 'Susp/Released' state. Set them all to 'Scheduled ' as follows:
    -  Run report BTCTRNS2 to change all to 'Released'.
    - Immediately use SM37 to change all to 'Scheduled' "
    IF ANY ARE NEEDED. Remember to change Exec Target in any job you need to release.
    "Schedule  RSTMS_DIST_APPROVED_REQUESTS to run at x:29 and x:59 - so every 30 minutes.
    Please schedule with DDIC as step user (and not your own user-id)."
    Check the STMS_QA and import queues to be sure that the tranports are correct- no extra ones during refresh???
    Once happy with the above request that Basis schedule the auto import to run every 30 minutes
    First ensure that BDLS has finished and system is ready for use.
    Post refresh issues faced in production
    Many reinit issues
    ACR issues.
    Master data issues.

  • Database refresh on quality system.

    Dear Experts,
    We need to refresh PRODUCTION system ERP 6.0 EHP5  to existing QUALITY system. We have gone through below thread https://forums.sdn.sap.com/thread.jspa?forumID=186&threadID=213898 but bit confused about procedure. Is it ok to go with this thread?
    Remote client copy is not feasible in our case also it will take days to complete
    Kindly let us know steps/ procedure for refreshing database.
    Your help would be appreciated.
    Thanks and Regards,
    Pramod Jadhav

    Dear Volker,
    Thanks for replying.
    As we have in worst situation. For database refresh we have deleted existing R3SIDDATA library. Is there any other option except SAPinst  to refresh the database  PRD  to QAS please let us know.
    Best regards,
    Pramod Jadhav

  • SRM - System Refresh (Post Refresh steps)

    Hi,
    Can anyone tell me the steps to execute after SRM system refresh using file copy method ?
    Thanks & Regards,
    Jag

    I have seen this somewhere in the forum: See if this helps you
    BDLS: Convertion of logical system (SRM).
    Check entry in table TWPURLSVR.
    Check RFC connections (R/3 and SRM)
    SPRO, check or set the following points:
    Set up Distribution Model and distribute it
    Define backend system
    Define backend sytem per product category
    Setting for vendor synchronization
    Numbe ranges
    Define object in backend sytem
    Define external services (catalogs)
    Check WF customizing: SWU3, settings for tasks
    SICF: maintain the service BBPSTART, SAPCONNECT
    SE38:
    Run SIAC_PUBLISH_ALL_INTERNAL
    Run BBP_LOCATIONS_GET_ALL
    Update vendor BBPUPDVD
    Check Middleware if used.
    Run BBP_GET_EXRATE.
    Schedule jobs (bbp_get_status2, clean_reqreq_up)
    Convert attributes with RHOM_ATTRIBUTE_REPLACE
    BR
    Muthu

  • Issue in Process Controlled workflow for Shopping cart in Quality system.

    Hello All,
    I ahve configured a Process controlled workflow in SRM 7.0  with custom resolver, and I am facing an issue taht the Workflow works well in Development but in Quality the approvers are dropped after SC is ordered in Quality system.
    The SC Workflow drops the approvers picked up from the Interface  method /SAPSRM/IF_EX_WF_RESP_RESOLVERGET_AREA_TO_ITEM_MAP and IF_EX_WF_RESP_RESOLVERGET_APPROVERS_BY_AREA_GUID of BADI /SAPSRM/BD_WF_RESP_RESOLVER. The approvers can be seen in the shopping cart Approval preview Tab until the SC is ordered.
    I have compared the OSS notes relevant for Workflow, all of them have been transported, Also I compared and checked general Workflow settings, BRF Config and  Process level  settings in Dev and Quality, everything is same.
    Also while debugging; the approvers can be seen in the decision set table in the create_process_forecast method of class /SAPSRM/CL_WF_PROCESS_MANAGER.
    Kindly let me know what else i can check to find the root cause.
    Thank you in advance for help!
    Regards
    Prasuna.

    Hello Vinita;
    Thanks for the input and sorry for the not so "ASAP" reply;
    From what I'm seeing in from your 2 screenshot, i strongly believe that the problem is even before the Z implementation /SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_APPROVERS_BY_AREA_GUID (in which the FM i ZSRM_GET_USER_FROM_PGRP is called. I think the problem could be in the process level determination  ZSRM_WF_BRF_0EXP000_SC_APP100. Let me explain:
    In your  cases where not buyer is determined,  in the approval tab there is not even a process level for buyer approval. If the problem were indeed in the implementation  /SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_APPROVERS_BY_AREA_GUID  then the process level would be there, but the system will display, instead of the name of the buyer(if the buyer determination fails) a red label with the message:  "With the strategy "Buyer determination" an approver could not be determined (or something like that..please check the image at the end of the text)".
    I can propose a way to discard this: Implement the method /SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_FALLBACK_AGENTS of class ZCL_BADI_SC_WC (in case you didn't know, in this method you can specify an "default" approver in case that the determination of approver in GET_APPROVERS_BY_AREA_GUID fails). The idea is to specify an default approval and see how it behaves:
    If the user you indicated in the method GET_FALLBACK_AGENTS appears as approver, then yes, the problem is arises from implementation GET_APPROVERS_BY_AREA_GUID, in which case it could be a data problem (peharps in pposa_bbp?). You could also check in TX SU53 with the users with this problem to see if there's a missing authorization objetc.
    If, in the other hand, the "default" approver is not shown, it means that the process level buyer determination is not even called, so you should check in more detail ZSRM_WF_BRF_0EXP000_SC_APP100 and /SAPSRM/CL_WF_PROCESS_MANAGER > Determine process restart –method ----- (i have never used this method, so i could not tell if  it could be the source of the problem).
    Also, you could implement the method GET_FALLBACK_AGENTS in this way so the default approver would be the WF administrator indicated in the customizing (or you could just append directly any user you want):
    METHOD /SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_FALLBACK_AGENTS.
       DATA: lv_admin_expr TYPE swd_shead-admin_expr,
             lv_admin      TYPE swd_shead-wfi_admin,
             lv_admin_type TYPE sy-input,
             ls_agent      TYPE  /sapsrm/s_wf_approver.
       CALL FUNCTION 'SWD_WF_DEFINITION_ADMIN_GET'
         IMPORTING
           default_admin_expr = lv_admin_expr
           default_admin      = lv_admin
           default_admin_type = lv_admin_type.
       ls_agent-approver_id = lv_admin.
       APPEND ls_agent TO rt_agent.
    ENDMETHOD.
    Error of agent determination:
    Please let me know the result of the test with the implementation of method GET_FALLBACK_AGENT. By doing this we could ensure if really the problem is in method GET_APPROVERS_BY_AREA_GUID or before.  I just made the test in our system and I'm almost sure that you wont get the default approver, but i could be wrong. 
    Any question please let me know.
    Best regards
    Cristian R.

  • Error in transporting the Transformation to Quality system

    Hi All,
    I am trying to transport the transformation which has field level routine as well as start and end routine.
    I have basically ehanced the standard routine and it works perfectly fine in dev server . I have even loaded the data and generated reports on this cube.
    Now i am trying to transport it to Quality system. It throws up some "syntax error in routine" error. Very strange.
    All my routine in Dev is working but during transport ther is some issue.
    i saw some post on same but they are suggesting to regenerate a new transformation. For me this will be a nightmare as there are so many routnies at field level and as end routine.
    Kindly suggest how can i rectify this error.
    Note:- I had generated this transformation via old update rules with Migration function.
    Thanks & Regards,
    Anup

    Hi Anindya,
    Below is my source code for one field level routine in transformation.
    FORM routine_0080
      TABLES
       p_monitor         STRUCTURE rsmonitor
      USING
        COMM_STRUCTURE TYPE _ty_s_sc_1__rule_52
      CHANGING
        RESULT         TYPE _ty_s_tg_1_full-srvclen
        RETURNCODE     LIKE sy-subrc
        ABORT          LIKE sy-subrc
      RAISING
        cx_sy_arithmetic_error
        cx_sy_conversion_error.
    * init variables
    * fill the internal table "MONITOR", to make monitor entries
      DATA: ultimo LIKE sy-datum.
      IF g_record_no <> RECORD_NO.
        g_record_no = RECORD_NO.
        CLEAR: employee_wa, person_wa.
        CLEAR: employee_md, person_md.
      ENDIF.
      PERFORM read_md_employee
              USING    COMM_STRUCTURE-employee
                       COMM_STRUCTURE-calday
                       RECORD_NO
                       RECORD_ALL
                       SOURCE_SYSTEM
              CHANGING employee_wa
                       RETURNCODE.
      employee_md = employee_wa.
      PERFORM calculate_ultimo
              USING COMM_STRUCTURE-calday+0(6)
                     RECORD_NO
                     RECORD_ALL
                     SOURCE_SYSTEM
              CHANGING ultimo
                       RETURNCODE.
      IF NOT employee_md-entrydate IS INITIAL.
        RESULT = ultimo+0(4) - employee_md-entrydate+0(4).
        IF ultimo+4(4) LT employee_md-entrydate+4(4).
          RESULT = RESULT - 1.
        ENDIF.
      ENDIF.
    * result value of the routine
    * if the returncode is not equal zero, the result will not be updated
      RETURNCODE = 0.
    * if abort is not equal zero, the update process will be canceled
      ABORT = 0.
      p_monitor[] = MONITOR[].
      CLEAR:
        MONITOR[].
    CLASS lcl_transform IMPLEMENTATION.
      METHOD compute_0AGE_RANGE.
    *   IMPORTING
    *     request     type rsrequest
    *     datapackid  type rsdatapid
    *     SOURCE_FIELDS-CALDAY TYPE /BI0/OICALDAY
    *     SOURCE_FIELDS-EMPLOYEE TYPE /BI0/OIEMPLOYEE
    *    EXPORTING
    *      RESULT type _ty_s_TG_1-AGE_RANGE
        DATA:
          MONITOR_REC    TYPE rsmonitor.
    *$*$ begin of routine - insert your code only below this line        *-*
      Data:
        COMM_STRUCTURE   type _ty_s_SC_1__RULE_20,
        l_subrc          type sy-tabix,
        l_abort          type sy-tabix,
        ls_monitor       TYPE rsmonitor,
        ls_monitor_recno TYPE rsmonitors.
      data:
        l_monitor        type standard table of rsmonitor.
      REFRESH:
        MONITOR.
    * Runtime attributs
        SOURCE_SYSTEM  = p_r_request->get_logsys( ).
        MOVE-CORRESPONDING SOURCE_FIELDS to COMM_STRUCTURE.
    *  Migrated update rule call
      Perform routine_0070
      TABLES
        l_monitor
      USING
        COMM_STRUCTURE
      CHANGING
        RESULT
        l_subrc
        l_abort.
    *-- Convert Messages in Transformation format
        LOOP AT l_monitor INTO ls_monitor.
          move-CORRESPONDING ls_monitor to MONITOR_REC.
          append monitor_rec to MONITOR.
        ENDLOOP.
        IF l_subrc <> 0.
          RAISE EXCEPTION TYPE CX_RSROUT_SKIP_RECORD.
        ENDIF.
        IF l_abort <> 0.
          RAISE EXCEPTION TYPE CX_RSROUT_ABORT.
        ENDIF.
    I am not able to change the code which are marked with " * ". Where can i change the code here?
    Regards,
    Anup

  • System Refresh problem - request/task does not exist

    I have a problem after system refresh, and when I am trying to import users and roles, I get the message - request/task XXXXXXX does not exist.
    Data/cofile are present.
    Can someone help me please ?
    Thanks in advance,
    Jordan

    I got it ... in SCC4, the client role must have been set to TEST instead of PRODUCTION, since the refresh is on Quality.

  • SAP BI Quality system appearing in SAP folder and not in BI folder in RSA1

    Dear SAP experts,
    We recently did a system refresh of our BI 3.5 Quality system QED from the BI 7.0 Production system PED .We ran the BDLS for all the connected source system that were to QED.
    But after this i find that in RSA1 under "source system" , myself source system QED is appearing in the SAP folder and not in BI folder. Because of this we are not able to do data loads with in the system.
    I am not able to create the QED source system under the BI folder as it already exists. For all the other system in the landscape the BI system are appearing in the BI folder in RSA1.
    Kuldeep Prasad.

    Hi ,
    Thanks for your response.
    I had run the BDLS for PED > QED and have checked the spools where all the table till Z* was converted.
    However i find that in table RSBASIDOC there are 2 entries which may be the problem.
    Source system DWH System   Object Status      Basic type         Source system type
    QEDCLNT010    PEDCLNT010   ACT                ZSOA001         M
    QEDCLNT010    QEDCLNT010   ACT                ZSQN040          3
    Please can ypou suggest whether can be the problem and what can be done to correct this.
    Thansk a lot for your suggestion.
    KUldeep.

  • BDLS: Partner profiles not change - System Landscape Copy (SRM+HCM+ERP)

    Hello,
    Can anybody help me for system copy i.e. production to quality.
    System Landscape:
    - 1 central HCM System
    - 1 central SRM System
    - 6 Backend Systems (ERP)
    Problem: Change Log. Systemnames (SALE) and Partner Profiles (WE20) and ALE-Distribution Model (BD64).
    We run BDLS (change RFC/log.Systemnames/ change BD64), but we have problems with Partner Profiles (WE20). Which do not change !
    Anybody knows this problem?
    What can I do?
    Thanks, Silke

    Running BDLS would not normally revert the setting for the partner profiles. You could either load it again via backup transport or make new entries accordingly to the specific settings prior to the system copy.

  • System refresh PRD-QUA

    Experts,
    We have completed the system refresh using PRD system data.
    part of post processing activity using t-code BDLS and and completed the  Logical system conversion.
    But still we observed that in BI system still prd system logical system (as below) name available on the infoobjects, because of the some of the jobs failed at BI system.
    RSA1->
    Data Transfer Processes
      8PB1CH0338T / PPXCLNT100 -> ZDINXXX
    Please let us know how to change the all the logical system from production system to quality system.
    Thanks
    Malai

    Hi Nick,
    Thank you for the response..
    Yes we have activated and ran the replication also.
    its seems looks good  When I check the check the datasources,
    Version : active
    and  datasoruce as below
    Datasouce for QX1CLNT100 QX1 client 100
    8PB1CH0338T
    ZDINCOMP_TEXT
    RSDS 8PX1CH0338T
    QX1CLNT100
    -> IOBJ ZDINCOMP
    C Din Company (Texts)  TEXTS ZDINCOMP    TEXTS ZDINCOMPTEXTS ZDINCOMP
    But click the inforprovider it shows around 30 of them shows PX1CLNT100 logical system.
    How Can i change those PX1 logical system name
    Thanks
    Elumalai

  • System refresh in HANA (Side-car)

    Hi Experts,
    I have some queries around system refresh in HANA.
    I have a side-car implementation of HANA. Data is replicated by SLT from ECC to HANA.
    Question is - Can we directly perform a system refresh from prod HANA to Quality HANA box?
    or we can only have below option:
    Refresh prod ECC to Quality ECC & reload all the tables again from quality ECC to quality HANA?
    I am particularly interested to have answers/thoughts  on  -- "Can we directly perform a system refresh from prod HANA to Quality HANA box?"
    I have not heard of this approach so far.
    I know the other option - "Refresh prod ECC to Quality ECC & reload all the tables again from quality ECC to quality HANA?" is feasible.
    quick response is much appreciated.
    Best Regards
    Sachin Bhatt

    Sorry I thought it was clear, let me explain.
    HANA with SLT, is a replica copy of ECC tables. If you copy HANA Prod back to QA then SLT will no longer be operational.
    You could re-enable SLT but you would have to re-initiate replication which would wipe out all the HANA tables, thereby making your system copy worthless.
    If you don't re-enable SLT then you won't be able to do any testing or any table changes into QA.
    So really there is no choice, you need to copy ERP Prod and HANA Prod, or just copy ERP Prod and re-initiate replication.

  • Source System Refresh with BW system Connected

    Hi SDN Gurus,
    We are doing a source system refresh for CRM 5.0 Production to CRM Quality.My question is the source system of the BW system will be Changed and the BW Quality will have old data. What are the Post Activities which needs to be done in BW 7.0 system after the CRM system is refreshed.
    So that the Quality BW system which will be now Production can have fresh data from Production System of CRM.
    Thanks and Regards
    Vishwanath

    Hi Ravi,
    Thanks for the same.
    I have another issue. My CRM Reports BI 7.0 is being displayed in Enterprise Portal, We have defined variables for user entry and they can select the values from the selection screen of the variable.
    Let's say we have 80 thousand records and we have variable let's say Client Name, where the user wants to select his client name and display records for that client. The Screen shows him only 72 rows of data i.e nearly 1000 records of Client Name. But we have nearly 20000 client names, and only 1000 client names are being displayed to select from. If he does a filter (eg: A, it displays all the names starting with A, but when we say B or C*, though the data is available in the ODS table, those client name is not displayed in the Screen.
    My question is how to Display all the Values or atleast when he gives A* or B* or Z* it should display those Names, so that he can see the records for those client Name.
    I have done all sorts of R&D to achieve this but in Vain.
    Please help me to sort this.
    Thanks and Regards
    Vishwanath

  • Post System Refresh Activity

    Hi All,
    I did system refresh ( from PRD to QAS , platform Windows 2008 R2 and MSsql) the system was up and running fine. The system was absolutely fine  for one day and the day after the DB crashed , not sure what happened, is there a way i can find the logs through which i can come to know what exactly happened. Also post refresh when i was trying to run BDLS , the job was getting cancelled , the job log showed there is another conversion already running , when i checked the tables the conversion had already happened . Please tell me can running BDLS which cancelled many times could be the cause for the DB crash, if yes where can i find the logs for this , if not what else could have happened that the DB crashed . Thanks for your responses in advance.
    Regards
    Mrigank Aditya

    Hi Nainesh,
    Thanks for the message , yes system is up and running fine , the DB team did a restore of Production data  on Quality again , and i did the post refresh activities again , the issue what had happened last time was we were doing simultaneous refresh of two systems at a time , BI prod to BI qas and ECC prd to ECC qas , we had found a list of tables in BDLS which gets updated when we run BDLS and we run those tables only , unfortunately the files got exchanged , the ECC tables should have run on ECC machine and BI tables should have run on BI machine which didn't happen and it happened the other way round BI tables where run on ECC machine , due to which BDLS failed and the job got cancelled many times, which impacted the whole system conversion and logical update , which crashed the DB( i exactly don't know the reason what happened internally , still searching for it ) . At present the machine is up and running fine.
    Regards
    Mrigank Aditya

Maybe you are looking for