Info Spoke - Process Chain - OS Command usage help

I am new to BW. My requirement is to extract the master data off of BW data targets on a weekly basis and ftp the files onto a different server.
To meet this requirement, I am planning to create InfoSpoke(s), put it in a Process chain and using the OS Command ftp the files to different server.
Is this the right way to do it or are there any better ways? If it is, I need help on where to give the target server name, user_id and PSW in the OS Command variant of Process Chain.
Also, is it possible to schedule a Infospoke directly from the scheduler (Auotsys...) and still execute weekly/monthly?
Thanks for your help in advance
RK

That's correct.  You'll define the command under the general services tab in the process chain transaction (It's labeled OS Command and is a silver circle thing with a blue dot in it).
When you drag it into the process chain it will ask for a varient.  In the System Command field for this varient is where you'll define the actual command. (little pencil button next to it).  At this point you can call a script that does the copy or call an actual command that does the copy. 
Might be easier to control with a script that does the work but if you want to call rcp/scp, the os command will be rcp and parameters will be the filename, etc.  If it's a script then you'll just enter the name of the script in the os command field.
Hope this helps.
-bill

Similar Messages

  • Process Chain/OS command issue

    Hello,
    I am trying to execute a command similar to the following in an OS command in a process chain:
    cp /path/filename*.txt /path/filenamexxx.txt
    I know it's not a permissions problem.
    This is the error message from the Process Chain Maintenance Log View:
    cp: cannot access /path/filename*.txt: No such file or directory
    External program terminated with exit code 1
    I'm thinking it is a problem with the *(wildcard). If I take out the *(wildcard) it works flawlessly. It seems like SAP is not correctly interpreting the * character.
    The purpose of my doing this is to remove the date text from the end of the file and store it in a different directory without the date text. e.g.
    filename08032006.txt copy to different directory as filename.txt
    Any help will be greatly appreciated.
    Thanks,
    Gary Martins

    hi,
    i do not know what process cain maintenace view is but I wonder how this command should work on the commandline correctly:
    say you have
    filename_1.txt
    filename_2.txt
    and copy them according to your example to
    filename_x.txt
    This would be n files copied to one destination file. At best you had the destination overwritten n times and be left with the last source file in the destination file.
    Would that make sense? Probably therefore this construct is not supported.
    just my 2 cents,
    anton

  • Process Chain/OS Command cp problem

    Hello,
    I am trying to execute a command similar to the following in an OS command in a process chain:
    cp /path/filename*.txt /path/filenamexxx.txt
    I know it's not a permissions problem.
    This is the error message from the Process Chain Maintenance Log View:
    cp: cannot access /path/filename*.txt: No such file or directory
    External program terminated with exit code 1
    Any help will be greatly appreciated.
    Thanks,
    Gary Martins

    Hi Gary,
       Is this file(cp /path/filename*.txt /path/filenamexxx.txt) avaialble at perticular path...??
       File is in application server or workstation(PC). If file is available in one application server and your Pchain running againest another application server, you may get this error. Plz check.
    Hope it Helps
    Srini

  • Process chain 'OS COMMAND'

    Hi
    I would like to use the OS_COMMAND in process chain to rename file to another filename after data loaded from file into the targeted cube. Eg: I would like to delete brand.txt from folder named /interface/.
    I would like to create the command name via tcode SM49. However, I did not know the command to enter in fields 'Operating system command' and 'Parameters for operating system command'. Can anyone please guide me?
    Thanks and regards
    Kang Ring

    Hi,
    You can find System OS command process type in Other Processes section of RSPC.here you can add the same in your process chains and fulfill your requirement.
    hope this is clear for you.
    Regards
    Ramsunder

  • Process Chain issue-Needs urgent Help

    R/3 Master Data Main Chain
    Problem Description:
    When we trigger the process chain from SM64, the process chain fails at the step as shown below.
    There are no logs for the local chain i.e. the local chain fails without linking.
    If we manually schedule the local chain it runs successfully.
    The error message changed as and when we tried fixing the defects. Each of them with the solutions tried for them is explained below.
    ERROR 1:
    The error message which we got was as ‘Cannot Activate Job BI_PROCESS_LOADING (return code 8).
    Solution tried:
    1.     Replicating Data Sources and activating the transfer and communication structures by running the programs RS_COMSTRU_ACTIVATE_ALL and RS_TRANSTRU_ACTIVATE_ALL.
    ERROR 2:
    Later we found that the released job was missing for failed local chain.
    Solution tried:
    1.     We created a new job by copying a previous job.
    ERROR 3:
    When we re-scheduled the process chain, we got the error message as shown below.
    Solution tried:
    1.     Deleted all the logs which were in running status.
    ERROR 4:
    After re scheduling the process chain we are getting the error message as shown below. This is the error message we are getting now.
    Solutions Tried:
    1.    Saving the variant and reactivating the process chains.
    2.     Replicating Data Sources and activating the transfer and communication structures by running the programs RS_COMSTRU_ACTIVATE_ALL and RS_TRANSTRU_ACTIVATE_ALL.
    3.     Changing the scheduling options of the failed local chain to ‘Start using Meta Chain or API’ from ‘Direct Scheduling’.
    4.     We searched for locked entries in SM12. There are no locked entries.
    5.     We ran attribute change run with variant for info object ‘Profit Center’ from the following path
        RSA1-> Tools-> Apply Hierarchy/ Attribute Change Run. We created a new variant for the info object.
    We still could not find a solution. do let us know if you have any inputs.
    Thanks,
    Mayuri

    Hi All,
    Please reply ASAP. Its critical.
    We created a new process chain and when we do a check on it,we are getting a warning message.
    We just upgraded our Dev box from 3.5 to 7.0. Our master data process chains, which reflect samples delivered by SAP, are giving warnings saying "too many parallel processes" for chosen server. It refers us to note 621400.
    I am curious to know if others have run into this, and if they have changed their MD process chains to run in a serial fashion.
    Prior to the upgrade, we had no deadlocks with process chains.
    Thanks.

  • Hi - Process Chain Issue -  Urgent - pls help

    Hi All,
    When iam executing the Process chain, its coming out of the loop without finishing the processes.
    Its showing the overall status as green.
    But, if we dig in to log and see the message.. its showing "Communication buffer deleted from previous run".
    But, if i schedule the each processes manually, its successful.
    Nisha

    the log it shows :                                                  
    Diagnosis                                                Entries still exist in the communication buffer from the previous run of 
         the current metachain. Since the chain, meanwhile, has the 'G ' status,  
         the communication buffer was deleted.                                                                               
    System response                                                                                The buffer was deleted and is used for the current run.                                                                               
    Procedure                                                                               
    Procedure for System Administration

  • Process chain failed.. plz help

    Hi   frnds ,
    My chain is modelled like this.
    start-- local where local is again start-- program1-- program3  
                                                             program2      -                 and        Program4.  
    My chain failed at program1 , and program2 has got through  successfully.
    Program1 failed to  job cancelled due to short dump :MESSAGE_TYPE_UNKNOWN.
      If i wnat to rerun the chain , shoud i make program 2  to be terminated ???
    tell me how can i rerun the chain and also possible erros of failures of program1
    Regards ,
    Pavan

    wht is there in Programs?
    why it is failed. try to analyze it. they you can think about rerun the process chain.,
    Nagesh Ganisetti.

  • How to insert Info spoke /Open hub in process chain

    Hi,
    How can I include Info spoke in my process chain.
    Thanks

    Hi,
    Including InfoSpokes in Process Chains:(IMP Link):
    http://help.sap.com/saphelp_nw04/helpdata/en/59/90070982d5524b931ae16d613ac04a/content.htm
    Complete Open Hub Information:
    http://gassems.com/SAP%20Reources/Open%20Hub%20Service.pdf
    Regards
    Ram.
    Edited by: Ramakanth Deepak Gandepalli on Dec 10, 2009 10:49 AM

  • Error while activating BI statistics Process Chain

    Hi,
    I have faced the problem below. Please advise.
    I am doing BI content activation for BI admin cockpit, from SPRO -- Activation of BI content of BI admin cockpit , i ran the activation but it got failed. The error message says:
    DataSource 0TCTBWOBJCT_ATTR from source system BWQCLNT500 could not be activated
    This error is coming for data sources :0TCTPRCSVAR_ATTR, 0TCTBWOBJCT_TEXT, 0TCTPRCSVAR_TEXT and 0TCTBWOBJCT_ATTR.
    I did not able to find these info packages for this data spurces:
    0PAK_8K20VQGEBZRQXUE2PKWS90ZO8
    0PAK_934GEKKIBBDKPVMVDJHVNPIMV
    0PAK_99MQNPZISKNSNWKT9HF2CWPLK
    0PAK_BFYU3MMMU2T2WOI50MXHCEH07
    Due to this data sources iam geting problem inmy process chain..
    PLease help .Pts wil be assigned.
    Thanks and Regards.
    T

    hi
    go to table RSLDPIOSH enter the infopackage technical name you have mentionned.
    take note of the OLTPSOURCE name
    then go to rsds replicate and activate.
    After that take the technical names of the process chains go to business content installation and reactivate theses chains (with option only necessary objects)
    This will solve you issue
    The reason of your error is the following, some master data datasources from the bi statistics business content is delivered in 3.x and some other with 7 therefore you have a mix up with the dataflows.
    bye
    Boujema

  • Error while executing the Process chain

    Hi Friends,
    The process chain that I scheduled is getting failed at the Infopackage loading stage.
    On checking the diplay message, I found the following log:
    Cannot stage requested data for datasource
    Error in source system
    I activated the datasource in source system, then replicated the same and tried to load data.
    But the issue remains the same.
    I checked in RSA7. The status corresponding to this datasource is in yellow status.
    Can I delete this entry and try again?
    Please suggest.
    Thanks in advance.
    Surjit P

    Hi,
    /people/mona.kapur/blog/2008/01/14/process-chain-errors
    Deadlock
    http://help.sap.com/saphelp_nw04s/helpdata/en/2e/44934257a5c86ae10000000a155106/frameset.htm
    Dead Locks
    2. Error in unit conversion
    Units of measure
    3.Error 1 in update
    When Src file is already open or not accessible.
    4.Processing no data
    theres no data selected after extraction
    5.Caller 70 missing
    "• This error normally occurs whenever BW encounters error and is not able to classify them. There could be multiple reasons for the same
    1) Whenever we are loading the Master Data for the first time, it creates SID’s. If system is unable to create SIDs for the records in the Data packet, we can get this error message.
    2) If the Indexes of the cube are not deleted, then it may happen that the system may give the caller 70 error.
    3)Whenever we are trying to load the Transactional data which has master data as one of the Characteristics and the value does not exist in Master Data table we get this error. System can have difficultly in creating SIDs for the Master Data and also load the transactional data.
    4) If ODS activation is taking place and at the same time there is another ODS activation running parallel then in that case it may happen that the system may classify the error as caller 70. As there were no processes free for that ODS Activation.
    5) It also occurs whenever there is a Read/Write occurring in the Active Data Table of ODS. For example if activation is happening for an ODS and at the same time the data loading is also taking place to the same ODS, then system may classify the error as caller 70.
    6) It is a system error which can be seen under
    the “Status” tab in the Job Over View.
    solution:
    "• If the Master Data is getting loaded for the first time then in that case we can reduce the Data Package size and load the Info Package. Processing sometimes is based on the size of Data Package. Hence we can reduce the data package size and then reload the data again. We can also try to split the data load into different data loads
    • If the error occurs in the cube load then we can try to delete the indexes of the cube and then reload the data again.
    • If we are trying to load the Transactional and Master Data together and this error occurs then we can reduce the size of the Data Package and try reloading, as system may be finding it difficult to create SID’s and load data at the same time. Or we can load the Master Data first and then load Tranactional Data
    • If the error is happening while ODS activation cause of no processes free, or available for processing the ODS activation, then we can define processes in the T Code RSCUSTA2.
    • If error is occurring due to Read/Write in ODS then we need to make changes in the schedule time of the data loading.
    • Once we are sure that the data has not been extracted completely, we can then go ahead and delete the red request from the manage tab in the InfoProvider. Re-trigger the InfoPackage again.
    • Monitor the load for successful completion, and complete the further loads if any in the Process Chain.
    6.Idoc not processed completely.
    Here the request remains yellow (in process) and with the same details (as seen in the details tab of the monitor) for an abnormally long time. Many-a-times, the port for communication is not open and re-starting the load helps. For long running jobs, it may not be advisable to restart the extraction
    Contact the BASIS administrator to push the IDOC.
    look into these links:
    /people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
    For common data load errors check this link:
    /people/siegfried.szameitat/blog/2005/07/28/data-load-errors--basic-checks
    Majority of the issues will be based on these things only..
    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
    Hope this helps.
    pls award me some points
    thanks.
    Thanks

  • AL11 event to process chain

    HI masters
    lets suppose u get a file in al11 and on arrival of this a process chain has to be started using an event.
    how do u connect the file which keeps coming daily and the chain chain has to run run daily on arrival of the file automatically
    thanks
    k.mohan

    This would depend on what is putting the file on the file server.  If the program is external to BW, can it be changed to execute the <b>sapevt</b> command on the server?  This command is external to BW (and R/3) and is located on the application server.  Its sole purpose is to trigger an event in BW (or R/3).  It has parameters, but the format depends on what operating system your BW system runs on.
    Otherwise, you may want to create an ABAP program that will look for the file on the file server and if and when it finds it, it will trigger the event that executes your Process Chain.
    Does this help?

  • Common Process chain errors

    Hi friends,
    Can u please explain cause of below errors in process chain and how to rectify the problem ?
    1. Deadlock error.
    2. Error in unit conversion
    3.Error 1 in update
    4.Processing no data
    5.Caller 70 missing
    6.Idoc not processed completely.
    Thanks...
    Bala

    Hi,
    /people/mona.kapur/blog/2008/01/14/process-chain-errors
    Deadlock
    http://help.sap.com/saphelp_nw04s/helpdata/en/2e/44934257a5c86ae10000000a155106/frameset.htm
    Dead Locks
    2. Error in unit conversion
    \Units of measure
    3.Error 1 in update
    When Src file is already open or not accessible.
    4.Processing no data
    theres no data selected after extraction
    5.Caller 70 missing
    "• This error normally occurs whenever BW encounters error and is not able to classify them. There could be multiple reasons for the same
    1) Whenever we are loading the Master Data for the first time, it creates SID’s. If system is unable to create SIDs for the records in the Data packet, we can get this error message.
    2) If the Indexes of the cube are not deleted, then it may happen that the system may give the caller 70 error.
    3)Whenever we are trying to load the Transactional data which has master data as one of the Characteristics and the value does not exist in Master Data table we get this error. System can have difficultly in creating SIDs for the Master Data and also load the transactional data.
    4) If ODS activation is taking place and at the same time there is another ODS activation running parallel then in that case it may happen that the system may classify the error as caller 70. As there were no processes free for that ODS Activation.
    5) It also occurs whenever there is a Read/Write occurring in the Active Data Table of ODS. For example if activation is happening for an ODS and at the same time the data loading is also taking place to the same ODS, then system may classify the error as caller 70.
    6) It is a system error which can be seen under
    the “Status” tab in the Job Over View.
    solution:
    "• If the Master Data is getting loaded for the first time then in that case we can reduce the Data Package size and load the Info Package. Processing sometimes is based on the size of Data Package. Hence we can reduce the data package size and then reload the data again. We can also try to split the data load into different data loads
    • If the error occurs in the cube load then we can try to delete the indexes of the cube and then reload the data again.
    • If we are trying to load the Transactional and Master Data together and this error occurs then we can reduce the size of the Data Package and try reloading, as system may be finding it difficult to create SID’s and load data at the same time. Or we can load the Master Data first and then load Tranactional Data
    • If the error is happening while ODS activation cause of no processes free, or available for processing the ODS activation, then we can define processes in the T Code RSCUSTA2.
    • If error is occurring due to Read/Write in ODS then we need to make changes in the schedule time of the data loading.
    • Once we are sure that the data has not been extracted completely, we can then go ahead and delete the red request from the manage tab in the InfoProvider. Re-trigger the InfoPackage again.
    • Monitor the load for successful completion, and complete the further loads if any in the Process Chain.
    6.Idoc not processed completely.
    Here the request remains yellow (in process) and with the same details (as seen in the details tab of the monitor) for an abnormally long time. Many-a-times, the port for communication is not open and re-starting the load helps. For long running jobs, it may not be advisable to restart the extraction               
    Contact the BASIS administrator to push the IDOC.                         
    Thanks

  • How can i understand the Process Chain management in real time!!!

    Hi,
    now i am learning BW concepts. now i would like to know the real time scenarios regarding Process chains. can any body help me in this matter?.
    thanks,
    stikanth.ch

    Hi,
    A process chain is a defined sequence of interdependent processes required to perform acomplex task in an SAPBW environment. Data maintenance tasks in SAPBW are notrestricted to uploading data. Aggregate rollups, index maintenance, master data and ODS activation, and a variety of other jobs are required to update data, guarantee best-possible performance, and maintain data integrity. Typical SAPBW implementa-tions have complex interdependent networks of jobs in place that run every night, week,or month.Previous releases of SAPBW did not provide an integrated solution for scheduling and monitoring those kinds of job networks. This has changed with the introduction of process chains in release 3.0. Process chains allow you to define complex job networks consisting of standard SAPBW jobs, as well as custom jobs; they support visualizing the job network and centrally controlling and monitoring the processes.
    (from "Mastering the SAP BIW")
    New Features in BI 2004s Process Chains
    /people/mallikarjuna.reddy7/blog/2007/02/08/new-features-in-bi-2004s-process-chains
    Designing
    /people/vishvesh.bahirat/blog/2006/11/29/bw-process-chain-design
    Process chain creation in 2004s - step by step
    /people/juergen.noe/blog/2008/01/11/process-chain-creation--step-by-step
    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
    http://help.sap.com/saphelp_erp2005/helpdata/en/87/13843b74f7be0fe10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/67/13843b74f7be0fe10000000a114084/content.htm
    Process Chain Errors
    /people/mona.kapur/blog/2008/01/14/process-chain-errors
    Common Process chain errors
    process chain issues or errors
    Try Searching in SDN for this Topic and you will find much detailed info as this is discussed very frequently.
    Hope this helps.
    Thanks,
    JituK

  • 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

  • How to check  the performance of process chain.

    Hi experts,
    Can any one suggest me the process how to check the performance of the process chain in a graphical presentation (need detailed info on this)??
    Thanks in advance.

    Have a look ath this:
    Process Chains Performance
    Hope it helps.
    Regards

Maybe you are looking for