System command in Process chain

Hello,
I have a system command in the process chain which points to a command file that is supposed to run. My problem is that when I transport the PC, the path on the system command remains same.
I want it to change the path from /md.... in dev to /mq... in QA and /ma... in PROD.
Is there anyway to automate this process? Right now i have to keep track of it and change the system command in each system. I have missed a couple and it creates some problems.
Thanks
Sam

Hello Sam,
One way to solve this is to work this with your UNIX administrator.  You can do the following:
1) Create a symbolic link in your dev, qa, and prod which points to the correct directory.
For example, in dev, you can do the following:
link -s <whatever new name here, e.g. target>  /md
In QA, you can do the following:
link -s <whatever new name here, e.g. target>  /mq
and so on..
2) Instead of using the /md, /mq directories, you can use the symbolic directory instead in your system commands.
e.g.   ls -l /target   instead of ls -l /md
This might not help you a lot now but it will make things easier in the future because you will know that the symbolic link points to the correct directory of whatever box.
Hope this helps.

Similar Messages

  • Display Source System Name in Process Chain Email

    We would like to show the source system name (QA, Prod, etc) in the email subject when process chain messages are emailed so we can easily discern between production messages and messages from our test system. There doesn't appear to be a straightforward way to do this.
    I have seen a Re: Howto Insert System ID into Process Chain Email Message which discussed this topic and offered 2 potential solutions neither of which work for us:
    1. Open the production system and modify the messsage directly in the production system
    2. Edit the First & Last Name of the sending user in the production system (does not work for us because we use central user administration)
    Can anyone suggest another method of accomplishing this requirement?

    we achieved it by changing text of [email protected] from 'BIWREMOTE' to BIP BIWREMOTE'....so in our mails even though mail id is same, but it display it for us as BIP.
    Just go for user BIWREMOTE, and change format field with whatever name you wanna recieve mail. It should work properly.

  • System Master Data Process Chain

    Hello Guys,
    I am working on Admin cockpit. So far it s going well. However, I am struglling with scheduling System Master Data Process chain. When I look at its logs, I see that Operation Type (WHM)- Texts becomes red and Attribute Change Run (final step) has not finished yet(almost three hours) Please help.
    Thank you,
    OLGA

    refer this..similar issue is discussed Alpha Conversion
    Non Alpha Compliant Value..hw can this be resolved on BI 7.0 SP 13

  • Failure of OS command in Process Chain

    Hi All,
    I have OS command in a process chain. Sometimes this process gets failed and sometimes it is completed successfully.
    When it fails following message appears in Process Chain Maintenance Log View:
    ==== Output of System Commands: Repeat # 0 ====
    mv: cannot stat `/usr/sap/transBD1/upload/BP1/StockPosition/StockPosition_BNL.txt': No such file or directory
    External program terminated with exit code 1
    Kindly reply if anyone has any idea about it.
    Many Thanks in advance.!
    Regards,
    Swati Ramteke

    Hi Vikram and Srinivas
    In the process chain, file is first loaded to cube from the specified path. There is no problem in loading, it is completing successfully.
    Next, this file is archived from specified path to archived folder by OS Command.
    OS Command is:
    #!/bin/ksh
    FILEDATE=`date +%m%d%y`
    mv /usr/sap/transBD1/upload/BP1/StockPosition/StockPosition_BNL.txt /usr/sap/transBD1/upload/BP1/StockPosition/processed/StockPosition_BNL.$FILEDATE
    The file is archived successfully in processed folder but OS command process in process chain is getting failed with mentioned error in previous thread.
    Regards,
    Swati

  • OS command in Process Chain

    Hi all,
    I'm using the OS Command in a process chain and I have the "Evaluate Output of Command" checked along with It will be repeated" selected.  It's looking for a file on the app server and repeating every 3600 seconds for 24 hours.  The issue is if the 24 hours goes by and no file is found the process chain continues on to the next Process.  I expecting the chain to stop with errors.  Is this the correct functionality?  If so, any ideas how I can stop the process if the repeat time is exceeded and file not found?
    Regards,
    Dae Jin

    Hi Dae,
       Try this way. Separate present Process chain into two chains.
       Create an ABAP program to trigger OS Command and an event(EVENT1) on success of finding the file or another event(EVENT2) if file not fround and to repeate the process to find the file.
       Create first chain, and make it event based(EVENT2) and create 2nd chain aldo event based(EVENT1).
    activate and schedule both chains event based. trigger the first chain. It will check the file and if it is success ABAP program raise and event(EVENT1) and it will trigger the 2nd chain. or it will raise the event(EVENT2), it will reapete the 1st chain for finding the file.
      So here 2nd chain triggers on EVENT, so time limit. And it only excutes if first chain picks the file successfully,
    Hope it Helps
    Srini

  • Logical system Infopackage in process chain

    Dear All,
    I want to schedule a logical system delta infopackage in process chain I have input this package in chain but while activating it gives error "InfoPackage ZPAK_44MTIRL52E5IJXMQVL1BXFCWI is generated; NOT able to be used as loading variant" can any body help me how to resolve this issue.
    Abhijit

    Hi,
    I think this package is created automatically while selecting update data into data targets from the context menu of the ods. This kind of packages cannot be used in chains. Goto rsa1->infosources. Select your 8<odsname> infosource and create a delta package manually. Put that package into the chain. That should work.
    kind regards
    Siggi

  • New system, problems in process chain

    Hi,
    Recently we made a copy from Prod system to new one. The copy was successfully and the connection with the R/3 system too. But when I try to execute a process chain, I receive the following message: Job BI_PROCESS_CHAIN could not be scheduled. Termination with returncode 8
    and the system log shows:
    BP_STEPLIST_EDITOR: Invalid step values (step 1 ) found. Reason
    > User RFCUSER cannot be scheduled due to its type
    BP_JOB_EDITOR: Job BI_PROCESS_CHAIN is invalid. Reason:
    > Step 1 contains illegal values
    As I see, the problem is with RFCUSER (communications user) but I don't know what can be?
    I will appreciate your help
    regards,
    victoria

    Check <a href="https://service.sap.com/sap/support/notes/947690">SAP Note 947690</a>
    <b>Reason and Prerequisites</b>
    1. The user type of background user is incorrect.
    2. Invalid host name setting.
    3. Server name spelt wrong or wrong case-sensitivity for server name in sm51.
    4. Process chain scheduled to run on a server which does not exist.
    5. No instance is defined but the operation mode is set in sm63..
    <b>Solution</b>
    1. Set the background user profile according to note 511475.
    2. Check the host name setting in sm65 and correct if necessary (refer note 23538).
    3. Check the server settings in sm51 i.e., check for the spelling and correct case.
    4. Schedule the chain with a valid server.
    5. Maintain an instance of operation mode in rz04
    Assign points if helpful
    Regards, Uday Pothireddy

  • Calling an ABAP Program from source system in a process chain

    Hi,
    I need to call an ABAP program (Extract program RMBWV308) from R/3 within a Process Chain in BW 3.5
    Your urgent advice please

    Hi,
    check the following link:
    Start an ABAP program in R/3 from a process chain in BW
    regards,
    raju

  • Including System ID in the messaging of the process chain!

    Hi,
    Can any one here tell me ,how to include the System ID ( i mean whether the system is development or production ) in the messaging system of the process chain? i had used email address in the messaging system.
    i had included the message , but do not know how to include some texts or the system id of the respective System in the messaging service!
    problem is i had included messaging system in both the process chains of the dev and production!
    is there anyway for this?
    Thanks,
    Ravi

    Ravi,
    By default, the system will include in the email a description of the problem, including the system where it was originated.
    Another thing is including the System ID in the subject of the email.
    Are you transporting the Process Chains or just creating them locally?
    If you define the message variants for the Events Error or Success results locally, then you can type directly "DEV", "PROD" or the description you like, in the subject or the body of the message.
    Regards,
    Luis

  • Process Chain Triggered automatically when transported to test system

    Hi All,
    We modified several process chain and transported the process chain to Test system.
    Few Process chain triggered automatically as the varient was set to immediate in development system.
    Now we want to move the process chain to production. Do we need
    1. new transport request with the variant to future date and discard the transport request which created issues
    2. New transport request with the variant to future date and transport the new along with the old transport to production system
    3. Change the start date in Test system and transport the same request to production
    Kindly advice me on the action to be taken.

    >
    > Hi All,
    >
    > We modified several process chain and transported the process chain to Test system.
    > Few Process chain triggered automatically as the varient was set to immediate in development system.
    > Now we want to move the process chain to production. Do we need
    >
    > 1. new transport request with the variant to future date and discard the transport request which created issues
    > 2. New transport request with the variant to future date and transport the new along with the old transport to production system
    > 3. Change the start date in Test system and transport the same request to production
    >
    > Kindly advice me on the action to be taken.
    Regarding 2: When the old transport is imported into production the start will be set to immediately and the process chain will execute. You should not use this option.
    Regarding 3: Changing in Test system will not affect the content of the transport, it will still be the same as released from Dev.
    We have avoided this annoying problem with process chains being executed when transports are imported by creating a "parent" process chain that simply triggers the process chain in question. This "parent" chain should not be transported. You then set the start option for the original process chain to "start by API/Event" then you can transport the original process chain whenever you want without any risk of the process chain being executed.
    Regards,
    Lars

  • On general services of process chain

    hi bw guys i have doubt on general services of process chain. In general services one process is OS Command there.Is there any scenario for this os command process.please reply me if u know the scenario?  thankyou

    Hi,
    You can use this process type to place an external command in an application serveru2019s operating system.
    Check this:
    Including Operating System Commands as Processes in Process Chains:
    http://help.sap.com/saphelp_nw04s/helpdata/en/b8/ec745009de3c418dc3f61dd44257d0/frameset.htm
    Hope this helps.......
    Rgs,
    Ravikanth.

  • Warnings while transporting a process chain

    Dear all,
    I am getting the below warning message when I am transporting my process chain into Quality. Due to this, the PC is now in inactive version in the target system.
    The logs shows the below message
    No destination maintained in target client 001 -> Not activated
    Message no. RSPC085
    Diagnosis
    When activating a process chain, this is checked and scheduled. Both the checking of a process chain and its scheduling require that
    1. the function is executed in the target client of the import and
    2. the user executing the function has the appropriate authorizations.
    This is usually the case for the BW background user
    The function can be executed in the target client if an RFC logon occurs in the target client. An RFC destination must be predefined for this purpose. This destination is used for logon to the target client from client 000 during import postprocessing.
    This destination does not exist in this system.
    System Response
    The process chain will not be activated, which means that it will not be checked, scheduled, or saved in an active version. The process chain will only be adjusted to the local situation (for example, key changes with objects that are dependent on the source system), and will not be saved in a modified version.
    Procedure
    Create a destination for the import postprocessing.
    Can some one please help on this.
    Thanks and Regards,
    Srinivas

    Thanks..
    Yes, this is the first process chain we are transporting.
    I tried maintaining the paramters in RSTPRFC with the below settings..
    Client: BW client 001
    Destination: TPBWMANDTRFC
    User: ALEREMOTE
    PWD: ************
    I want to know whether the details of teh destination are correct. If so, are these settings need to be maintained in QA and Prod systems as well?
    Thanks and Regards,
    Srinivas

  • Process Chain giving error

    Hi All,
    We are using a web service data source (gets data from MDM through XI). We created a process chain for this load, but when it's run, the chain is failed at the process type " Close any Open requests (this process consists of the corresponding Info Package)" saying that info package was not found. But all the objects are in active status only.
    Can anyone please provide me with the solution?
    Thanks in advance,
    Hima Bindu

    Hi,
    Thank you  for your responses.
    The problem was solved by saving all the info packages that are present in the 'Close Open Requests' process type of the process chain and running the process chain again.
    This may be because we have migrated all the objects to the production system before the process chain run. So i think the Info Packages need to be saved in the production system.
    Thanks
    Hima Bindu

  • How to create messages in process chains?

    Dear Gurus,
    I want to use the alert system in the process chains.  like when one process fails i have to receive the message on my mail or as an SMS on my mobile. 
    I tried the same thing with one of my process chain.  When i right click one of my process in my process chain i will get the create message option.  But my problem is i dont know how to use that option.  If u have any solutions or any material please try to send me to the following ID <b>[email protected]</b>
    Thanks in advance
    Mohan Kumar

    Hi,
    You can also send messages to an application process of the chain, depending on the success or failure of the process.
    1.       From the context menu of a process, create an additional process variant of the Send Message type.
    2.       If you maintain a message, first specify whether you want the message to be sent when the process has been completed successfully or unsuccessfully. Then choose Next.
    3.       You arrive at a window, in which you can select an existing process variant or create a new one.
    4.       If you create a new process variant, edit the document that is going to be sent, and maintain a list of recipients.
    5.       Save your process variant and go back a step.
    The message process variant is now assigned to your application process. When the message is sent, the status information and the process log can also be sent.
    Hareesh

  • Explain: how to include Infospoke in Process Chain where destination is  DB

    Explain: how to include Infospoke in Process Chain where destination is  local machine database [NOT Flatfile]

    Hi vijay,
    First you create an Infospoke with destination as a DB table in your local BI or BW Machine. Now add this infospoke by going through below steps.
    1. Call up the process chain maintenance. Choose This graphic is explained in the accompanying text Process Chain Maintenance from the Administrator Workbench toolbar. The Process Chain Maintenance Planning View screen appears.
    2. In the left-hand screen area of the required This graphic is explained in the accompanying text display component, navigate to the process chain in which you want to insert your InfoSpoke. Double-click to select it. The system displays the process chain plan view in the right-hand side of the screen.
    If no suitable process chain is available, you need to create a new process chain. You can find additional information under Creating a Process Chain.
    3. To insert a process for extraction by means of an InfoSpoke, choose This graphic is explained in the accompanying text Process Types in the left-hand area of the screen. The system now displays the process categories available.
      4.In the process category Loading Process and Post Processing, choose the application process type This graphic is explained in the accompanying text Data Export into External Systems.
      5.Insert the Data Export into External Systems application type with Drag&Drop into the process chain. The dialog box for inserting a process variant appears.
      6.In the Process Variant field, enter the name of the InfoSpoke that you want to include in the process chain, or select it by means of the input help.
    Once You have added the infospoke you have to write a program which will fetch the database table that you filled and transfer the data fetched to other legacy system with the help of XI System
    For more information on how to infospoke on 3rd party pls find the link below
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5f12a03d-0401-0010-d9a7-a55552cbe9da
    Hope this help
    Harish

Maybe you are looking for