Run/Schedule HANA Procedure via Process Chain or Similar - BW on HANA

Hello Experts,
We have BW 7.4 on HANA database(rev 74). We are working on mixed scenario approach.
We have few of the stored procedure in HANA. We want to schedule it.
Is there any way to schedule it via BW process chain or any similar thing?
Thanks in advance.
Regards
Rakesh

Hi Rakesh,
there is already a nice blog post which describes one way to integrate your stored procedures in a process chain: How to schedule SAP HANA procedures by using SAP BW Process Chains
As Lars said. If you do not need the process chain integration you can use the XS Jobs: Scheduling XS Jobs - SAP HANA Developer Guide for SAP HANA Studio - SAP Library
Best regards,
Florian

Similar Messages

  • Process Type ABAP does not work properly via process chain

    Dear SDNers
    I am running a process chain and it contains process type ABAP program. ABAP program was running correctly till now via this process chain. ABAP program process type generally takes approximately 2 hours to run. But now, this process type for ABAP program just run for less than 1 minute and finishes successfully. The issue is that ABAP program does not run at all.
    I ran the ABAP program in background and it took approximately 2 hours to run. ABAP Program is local means in our BW system and does not involve Remote Function call. We have BI7.0 system
    Has some one came across this type of issue?
    Best Regards
    Pradip

    Has the aleremote user or which ever user you have defined for background scheduling changed permissions recently?
    What happens if you create an adhoc chain and include this ABAP variant, does it run then?
    What does the log say in SM37 when run via process chain?
    Cheers
    Craig

  • Loading master data via process chain

    hi experts,
    I have to load data in infoObject via process chain, my infopackage has update mode as full update. Now my question is do I have to delete the previously added data from infoObject and then run this full update infopackage in process chain or system will only fetch the newly added records from source.
    regards,
    ray

    You can not delete the data from master data once the transcational data is posted against the master data value. Attribute value can be deleted, but you can not delete the value of the main characteristics from master data table.
    Moreover, you dont need to delete the data when loading master data. Master data always overwritten with the new reocrds.
    As described, first load the full load and then on daily basis you can load the delta.
    DO NOT FOGET TO SCHEDULE ATTRIBUTE CHANGE RUN to activate the newly loaded data into master data.
    Make sure that your master data is not enhanced, otherwise any change in the enhanced field will not generate delta record. If this is the case, then load in full mode everyday.
    - Danny

  • UTF-8 file via process chain doesn't load

    Hello all!
    I've a big problem. I try to load a UTF-8 file via process chain. I have a script which generate the correct name and the process chain will load the file daily. The file format is UTF-8. I've created a info package with the adapter OPEN_DS load text type file from application server and the character set is 4110 (Unicode UTF-8) but it doesn't work. I try it directly - not via routine - and it works perfect but I can't load with the adapter GUI-UPLOAD load text type file from local workstation via process chain.
    I switched the code page back to 1100 sap internal ISO 8859-1 but with this settings I have a lot strange chars in my texts. Any solutions?
    Regards, Thomas

    Hi,
    no solution?
    Regards, Thomas

  • Delete older data via process chain

    Business needs only data for the past 45 days at any given time and the data loads are daily basis via process chain.
    so I would like to have a step in Process chain to delete any data older than 30 days from today's date , on a daily basis.
    How can I do that in the Process chain?

    Hi,
    You can use a process type called Delete overlapping request from Infocube in process chain. To delete requests older than 30 days select Deletion selections and write ABAP routine under Request selection through routine using following template.
    Routines for determining the old requests to be deleted after successfully loading a new request.
    form compute_<InfoCube-Name>
      tables l_t_request_to_delete structure rsreqdelstruc
      using l_request like rsreqdone-rnr
      changing p_subrc like sy-subrc.
    *Insert Source Code to decide if requests should be deleted.
    *All Requests in table l_t_request_to_delete will be deleted
    *from Infocube <InfoCube-Name>.
    *Add new requests if you want to delete more (from this cube).
    *Remove requests you did not want to be deleted.
    $$ begin of routine - insert your code only below this line-
         loop at l_t_request_to_delete.
         endloop.
         clear p_subrc.
    $$ end of routine - insert your code only before this line-
    ENDFORM.
    hope it helps...
    regards,
    Raju

  • Error related to scheduling of dependencies in process chain

    Hi gurus,
    2 process chain is dependent on the 1 process chain,unfortunately i was scheduled the 2 pc before the end of 1 pc.
    after a while i was realiased that 1 pc was still running,immediately i killed the job related to 2 pc(that job is  DELETE INDEXES )
    finally i was rescheduled the 2 process chain after the completion of 1 process chain.
    1 & 2 are finished successfully.
    thx
    mahi  &naren
    because of this ,is there any problem to database (production server )

    Mahesh,
       every body will cancel jobs. It won't problem. may be you are thinking in that process is DELETE INDEXES point of view, this won't be problem. create the indexes again. after the load check DB02 for missing indexes.
    check the data consistency for the load(no duplicate recrods).
    All the best.
    Regards,
    Nagesh Ganisetti.

  • Trying to call HANA procedure via ABAP

    Hi everyone,
       I am using ABAP in Eclipse in order to call a HANA procedure within a BPC process chain. While referring to an SCN blog written by Baris Cekic, I have put together a working ABAP Class. This works as my proxy to a functioning HANA stored procedure. My issue is with the ABAP program I am using for the process chain. I believe that I'm passing my input parameter using the wrong format. Please bear with me, as I am not an ABAP programmer! Any help would be much appreciated! Please take a look at the screenshots. Thanks!
    ABAP CLASS - ZCL_BPC_AMDP:
    HANA PROCEDURE - ZPROC_BPC_AMDP:
    ABAP PROGRAM - ZBW_BPC_AMDP:
    This is my issue!! -----> INPUT of SP Name: (I've tried with and without the schema):
    ABAP PROGRAM ERROR:

    Hi Anand,
    you should preferentially use "NVARCHAR" instead of the non-unicode derivate "VARCHAR". As ABAP supports both unicode and non-unicode systems, we only allow the mapping of Strings/character literals from ABAP to NVARCHAR variables in HANA in all ABAP on HANA systems.
    Please find an example of a _SYS_BIC procedure in an AMDP in class CL_EPM_OIA_SIMP_BP_CLSF_AMDPDT (method AMDP_GET_BP_CLASSIFICATION). Should be available in your system.
    And you can additionally try to execute the call you put into the AMDP directly in the HANA SQL console.
    Cheers,
      Jasmin

  • How to delete masterdata via process-chain

    Hi Specialists,
    I need to delete masterdata which is not used in any cube/osd on a daily base.
    But I cannot find a possibility to do that via the process-chain. There seems only to
    be the option to delete the content of cubes and ods-object, but not of info-objects.
    Could you please gimme some hint?!
    Best regards,
      Marco

    Use function module RSDMD_DEL_MASTER_DATA  in a ABAP program.. then schedule it in process chain..
    Cheers,
    DK
    Giving points is another way to say thanks )

  • APD runs longer time in the process chain

    Hi, i have a query created in 3.5 query designer and created a variant in RSRT.
    The query running fine from BEX analyzer as well as from RSRT. But when i include the APD in my process chain (as pocess type apd not as an abap program), it takes a lot time to run. I means hours to run, whereas it runs less than a minute in my Analyzer or RSRT or RSANWB.
    Any solution? Do we need to run APD via ABAP program only?

    Hi Lakshmi
    There is no process type available in BI system to execute automatically.
    so you has to use ABAP Program to run it
    Steps to be followed :
    1. Create the APD with t-code RSANWB.
    2. Standard program name is RSAN_PROCESS_EXECUTE.
    3. The program RSAN_PROCESS_EXECUTE is use to execute the APD (Analysis Process) in different actions.
    Thanks & Regards ,
    Vishall

  • Which scheduled job to which process chain on SM37

    Hi all ,
    I'm checking scheduled jobs on SM37 screen. I see many BI_PROCESS_TRIGGER jobs scheduled and realesed . But I don't know  which process chain is the owner of these jobs. Does anyone knows how to check whic job belongs to which process chain ?
    Thanks in advance

    Hi,
    By using BI_PROCESS_TRIGGER job we can find the chain name..
    Below is the procedure..
    1.Double click on the job BI_PROCESS_TRIGGER
    2.Then goto "STEP"
    3. In "STEP"---goto 'GOTO' tab in the MENU....select "maiatain variants"
    Then it will take to SE38 screen---Click the DISPLAY
    It will give the Chain name and all the details.
    If u have any doubts plz let me know...
    i think this will clear...
    Mohan

  • BI IP Executing planning sequence via process chain not possible

    Hi,
    we use BI IP and have defined a process chain (RSPC) with value type process planning sequence. When we execute it, we get error message
    "Inconsistent input parameter (parameter: <unknown>, value <unknown>)"
    When we execute this planning sequence via the modeller or via SE38 RSPLS_PLSEQ_EXECUTE everything works fine. I thougt the cause could be the user of the job itself (job is executed with different user, and variant of planning sequence is user-dependent!), but I changed the user in the job itself as well without results.
    any thoughts?
    regards
    D
    null

    Hi,
    I executed with my user and have a SAP_ALL authorization. Perhaps it could be because we use authorisation with the old method (4.0) (-> I'm not sure on this). I also think it has to do with authorization. I'll check this out with our authorization consultant.
    D

  • Urgent : Download file from Application Server via Process Chain.

    Hi Experts,
    My requirement is to download the file from Application Server to local work station using an ABAP Program .
    I want including the above ABAP program in a process chain to execute  the program daily,
    I tried to use ARCHIVFILE_SERVER_TO_CLIENT and GUI_DOWNLOAD but unfortunately both the above FM doesn't support to run through Process chain.
    Can any one of you help me to send the code which selects a file from application server, downloads to local system and deletes it.
    Thank you very much for spending your precious time in this regard.

    Hi Sailekha,
    Regarding your case ..
    I suggest you to create the program where it run this function: WS_DOWNLOAD.
    After it, the program is run by your process chain.
    Hopefully it can help you a lot.
    Regards,
    Niel.
    thanks for the points you choose to assign.

  • How to run multiple packages in one process chain

    Hi,
    we want to run a script logic with badi, followed by a standard move function. The BADI will perform a check and generate an error. If no error occurs, the move can continue ...
    We created our own process chain, which is in fact the combination of a script logic and a move. The data package has underlaying syntax.
    Problem is that the data package does not trigger the process chain ... Nothing happens when running it. When checking the status, nothing gets in here ... We assigned the correct process chain and get message a postivie message when running the package... Is this not possible?
    PROMPT(COPYMOVEINPUT,%SELECTION%,%TOSELECTION%,"Selecteer de gegevens waarvoor een omboeking dient te gebeuren","%CATEGORY_DIM%,%ENTITY_DIM%,PRODUCTIEHUIS,PRODUCTIEWIJZE,NET,KWADRANT")
    INFO(%TEMPNO1%,%INCREASENO%)
    INFO(%ACTNO%,%INCREASENO%)
    INFO(%EQU%,=)
    INFO(%TAB%,;)
    TASK(ZBPC_RUN_LOGIC,TAB,%TAB%)
    TASK(ZBPC_RUN_LOGIC,EQU,%EQU%)
    TASK(ZBPC_RUN_LOGIC,SUSER,%USER%)
    TASK(ZBPC_RUN_LOGIC,SAPPSET,%APPSET%)
    TASK(ZBPC_RUN_LOGIC,SAPP,%APP%)
    TASK(ZBPC_RUN_LOGIC,SELECTION,%SELECTION%)
    TASK(ZBPC_RUN_LOGIC,LOGICFILENAME,STOCK.LGF)
    TASK(/CPMB/CM_CONVERT,OUTPUTNO,%TEMPNO1%)
    TASK(/CPMB/CM_CONVERT,ACT_FILE_NO,%ACTNO%)
    TASK(/CPMB/CM_CONVERT,SAPPSET,%APPSET%)
    TASK(/CPMB/CM_CONVERT,SAPP,%APP%)
    TASK(/CPMB/CM_CONVERT,SELECTION,%SELECTION%)
    TASK(/CPMB/CM_CONVERT,TOSELECTION,%TOSELECTION%)
    TASK(/CPMB/CM_CONVERT,CLEARDATA,0)
    TASK(/CPMB/CLEAR_SOURCE_CUBE,CHECKLCK,1)
    TASK(/CPMB/CLEAR_SOURCE_CUBE,SELECTION,%TOSELECTION%)
    TASK(/CPMB/APPEND_LOAD,INPUTNO,%TEMPNO1%)
    TASK(/CPMB/APPEND_LOAD,ACT_FILE_NO,%ACTNO%)
    TASK(/CPMB/APPEND_LOAD,RUNLOGIC,%RUNLOGIC%)
    TASK(/CPMB/APPEND_LOAD,CHECKLCK,1)
    TASK(/CPMB/APPEND_LOAD,CLEARDATA,0)
    TASK(/CPMB/CLEAR_CUBE,CHECKLCK,1)
    TASK(/CPMB/CLEAR_CUBE,ACT_FILE_NO,%ACTNO%)
    TASK(/CPMB/CLEAR_CUBE,SELECTION,%SELECTION%)

    Hi Sheldon,
    we never have issues when we combine standard objects, like a cliear with a load inforprovider, or the master data integration you mentioned in your document. However, from the moment we combine a script logic with a standard package (like a move) it does not work .The data package contains the task needed for the script and for the move. the process chain is called up but always comes in error in the first step (BPC modify dynamically ) ... there is also no log when checking the view status ...
    I can sent you some screenshots if you like ...
    D

  • Can you run a Query in a Process Chain?

    As part of a data validation process chain, I need to run a query and send the results by email.  I've created the query (with the exception) and set it up in information broadcaster to be sent by email.  I thought that I would be able to just drop in the "Exception Reporting" process into the process chain and be able to select the query to run.  Needless to say, it don't work that way.
    If anyone has ran a query in a process chain, please let me know how you did it?
    Also if someone knows how the "Exception Reporting" process in RSPC works, please share?
    Thanks

    Patel, we may be able to rethink our approach and use the event data change that was mentioned in the document you sent.
    I was hoping to be able to do everything from within a process chain.  Does anyone know how to use the "Exception Reporting" process that is available in RSPC?  Is it a leftover from the 3.X days that can't really be used in 7.0?

  • Require Q1 2012 data via Process chain

    Hi ,
    I want to trigger a process chain daily which will get only Q1 2012 data.
    Is it possible via sm36 tcode.
    how can i achieve it.
    please suggest.
    Thanks.

    You can give selection at infopackage level.
    1>Either you can use standard variable.
    2>You can write a routine.
    Please find the sample code for previous month load :-
       data: l_month(2) type c,
            l_month_prev(2) type c.
              l_month = sy-datum+4(2).
              l_month_prev = l_month - 01.
            l_t_range-low = l_month_prev.
            l_t_range-high = l_month_prev.
            l_t_range-sign = 'I'.
            l_t_range-option = 'BT'.
                modify l_t_range index l_idx.
    Regards,
    Saveen Kumar

Maybe you are looking for

  • To handle exception in insert query

    Hi , I am trying it insert certain records from another table A to temp table B, while doing insert i am having exception of unique constraint in table B how can i check which record is throwing exception while inserting in table A for eg: insert int

  • WRT54G installation frustrations

    I cannot get this router to work, ipconfig shows correct ip #'s and I cloned the mac address as sharkbyte recommended and did the power re-boot. still unable to connect to internet.  My ISP Comcast Cable says that my modem is working, it is an older

  • Aperture Raw Scanner Input...

    I see that Aperture DOES NOT support VueScan's Raw DNG files. Do you know when we can expect that to change? Thanks, Robert

  • Where should I start learning

    Hello! I am very new to appdev. I am keen to develop in this field. Where should I begin!!! Please advice some beginners guide or pointer. Reg Dhananjey

  • Network traffic by UI tools

    Hello, I'd like to know a network benchmark of SAP GUI and WebDynpro Java, ABAP, and Adobe Interactive Forms. What UI tool is the best from network perspective ? Best regards, Koji