Scripts, Packages and Process Chains

All,
Is the best practice to create each individual process chain for each script logic file or create one and use it for all the scripts? If I execute 2 scripts at the same time, will I encounter any locking issue?
Let's say I have Script1.LGF and Script2.LGF to perform to different activities. If I link it using the same process chain with Run logic, will the Script2.LGF execution file if Script1.LGF executes?
Thanks for your inputs.

Hi,
Yes I agree. Too many process chains would add to your maintenance. You could have once process chain and modify the dynamic script of each package you create in a such a way that they run the logic assigned to them.
If you are running the packages that are writing the same data region, you would come across concurrency data locks.
You could also check the usage of package links in your case, as you could group the packages to run one after another. (Example: Import the data from a flat file, Run the currency conversion and Run the lite optimizatio etc.) This is just an example, you could have your DM packages in the sequence driven by your business
Thanks

Similar Messages

  • Info Package in Process Chain taking long time

    Dear All,
    Info Package in Process Chain having 0 records is taking 1 hr 5 mins to complete. Time out time is set to 10 mins.
    Does any one of you know the reason why it is happening like this?
    Regards.

    When the info package status turns to green : final message is :
    No data available
    Diagnosis
    The data request was a full update.
    In this case, the corresponding table in the source system does not
    contain any data.
    System Response
    Info IDoc received with status 8.
    Procedure
    Check the data basis in the source system.
    Diagnosis
         The data request was a full update.
         o   In this case, the corresponding tab
                 contain any data.
         o   System Response
                 Info IDoc received with status
                 Procedure
    Check the data basis in the source system.
    Analysis
    ========
    No data available in the source system for this selection
    No further action necessary
    When the status was red, I checked BD87 and SM58 and there were no entries.
    The corresponding job in sm37 took 869 seconds to complete. Below was the job Log.
    Job started
    DATASOURCE = 0CO_PC_02
    Call customer enhancement BW_BTE_CALL_BW204010_E (BTE) with 0 records
    Result of customer enhancement: 0 records
    Call customer enhancement EXIT_SAPLRSAP_001 (CMOD) with 0 records
    Result of customer enhancement: 0 records
    IDOC: Info IDoc 2, IDoc No. 1345319, Duration 00:00:00
    IDoc: Start = 24.10.2011 18:29:54, End = 24.10.2011 18:29:54
    Synchronized transmission of info IDoc 3 (0 parallel tasks)
    IDOC: Info IDoc 3, IDoc No. 1345330, Duration 00:00:00
    IDoc: Start = 24.10.2011 18:44:18, End = 24.10.2011 18:44:18
    Job finished.
    PLease help.
    Regards.

  • Status of Info packages and process changes become yellow after Unicode con

    Dear Friends,
    We have been facing very critical issue in Production system after Unicode conversion.
    Sequences of Details are provided for your reference.
    1.  We suspended all BW loads for 48(2 days) hours before Unicode starts and Handover the BW system to Basis.
    2.  Basis started doing Unicode conversion on BW and they found some standard jobs ( BI_* , Ex: BI_PROCESS_LOADING) which are released status and they assumed that these jobs would run any time so that they suspended all of them but they didnu2019t inform to BW team that they had done. We didnu2019t know that when they did that like pre-Unicode installation, during the Unicode conversion and post Unicode.
    3. Basis handover the system to BW team for Unicode testing (we called five finger testing) and we didnu2019t find any issues in the testing. Again we handover the system to Basis for post installations settings for Unicode and back up things. That time we didnu2019t release any jobs to load data to BW because Basis didnu2019t inform us that we can start loads. 
    4. After post installation is done and basis told us that you can start loads from Monday. Entire Unicode activity had been done on weekend.
    5. Before releasing all BW loads to run regularly, I found the all completed process chains status become yellow and I did further detailed analysis to find why; then found some more strange things those are as follows.
              1. Only info packages in process chains are become yellow and other process variants are fine like activation,
                   DTPu2019s, index and DB stats.
              2. Requests in PSA which were completed successfully are become yellow.
              3. Info packages in the process chains are successfully completed are not updating correct status instead of green it
                  showing yellow because of that other dependent objects are not triggering.
    We all thought that suspension of standard jobs must have been caused the problem.
    How can we change the status of IPs, PSA and process chains automatically?
    We reactivate all PCu2019s and released to run tomorrow.
    Could you please share your thoughts about the issue and help us resolve?
    Thanks in Advance,
    Nageswar.

    Nageswar,
    A couple of questions :
    1. If your previous  PC runs were in yellow status - it would not impact furute PC runs..
    2. If your IPAKs are in yellow - then you might have an issue with deltas happening since the last status would have been shown as incomplete.
    3. Suspension of the standard jobs will not affect the status since the jobs were suspended but not the actual loads i.e the loads were not stopped halfway but only the released jobs were stopped - you might have to schedule the process chains again to get back the old schedule.
    Usually in a Unicode conversion - the data is exported out of the DB and imported back - this might have caused some inconsistency in the database for the RS tables used for the monitors.
    Which version of BW are you in ..?
    were there any errors in the export / import procedure for unicode conversion ?
    As part of testing did you check if loads went through properly ..?
    Was stats run on the tables after unicode ?
    Also if possible regenerate all the indices on the files.
    Rerun stats and indices for all RS* tables

  • Info Package in Process Chain - Performance Issue

    Dear All,
    We have some Info Package in Process Chain which when triggered initially turns red, then again yellow, after sometime red/green. These status keeps changing and finally results in green status. These infopackage takes 15-30 mins to complete.
    And the info package error message shows "Processing time overdue". The chain runs daily and this issue also occurs on a daily basis.
    Does anyone one of you have an idea of how to deal with this performance issue?
    Regards.

    Hi
    As you said--
    "initially time out time was set to 10 mins, so it was turning red at 10 mins. Later i changed it to 30 mins, then it is turning red at 30 mins, this info package takes maximum 20 mins to complete.
    thatsy i asked whether there will be any problem if we remove this time out time."
    I guess, its not mandatory to include the timeout value. Just try to execute the IP without entering the timeout value.
    It should work.
    Let me know if this helps.
    Regards
    SaiPrasad

  • Triggering Process chain based on execution of R3 job and Process Chain

    Hi All,
    I need your help in arriving at a solution for a reqirement.
    Scenario is., I need to trigger a process chain B based on successful execution of Process chain A and an R3 job. If both conditions(Completion of R3 job and Process Chain A) are met then only it has to trigger process Chain B.
    I know that we can use events to trigger a process chain using R3 job.But my case is differenet I need to consider the success message from both process chain and R3 job.Is there any way to solve it ?
    Please provide me with your valuable inputs.
    Thanks,
    Bindu

    Hi Hima,
    You can use the  'AND' variant for both, If both are success then trigger the process chain.
    Regards,
    Ravi Kanth
    Edited by: Ravi kanth on Apr 30, 2009 3:36 PM

  • Back ground processes, dialogue processes and Process chains

    Hai all,
               I am going through making process chains and I am struck with one thing:
    "How many background process chains and dialogue processes you have during run time"
    This is the problem. I understood everything else except this.The concept says that I have to know what is the capacity of the system, how many background and dialogue processes it could accomodate, how many are left and how many you can use for your process chain.How do we find out this? and could somebody please explain me or refer to documentation about the Back ground processes, dialogue processes and Process chains.
    Thanks.

    Hi Visu,
      You can see the number of dialog and background processes by using transaction SM51 and then double clicking on the server (we only have one but it may be different for each). Our BASIS folks take care of the number of processes as well. And, for us we have a schedule that changes the number at a certain time of day because you tend to need more dialog during the day but more batch at night.
      The transaction to look at and change the settings is RZ03. Then use the menu path Edit->Operation Modes you can select either Configuration or Timetable here. Both give information in different ways. I tend to double click around to see what it might tell me.
      I hope this helps a bit,
    Diane

  • What are the practical differences betweens infopackages and process chains

    Hi,
    what are the practical differences betweens infopackages and process chains.
    Thanks,
    cheta.

    Hello BW,
    Hope the following links will give u a clear idea about process chains
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/events/sap-teched-03/using%20process%20chains%20in%20sap%20business%20information%20warehouse
    Business Intelligence Old Forum (Read Only Archive)
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/c08b3baaa59649e10000000a11402f/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8da0cd90-0201-0010-2d9a-abab69f10045
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/19683495-0501-0010-4381-b31db6ece1e9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/36693695-0501-0010-698a-a015c6aac9e1
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9936e790-0201-0010-f185-89d0377639db
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/263de690-0201-0010-bc9f-b65b3e7ba11c
    /people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
    regards,
    Muralidhar Prasad.C

  • Authorizations and Process Chains

    Hi All,
    Can any one help me in learning Authorizations and Process Chains. Could you please send me some real time documents on the following.
    1. How would we get the requirements from the client to create Authorizations? What info will they give us basically to create them?
    2. The same with Process Chains.
    Could someone plese send me the requirements documents(on authorizations and process chains) they get from the client to know it from a real time perspective.
    My email ID: <b>[email protected]</b>
    Many thanx in Advance...
    Best Regards,
    Nimma.

    Hi A.M.S,
    Thanx for ur reply.
    However, I am looking for some real time specifications which we get from client just to know how the requirements will come to us and then the steps to be followed and so on...
    I would be grateful if you could send me some of them.
    Best Regards,
    Nimma.

  • Differences Between Infopackage Groups and Process chains

    Hi All,
    Can anybody explain me what are the differences between Infopackage Groups and Process Chains ? And how process chains are more comfortable

    hi nagarjuna,
    An InfoPackage group is a collection of InfoPackages. In order to summarize data requests which logically belong together from a business point of view, and to therefore simplify the request, you can collect data requests (meaning the InfoPackages) into an InfoPackage Group. You can schedule each of these groups in the scheduler . With the data request the scheduler can access InfoPackage groups directly and thereby request more than one InfoPackage at a time, corresponding to the setting in the InfoPackage group. Thus, you can support InfoPackage groups with the serialization of your data requests.
    While a process chain is a sequence of processes that wait in the background for an event. Some of these processes trigger a separate event that can start other processes in turn. hit this link to know abt PCs:
    http://help.sap.com/saphelp_nw04/helpdata/en/8f/c08b3baaa59649e10000000a11402f/content.htm
    Process chains are more comfortable becoz itz not like infopackages where we have to schedule each pack individually. And in PCs, monitoring is very convenient since u see evrything in a single page.
    regards
    sham'm

  • Data Manager Packeage and Process chain si not working

    Hi All,
    I executed a data manager package which contain a process chain to revaluate the one of my Account dimension meneber Say  "Revenue". I am working on BPC NW 7.0
    steps I followed:
    1. I created a script logic file and created a custom process chain.
        process chain steps:
      a) Start variant
      b) Modify dynamically
      c) Run Logic
      d) Or and Clear BPC tables
    2. This process chain was included in data manager package.
    3. Data manager package was modyfied to include parameters and scipt logic file name.
    4. executed data package
    The issue is " when I execute Data manager Package" I dont get any error but when I View status I dont see any pachage running or completed. If I see Process chain, It is failing at first step of Modify dynamically..no clue?
    Could you please let me know what could be a issue?
    Cheers,
    SAC

    I encounter this problem, Do this Steps:
    I. First,check if your process chain is existing in the Library.
    II.If yes,follow the steps below:
    1. Edata - organize Package - Modify your Package.
    2.Check if you had the correct process chain.
    3.IF yes, Click View package at its right side.
    4.Expand the Task Folder and take note of the Task Name (e.g. ZBPC_PROT_RUN_LOGIC)
    5.click Advance,Compare the task name that you noted in the syntax TASKS
    (e.g. TASK(ZBPC_PROT_CF_RUN_LOGIC,SUSER,%USER%)
    6. It should be the same.
    Running package but not appearing any status happens when the system cannot find your process chain.
    hope this helps,

  • Info package in process chain

    Hi experts,
    I want to create process chain and have created a start process
    variant.Now i want to include info package. I drag and dropped the
    infopackage and tried to give the infopackage name but it is showing
    that there are no infopackages in the bi system.  I clicked on
    create, a  new session of bi system is opened.When i tried to drag
    and drop the other objects like dtp it is showing all the dtps in bi
    system.
    Anyone please explain me how to include info package into a process chain.
    Full points will be assigned.
    Thanks & Regards,
    V N.

    Hi Beekay,
    Thanks for the reply.
    Points assigned.
    Please clarify one more doubt.
    Normally all say that Inventory data loading is different from other data
    loadings. Can i know how and please give me a step by step
    procedure for that. I have the data sources as 2lis_03_bf and
    2lis_03_um.
    Cheers,
    V N.

  • Questions on Multiprovider and Process Chain

    Hai All,
              I have two questions. One on Multiprovider and the other on Process chain.
    1. Multiprovider:
              For example, I have 2 ODSs. ODS1 has Objects ORDER NUMBER, COUNTRY and PRODUCT, ODS2 has objects ORDER NUMBER, DELIVERY STATUS, CREATION DATE.
    Now if I make a multiprovider on ODS1 and ODS2, then as ORDER NUMBER is common in both the ODSs, can I make a report like this:
    ORDER NUMBER - DELIVERY STATUS, CREATION DATE?
             I have a problem here bacuase its not getting those details from the other ODS even though the ORDER NUMBER(value) is same. Am I making nay mistake or is it a system problem.
    I beleive thats how a Multiprovider works.
    2. Process chain:
                    I have an END connector in my process chain that connects 3 processes and lets the following task start only after the success of all the above 3 processes.
    The system is displaying the END connector seperately under each process. But the name and everything else is same. Is this a setting somewhere in the process chain?
    Thank you.

    Hi,
    1. Those fields are in ODS2, you don't need to make a multiprovider.
    2. You mean an AND connector. Maybe you need to refresh the screen. if this doesn't work, delete the three and connectors and insert a new one.
    Hope this helps.
    Regards,
    Diego

  • Delta loading and Process chain BI

    Hi experts,
    Two Issues.
    1)As i am loading FI data into dso through a process chain which includes Start process>Delta infopackage(which gets data upto psa)>Delta dtp-->Datastore activation.
    But infopackage is picking up deltas but DTP is picking up all the previous records plus deltas.
    100 records  -- 1st day throught Intialization of Delta with Data Transfer
    2 delta records  --   2nd day
    But DTP is picking up 102 Records on the 2nd Day, which means it is also  picking the old records as well.
    The DSO must have just 102 records but it is having 202 records.
    2) A process chain in running daily as scheduled , but I rescheduled with new scheduling options without deactivating the Process chain.
    My Question is
    Will the Process chain run for the OLD and the New Schedule or
    Is it going to run for new schedule or old one?
    or
    will I face any Problem because I did not deactivate and made changes to the Change.
    Please help me in this matter.
    Thanks in advance.
    Bhadri.

    First query:
    I believe that u have used FUll update type DTP is instead of the Delta DTP.. Please cross check the Update mode of the DTP once.
    To resolve this issue, delete the total content of the DSO as u have Init and delta loads in PSA. And then using the Delta DTP of the Process chain, load the data. It will extract the total cotent what ever is there in PSA, and later the same DTP will act as the Delta type  and will pick the data from the New request of the PSA.
    Second Query:
    Its always suggested to deschedule the process chain before changing the schedule timings. When ever u do this type of scheduling, just check how many number of JObs available in Schedule mode, if u can see more than one, then delete the older one and keep the new one as it is.
    But I always suggest you to deschedule the process chain and reschedule  PC with the new timings and then activate the same.
    Thanks
    Assign points if this helps

  • Reporting Agent and Process chain

    Hi All,
    We have requirement where every day we need to print some BW reports.
    For this we have created reporting agent. But when we execute reports manually through reporting agent it works fine. But if we include reporting agent in process chain it does not work.
    Is there something which we should take care of when we include reporting agent in Process chain? We are on version 3.1.
    Thanks and Regards,
    Samir Attar

    Check out the following links:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/36693695-0501-0010-698a-a015c6aac9e1
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/19683495-0501-0010-4381-b31db6ece1e9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b0afcd90-0201-0010-b297-9184845346ca
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e0a7cd90-0201-0010-49a1-d730a56895f4
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9936e790-0201-0010-f185-89d0377639db
    Hope it helps.
    Regards

  • BIA and process chain

    Hi Gurus
    Would you please advise the steps I have to follow on BW side to make BIA starts working?
    Can I use process chain to include the functionality of BIA? Also as I know we have to create one Index per cube for BIA. Do we need to fill them manually of when we load cube its going to be filled in automatically?
    Do we need to delete the BIA index and recreate it when we load data to the same cube again?
    Do we need to do some settings on BEx analyser for query which we run to execute through BIA?
    Appreciate your quick reply..Thanks for the help
    Thanks

    1)if you drop the InfoCube the BIA index should be dropped automatically.
    This means you have to re-build the InfoCube BIA index.
    Process type -Initial Activation and Filling of BIA Indexes can be used as of SP-13.
    2)Program - RSDDTREX_AGGREGATES_FILL
    When you execute this step, the system starts a process in the background that reads the data in the tables of the InfoCube star schema from the database and writes them to the corresponding indexes on the BI accelerator server. If the index of a master data table (S/X/Y tables) has already been created and filled by another BI accelerator index, only those records that have been subsequently added have to be indexed (read mode/fill mode "D" during indexing).
    If the aggregate was filled successfully, the status in the "Object Status" column on the Index Info tab page switches to GREEN
    https://forums.sdn.sap.com/click.jspa?searchID=5022975&messageID=3855004
    Hope it Helps
    Chetan
    @CP..

Maybe you are looking for