Skip to Content
author's profile photo Former Member
Former Member

Run Operating System Command Before/After Message Processing (ERROR_OSCMD_NOT_ALLOWED)

Good afternoo,

In the environment I'm working, there are Z program that generates the files (.txt) in the server, in the path \ \ Lob-srvhodie \ sfaqas \ SFAOUT, then zipping need these files in a single folder for later move these folders to the legacy system via FTP, I am researching on the following subject:

In communication channel receiver chn_rcf_ftp_generic_mc1_z need to define the "path" batch that will be executed to zip the folder that is created to execute the program ZPSDR_019 (generates the files. TXT).

The batch archive save in folder on server \\Lob-srvhodie\sfaqas\SFAScript\script.bat

but still can not run the process successfully: generate the file (this is ok 100%, the. TXT are generated in the correct folder) and then generate the zip files (that's the point I'm trying to make it work). The Batch is created correct, when you run the batch "in hand" all existing folders in the directory are zipped correctly. The detail is: how should I put the call in this batch communication channel?

When i saved the comunication channel i receive the message: ERROR_OSCMD_NOT_ALLOWED.

In attach image of communication channel and the attempts.

Anyone have info on the subject?

tks, Vinícius Caetano

teste3.png (4.7 kB)
teste2.png (4.5 kB)
teste1.png (4.7 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 24, 2012 at 07:41 AM

    Hi Vinicius,

    Please check note 1717530 - PI File Adapter OS Command error - ERROR_OSCMD_NOT_ALLOWED

    Assign the role SAP_XI_CONFIG_FILE_OS_CMD_J2EE to users' who define Operating System commands in File/FTP Adapter channels

    Award points if useful.

    Thanks,

    Ravi

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.