Script to Run a Process Chain

Hi,
Is there any way to run a Process Chain using Script logic or BADI?
Regards,
G.Vijaya Kumar

Yes ,it has to call a process chain ,without which your logic would not get executed.
Itz the case, even with BPC provided FX trans logic. There will be a back end process chain to execute FX trans.
Basically ,process chain just acts a facilitator to run your logic in the BI space
Almost all PCs  are similar with a structutre as shown below
start -> run logic -> end.
Now what logic is run on the second step depends on which .lgf file you are running at the front end.
Check out in txn RSPC > BPC : system for more understanding
Thanks
-sridhar

Similar Messages

  • Error while running the process chain

    Hi, I am getting following error while running the process chain.
    "Lock NOT set for: Deleting the data completely from a data target"
    Please suggest.
    amit

    hi,
    This is due to a lock on the objects which is being used by ur load.
    Even if master data used by this would be in a lock by an attribute change run. wait till that attribute change run finishes and then repeat.
    If this target itself is locked by someother process like rollup , compression , this error would appear. In this case also repeat the step after those locking process finish.
    some general locks during loading:
    Sometimes parallel processing in DTP might lead to this, its better set the DTP and infopackage in serial processing. In this case change the settings and then repeat the process.
    There is a specific case in which the Serial DTP gets locked by itself, in this case repeat it untill it succeeds.
    You can identify the above scenario as below. This is applicable only if the DTPs processing mode is serial.
    if u see in SM 37 this load would have three DTP processes running.
    it should have only two.
    In this case cancel the process and repeat it untill u get it right.
    hope this helps u
    regard,
    ranjith
    Edited by: Ranjith  Kumar Murugesan on Sep 12, 2008 10:44 AM
    Edited by: Ranjith  Kumar Murugesan on Sep 12, 2008 10:46 AM

  • RFC ERROR while running BI Process Chain

    I'm recieving the following error while running certain Process Chains in BI.
    RFC error: FAILED
    RFC Message: FAILED
    The system log in BI shows the following.
    Communication error, CPIC return code 017, SAP return code 672
    672 Logon to Netweaver failed
    Other process chains work correctly via CPS.
    Any Ideas?
    Thanks

    This looks like a BW problem. Do you get the same message when you submit it manually in SAP?

  • ABAP PROGRAM to run a process chain

    Hello all,
    What is the ABAP program to run a process chain after a step that has failed but is manually corrected?
    In short a std ABAP program to run a pc.
    Regards,
    NIKEKAB

    Hi.
    Plz see my answer to similar question in [this thread|Re: Manage a message at the end of process chain on Web planning Application].
    Regards.

  • Problem in Activating Hierarchy Attribute change run through process chain.

    Hi All,
    I have the problem in Hierarchy change run processw running through process chain..and also process chain completes successfully without any error..
    Even hierarchy change run  completes successfully the hierarchy objects are not activating,
    so daily when i have to activate hierarchy objects manually..
    and what i did was in one attributechange run process i have included 10 hierarchy object is it correct or else i have to separatly create 10 attribute change hierachy proceess in the process chain.. pls through some lights on this issue
    With regards,
    Hari

    Hi venkat,
    Yes.. i already include the save hierarchies process in process chain...
    my main problem is hierarchy infobject are not activating  using process chain and also even process chain is not giving error message.. and in which log table the hierarchy objects are maintained (such as run time, date , status etc..).
    IS there is any other settings to be made in process chain..
    with regards,
    hari

  • Authorizations setting for running the process chain

    Hai
    Iam planning to run the process chain for loading the data into ODS. But i dont have authorization for it.
    so what are the authorizations i need to run the process chain in my system. And how can i set all those authorizations to my user-id.  I have all authorization rights .
    Pls let me knw
    kumar

    Hi,
    Authorizations for Process Chains
    Use
    You use authorization checks in process chain maintenance to lock the process chain, and the processes of the chain, against actions by unauthorized users.
    ·        You control whether a user is allowed to perform specific activities.
    ·        You control whether a user is allowed to schedule the processes in a chain.
    The authorization check for the processes in a chain runs when the system performs the check. This takes place upon scheduling or during synchronous execution. The check is performed in display mode. The check is performed for each user that schedules the chain; it is not performed for the user who executes the chain. The user who executes the chain is usually the BI background user. The BI background user automatically has the required authorizations for executing all BI process types. In attribute maintenance for the process chain, you can determine the user who is to execute the process chain.
    See also: Display/Maintenance of Process Chain Attributes ®  Execution User.
    Features
    For the administration processes that are bundled in a process chain, you require authorization for authorization object S_RS_ADMWB.
    To work with process chains, you require authorization for authorization object S_RS_PC. You use this authorization object to determine whether process chains can be displayed, changed or executed, and whether logs can be deleted. You can use the name of the process chain as the basis for the restriction, or restrict authorizations to chains using the application components to which they are assigned.
    Display/Maintain Process Chain Attributes
    Use
    You can display technical attributes, display or create documentation for a process chain, and determine the response of process chains during execution.
    Features
    You can display or maintain the following attributes for a process chain:
    Process Chain ® Attribute ® ...
    Information
    Description
    ( Rename)
    You can change the name of the process chain.
    Display Components
    Display components are the evaluation criterion in the process chain maintenance. Assigning the process chains to display components makes it easier to access the chain you want.
    To create a new display component, choose Assign Display Components in the input help window and assign a technical name and description for the display component in the Display Grouping dialog box that appears.
    Documents
    You can create and display documents for a process chain.
    For more information, see Documents.
    Last Changed By
    Displays the technical attributes of the process chain:
    ·        When it was last changed and who by
    ·        When it was last activated and who by
    ·        Object directory entry
    Evaluation of Process Status
    If you set this indicator, all the incorrect processes in this chain and in the overall status of the run are evaluated as successful; if you have scheduled a successor process upon error or always.
    The indicator is relevant when using metachains: Errors in the processes of the subchains can be evaluated as “unimportant” for the metachain run. The subchain is evaluated as successful, despite errors in such processes of the subchain. If, in the metachain, the successor of the subchain is scheduled upon success, the metachain run continues despite errors in “unimportant” processes of the subchain.
    Mailing and alerting are not affected by this indicator and are still triggered for incorrect processes if they have an upon error successor.
    Polling Indicator
    With this indicator you can control the response of the main process for distributed processes. Distributed processes, such as the load process, are characterized as having different work processes involved in specific tasks.
    With the polling indicator you determine whether the main process needs to be kept until the actual process has ended.
    By selecting the indicator:
    -         A high level of process security is guaranteed, and
    -         External scheduling tools can be provided with the status of the distributed processes.
    However, the system uses more resources; and a background process is required.
    Monitoring
    With the indicator in the dialog box Remove Chain from Automatic Monitoring?, you can specify that a process chain be removed from the automatic monitoring using CCMS.
    By default CCMS switches on the automatic process chain monitoring.
    For more information about the CCMS context Process Chains, see the section BW Monitor in CCMS.
    Alerting
    You can send alerts using alert management when errors occur in a process chain.
    For more information, see Send Alerts for Process Chains.
    Background Server
    You can specify here on which server or server group all of the jobs of a chain are scheduled. If you do not make an entry, the background management distributes the jobs between the available servers.
    Processing Client
    If you use process chains in a client-dependent application, you can determine here in which client the chain is to be used. You can only display, edit, schedule or execute the chain in this client.
    If you do not maintain this attribute, you can display, edit, schedule or execute the process chain in all clients.
    Process variants of type General Services that are contained in a process chain with this attribute set will only be displayed in the specified client.
    This attribute is transported. You can change it by specifying an import client during import. You must create a destination to the client set here in the target system for the import post processing (transaction RSTPRFC)  The chain is activated after import and scheduled, if necessary, in this client.
    Execution User
    In the standard setting a BI background user executes the process chain (BWREMOTE).
    You can change the default setting so that you can see the user that executes the process chain and therefore the processes, in the Job Overview. You can select the current dialog user who schedules the process chain job, or specify a different user.
    The setting is transported.
    The BI background user has all the necessary authorizations to execute all BI process types. Other users must assign themselves these authorizations so that authorization errors do not occur during processing.
    Job Priority
    You use this attribute to set the job priority for all of the jobs in a process chain.
    Hareesh

  • SET CURRENT DEGREE = 1..error when run the process chain..

    Hi Experts,
    when i run the process chain ,  i got the following error..
    SET CURRENT DEGREE = 1..
    what is this error?
    Kindly help ..

    hi,
    As BW reporting queries are often CPU-intensive and geneally executed in parallel.
    Parallel processing is activated dynamically in the SAP BW system for every reporting query CURRENT DEGREE = ANY and itsdefault value is 1.
      you can limit the maximum number of parallel tasks using ZPARM PARAMDEG(maximum number of parallel tasks ) for the no. of parallel processors for its usuage and this should match no. of processors you can get touch with your basis team
    check SAP Note:390016 -DB2/390: BW: Database settings and performance ; in that look at query parallelism it explain about this
    hope it helps
    regards
    laksh

  • How to run change run in process chain when it fails

    HI All,
    How to run  attribute change run in process chain when it fails. Give me the procedure with clear description. Is there is any difference with 3.x versions in running this.
    Thanks,
    Pratap Reddy

    Hi Pratap.
    If BI Accelerator is not being implemented by ur company, in that case if change run fails u'll proceed by 'Repeat' process option as usual we do in 3.x.
    If BIA is exists, in this scenario u can not repeat as we do in 3.x. U have to drop the indexes on cubes effecting that change run and run the change runs. Once it is finished recreate BIA Indexes on cubes.
    Warm Regards,
    Ramki

  • What is Attribute change run in process chain

    Hi Everyone,
                                  Can anyone please give some information regarding "Attribute Change Run" in process chain. And how it is useful ?

    Hi Aditya,
    You need to schedule an attribute change run when you change master data attributes or hierarchies that are used as navigational attributes or in aggregates. There is a simple test to check if you need an aggregate change run. Load your attributes and look into the master data table (directly via SE16). If you only have entries with OBJVERS = 'A' (active) then you don't need a change run. If you have entries with OBJVERS = 'I' then you need to schedule a change run after upload.
    Look at these previous threads
    Re: When to use Attribute change Run
    Re: Attribute Change Run
    Regards,
    R.Ravi

  • Error encountered while running a process chain

    Hi,
    Was wondering what's the cause of this error:
    <b>Invalid call sequence to interfaces when recording changes.</b>
    We keep on getting this error message when we try to activate and schedule our process chain.
    Please help. Thanks!

    We run into this problem every time we Activate/Schedule a Process Chain; doesn't really <i>affect</i> anything. The chain still runs as scheduled once you "OK" through the error messages.
    Seems to be some rogue message that comes up in  more Authorization-sensitive environments (Read: PRD)
    I have researched this to fruitless extents: no Notes exist, etc.
    Sorry I can't be of more help other than to say "<i>I feel your pain</i>"  :-D

  • Error while running FICO process chain

    Hi Experts,
    While monitoring the FICO related process chain.I got an error due to which the loading of the process chain stoped.
    The Error occured at DTP level and the displayed error messages are like this
    Aggregation Behaviour of InfoObjects Couldnot be read()
    Operation Could not be carried out for
    Exception xxxxxxxxxx locked.
    Can any one help me out of how to fix this problem
    Waiting for reply
    Thanks.
    Regards,
    Mohan

    hi,
    This is due to a lock on the objects which is being used by ur load.
    Even if master data used by this would be in a lock by an attribute change run. wait till that attribute change run finishes and then repeat.
    If this target itself is locked by someother process like rollup , compression , this error would appear. In this case also repeat the step after those locking process finish.
    some general locks during loading:
    Sometimes parallel processing in DTP might lead to this, its better set the DTP and infopackage in serial processing. In this case change the settings and then repeat the process.
    There is a specific case in which the Serial DTP gets locked by itself, in this case repeat it untill it succeeds.
    You can identify the above scenario as below. This is applicable only if the DTPs processing mode is serial.
    if u see in SM 37 this load would have three DTP processes running.
    it should have only two.
    In this case cancel the process and repeat it untill u get it right.
    hope this helps u
    regard,
    ranjith
    Edited by: Ranjith  Kumar Murugesan on Sep 12, 2008 10:44 AM
    Edited by: Ranjith  Kumar Murugesan on Sep 12, 2008 10:46 AM

  • How do you run a Process Chain using parrallel processing group

    Does anyone know the answer to the above question please?
    The problem i am getting is that currently the Process chain is running on the client server and is timing out!
    is there a config setting or some other setting that is needed to stop it from timing out?

    Hi Jas Matharu,
    Hope the following links will give u a clear idea about process chains and clear ur doubts.
    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
    Siggi's weblogs for data load error and how to restart process chain
    /people/siegfried.szameitat/blog/2005/07/28/data-load-errors--basic-checks
    /people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
    ****Assign Points If Helpful****
    Regards,
    Ravikanth.

  • Regarding attribute change runs in process chains

    Hi All,
    While creating process chain for master data objects. I am trying to incorporate attribute change run process type for an info object. But the system asks for the DTP of the attribute and when i choose the DTP then both DTP and then Attribute are being incorporated. This is not exactly a problem but i need to understand why it is happening as i am already using that DTP to load data. Will this affect the data in master data object?. Thanks in advance.
    regards
    satish

    Hi Bhagyarekha,
    The reason behind that error could be:
    An attempt is made to activate a characteristic whose compounding was replaced and whose navigation attributes were simultaneously deleted. The replacement of the compounding temporarily deletes the M view of the characteristic during internal activation. The process of deleting navigation attributes involves converting the attribute SID tables. However, the M-view of the characteristic, which has just been deleted, is needed for this conversion.
    Check this SAP Note:
    Note 684405 - Replacing the compounding and deleting navigation attr.
    Hope it helps.
    Veerendra.

  • Pointers for optimizing system performance (run time) while running DP process chain with parallel processing

    Hi Experts,
    We are running APO DP process chain with parallel processing in our company, we are experiencing some issues regarding run time of process chain, need your help on below points;
    - What are the ways we can optimize process chain run time.
    - Special points we need to take care of in case of parallel processing profiles used in process chain.
    - Any specific sequence to be followed for different processes in process chain - if there is some best practice followed.
    - Any notes suggesting ways to improve system performance for APO version 7 with different enhancement packs 1 and 2.
    Any help will be really appreciated.
    Regards

    HI Neelesh,
    There are many ways to optimize performance of the process chains (background jobs) in APO system.
    Firstly I would recommend you to identify the pain areas (steps) which are completing with more runtimes. Then each one of the step has got different approaches to decrease the runtime.
    Like you may end up with steps like infopackage executions, DTPs, DP mass processing jobs etc which might be running with more runtimes. So now target each one of them differently and find out the ways to optimize. At the same time the approach you follow should be technically possible with basis perspective (system load and utilization) as well.
    And coming to parallel processing, you can use parallel processing for different for different jobs. You can further r explore on the same using parallel processing. Like loading an infocube, mass processing, infopackage execution, DTP, TSCOPY etc.
    Check the below link for more info
    Performance problems in DP mass processing
    Let me know if you require further info.
    Regards,
    Raj

  • How to run the process chain immediately?

    Hi experts,
    I'm a beginner for this field, Suppose there is a process chain called "X" which is used to extract the data from SAP R3 side for the purpose of getting the data for BI query called "Q1". "X" has been schedule to run every day in the night in BI side and also there are jobs have been schedule in SAP R3 by using the T-code lbwe. (they also runs once per day in the night)
    According to above explanation, If I execute the BI Query today, I can view only up to yesterday data. Suppose I have updated  some data in the tables at SAP R3 side today. therefore immediately I want to see the changes when I execute the BI query...
    Can you explain me how can I do this? Please explain this in Step by step if you can.
    Thanks,
    Regards,
    Nimesha.

    HI ,
    If u want to schedule the PC immediately, then go to the change mode of the process chain and double click on the start process select immediate button so that the process chain will run immediately after scheduling the PC.
    What job would u like to run in R/3 ? Is it V3 to move the records from the queue delta / unserialized v3 update  to delta queue, if so then go to LBWE --->job control and do the setting there.
    Note: U may get one box for o/ p  device  then type LP01 or ask the BASIS TEAM  .
    Hope u  got it,
    Thanx &Regards,
    RaviChandra

Maybe you are looking for

  • CO-PA Realignment: Changes in Product Hierarchy

    Hello all, We have changed the product hierarchy on some of our materials and we want to realign the PA data to reflect the same. Our product hierarchy which we have three levels is maintained in KES1. There are no derivation rules. KES1 is updated m

  • Create vertual package in SCCM 2012

    I Need to create a virtual (App-v package) that I sequenced in sccm 2012. I remember in sccm 2007 there was an option (Create virtual package) I don't see that here whats the procedure for creating virtual package\application in sccm 2012 Thanks

  • Publish Services Removing Photos

    OK, I can not believe I am stumped by this one but how do you remove photos from a Publish Services "folder"...  Reference book does not have this and no luck with help... so far.. thanks in advance.

  • Satellite A100-002 - Freezes during Windows 7 installation

    Hi I have 1. Satellite A100-002 and 2. big problem with installation of Windows 7. 2 yeras ago i tried to install Wista - but it froze during installation every time i tried. of course I tried different versions of Wista. once i was successful with i

  • ITunes can't "read" my ipod nano

    So, I got an ipod nano for Christmas. I've already got a bunch of songs in my library because I used to have a different ipod. But eveytime I try to plug in my nano, a little bubble pops up and says, "iTunes cannot read ipod 'J:/'." and then it tells