Running chgrp for SAP Output Files
Hi All,
Have a situation I need some help with please.
We are integrating our SAP system with another application. As part of the process, the SAP system outputs a file to the OS. By default, this file is created with user SIDadm and group sapsys. The external user, however, is not part of the sapsys group, so therefore has no access. chmod 777 on the files nor adding the external user to sapsys are options.
I need to know if anyone knows how to run the chgrp command on the files created by SIDadm so the external user can grab them. Thanks!!!!
Thanks guys. Issue resolved with a combination of running 'site umask 022' command when the file is sent to SAP, and now have a scheduled job that runs a chgrp -R appint <filepath> every 5 minites. It's not 100%, but it changes the group assignments correctly for the files, which is what we needed.
Appreciate everyone's input.
-Tim
Similar Messages
-
Server/browser requirements for WebHelp output files
What are the UNIX server and browser requirements in order to
display a WebHelp project output file correctly?
When I generate the primary layout, I am not selecting 508
format, and I select Java Applet as the preferred method for the
Navigation Pane (checking the radio button for DHTML > Java
Applet > Pure HTML as the order of preference.
When viewing the help project on the UNIX server through
Mozilla, the page appears to load and reload, load and reload.
Sometims pressing Esc. stops it and you can view the TOC and
content pane. The way around this is to generate Pure HTML only,
but then the index and the glossary become very difficult to use.
Robohelp Webhelp descriptions claim to work on all platforms
and in all browser types. What requirement are we missing on our
UNIX server so the project can display correctly?
Thanks in advance for your time and trouble. :-)Hi GEWB,
Here are some more details--
Generate Webhelp output setup:
Use lowercase filenames (recomm. for UNIX)
Toolbar buttons: Content, Index, Search
Navigation: Add breadcrumbs links
Additional options: Enable Highlight Search results, Synchronize TOC automatically
Navigation Pane preferred format: DHTML > Java Applet > Pure HTML
Optimize speed for: Web site
Q: how are you setting up your Linux to open the default project page?
A: I use Linux only to launch the webehelp output.
Q: Are you opening the GENERATED project default page or trying to open the project source files?
A: I am trying to open the generated project default page. I copy the Webhelp folder to a Linux machine and launch the index.html page to see the output.
Q: Why are you replacing the foreward-backward slash?
A: In Linux '\' is not supported for hyperlinks/filepaths. Therefore I changed the backward slashes to forward slashes.
The scenario:
When the project files have filepath such as ../../doc/xyz/,
when I view in Windows (IE)- I can access the link
when I view in Linux (FF)- I see broken link with error message somewhat like "cannot find ..\..\doc\xyz\". (Note the changed usage of slash)
This indicates that the generated files changes the forward slash to backward. -
How to set PDF version for the output file in ES4
I am using LiveCycle ES4 for converting word docs to PDF. In our client we invoke createPDF method of GeneratePdfServiceClient class. We are using a custom PDF setting in LiveCycle in which we have defined configuration as per the business requirement.
We need the PDF version of the document to be set to 1.4. For this, we are setting the value for compatibility (under File Option) to Acrobat 5 (PDF 1.4) in custom PDF setting template in LiveCycle adminui and in Acrobat preferences. Both these setting are not working and the resulting document has PDF version set to PDF1.5. Can you tell me how the version of resulting document be set to 1.4??Hi Neelam,
I tried it and did the personalization as the help documentation said.
But I don't know why it doesn't work:(
I followed these steps:
1. open workbook and select a value for the variable used in query
2.click personalized variable and new window pop up then I select the value I chose and added to the selection.
3.click ok and quit
4.save workbook
but next time I open this workbook, the variable selection window still pop up.
BR
Fanchest -
Oracle DB 11g Release 2 Installation in Solaris OS for SAP - issue: Files not found
Hello All,
Having problem during my installation of oracle DB.
the installer keeps on prompting that files not found and the directories and files permission seems different from expected
I attached the images of the files the installer is looking for and also the /oracle/<SID>/11ginstall_11202.log
I also attached the thing i put in ENV command
Not sure if its the issue in the oracle profile or installer itself or wrong input
please helpHi Frogoso,
Please have a check on the known issues SAP note for Oracle installation.
Section G: is related to Solaris
1431796 - Oracle 11.2.0: Troubleshooting the Software Installation
You may re-check whether all the Solaris related pre-requisites are met before executin RUNINSTALLER.
Suggestion here would be to go with latest available Oracle patch 11.2.0.4 as you are installing a new system.
Hope this helps.
Regards,
Deepak Kori -
Using Custom XSLT File for html output file
Hi all
I have probably rather a silly question but I have not found a solution yet.
I would like to use a custom XSLT file, which I already have and is working, within a Biztalk Map. The custom XSLT is generating a html file out of an xml file. However I'm not able to succeed so far because I have probably some issues in defining the correct
target schema.
The output that I get at the moment is just a duplicate of the input, probably because I have used the schema for source and target.
So my question is, how do I create a html file out of an xml with a custom XSLT file?
Sorry if this is a nooby question but I couldn't find an answer.Hi Jerome,
Sorry, your question is not very clear. "I would like to use a custom XSLT file, which I already have and is working, within a BizTalk Map. The custom XSLT is generating a html file out of an xml file" - You have an XSLT which you use for map and how
its generating a HTML file? Are you using something like this?
Changing an XML Response to an HTML output using a Map
If your requirement is to output the html file from the received XML file using XSLT, then use a custom pipeline at send port like XSLT Transform Component and provide the XST which would change the XML to HTML. Here is an example of an XST which I have
used in the past, which converts the received OrderResponse XML to nicely formatted HTML.
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://biztalk.orderapp.schemas.OrderResponse">
<xsl:template match="/">
<html>
<body>
<TABLE BORDER="0" cellspacing="2" cellpadding="2" width="90%">
<xsl:apply-templates select="/ns0:OrderResponse"/>
</TABLE>
</body>
</html>
</xsl:template>
<xsl:template match="/ns0:OrderResponse">
<TR>
<TD colspan="8" align="center">
<H1>Order Confirmation</H1>
</TD>
</TR>
<TR>
<TD colspan="2">
<B>Order no : </B>
</TD>
<TD colspan="6" align="left">
<xsl:value-of select="ns0:OrderHeader/ns0:OrderNumber/text()"/>
</TD>
</TR>
<TR>
<TD colspan="2">
<B>Supplier : </B>
</TD>
<TD colspan="6" align="left">
<xsl:value-of select="ns0:SupplierDetails/ns0:SupplierName/text()"/>
</TD>
</TR>
<TR>
<TD colspan="2">
<B>Supplier Order no : </B>
</TD>
<TD colspan="6" align="left">
<xsl:value-of select="ns0:SupplierDetails/ns0:SupplierOrderNumber/text()"/>
</TD>
</TR>
<TR>
<TD colspan="2">
<B>Account no : </B>
</TD>
<TD colspan="6" align="left">
<xsl:value-of select="ns0:OrderHeader/ns0:CustomerAccountNumber/text()"/>
</TD>
</TR>
<TR>
<TD colspan="2">
<B>Order date : </B>
</TD>
<TD colspan="6" align="left">
<xsl:value-of select="ns0:OrderHeader/ns0:OriginalOrderCreationDate/text()"/>
</TD>
</TR>
<TR>
<TD colspan="2">
<B>Delivery date : </B>
</TD>
<TD colspan="6" align="left">
<xsl:value-of select="ns0:OrderHeader/ns0:DeliveryDate/text()"/>
</TD>
</TR>
<TR>
<TD colspan="2">
<B>Order Status : </B>
</TD>
<TD colspan="6" align="left">
<xsl:value-of select="ns0:OrderHeader/ns0:OrderStatus/text()"/>
</TD>
</TR>
<TR>
<TD colspan="8">
<BR></BR>
</TD>
</TR>
<TR>
<TD valign="top">
<B>Line</B>
</TD>
<TD valign="top">
<B>Code</B>
</TD>
<TD valign="top">
<B>UOM</B>
</TD>
<TD valign="top">
<B>
Avail<BR></BR>Qty
</B>
</TD>
<TD valign="top">
<B>
Line<BR></BR>Price
</B>
</TD>
<TD valign="top">
<B>
Line<BR></BR>Status
</B>
</TD>
</TR>
<xsl:for-each select="ns0:LineItems">
<xsl:for-each select="ns0:LineItem">
<TR>
<TD valign="top">
<xsl:value-of select="ns0:LineNumber/text()"/>
</TD>
<TD valign="top">
<xsl:value-of select="ns0:ProductCode/text()"/>
</TD>
<TD valign="top">
<xsl:value-of select="ns0:UnitOfMeasure/text()"/>
</TD>
<TD valign="top">
<xsl:value-of select="ns0:Quantity/text()"/>
</TD>
<TD valign="top">
<xsl:value-of select="ns0:UnitPrice/text()" />
</TD>
<TD valign="top">
<xsl:value-of select="ns0:LineStatus/text()" />
</TD>
</TR>
</xsl:for-each>
</xsl:for-each>
<TR>
<TD colspan="8">
<BR></BR>
</TD>
</TR>
</xsl:template>
</xsl:stylesheet>
If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply. -
Javascript code for setting output file name of emailed form in Livecycle
I was given a task of creating a new form with livecycle. I have no knowledge of javascripting so I am struggling with one of the things I am trying to get this form to do. The overview of this form is people around my company fill out this form then hit a button to email the completed form to me. I was able to accomplish part of this task by using the following code within an up mouse event script on a button.
oDoc = event.target;
oDoc.mailDoc({
cTo: ********@******.com,
cSubject: "IB Update Request - Instance" + IBInstance.rawValue,
This takes the form and emails it to me with the data from the field called "IBinstance" in the subject line which is what I want but the file name attached to the email is garbage. presently is says "newupdateform.pdf - Adobe Acrobat Pro.pdf"
What I would like is some javascript code that I can take the data from the field called "IBinstance" and use it as the name of the file being sent in. Is there a simple code that i can put in this event to allow me to do this?
Thank youHi Joerg,
I have been trying to solve this as well, but gave up. I also could not get the workaround you found to work with EFM files.
If you do find a solution, please update your message to share?
Thanks
Julie -
1 input file to 2 output file mapping. Please help!
Hi Experts,
I have a snenario where from one input file I have to generate two output files. My sender and receiver systems are the same since I want to generate the output files in the same location. I am using both the systems same just for testing purpose.
So in IR I have created
1. one outbound interface for the input file
2. two inbound interfaces for the output files
3. one message mapping containing one input message
transformation to two output messages.
4. one interface mapping containing one input interface
transformation to two output interfaces.
In ID I have created
1. one file sender channel and two receiver channels for two output files with different names.
2. two receiver agreements
3. one sender agreement
4. one interface determination of type "Enhanced".
5. one receiver determination
But when I run the scenario given one valid input file I am getting the error in the sxmb_moni : RuntimeException in Message-Mapping transformation: Cannot produce target element.
However message mapping and interface mapping works perfectly if I test it in IR with the same input file.
Can somebody help me understand what I might be doing wrong?
Have I done the configuration correctly for 1:N mapping?
Please help! I will be greatfull to you if you can help me.
Thanks
GopalIf my input file is like this:
<ns1:LocationMsg_MT xmlns:ns1="http://www.abc.com/Gopal">
<Location>
</Location>
</ns1:LocationMsg_MT >
Then my scenario is working.
But my input file will be like this:
<LocationMsg_MT>
<Location>
</Location>
<LocationMsg_MT >
This is giving problem.
How to handle this kind of file?
Thanks
Gopal
Edited by: gopalkrishna baliga on Mar 14, 2008 3:19 PM -
Creating .RTF output files - PI7.0 Receiver file adapter
Hi Experts,
I am currently facing an issue with the Receiver File adapter where in the output files are required to be of the format of .RTF (Rich Text Format).
The scenarios is an outbound proxy from SAP ABAP - > PI 7.0 -> .RTF File
All the data required to be present in the file will be coming in the source structure
Can the File Receiver Adapter handle this ?
Is there a way to generate Files with extension .rtf ??
It is a requriement since the output files will be used as Reports , and so the desired format.
I am unsure if I will have to use XSLT mapping , in this because i am new to that , Kindly let me know how to go about it ,. any links or pointers on how to achieve the same will be welcome.
thanks
Dev
Edited by: sd on Feb 17, 2010 8:23 AMThanks for your reponse Praveen
Can you please let me know how can i put the extension as .rtf for the output files i am generating ??
as far as the formatting is concerned ... it is like ... the header needs to be of a particular Font , a particular font size , bold etc and so is the case for line items
I am unsure if it is possible using an Adapter module as well
thanks
Dev -
URGENT : Updating Saudi Payment Output File
Dear Fellow Boarders,
We had an urgent requirement to add a new line at the end of "Saudi Payment Output File"
I had created the formula for same and attached at the "Organizational Payment Method" Level, via "Further Information" in "Other" Tab.
However when I run the Saudi Payment Output File , nothing is changed.
I have a feeling that I am missing some step.
Any assistance will be highly appreciated.
Regards
Shah Alam , JeddahThanks Vignesh,
This issue is resolved now. We had a Sev 1 SR and got the resolution.
They provided script to update seeded balance "Total Pay" it was not considering one element's classification.
Thanks,
Avinash -
Hi,
good day guys
we dev the interface for stock information for mmi interface. For build output file. we coded as below as. but i need to build the out put file with Alias. how to do it?plz let me know
FORM build_output_filename .
CLEAR outfile.
*This directory must be changed to make use of ALIAS FTP_DIR, as *
*the directory name is different between Dev, QA and Prod *
CONCATENATE 'D:/FTP/MMI/MMISTOCK/BABZAPART' "here out put file
sy-datum sy-timlo
'.txt'
INTO outfile.
ENDFORM.
Edited by: balaji kiran on Apr 12, 2010 2:33 PMhi balaji ,
to connect to FTP there are some FM , which you can use....
CALL FUNCTION 'FTP_CONNECT'
EXPORTING
user =
password =
ACCOUNT =
host =
rfc_destination =
GATEWAY_USER =
GATEWAY_PASSWORD =
GATEWAY_HOST =
IMPORTING
HANDLE =
EXCEPTIONS
NOT_CONNECTED = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
to connect from FTP.
now put your file from sap server to the destination machine.
and pass to the fm FTP command list
CALL FUNCTION 'FTP_COMMAND_LIST'
EXPORTING
handle =
IMPORTING
COMMAND_INDEX =
tables
data =
commands =
EXCEPTIONS
TCPIP_ERROR = 1
COMMAND_ERROR = 2
DATA_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.
finally call fm FTP disconnect to disconnect the FTP.
hope this help.
take help of where used of these FM and use accordingly.
CALL FUNCTION 'FTP_DISCONNECT'
EXPORTING
handle =
hope this helps,
thanks
tanmaya -
Submitting xml publisher not producing output file when submiting from Oracle Procedure
When Running XML publisher program from Oracle Procedure, Program not generating output file, but same XML publisher program running from Concurrent program runs and produces the output file.
Here is the code
CREATE OR REPLACE PROCEDURE apps.wmmgd_sepa_formats (
p_return_msg OUT VARCHAR2,
p_return_code OUT NUMBER,
p_payment_batch IN VARCHAR2 ---,
--- p_bank_name in varchar2
IS
name: wmmgd_sepa_formats
purpose: this procedureis to create SEPA payment formats
revisions:
ver date author description
1.0 6/11/2013 V Gongireddy Created the Procedure
l_ret BOOLEAN;
l_req_id NUMBER;
v_org_id NUMBER;
v_cntr NUMBER;
v_file_name fnd_concurrent_requests.outfile_name%TYPE;
v_language VARCHAR2 (20);
BEGIN
SELECT fnd_profile.VALUE ('ORG_ID')
INTO v_org_id
FROM DUAL;
fnd_file.put_line (fnd_file.LOG, 'org id ' || v_org_id);
fnd_file.put_line (fnd_file.output, 'Start org id ' || v_org_id);
FOR i IN 1 .. 10000
LOOP
v_cntr := v_cntr + 1;
END LOOP;
l_ret :=
fnd_request.add_layout ('SQLAP',
' WMMGDSEPAFORMATXSL',
'en',
'US',
'XML'
IF l_ret = TRUE
THEN
BEGIN
fnd_file.put_line (fnd_file.output,
'Payment batch ' || p_payment_batch
l_req_id :=
fnd_request.submit_request ('SQLAP',
'WMMGDSEPAFORMAT',
FALSE,
p_payment_batch
v_cntr := 0;
FOR i IN 1 .. 10000
LOOP
v_cntr := v_cntr + 1;
END LOOP;
p_return_msg := 'Request submitted. ID = ' || l_req_id;
p_return_code := 0;
COMMIT;
EXCEPTION
WHEN OTHERS
THEN
p_return_msg :=
'Payment Request set submission failed - unknown error: '
|| SQLERRM;
p_return_code := 2;
fnd_file.put_line (fnd_file.LOG,
'the_request_id ' || l_req_id || p_return_msg
END;
END IF;
END wmmgd_sepa_formats;
Thanks in advanceAnd metalink note 1100253.1 states that this issue (java.lang.StackOverflowError) might be caused by a too large set of data to be sorted in the layout file. Recommendation is to removed the sort from the layout file and instead sort the data already in the data definition.
regards,
David. -
I'm running Oracle 9iAS on Sun box. Right now, when I run the reports my output file are own by Oracle App. Is there a way to specify the owner of the reports either by passing in paramters or oracle configuration?
Thanks in advance,
FredHi,
The following thread provides another option for file permission.
Re: Report output file permission
Thanks,
Oracle Reports Team. -
Hi All,
I have a file to file scenario where mapping is not used. My Input file name is "XXXX.txt" and i want the output file name as "XXXX.dat". But the problem is XXXX is not a constant value but a dynamic value and i cant use a UDF because there is no mapping for this interface. Is there any other method by which this can be achived?
Thanks,
SivaHi!
For your input file you can work as follows:
Put the file in a special directory and then read this directory using wildcard filename definition:
e.g. *.txt looks for and processes all files ending with *.txt
For your output file (receiver file adapter) you may work with os command "rename" and/or try it using this stuff:
http://help.sap.com/saphelp_nwpi71/helpdata/en/44/6a316af5a23672e10000000a114a6b/content.htm
Regards,
Volker -
Dynamic file name in case of .txt output files
Hi all,
I have a query related to dynamic file name scenario.
In case of IDOC-XI-FILE sceanrio,
<b>Is it possible to generate .txt file name based on Plant number like</b>
<b>%<Plantname>%_%<BusinessDay>_filename.txt</b>
<b>Note:I have implemneted this for .xml output files but I am not able to implement it for .txt output files .</b>
PLEASE HELP ME .
Regards
PrabhatHi Prabhat,
I think, the normal Dynamic File Name generation should work fine in your case also. Even if you perform Content Conversion, you can use Variable Name Substiution to create your Destination file name as, the name of the file is determined first and only then is the content converison perfromed.
for info on content conversion, I would suggest that you go through this thread and check my reply,
Re: Dynamic File Name for Receiver File Adapter
Regards,
Bhavesh -
How to find Concurrent Request output file Document ID if exists
Hi,
My Concurrent Request when runs, it produces an output file.
This output file is located on the server.
Could any one let me know from which tables i could get the document id and the node id of the node where this document resides if it does in the Oracle Document Management System.
I want to do is use this in the workflows to set the attribute value using procedure
SetItemAttributeDocument
Thanks in advance,
POn the Concurrent Requests table (FND_CONCURRENT_REQUESTS), the OUTFILE_NODE_NAME and OUTFILE_NAME indicate where the output file is stored. As far as I know, this is only on the server running the concurrent manager and not in the Oracle Document Manager System.
What are you trying to do with your output? If you are simply trying to provide access to it, you might be able to construct a URL similar to the standard concurrent request completed notification (basic email which provides a link to the output of the completed request).
Maybe you are looking for
-
Change the Apple ID to a new one without a password?
I'm working on a company Imac IOS10.10.3. A former employe made an Apple ID on this machine. How can I erase or change the Apple ID to a new one without a password? It's impossible now to update update certain apps like Imovie.
-
Error: - No service for system port, client in Integration Directory
Hi In Idoc to File scenario, My Idoc 've been successfully send from the sender system. but its neither getting displayed in the SXMB_PATH nor saved in the specified path. I checked in SM58 in R3 that RFC user has access to send data to XI. But it
-
Printing a Collection in N columns
I am trying to write a class that takes a Collection of Objects and prints them in a specified number of columns. However, it never works. All that ever prints is a blank page. Here's my code: import java.awt.print.*; import java.util.*; import java.
-
Unable to view emails on my talktalk account
since installing firefox 5.0 I am unable to view my emails from my provider talktalk there web site states they are trying to resolve but it has been several days since this message appeared how do I go back to firefox 4.0
-
AAA using Radius with 802.1x
Hello there, We're going to be implementing 802.1x on our network of some reaallly old switches (6509 Cat OS with MSFC 2). We use radius for AAA authentication and I've been reading that .1x uses radius. How is that going to work? Do I just add an