Creation of Decision in Process Chain to load data to a SPO

Hi,
I have a question regarding adding a Decision type to my Process chain.
I want to load data to a SPO that contains 12 InfoCubes (Jan - Dec) from a DSO, but I do not want to start all 12 DTP's.
Want I am looking for is a way to only start the DTP's that load to the InfoCubes that contain current month, last month and all other data should be loaded to a Infocube (nr 13) that is not a part of the SPO so I would only have 3 DTP's running at the same time and not 13.
E.g. A delta load to the DSO contains 3 records; 1 for 2014.09, 1 for 2014.08 and 1 for 05.2013 triggers the DTP to the January InfoCube, the DTP to the August InfoCube and the DTP to the 13 Infocube.
Is this possible by using a Decision and if so how?
Kind Regards
Steffen

I haven't worked with SPOs yet, but I do work frequently with decisions, so here's my 5 cents...
In your case you wish to have your decision based on the data contained in "a delta load to the DSO". I'm assuming you're talking InfoPackage here, because you wish to execute the DTP's afterwards.
So basically you need to determine which "months" are in your incoming data packages. The only way I see that possible is via start/end routine. In your example, you would look the data package and find 3 records each with a different month, being 08.2014, 09.2014 & 05.2013. You could then "convert" these to just numbers ranging from 1 to 13. That makes it relatively "easy" to link the right DTP to the right "number".
Now, how to pass that info (those numbers) back to the "decision" process? By default you base your formula on a "system" field (see basic how to link below). I don't see how this would work in your case. You'll need to somehow export your "numbers" (most likely an internal table or a "range") to memory (or fill it in a [z-]table) and then read it back in with custom code. I haven't done that yet (at least not in the context of decision steps), but I would recommend to have a look at the "experienced" way of working document below. It won't be easy, but I think it could work.
Cheers,
Raf
The official documentation can be found here.
For a "basic" how to on decision step, click here.
For a more "experienced" way of working, click here.

Similar Messages

  • Process chains for loading data to target is not functioning

    Hi SAPians,
    Recently, we have upgraded the firmware on IBM P590 with the help of IBM on Saturday i.e. 06/12/2008 (The firmware of P5-590 was SF235_209. It was upgraded to SF240_XXX) and since then the process chains for loading data to targets are not functioning properly.  We have stopped all the SAP services, database services & OS services from our end and services have been rebooted after firmware upgrade.
    However, the problem with the process chains that load transaction data and hierarchies is solved but the chains that load master data are still not working as scheduled.
    We tried to load the master data manually, by running DTP to load data to an object analysis code (attributes) the request remained YELLOW. After refreshing it several times, the request turned into RED. The error message was - PROCESSING TERMINATED (screenshot 1 attached).
    To mitigate this we tried deleting the bad request and it prompted with the below message:
    "Cannot lock request DTPR_4C37TCZGDUDX1PXL38LVD9CLJ of table ZANLYSIS for deletion (Message no. RSMPC178)" (screenshot 2 attached)
    Please advise us how the bad request should be deleted?
    Regards,
    Soujanya

    Hi Sowjanya,
    Follow the below procedure to make yellow request to RED:
    Use SE37, to execute the function module RSBM_GUI_CHANGE_USTATE
    From the next screen, for I_REQUID enter that request ID and execute.
    From the next screen, select 'Status Erroneous' radiobutton and continue.
    This Function Module, change the status of request from Green / Yellow to RED.
    Once it is RED, you can manually delete that request...
    Releasing LocK
    Gott Transaction Code SM12 and release the lock.
    Hope It helps you.
    Regardss,
    Nagaraju.V

  • Process Chain which loads data to a cube

    Hi All
    Please help me create a process chain in BI 7.0. I have to load the data in to a cube and before that i need to delete the existing request in the Cube. I think i should use " Delete overlapping requests from Infocube".  In the maintain variant for this process type what object types i need to add. Do i need to add both Execute infopackage and Data transfer process objects.
    Regards
    Naga

    Hi Ravi
    I am loading the data from PSA to Cube using DTP. Actually my data source is export datasource (8ZHYP- prefix 8). So accroding to your answer i should use DTP object type in the process type delete overlapping request. But when i create a variant for that process type it is getting Indexs > Create Index > Data Transfer Process > Request to delete data in the infocube.
    I just want to delete the data in the infocube before i load the data. So can i delete all the remaining processes.
    Regards
    Naga

  • Process chain while loading data into DataStoreObject

    Hai
    Im trying to load the data in DataStoreObject by using the process chain . I build the process chain like below
    Start Process -> InfoPackage -> DataTransferProcess -> Activate DataStoreobject Data .
    When i try to schedule the proces chain then job is going to be cancelled.
    Then i looked in St22 . There i got the error says that <b>MESSAGE_TYPE_X</b> .
    how can i solve this error . Please let me know
    i ll assing the points
    kumar

    Hi,
    try to activate again the ODS, also try to activate manually by executing the following report from SE38:
    RS_TRANSTRU_ACTIVATE_ALL
    Insert just the infosource of the ODS and execute it. After this, replicate the datasource and try again to execute the chain.,
    Rgs
    Antonino

  • How to create process chains for Master Data?

    I need information on " how we can create process Chains for Master Data"

    Hi Sachin,
      http://help.sap.com/saphelp_bw33/helpdata/en/ad/6b023b6069d22ee10000000a11402f/frameset.htm
    and also Modelling aspects in process chains (ppt)
    https://websmp109.sap-ag.de/~sapidb/011000358700002337702003
    Hope this helps.
    Srini

  • Need FM or Tables to see Process Chain scheduled(future) date and time

    Hello Gurus!
             Can anybody tell me where/How i can get the Process Chain scheduled(future) date and time..?
       I mean, I want to see at what date and time is the PC scheduled for tomarrow/next month etc... Like TBTCO-SDLSTRTDT / TBTCO-SDLSTRTTM along with its Process chain name or PC's Start varient?
    I will give the points for all the answers
              Bye.. Happy New Year

    Hi Anil,
    You can check in SM37 by giving the job name.then you can see when that particular chain is scheduled.
    Goto SM37,
    Give Job name = *
           User name = *
    and select job status - ready,scheduled. then F8 (Execute).
    Then you can see which job is schduled at what time and date.
    Regards,
    Lakshman.G

  • Error in Process Chain while loading Master data text?

    Hello All
    Having a Process chain and having 5 infopackages(Master data Attri & text)with FULL LOAD with an processing options as PSA and Infobject.In this one of the infopackage failed and the status is in red colour,and when I right clicked there is no <b>repeat</b> option?Now <b>how to run this process</b>?
    Heard that v can restart the process in debug screen?can anyone let me know how to do this?
    Many Thanks
    balaji

    Hi dear,
    you don't find the repeat option because this is a full load...I think you can easily restart the entire PC (or loading directly the failed infopackage from RSA1), because full loads for master data don't cause any data duplication !
    Hope it helps!
    Bye,
    Roberto

  • Failure of Process Chain while loading master data.

    Hi Guys
    We are using BI 7.0, we have a chain which loads the data to several master data objects having a Write Optimized DSO in between those.
    The steps of the chain is like this when new/delta loads are started loadin first it deletes the all existing WO DSO requestes. starting it was running nice but, now it showing error as follow
    "Process Complete Deletion of Data Target Contents, variant Delete Contents of WriteOptimized Text DSO has status Ended with errors (instance DELC_D2YPRHNFKWTJ27DGHR825IG9V)"
    for your details pls. look below description what job loag shows.
    24.03.2008 23:31:52 Job started
    24.03.2008 23:31:52 Step 001 started (program RSPROCESS, variant &0000000025223, user ID ALEREMOTE)
    24.03.2008 23:31:54 SQL: 24.03.2008 23:31:54 ALEREMOTE
    24.03.2008 23:31:54 TRUNCATE TABLE "/BIC/AZCAGSO0100"
    24.03.2008 23:31:57 SQL-END: 24.03.2008 23:31:57 00:00:03
    24.03.2008 23:31:58 Status transition 8 / 8 to 9 / 9 completed successfully
    24.03.2008 23:31:59 Request DTPR_D2YHDA9WBJZHMZR3RNDP84G27 deleted from PSA; RSREQICODS entry also deleted
    24.03.2008 23:31:59 Request DTPR_D2YHDA9WBJZHMZR3RNDP84G27 not found in IC ZCAGSO01; RSREQICODS also deleted
    24.03.2008 23:31:59 Request DTPR_D2YHDA9WBJZHMZR3RNDP84G27 deleted from PSA; RSREQICODS entry also deleted
    24.03.2008 23:31:59 Overall status 'Deleted' (user ALEREMOTE)
    24.03.2008 23:31:59 Status transition 8 / 8 to 9 / 9 completed successfully
    24.03.2008 23:31:59 Request DTPR_D2YHASHF1RGT3PS7K15O1EC7J deleted from PSA; RSREQICODS entry also deleted
    24.03.2008 23:32:00 Request DTPR_D2YHASHF1RGT3PS7K15O1EC7J not found in IC ZCAGSO01; RSREQICODS also deleted
    24.03.2008 23:32:00 Request DTPR_D2YHASHF1RGT3PS7K15O1EC7J deleted from PSA; RSREQICODS entry also deleted
    24.03.2008 23:32:00 Overall status 'Deleted' (user ALEREMOTE)
    24.03.2008 23:32:00 Status transition 8 / 8 to 9 / 9 completed successfully
    24.03.2008 23:32:00 Request DTPR_D2YHAST7Z9OI47JWNE6XYISEN deleted from PSA; RSREQICODS entry also deleted
    24.03.2008 23:32:00 Request DTPR_D2YHAST7Z9OI47JWNE6XYISEN not found in IC ZCAGSO01; RSREQICODS also deleted
    24.03.2008 23:32:00 Request DTPR_D2YHAST7Z9OI47JWNE6XYISEN deleted from PSA; RSREQICODS entry also deleted
    24.03.2008 23:32:00 Overall status 'Deleted' (user ALEREMOTE)
    24.03.2008 23:32:01 Status transition 8 / 8 to 9 / 9 completed successfully
    24.03.2008 23:32:01 Request DTPR_D2YHASHF1QTQL3ZFXU5A0KG27 deleted from PSA; RSREQICODS entry also deleted
    24.03.2008 23:32:01 Request DTPR_D2YHASHF1QTQL3ZFXU5A0KG27 not found in IC ZCAGSO01; RSREQICODS also deleted
    24.03.2008 23:32:01 Request DTPR_D2YHASHF1QTQL3ZFXU5A0KG27 deleted from PSA; RSREQICODS entry also deleted
    24.03.2008 23:32:01 Overall status 'Deleted' (user ALEREMOTE)
    24.03.2008 23:32:01 Status transition 8 / 8 to 9 / 9 completed successfully
    24.03.2008 23:32:02 Request DTPR_D2YHANE9BAUMXVEZORZKK4W6B deleted from PSA; RSREQICODS entry also deleted
    24.03.2008 23:32:02 Request DTPR_D2YHANE9BAUMXVEZORZKK4W6B not found in IC ZCAGSO01; RSREQICODS also deleted
    24.03.2008 23:32:02 Request DTPR_D2YHANE9BAUMXVEZORZKK4W6B deleted from PSA; RSREQICODS entry also deleted
    24.03.2008 23:32:02 Overall status 'Deleted' (user ALEREMOTE)
    24.03.2008 23:32:02 Status transition 8 / 8 to 9 / 9 completed successfully
    24.03.2008 23:32:02 Request DTPR_D2YHALZE6E7KDH4I6DFWJBHER deleted from PSA; RSREQICODS entry also deleted
    24.03.2008 23:32:02 Request DTPR_D2YHALZE6E7KDH4I6DFWJBHER not found in IC ZCAGSO01; RSREQICODS also deleted
    24.03.2008 23:32:03 Request DTPR_D2YHALZE6E7KDH4I6DFWJBHER deleted from PSA; RSREQICODS entry also deleted
    24.03.2008 23:32:03 Overall status 'Deleted' (user ALEREMOTE)
    24.03.2008 23:32:03 Status transition 8 / 8 to 9 / 9 completed successfully
    24.03.2008 23:32:03 Request DTPR_D2YHAKPLWART6KV46SP2B02JN deleted from PSA; RSREQICODS entry also deleted
    24.03.2008 23:32:03 Request DTPR_D2YHAKPLWART6KV46SP2B02JN not found in IC ZCAGSO01; RSREQICODS also deleted
    24.03.2008 23:32:03 Request DTPR_D2YHAKPLWART6KV46SP2B02JN deleted from PSA; RSREQICODS entry also deleted
    24.03.2008 23:32:03 Overall status 'Deleted' (user ALEREMOTE)
    24.03.2008 23:32:04 Status transition 8 / 8 to 9 / 9 completed successfully
    24.03.2008 23:32:04 Request DTPR_D2YHAKMW13R2CKHMT25HKESIR deleted from PSA; RSREQICODS entry also deleted
    24.03.2008 23:32:04 Request DTPR_D2YHAKMW13R2CKHMT25HKESIR not found in IC ZCAGSO01; RSREQICODS also deleted
    24.03.2008 23:32:04 Request DTPR_D2YHAKMW13R2CKHMT25HKESIR deleted from PSA; RSREQICODS entry also deleted
    24.03.2008 23:32:04 Overall status 'Deleted' (user ALEREMOTE)
    24.03.2008 23:32:04 Status transition 8 / 8 to 9 / 9 completed successfully
    24.03.2008 23:32:04 Request DTPR_D2YHAJ9TA32EPY74YY9P8ATIB deleted from PSA; RSREQICODS entry also deleted
    24.03.2008 23:32:04 Request DTPR_D2YHAJ9TA32EPY74YY9P8ATIB not found in IC ZCAGSO01; RSREQICODS also deleted
    24.03.2008 23:32:05 Request DTPR_D2YHAJ9TA32EPY74YY9P8ATIB deleted from PSA; RSREQICODS entry also deleted
    24.03.2008 23:32:05 Overall status 'Deleted' (user ALEREMOTE)
    24.03.2008 23:32:05 Status transition 8 / 8 to 9 / 9 completed successfully
    24.03.2008 23:32:05 Request DTPR_D2YHAJ9IZ7XK8H1KF0JEH9S6B deleted from PSA; RSREQICODS entry also deleted
    24.03.2008 23:32:05 Request DTPR_D2YHAJ9IZ7XK8H1KF0JEH9S6B not found in IC ZCAGSO01; RSREQICODS also deleted
    24.03.2008 23:32:05 Request DTPR_D2YHAJ9IZ7XK8H1KF0JEH9S6B deleted from PSA; RSREQICODS entry also deleted
    24.03.2008 23:32:05 Overall status 'Deleted' (user ALEREMOTE)
    24.03.2008 23:32:06 Status transition 8 / 8 to 9 / 9 completed successfully
    Hope i can get solutions...
    Points are assigned for right ones..
    thanks inadvance
    peter

    Hi Chetan, thanx for your reply. pls. find the exact error below.
    1. Error while deleting content of InfoCube/DataStore object
        ZDRTSO01
    2. Drop Cube Failed In Data Target ZDRTSO01
    I am not using ECC, its BI to BI load.
    Thanks in advance..
    Peter

  • Index Creation wrong error in process chain

    Hi Experts,
    One of my process chain got failed due to following error:
    "Index creation in Infocube got wrong"
    can anyone help,how to resolve this issue?
    Edited by: Nirav Shah on Dec 21, 2007 7:05 AM

    1)You can even see the INDEX in DB02 t.code
    2)Goto Cube -> Manage -> Performance TAb -> Repair Indices (you can see all the index related statuses hre, like check indexes, repair indexes, you will get the green/red status here if you got green status no worries, if red you can rebuild indexes)
    3) You can read the message from Process logs and you can find out some solve issue from there also
    Edited by: Aduri on Dec 21, 2007 7:10 AM

  • Is a save step neccessary in a Process Chain when loading hierarchies with an ABAP program?

    We are loading hierarchies using the ABAP routine found here in the SDN. 
    We have come accross the issue where the process chain loads successfully, but does not update the hierarchy (this problem is documented in the SDN).  It is not a consistent issue, but it causes problems when it does occur.
    OSS note 652856 points out that a SAVE HIERARCHY step is needed after the load and before the Change Attribute run.
    We have added the step to the process chain, which leads me to the question.
         In using the ABAP program to load hierarchies is the addition of the Save Hierarchy step necessary?
         Will that resolve the issue with hierarchies not updating?

    Hi Bill,
    Yes, SAVE HIERARCHY step is required when hierarchies are loaded as part of process chain. This step ensures that the hierarchy data loaded to BW has been saved. Then we have to run ACR so that these hierarchies will be activated and adjusted.
    This is the reason why even the hierarchy data loaded using infopackage needs this step. This step is not required if the Infopackage is triggered manually.
    This link will help you in better understanding
    http://help.sap.com/saphelp_nw04/helpdata/en/3d/320e3d89195c59e10000000a114084/content.htm
    Regards
    Chandu

  • Generic Process-Chain to load many individual files - How?

    Hello All,
    There is a requirement to extract 5 csv files to a single ODS every week.
    The files are individualy named and can appear all at the same time or spread out over 1 week.
    Current loading practice is to employ 5 process-chains, one for each file. The Process-Chains are very similar except that each calls a different InfoPackage which points to a specific file.
    I would like to be able to perform the load with only 1 process-chain.
    Initialy I though I could achieve this by running a script that renames the source files to genericname.csv for example, and then creating an InfoPackage that uses a logical filename. However, for audit  purposes, the source file names must remain unchanged.
    So, does anyone have any suggestions how to achieve the objective preferably without using OS-level scripting?
    Many thanks,

    Hi,
    There is no simple way to achieve this. You can create a master process chain that has the 5 parallel file CSV load including the DTPs and upstream data loads. You can specify the next steps start irrespective of error (versus only if successful which is default ) inside the process chain. Upon successful data load, delete the CSV file so anytime the PC is run again, its not available. You can create an OS command prompt in side the PC at the end to achieve it.
    So only the file that needs be extracted is available, eg: if csv1 needs be loaded to DSO1, the csv2-csv5 that load to (DSO2-5 or can be the same DSO) will not be available. So the process step1 will be successful, while  the remaining will error, however given that the PC will complete since the next steps aren't dependent on success/failure of each extract.
    Alternately
    If you have external job scheduling agent like Maestro, is to schedule the individual PC (5 pcs as they exist today, each run by the Maestro scheduler) load from there.
    Alternately, if the data is getting loaded from a flat file generated from R/3 or other SAP system, you can trigger the event from RFC which will start the respective process chain.
    Hope it helps.
    Samir

  • Process chain not loaded today and yesterday

    Hello all,
    I scheduled PC daily, but today i realized that PC is not loaded today and yesterday.
    how can i analyze further for missing today and yesterday load.
    Regards,
    Ranga

    Check in sm37 if you process chain was triggered or not. If it was triggered, whether it finished successfully or not.
    If everything looks fine here, go to WE02 in your source system to check if any idocs have failed. If the idocs are posted succussfully, check in sm37 here if you job for dataload got completed succesfully or not.

  • Process chain for loading master data attributes

    Dear Experts,
    Can any one explain the steps needed to load master data into info object through process chain.
    Thanks in advance
    Santhosh
    Please search the forum
    Edited by: Pravender on Jun 8, 2010 3:06 PM

    in bi7 this would be:
    start
    infopackage
    dtp
    attribute change run
    M.

  • Error in Process Chain while extracting data from source system

    Hi All,
    Dail we are facing problem while retrieving the data from source system for the data source 0TB_AMOUNT1 in the process chain, it is giving error "Function module BANK_TMC_API_SIM_GET does not exist Furnction module". when I repeat the step than it is going fine.
    Please let me know why this error is coming for first why it is not coming after repeating the step?
    Thanks & Regards,
    Murali.

    Hi Murali,
    Hope you are doing good..
    Is it a full or Delta load on a daily basis? Did you check if the FM exists in your system?
    Did you try debugging the load in source system and check if the extractor is trying to call FM you mention.
    If possible please post the exact error message you are receiving so that we could get an idea whats the error and why you are encountering it.
    As of now what i can suggest is, go to RSA2 in source system, give the datasource name and check if the extractor code has FM in it.
    Regards,
    Anil Pragada.

  • Process chain - cut-off-date

    Hi guys,
    in the process chain I have to check if today is cut-off-date. If it is the case process should continue if not it should be canceled. How can I do it. At first I wanted to use decision, but I think I should use ABAP in this case.
    Thank you in advance
    Regards
    Erwin

    Hi,
    Just write small ABAP Code and check the Date and then based on that Raise Event, you schedukle this program everyday, so it will check the Date and then it will trigger Event, if condition is not satisfied then EXIT.
    And give this event in Process Chain.
    Check similar kind of thread, but you need to change the logic.
    Re: Stopping one process chain when another is running
    Thanks
    Reddy

Maybe you are looking for