Need to add a command file in process chain

Hi,
I have cmd file on the network that will be used to specify which staged data has been successfully loaded to BW.  At the end of the process chain which loads our daily data, this cmd file should be executed. I have never done this before, does anyone have any idea as to how i can include this file in the Process Chain? There are 2 files in that directory; .cmd and .out. Do I need both these files?
Thanks
Sameer

There is OS command provess available in process chai, but i think you cannot use a command file; you have to use more time OS command with single command each time.
Hope it helps.
Regards

Similar Messages

  • I need to Add the configuration file '.airinstall.cfg' to the air bundled runtime installer directory. where do i get the airinstall.cfg from

    i need to Add the configuration file '.airinstall.cfg' to the air bundled runtime installer directory. where do i get the airinstall.cfg from what are the contents of the .airinstall.cfg file please help.

    http://helpx.adobe.com/acrobat/kb/acrobat-downloads.html

  • UTF-8 file via process chain doesn't load

    Hello all!
    I've a big problem. I try to load a UTF-8 file via process chain. I have a script which generate the correct name and the process chain will load the file daily. The file format is UTF-8. I've created a info package with the adapter OPEN_DS load text type file from application server and the character set is 4110 (Unicode UTF-8) but it doesn't work. I try it directly - not via routine - and it works perfect but I can't load with the adapter GUI-UPLOAD load text type file from local workstation via process chain.
    I switched the code page back to 1100 sap internal ISO 8859-1 but with this settings I have a lot strange chars in my texts. Any solutions?
    Regards, Thomas

    Hi,
    no solution?
    Regards, Thomas

  • Download file from process chain

    Hello experts,
    i have just created a data model and report from flat file(CSV) in BW 7.0.
    I understand that if I want to include the extraction from the DataSource into the InfoPackage in the process chain, the CSV file needs to be on the Application Server.
    The external database is being updated with new data daily. There is a URL - www.example.com/export.php -  that when accessed, deliveres the updated flatfile from the database.
    My question is: can i integrate this download in a process chain to be automatically triggered, so that every morning I have the updated data in the report?
    Thanks.

    Hi Andrei,
    Am not sure how to execute the url using the process chain. But still we can check whether the file is available in the application server or not.
    We have a process variant called OS Command, using this variant type we can check whether the file is available or not for some tim intervals. In case file is availabe then the next process will trigger else it will keep on searching for the file until it finds.
    Regards
    Chaithanya

  • PI Interface Posting Files - Trigger Process Chain Issue

    Dear Reader,
    Situation -
    We get multiple flat files from source system via PI interface. To process this in BW 7.0 side we have created the web service interface. In the function module we have written a code to trigger process chain, once a data is posted.
    Issue -
    As there are multiple files being posted, the PC runs on completion of the every single post, which is not desired. We need to run the process chain only once at the end of all the files being posted.
    Notes -
    1. Number of files keep varying.
    2. Clubbing all the files in a single file and then posting it would cause performance issues.
    Request your help in find a way like -
    1. A file being posted of name, say 'START PC', which can be trapped in the funciton module and controll the PC call.
    2. <any Other idea>
    regards,
    vinay gupta

    Hi Dhanya,
    This is the code i have in the ABAP program in the process chain. I just included the API_SEMBPS_POST part, but still it doesn't work. Please give me your email address so that i can send some screenshots.
    REPORT  ZHTEST.
    DATA: l_subrc TYPE sy-subrc.
    DATA: ls_return TYPE bapiret2.
    CALL FUNCTION 'API_SEMBPS_POST'
    IMPORTING
       E_SUBRC         = l_subrc
       ES_RETURN       = ls_return.
    CALL FUNCTION 'RSAPO_CLOSE_TRANS_REQUEST'
      EXPORTING
        I_INFOCUBE               = 'ZMAP_TAB'
    EXCEPTIONS
      ILLEGAL_INPUT            = 1
      REQUEST_NOT_CLOSED       = 2
      INHERITED_ERROR          = 3
      OTHERS                   = 4
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • Hot to add a Background Job to process Chain

    Hi Guys,
    I have created a background job via Sm36, but I wanted to include all this jobs to Process Chain, is it possible?
    thanks.

    Hi,
    Welcome to SDN.
    Please try this ( a quick and dirty solution)
    1.Create a batch event in SM62 (e.g. Z_EVENT1D)
    2.Allocate this event as start event of batch job in SE36
    3.Create a report to trigger this event
    REPORT  Z_RAISE_EVENT.
    Call Function 'BP_EVENT_RAISE'
             EXPORTING
             EVENTID = 'Z_EVENT1D'
    4.Add a process type abap program calling this report to PC
    Of course, you can add a parameter to report and save different variants to make it more flexible, if required.
    Regards
    Joe

  • Settings need to be done for messages through process chains.

    Hi friends,
    Iam trying to send messages through my process chain . I have done the required settings in the process chain to create messages . Now , i came to know that some settings nedd to be done in tcode SCOT to enable the messaging from process chain .
    Can any body tell me the steps to do that , as our Basis guy is not here . Are there any need to install some Interner mail gateways ..
    Thanks in advance..

    Hi Nihuja,
                 After creating node with all details destination and every thing.That will come like  this
               ex : Your Node  name
                             ->   SMTP
    Then double click on the  SMTP -> U can see the Mail port option there u  have  to put 25.
    Regards
    Ramakanth.
    While creating the node  itself u  have to give all the details like  destionn via.(internet  etc......)
    "Assign  points  if  useful"

  • Need some useful stuff on SAP BW Process Chain

    Hi all,
    i am rajendra and beginner is SAP BW. Now i am working in Process chains.
    can u plz suggest me some useful book, web sites etc etc. on process chains?
    waiting for ur precious reply.
    regards
    rajendra

    hi
    you can find all details abt process chain in these links
    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

  • Need to add jpg image file to flash file

    Dear All,
    I am new to flash. I have one flash file in which I want to show some images in a slide show way at start of the flash file.
    Please let me know the step by step if possible.
    Thanks

    You're not likely to get a step by step created just for you here, but there are probably plenty of folks that have already done that for you elsewhere.  Try searching Google for "Flash slideshow tutorial" or if you plan to make it actionscript controlled, use "AS# slideshow tutorial" where you substitute 2 or 3 for # depending on which version of actionscript you want to use.
    If your title has any bearing on what you really need to know, then in the File menu select Import, select between the cjoices offered, and select the file from the directory search interface that appears.

  • 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

  • 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

  • How to add dynamically called files to a teststand workspace?

    I am using TestStand 4.1.1 and LabVIEW 8.6.1 to try and install dynamically called VI's into a TestStand workspace.  I am following the instructions on pp. 14-8 through 14-10 in the TestStand Reference Manual (May 2008) edition.  So far I have not been successful, and the instructions are not clear.  For example, I cannot see in the instructions anywhere that I am supposed to add my test sequence.  Should the test sequence already be loaded in the project before this set of instructions is followed?  Could someone clarify this set of instructions for me? 
    Then when I get a successful build, I would like to try out the deployment and installation on a target computer.  Please provide a detailed and clear set of instructions on how this can be accomplished.
    Also, is there anyway to do this without building an installation?  Originally I just wanted to create the deployment without an installation.  But please explain both ways. 
    Thank you.
    epsilon-delta

    Epsilon,
    What are you using dynamically called VI's for? Are you adding dynamic VI's to LabVIEW, or to TestStand? If you are calling from TestStand, you don't need to do anything, the deployment utility will do all of the work for you.  The section on adding dynamically called files to a workspace listed in the Test Stand Reference Manual  is a mini-tutorial, and not exactly step by step instructions. All you need to do to add dynamically called VI's is to add them to your workspace file, and make sure the TSW is saved before you build your deployment. The example right before that one, covers how to deploy from a TSW, and mentions that you need to add your sequence file to the project that is in the workspace.
    The steps needed to deploy a sequence is as follows:
    1. Create a new workspace file
    2. Right click on the workspace file and select "Add a project"
    3.
    Right click the project and select add additional files (here you
    should add your sequence file and any files that are dynamically called
    (e.g. VIs))
    4. Go to Tools --> Deploy TestStand System
    5. Check "Deploy Files from TestStand Workspace File"
    6. Select the appropriate file path where you saved the workspace file
    7. Add in a path for the location you want to store your deployable image (for instance your desk top)
    8.
    Go to the distributed files tab and select "yes" to analyze the source
    files [here you will find all the files you chose to include with your
    distribution, this is automatically populated from the workspace and
    its dependencies), if you are deploying and plan on using a User
    Interface and not the TestStand Sequence Editor, here you would need to
    include the UI as well
    9. If you were making an installer, you
    could check the "Create installer" box under installer options and
    specify a location. Also here you could click on the drivers and
    components box to add additional driver installation (only if you are
    building an installer)
    10. Click on build status, then build
    You can also reference the same manual 14-7 through 14-8 which goes through an example deployment, and installation on a target computer. 
    After you build your installer, copy the files to the target computer and run the setup.exe to install to the new computer, what problems do you have? Do you get errors, and if so can you take screenshots of them? 
    If you do not wish to create an installer, and you already have a user interface installed, and the TestStand engine on your target machine, you can just copy all of your files to the target machine, and run them normally. We generally recommend building installers, so that any missing dependencies on the target system could be installed, and the TestStand  deployment tool takes care of pulling out all the needed files for you (except for the dynamiclly called ones, which is why you need to add them yourself). If you want you can use the deployment tool to create an image and then move that image to the target computer. The image should have all of your non-dynamic files included, but still requires that your system have all needed components installed. Please let me know what part of the deployment, installation process you are having errors, and we can help you troubleshoot. I always recommend trying to deploy a very simple example sequence with no code modules, if you are having problems. This is always a good troubleshooting tip that will help to determine if the problem is with one of your systems, or with your specific sequence file. 
    Richard S -- National Instruments --Applications Engineer -- Data Acquisition with TestStand

  • How do I add a txt file to read from in the following script

    First thanks for the help, PS newbie. 
    I need to add a txt file that has the Exchange aliases listed to the below file. So if the .txt file is sitting in c:\temp\readme.txt how do I incorporate into the following script. Given, I only want the outcome to read from only the txt file. 
    $mailboxes = Get-Mailbox -RecipientTypeDetails UserMailbox
    ForEach ($mailbox in $mailboxes) {
      $FilePath = "\\server\folder\" + $mailbox.PrimarySmtpAddress.Local + "@" + $mailbox.PrimarySmtpAddress.Domain + ".pst"
      New-MailboxExportRequest -mailbox $mailbox -FilePath $FilePath
    Thank you for your time. 
    Chris

    Thank you - 
    You're welcome.
    I need to make sure that when the user from the list is exported to .pst it is named with their primary smtp address? Will the above code do so?
    No, it won't. This adjustment will take that into account:
    $aliasList = Get-Content .\aliasList.txt
    foreach ($alias in $aliasList) {
    $mbx = Get-Mailbox $alias
    $filePath = "\\server\folder\$($mbx.PrimarySmtpAddress).pst"
    New-MailboxExportRequest -Mailbox $alias -FilePath $filePath -WhatIf
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • 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

  • 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

Maybe you are looking for

  • TS3212 I have downloaded iTunes, but every time I click on the link it does not open. Why can I not open iTunes after downloading?

    I have deleted old versions and uploaded the new version. Now that I have completed the install, I cannot open iTunes. I double click it on desktop and it shows thinking symbol for one second and doesn't open. I go through the start menu and it does

  • Default delivery block

    Hi, I want to put a defaullt Delivery block in sales order if the material is changed. if sy-tcode = 'VA02'. if xvbap-matnr ne yvbap-matnr. vbak-lifsk = '40'. '40 is a Delivery block endif. endif. with this, the block is placed when the material is c

  • Adding a bookmark in Designer

    Is it possible to place a bookmark using designer so that when a user opens the PDF file they will be able to navigate a large form more easily. Or, do I have to open the form in Acrobat Pro and add them manually?

  • Free actions and ps elements 10

    I just got Photoshop elements 10. So still learning. I work off a pc. I have been trying to download these free action online but have unsucceful. Can some help. Please:)

  • Issue with quantity display in Adobe forms

    I am trying to display a quantity field MENGE in my Adobe form and I am encountering a problem that it is getting diplayed as 23456.320 while it should be displayed as 23,456.320 i.e. the thousand separator is missing . Please help