Bw extraction process starting after a process/job in source system

Hello gurus,
I want to start a extraction process (a chain process) in BW system after a background program (job background process) has finished in the source system (which is an R/3 system).
My solution sound like this: I make a RFC function in BW that start the event XX, and planning the process chain to start at event XX (all this in BW side).
In source system I call the RFC function when the desired background process has finish.
I look for another solution (more simple maybe) for my task, or for any another suggestion.
thanks

Hi,
Refer the note :135637
(1) Create an event in the BW system
Define a system event (for example SAP_BW_TRIGGER) with Transaction SM62.
(2) Create a function module in the BW system
Create a function module (for example Z_BW_EVENT_RAISE) with the help of Transaction SE37. For the source code refer to the attachment of this note.
(3) Use the below code in code of the triggered job  in the R/3 System.Here BIMCLNT000 is the logical system name of the BI system. you need to cange it to yours.
parameters: rfcdest like rfcdisplay-rfcdest default 'BIMCLNT000'.
call function 'Z_BW_EVENT_RAISE'
  destination rfcdest
  exporting
      eventid = 'SAP_BW_TRIGGER'.
Regards,
Anil Kumar Sharma .P

Similar Messages

  • Trigger Process Chain from Source System into Target System

    Hello...actually in source system BZD, we have a process chain, in the target system BWD, we have another process chain as well. We want to have a process of combining these two process chain together. When the process chain in source system is completed successfully, the system will sent out some sort of signal to start the process chain in BWD. I am not sure how this can be done, I try to use the function module "BP_EVENT_RAISE" in the BZD and when this module is called, it does not start the process chain in BWD after the process chain in BZD is completed. I just wondering am I using the correct method. If will be good if anyone here can help...thanks alot.

    >
    FluffyToffee wrote:
    > Hello...actually in source system BZD, we have a process chain, in the target system BWD, we have another process chain as well. We want to have a process of combining these two process chain together. When the process chain in source system is completed successfully, the system will sent out some sort of signal to start the process chain in BWD. I am not sure how this can be done, I try to use the function module "BP_EVENT_RAISE" in the BZD and when this module is called, it does not start the process chain in BWD after the process chain in BZD is completed. I just wondering am I using the correct method. If will be good if anyone here can help...thanks alot.
    Hi Fluffy,
    Check RFC connection between the two sysems.
    Try using remote process chain process type in the process chain. the fllowing link may help you.
    http://help.sap.com/saphelp_nw70/helpdata/EN/86/6ff03b166c8d66e10000000a11402f/frameset.htm
    Regards,
    sunmit.

  • Job in source system terminated

    hi xperts,
         I am getting following error while loading from 2LIS_03_BX to 0IC_C03 CUBE.
    i already put the GENERATE INITIAL STATUS.
    <b>"Job in source system terminated --> Request is set to red."</b>
    In the details TAB:
    a)Requests (messages): Everything OK
       Data request arranged
      Confirmed with: OK
    b)Extraction (messages): Errors occurred
       Data request received
       Data selection scheduled
       Error occurred in the data selection
    c)Transfer (IDocs and TRFC): Everything OK
      Request IDoc : Application document posted
    Info IDoc 2 : Application document posted
    Info IDoc 1 : Application document posted
    d)Processing (data packet): No data
    Please help me,its really urgent.
    Thanks in advance.

    Hi,
         if you can not find any reason in sm21, st22, rsa3. then try as below:
        1. replicate the datasource;
        2. activate transfer rule;
        3. quit workbench
        4. entry workbench
        5. create a new data package
        6. load data with the new data package again;
    hope you good luck;

  • Job in Source system terminated - Request is set to red

    Hi
    I ran a process chain on the weekend which loaded several info packages into a cube.  They all ran successfully except for one.
    The error message said "Job in source system terminated - Request is set to red". 
    I've looked on Monitor and no records were extracted.
    How can I find out more information as to why this failed ?
    Sandra
    thanks in advance

    Hi sandra,
                      Suppose if the job in the source system is terminated then no extraction is possible.In order to see the job in the source system->in the process monitor tab->go to environment menu-->job overview>in the source system.so by following the above steps u can see the job in active r cancelled like that.by clicking on the job log u can see all the steps involved in that job.based on that u can take action.
    what my suggestion to this issue is force the qmstatus to red and delete that incorrect request and perform again repeat.it will goes through successfully unless it is not a functional error.
    assign points if it is useful...
    regards,
    sri

  • Steps in BW after the upgrade of the source system R3 in netweaver 2004s???

    Hi,
    1. Who can tell me which are the steps to execute in BW after the upgrade of the source system R/3 4.6 to Netweaver 2004s (ECC6) ?
    2. Do the delta loads continue to run or must be re-initialized?
    Thanks for your help
    Dominique

    hi Dominique,
    you should take care not after upgrade, but also before upgrade
    or your upgrade has been done ?
    also stated, before upgrade
    If you use Logistic Cockpit, please make sure that you know notes 328181, 396647, 380078.
    These are absolutely prerequisit notes for using Logistic Cockpit.
    Never change the extract structure (communication structure) when there is data in SM13 or in the DeltaQueue!
    Never upgrade your PlugIn System when you have data in SM13 or in the DeltaQueue!
    SM13 and RSA7 have ALWAYS to be EMPTY BEFORE you apply any changes to communication structures, extract structures or any referenced Data Dictionary object or BEFORE you upgrade your PlugIn system!!!
    SM13 and RSA7 have to be EMPTY also when you apply PlugIn Support Packages!
    458305-OLTP system upgrade: What should I be aware of afterwards?
    Note 458305 - OLTP: System upgrade or SP - What should I be aware of after
    Note 301192 - Procedure after upgrading an R/3 source system
    Note 359412, there may be some others
    hope this helps.

  • Transporting Process Chain - error  Source system does not exist

    Hi,
    I tried to transport a local PC by itself (not including its main meta chain) since I have only done modifications in the local PC only. In the PC, there are PSA Processing, ODS Processing, ODS Activation, ABAP Program w/ variants and Infocube Rollup.
    However, I got the following transport error: Source system does not exist
    =======
    Diagnosis
    Source system  is not known.
    System Response
    The imported data for DataSource  was deleted again because the referenced source system does not exist and no mapping is defined in table RSLOGSYSMAP on an existing productive source system.
    Procedure
    Create the referenced source system in the Data Warehousing Workbench or define mapping to a known source system in table RSLOGSYSMAP.
    You get to maintenance using Tools -> Conversion of the logical system names.
    ============
    I have checked at the table RSLOGSYSMAP and all source system mappings are in order.
    And the weird thing is, upon checking the PC itself in the transport-to box, I can activate it without any error.
    FYI, we are currently upgrading to BI Accelerator. Am not sure if this could be one of the reasons.
    Any inputs and tips are highly appreciated and will be rewarded with points accordingly.
    Thanks

    Hi,
    This error is due to the fact that the
    mapping table for the after import (RSLOGSYSMAP) is not correct maintained in PB7 system.
    You need to maintain table RSLOGSYSMAP in each system
    You can find the steps to do it in the attached note 127326:
    o  Maintain table 'RSLOGSYSMAP' in the target BW with view
       'V_RSLOGSYSMAP' and enter as 'original source system' the logical name of the source system in the source BW and as 'target source system' the logical name of the source system in the target BW.
       This maintenance is required since it allows the correct source system reference of the InfoSources to be transported.
    This source system reference in turn is absolutely necessary to activate the transfer structure.
       Example:
       Source BW with source system AAA.
       Target BW with source system BBB where the source system AAA
       corresponds to the source system BBB.
       Entry in RSLOGSYSMAP in the target BW:
       Original source system: AAA, target source system: BBB.
       Give the DDIC user in the source BW in client 000 the
       authorization profile S_RS_ALL to create BW objects.
    Cheers
    Rajesh

  • Process chain - Two source system issue

    Hi Experts,
    I face problem when i transport a process chain from BW DEV to Quality.
    I have two source systems in Quality ECI and EXS.EXS is a sandbox server(Source system) which we no longer use.
    When i transport the process chain from DEV to QA, i get two DTP's automatically added to Process chain in quality for two source systems ECI and EXS whereas i do not want the data to be loaded from EXS client.
    I checked the BW dev system, it has only one DTP in the process chain.
    Now I want to elminate the other DTP in the process chain in quality.
    Please suggest.
    Regards,
    Srini

    I Dont think so a DTP for EXS system has got created automatically when you transport the PC to QA (which actually doesn't exist in DEV).
    Please check you DEV system once again, there might a DTP from EXS system also.. other wise go the Release TR and then check the contents-->iif you find two DTP's there then it is there in the dev system..
    Any ways if you want to delete the other DTP from the PC in QA.. you can Delete it directly from the PC itself.. Goto change mode of the PC and then select the DTP which you want to delete-->then right click and hten Click on Remove Process -->then activate the PC..
    Note: You might have authorization to edit the PC in QA then only you will be able to do the changes..

  • How to start a Failed job in Source System?

    Dear Experts,
    I have a job running daily in the source system was cancelled at the step 10. Since it is successfull upto step 9 I would like to run the job from the step 10 onwards. The cancelled job details are given below -
    Step 010 started (program XXXX, variant YYYYY, user name UUU)
    ABAP/4 processor: YER_RSQL_SQL_ERROR
    Job cancelled
    Can any one respond to this with proper solution?
    Thanks in Advance,
    Raj

    Dear Sam,
    Thanks for your approach. Its not a single program but a set of programs listed like steps. Doing manually would be good proctice becuase I have more no. of programs from the program which is actually cancelled.
    Now you can add comments to my explanation.
    Thanks,

  • Start Routine to populate the Logical Source System

    Hi Friends please help me with the below
    1. <b>Requirement</b> : to Populate The system Date , Source System
    in BI for Each load request.
    <b>
    1 Solution:</b> I thought of writing the Start Routine for this but it is giving me error
    syntax Error: END METHOD MISSING?????
    2. Also I have requirement to populate 0sourcsys source system id, can any body help how to populate that.
    Thanks
    Poonam Roy
    <b>ABAP Code.</b>
    I have the End Method. what more to do.
      METHOD start_routine.
    *=== Segments ===
        FIELD-SYMBOLS:
          <SOURCE_FIELDS>    TYPE tys_SC_1.
        DATA:
          MONITOR_REC     TYPE rstmonitor.
    <b>
    $$ begin of routine - insert your code only below this line        -</b>
    ... "insert your code here
    <b>
    FORM STARTROUTINE
    USING G_S_MINFO TYPE RSSM_S_MINFO
    CHANGING DATAPAK type TRANSTRU
    ABORT LIKE SY-SUBRC.
    DATA: ZLOAD_DAT LIKE SY-DATUM
    ZZSOURSYS TYPE RSLOGSYS
    IF G_S_MINFO-DATAPAKID=1
    SOURCE_FIELDS-ZLOAD_DAT = SY-DATE.
    SOURCE_FIELDS-ZZSOURSYS = G_S_MINFO-LOGSYS.
    ENDIF.
    ABORT = 0.
    ENDFORM.
    ENDMETHOD.
    ENDCLASS</b>.
    *--  fill table "MONITOR" with values of structure "MONITOR_REC"
    *-   to make monitor entries
    ... "to cancel the update process
       raise exception type CX_RSROUT_ABORT.
    $$ end of routine - insert your code only before this line         -
      ENDMETHOD.

    Hi,
    Check whether the formula is useful here than Routine. Because you can see the Sy-datum , source system( I Guess) fields as avaialable formula elements .
    With rgds,
    Anil Kumar Sharma .P

  • Extraction Problem - DataSource is not defined in the source system

    Hi,
    I am loading transaction data into sales cubes, while loading in process chain it shows "No Data"
    so when i go in rsa3 extration for checking availibilty of data.
    The following message shows,
    DataSource 2LIS_12_VCHDR is not defined in the source system.
    In LBWE first it was shown Inactive then i make it active.
    So, what is the procedure to defined this data source to the source system.
    Thanks & Reagards,
    SD.

    Hi All,
    Thanks for ur reply.
    But i can not found the datasource in RSA5, can anyone explain how to find the datasource in RSA5?
    Datasource name : 2LIS_12_VCHDR , Cube Name : 0SD_C03
    and how to activate in RSA5 ? & after activation how can migrate the same datasource in r3 side by replication?
    Also the procedure to fill up the setup tables and then do the loading from r3side by thorugh infopackage...
    Thanks & Regards,
    SD

  • Unable  to kill or cancel the job in source system

    Hi gurus,
       got a error , while loading delta for line item ods in AR.
      stating as the job is not ended in the source system.'
      i find the job in the source system and it is active.
       i tried to kill that job from sm37, its not happening,
    and tried to cancel from sm50 even its not happening.
    kindly suggest how to cancel or kill that job.
    its urgent plz.
    pramod

    Hi,
            Check If u r system is running on more than 1 server...kill your job with proper appropriate server in tcode SM51.And also after killing the job come to SM37 check that particular job, nd on top menubar,u will 'check job status'.Then do refresh.
    Hope this helpful to you.
    Regards,
    Praveena.

  • Errors in R3load processes during Copy Source System ERP 2005

    Hello,
    I'm executing the Copy Source from an ERP 2005 SR2 nounicode system. In windows2003 32 bits.
    During R3load processes I have the follow error for all packages.
    I used the users "administrator" and <SID>adm, and in both the error is the same:
    F:\usr\sap\QAS\SYS\exe\run\R3load.exe: START OF LOG: 20091214170332
    F:\usr\sap\QAS\SYS\exe\run\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#20 $ SAP
    F:\usr\sap\QAS\SYS\exe\run\R3load.exe: version R7.00/V1.4
    Compiled Aug 24 2009 02:22:21
    F:\usr\sap\QAS\SYS\exe\run\R3load.exe -ctf E X:\EXP_QAS\ABAP\DATA\SAPAPPL1_77.STR X:\EXP_QAS\ABAP\DB\DDLORA.TPL SAPAPPL1_77.TSK ORA -l SAPAPPL1_77.log
    F:\usr\sap\QAS\SYS\exe\run\R3load.exe: job completed
    F:\usr\sap\QAS\SYS\exe\run\R3load.exe: END OF LOG: 20091214170332
    F:\usr\sap\QAS\SYS\exe\run\R3load.exe: START OF LOG: 20091214170332
    F:\usr\sap\QAS\SYS\exe\run\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#20 $ SAP
    F:\usr\sap\QAS\SYS\exe\run\R3load.exe: version R7.00/V1.4
    Compiled Aug 24 2009 02:22:21
    F:\usr\sap\QAS\SYS\exe\run\R3load.exe -e SAPAPPL1_77.cmd -l SAPAPPL1_77.log -stop_on_error
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): US7ASCII
    (DB) INFO: Export without hintfile
    Alternate NameTab for type "BAPIPAREX_HELP" was missing and has been simulated.
    Tab field CUEX-[9] has type DDic:168 ABAP:9
    (SYSLOG) INFO: k CQ9 : CUEX&DDic:168&ABAP:9&field:9&                        rscpgdio 41
    Tab field CUKN-[7] has type DDic:168 ABAP:9
    (SYSLOG) INFO: k CQ9 : CUKN&DDic:168&ABAP:9&field:7&                        rscpgdio 41
    Tab field CURSCOD-[5] has type DDic:168 ABAP:9
    (SYSLOG) INFO: k CQ9 : CURSCOD&DDic:168&ABAP:9&field:5&                     rscpgdio 41
    Tab field EDID2-[7] has type DDic:168 ABAP:9
    (SYSLOG) INFO: k CQ9 : EDID2&DDic:168&ABAP:9&field:7&                       rscpgdio 41
    Tab field EDID4-[7] has type DDic:168 ABAP:9
    (SYSLOG) INFO: k CQ9 : EDID4&DDic:168&ABAP:9&field:7&                       rscpgdio 41
    Tab field EDIDD_OLD-[6] has type DDic:168 ABAP:9
    (SYSLOG) INFO: k CQ9 : EDIDD_OLD&DDic:168&ABAP:9&field:6&                   rscpgdio 41
    Alternate NameTab for type "T52C5" was missing and has been simulated.
    Tab field TPRI_PAR-[13] has type DDic:172 ABAP:8
    (SYSLOG) INFO: k CQ9 : TPRI_PAR&DDic:172&ABAP:8&field:13&                   rscpgdio 41
    (GSI) INFO: dbname   = "QAS20061101081107                                                                                "
    (GSI) INFO: vname    = "ORACLE                          "
    (GSI) INFO: hostname = "LDCTES15                                                        "
    (GSI) INFO: sysname  = "Windows NT"
    (GSI) INFO: nodename = "LDCTES15"
    (GSI) INFO: release  = "5.2"
    (GSI) INFO: version  = "3790 Service Pack 1"
    (GSI) INFO: machine  = "4x Intel 801586 (Mod 33 Step 2)"
    (BEK) ERROR: SAPSYSTEMNAME not in environment
    F:\usr\sap\QAS\SYS\exe\run\R3load.exe: job finished with 1 error(s)
    F:\usr\sap\QAS\SYS\exe\run\R3load.exe: END OF LOG: 20091214170332
    Best regards, Alberto.

    > (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): US7ASCII
    First I'd suggest you switch the database codepage to a supported one:
    Note 102402 - Changing the database character set
    > Tab field CUEX-[9] has type DDic:168 ABAP:9
    > (SYSLOG) INFO: k CQ9 : CUEX&DDic:168&ABAP:9&field:9&                        rscpgdio 41
    > Tab field CUKN-[7] has type DDic:168 ABAP:9
    > (SYSLOG) INFO: k CQ9 : CUKN&DDic:168&ABAP:9&field:7&                        rscpgdio 41
    > Tab field CURSCOD-[5] has type DDic:168 ABAP:9
    > (SYSLOG) INFO: k CQ9 : CURSCOD&DDic:168&ABAP:9&field:5&                     rscpgdio 41
    > Tab field EDID2-[7] has type DDic:168 ABAP:9
    > (SYSLOG) INFO: k CQ9 : EDID2&DDic:168&ABAP:9&field:7&                       rscpgdio 41
    > Tab field EDID4-[7] has type DDic:168 ABAP:9
    > (SYSLOG) INFO: k CQ9 : EDID4&DDic:168&ABAP:9&field:7&                       rscpgdio 41
    > Tab field EDIDD_OLD-[6] has type DDic:168 ABAP:9
    > (SYSLOG) INFO: k CQ9 : EDIDD_OLD&DDic:168&ABAP:9&field:6&                   rscpgdio 41
    > Alternate NameTab for type "T52C5" was missing and has been simulated.
    > Tab field TPRI_PAR-[13] has type DDic:172 ABAP:8
    > (SYSLOG) INFO: k CQ9 : TPRI_PAR&DDic:172&ABAP:8&field:13&                   rscpgdio 41
    I'd execute a DDIC vs. database check in DB02OLD.
    > (BEK) ERROR: SAPSYSTEMNAME not in environment
    Is that variable set for <sid>adm?
    Markus

  • Hold extraction job in source system

    Hi All,
    Is there a way to hold a an extraction job in R/3. We would like to force an idoc to unprocess status (64) in R/3. Please let me know if there is a way to do this.
    Thanks a ton!

    Hi,
         if you can not find any reason in sm21, st22, rsa3. then try as below:
        1. replicate the datasource;
        2. activate transfer rule;
        3. quit workbench
        4. entry workbench
        5. create a new data package
        6. load data with the new data package again;
    hope you good luck;

  • After transporting I get error "source system does not exist"

    Hello all,
    I have transported my objetcs to BW quality system and transported the data sources to r/3 quality and everything went fine. But now when I am trying to go through everything my update rules are inactive and when I get to infosource it gives me this error
    "Source system ERJ100 does not exist."
    Is there any importamnt step that I am missing why are the objects not recognizing the source system?
    Thanks,

    hi,
    check the system mapping in rsal tools system mapping tab as lilly mention. check if the mapping is defined correct. see the link below
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e883de94-0501-0010-7d95-de5ffa503a86
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3010ba90-0201-0010-2896-e58547c6757e
    Might help
    Thank you
    Qandeel

  • OGG Extract process hang

    When the OGG start to replicate data, occasionally, the EXTRACT process in the source system will be hanging and cannot start the replication process. But cannot find any error message in the ogg log.
    Anyone encounter this issue?

    The triggering issue looks to be the following:
    2013-08-20 22:00:20  ERROR   OGG-01028  Oracle GoldenGate Capture for Oracle, ebiz1.prm:  Object with object number 66136 is compressed. Table compression is not supported.
    What version of GoldenGate are you running? There are a couple of possible causes for this error:
    - You are running classic Extract and have compressed tables specified in the Extract. We only support compressed tables with Integrated Extract. Here is a note discussing this.
    Oracle GoldenGate: Compressed tables are not supported until OGG v11.2.x Integrated Extract. (Doc ID 1266389.1)
    - The table in question is being created and dropped dynamically. See this note:
    Extract abending with Table Compression Is Not Supported, although the database doesn't have any compressed tables. (Doc ID 1510691.1)
    Take a look at these notes, and if this does not resolve your issue, let us know if we can help further.
    Best regards,
    Marie

Maybe you are looking for

  • New Ipod Not Responding To Computer

    First of all, this is one of the original Nanos. 2 GB White. The computer, nor the ipod is responding when I plug it into the USB port on the lap-top. The Ipod won't even turn on at all but the black apple logo was on for a few minutes. Please Help!

  • Error Network Requirement on WIN XP PRO SP2

    I'm trying to install Oracle10g 10.2.0.1 on a Windows XP sp2 but I receive always the same error. When the software check the system i receive an advertisement on the network configuration that suggest me to create a loopback adapter as a primary ada

  • Asset to get the assets in which useful life was chnged.

    Which Asset table will capture the changes made to the asset useful life in the asset master data.I mean i should be able to get assets in which the useful life was changed in any speciied period.

  • Splitting of Depreciation  Amt

    Hi SAP Experts. My client wants to split depreciation amount of one asset in form of percentage or amount wise to two cost centers. For Eg One Asset is used by two departments, after executing AFAB,  Entry hits one cost center as we can assin only on

  • What is the purpose  of Date From and Date To In Oracle HRMS ?

    hi I have doubt on What is the purpose of Date From and Date To In Oracle HRMS? Thanks