File not getting converted to the .EXT type
Hello Experts,
Please help me with an issue ...
Actually Iam doing a mailing program.... in which a newly generated invoices are sent to user....
the mailing is working fine.
The file which the user is getting in his mail box should be a .EXT type file....from where he will download the file and upload it in the airtel portal..... from where it been sms to the different number's present in that file......
But the problem is the file is not getting converted to .EXT type and when we are trying to upload it in airtel portal it is saying that file is not in UTF-8 format..
To check whether conversion to file type is working when Iam trying to convert the file in .TXT type its getting converted to text format...but not working with .EXT type when passing 'EXT' in doc_type of FM .
I checked the SCOT transaction if any setting exist but ...didnt found anything useful ...
Please help me to resolve the isuue
Hi joel,
From this thread
Shared Files - problems after upgrading APEX 3.0 to 3.1
i have taken your words,
In my development of the browser cache support for static files, I did notice some unexplainable behavior with IE and Firefox. When uploading static files and then testing them, it almost seemed like the browser would request the resource only some of the time (and then get the HTTP 304). If an Expires tag is not computed, I know Firefox will compute one itself.
As per my understanding, Is it cache_expire should be calculated?
I could not get that line.Could you please explain me.
Thanks in advance.
bye
Srikavi.
Similar Messages
-
Files not getting picked from the FTP site
Dear All,
We are having one File-XI-RFC scenario running in XI-PRD Server. Sometimes what happens is that files available in the FTP site are not getting picked by the File adapter. I have checked in the adapter monitoring and communication channel is active there. Also, there are no errors regarding this in SXMB_MONI. I have configured alerts also but for this case no alerts are getting trigerred. And also when I am reactivating that particular communication channel then that file is getting picked instantaneously.
Can anybody please guide me on what might be the real cause for this as this error is happening randomly.
regards,
N.Jain.HI,
Have you used per File transfer parameter in FTP Communication channel.
It makes the FTP adapter inactive in ideal time.
So add the poll interval may be for every 30 mins or something like it. It will forcefully activate the FTP port after every 30 mins. You may have the poll interval for every 1 min. Only the files to be picked up are getting logged in in XI monitoring.
So there will be no garbage collection of unwanted messages in Monitoring.
Thanks
Swarup -
File not getting created at the Reciever
Hi All,
I have implemented a simeple file to file scenario. The file is getting deleted from the source directory but is not getting created in the target directory. It shows a checkered flag in SXMB_MONI . When i do Communication Channel monitoring for the reciever Comm. Channel, it shows no messsages .
I have refreshed the Cache in Integration directory. it is still not working.
I tried using a different Communication channel with the Mail adapter that is working fine.
I cant figure out what the problem is please help.
Many Thanks,
NehaHi! Neha,
Here i want to add some points :
Even I faced same problem in project....... then I followed this procedure...
My scenario is FILE TO RFC via FTP Server in file adapter.
Here issue is file is picking from FTP and showing success in MONI but data is not reaching to BW system..
Most of the times I checked and I did successfully.
Main issue are due to:::
1. Check Queues in Inbound queue SMq2
2. Trace teh step by step in message flow in message monitoring that means check whether message flows
from a) Intergration Engine
b) Adapter Engine..
3. Check and trace the flow in Message monitoring in Run Time work Bench
4. Check Status of Receiver communication Channel in Communication channel Monitoring
5) Check whether Business Services are Scheduled in Availability Time planning or not
6 Also Check in Visual admin whether the services are released or not if any others are might using the same servivcees and cahnnels and suppose if they are scheduled or not
7. Do Cache Refresh mainly SXI CACHE, ADAPTER ENGINE CACHE
8 Finally if still not resolved J2EE ENgine SOFT Restart..instead of doing restarting entire XIengine server.
Once the Server is started then defintely all the messages if suppose if 40 messages are picked from source directory and not reached to Target then all those definetely 100% become success and reached
Note:: All above needs to check only if development part is correctly configured.
Also check the Receiver target and sender directory Permissions in FTP Server i.e., rwx permissions okay
Thanks
Amar Srinivas Eli
Reward Points if useful -
Css file not getting applied to the application
Hi All,
I have uploaded a css file and used in my application as
<link rel="stylesheet" href="#WORKSPACE_IMAGES#default.css" type="text/css"/>
Previously it was working fine.
But suddenly, it is not working.
I am working from a remote server.
Could anyone please get me a solution for this?
thanks in advance
bye
SrikaviHi joel,
From this thread
Shared Files - problems after upgrading APEX 3.0 to 3.1
i have taken your words,
In my development of the browser cache support for static files, I did notice some unexplainable behavior with IE and Firefox. When uploading static files and then testing them, it almost seemed like the browser would request the resource only some of the time (and then get the HTTP 304). If an Expires tag is not computed, I know Firefox will compute one itself.
As per my understanding, Is it cache_expire should be calculated?
I could not get that line.Could you please explain me.
Thanks in advance.
bye
Srikavi. -
OLE images are not getting transfered to the pdf format
After executing the oracle report file 6i and while sending the report file directly from the report screen to the microsoft outlook mail by clicking the mail option from the report, the OLE Images are NOT getting converted to the mail attachment. Rest of the data is getting converted fine.
hope this is not the correct forum to place this question.
if not, mention DB and OS versions and state your problem more clearly
mark answered post as helpful / correct* -
Output type not getting saved in the PO
Hello Team
we are facing one issue where output type is not getting saved in the PO.
we give one output type and than save it , after going back to the PO we see that it is not there.and no output issued
the PO is released properly and there is no issue , any idea what could be the reason for itHi,
Check in SU3 t.code, did check box selected u201CDelete After Outputu201D in Spool Control segment in Default TAB
Also check Partner Function VN maintained in Default values TAB in NACR--- > EF Application for your output type
Cross check partners {VN, PI, GS) are assigned to your PO output type in Partner Roles per Message Type
Regards,
Biju K -
I have lightroom 5.7 and a macbook pro 10.9.5. Occasionally when I am editing a photo in the develop module, I suddenly get a "file not found" message and the editing ceases to work. There is no "exclamation" icon below the histogram box in the Library module or on the photo in grid view, and the histogram is gone. What is going on? Trying to find it using the "find missing photos" in the library menu does nothing.
-
VA00 condition type not getting determined for the returns order
Hi All,
I have a case where VA00 condition type not getting determined for the returns order that has been created with respect to the billing document.
When the pricing conditions are being copied from invoice it is getting copied but later it is getting deleted in the include LV61AA42.
Note:VA00 condition type is getting deleted from the internal table tkomv[].
If any one came across this scenario can you please help me.
Request your valuable inputsHi,
Please check the copy control setting in VTAA.
Maintain the pricing type as "D" at item category level for the respective document type .
Hope this will resolve your issue.
Regards,
Krishna O -
Ps CS6 Problem: Pixels put in Mac file icon have not been converted to the profile of the icon
Pixels put in a Mac file icon image have not been converted to the colour profile of the icon image.
For example, when ProPhoto or Adobe RGB pixels are put in an icon image with no profile or "Generic RGB" profile, the result is a washed-out appearance to the icon.
Apple recommends sRGB (PNG) images in icons. Adobe, please comply with that.
Edit: I realise that CS5.1 did the same as CS6.Makes you wonder whether the person who programmed the icon generating code... Nah, I won't say it. Down boy.
-Noel -
Hi,
I have been working on OATS for quite sometime,Off late i'm facing a unique problem out of nowhere
when i run web functional script i'm getting the error "oracle.oats.scripting.modules.basic.api.exceptions.VariableNotFoundException:"
Even though i have added the required databank,These were working fine for past 6 months suddenly started give me problem.
1 thing i noticed was if i do any modification in the databank CSV file the corresponding INDEX file is not getting updated.Hence the system is unable to read the databank data i guess.
Has anyone faced the same problem?Please help.Hi,
I have been working on OATS for quite sometime,Off late i'm facing a unique problem out of nowhere
when i run web functional script i'm getting the error "oracle.oats.scripting.modules.basic.api.exceptions.VariableNotFoundException:"
Even though i have added the required databank,These were working fine for past 6 months suddenly started give me problem.
1 thing i noticed was if i do any modification in the databank CSV file the corresponding INDEX file is not getting updated.Hence the system is unable to read the databank data i guess.
Has anyone faced the same problem?Please help. -
Issue: Not getting response when the document is having special chars
Please help following issue: Not getting response when the document is having special chars(Use any doc with special char(ex: &, $, <, >,.....) TestErrorFour.doc
Error message:
System.FormatException: Invalid length for a Base-64 char array. at
System.Convert.FromBase64String(String s) at
Summarize.Summarizer.AccumulateBroadcast(String filedata, String givenWords) in
c:\DocumentSummarizer\App_Code\Summarizer.cs:line 66
Code:
File 1:
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
import java.util.Properties;
import org.apache.poi.poifs.filesystem.POIFSFileSystem;
import org.apache.poi.hwpf.*;
import org.apache.poi.hwpf.extractor.*;
import com.lowagie.text.Document;
import com.lowagie.text.pdf.PRTokeniser;
import com.lowagie.text.pdf.PdfReader;
public class DocumentSummarizerClient {
static Properties loadProperties() {
Properties prop = new Properties();
try {
prop.load(DocumentSummarizerClient.class.getClassLoader().getResourceAsStream("vep.properties"));
} catch (Exception ioe) {
ioe.printStackTrace();
return prop;
public String getSummary(String fileName,String noOfWordsOrPercentage ){
String summaryInputData ="";
String summarizedData="";
String summarizerURL = loadProperties().getProperty("Summarizer.serviceURL");
try {
String fileExtension=fileName.substring(fileName.lastIndexOf(".")+1, fileName.length());
if (fileExtension.equalsIgnoreCase("doc")|| fileExtension.equalsIgnoreCase("txt")|| fileExtension.equalsIgnoreCase("pdf")) {
if (fileExtension.equalsIgnoreCase("txt")) {
BufferedReader bufferedReader = new BufferedReader(
new FileReader(fileName));
String line = null;
while ((line = bufferedReader.readLine()) != null) {
summaryInputData += line;
if(fileExtension.equalsIgnoreCase("doc")){
POIFSFileSystem fs = null;
fs = new POIFSFileSystem(new FileInputStream(fileName));
HWPFDocument doc = new HWPFDocument(fs);
WordExtractor we = new WordExtractor(doc);
String[] paragraphs = we.getParagraphText();
for( int i=0; i<paragraphs .length; i++ ) {
paragraphs[i] = paragraphs.replaceAll("\\cM?\r?\n","");
summaryInputData+= paragraphs[i];
if(fileExtension.equalsIgnoreCase("pdf")){
Document document = new Document();
document.open();
PdfReader reader = new PdfReader(fileName);
int pageCount =reader.getNumberOfPages();
for(int i=1;i<=pageCount;i++){
byte[] bytes = reader.getPageContent(i);
PRTokeniser tokenizer = new PRTokeniser(bytes);
StringBuffer buffer = new StringBuffer();
while (tokenizer.nextToken()) {
if (tokenizer.getTokenType() == PRTokeniser.TK_STRING) {
buffer.append(tokenizer.getStringValue());
summaryInputData += buffer.toString();
else{
System.out.println("This is Invalid document. Presntly we support only text,word and PDF documents ");
// String encoded =new String (summaryInputData.getBytes("ISO-8859-1"),"UTF-8");
String encoded=Base64Utils.base64Encode(summaryInputData.getBytes());
// encoded =new String (summaryInputData.getBytes("ISO-8859-1"),"UTF-8");
String parameters= "base64String="+encoded+"&noOfWordsOrPercentage="+noOfWordsOrPercentage;
summarizedData= postRequest(parameters,summarizerURL);
String slength= "<string xmlns=\"http://tempuri.org/\">";
if(summarizedData.contains("</string>")){
summarizedData= summarizedData.substring(summarizedData.indexOf(slength)+slength.length(),summarizedData.indexOf("</string>"));
summarizedData = replaceVal(summarizedData);
//System.out.println("<?xml version=\"1.0\" encoding=\"utf-8\"?><![CDATA["+summarizedData+"]]>");
// System.out.println("Summarized data "+summarizedData);
if(summarizedData.contains("Please enter the percentage")){
summarizedData="Data given cannot be summarized further";
else{
System.out.println("Data given cannot be summarized further");
summarizedData="";
} catch (FileNotFoundException e) {
return("The File is not found \n\n"+e.toString());
} catch (IOException e) {
return("The File is already in use \n\n"+e.toString());
} catch (Exception e) {
return(e.toString());
return summarizedData;
public static String postRequest(String parameters,String webServiceURL) throws Exception{
Properties systemSettings = System.getProperties();
systemSettings.put("http.proxyHost", loadProperties().getProperty("proxyHost"));
systemSettings.put("http.proxyPort", loadProperties().getProperty("proxyPort"));
System.setProperties(systemSettings);
String responseXML = "";
try {
URL url = new URL(webServiceURL);
URLConnection connection = url.openConnection();
HttpURLConnection httpConn = (HttpURLConnection) connection;
byte[] requestXML = parameters.getBytes();
httpConn.setRequestProperty("Content-Length", String
.valueOf(requestXML.length));
httpConn.setRequestProperty("Content-Type",
"application/x-www-form-urlencoded");
httpConn.setRequestMethod("POST");
httpConn.setDoOutput(true);
httpConn.setDoInput(true);
OutputStream out = httpConn.getOutputStream();
out.write(requestXML, 0, requestXML.length);
out.close();
InputStreamReader isr = new InputStreamReader(httpConn
.getInputStream());
BufferedReader br = new BufferedReader(isr);
String temp;
String tempResponse = "";
while ((temp = br.readLine()) != null)
tempResponse = tempResponse + temp;
responseXML = tempResponse;
br.close();
isr.close();
} catch (java.net.MalformedURLException e) {
System.out
.println("Error in postRequest(): Secure Service Required");
} catch (Exception e) {
System.out.println("Error in postRequest(): " + e.getMessage());
return responseXML;
public String replaceVal(String value) {
if (value == null) {
value = "";
value = value.replace("<", "<");
value = value.replace(">", ">");
value = value.replace("&", "&");
return value;
public static void main(String[] args) {
DocumentSummarizerClient testdoc=new DocumentSummarizerClient();
System.out.println("hello");
testdoc.getSummary("C:\\working_folder\\vep\\UnitTestCases\\VEP1.0\\DocumentSummarizerTestData\\TestErrorFour.doc","100%");
Note: Use any doc with special char(ex: &, $, <, >,.....) TestErrorFour.doc
File 2:
---------public class Base64Utils {
private static byte[] mBase64EncMap, mBase64DecMap;
* Class initializer. Initializes the Base64 alphabet (specified in RFC-2045).
static {
byte[] base64Map = {
(byte)'A', (byte)'B', (byte)'C', (byte)'D', (byte)'E', (byte)'F',
(byte)'G', (byte)'H', (byte)'I', (byte)'J', (byte)'K', (byte)'L',
(byte)'M', (byte)'N', (byte)'O', (byte)'P', (byte)'Q', (byte)'R',
(byte)'S', (byte)'T', (byte)'U', (byte)'V', (byte)'W', (byte)'X',
(byte)'Y', (byte)'Z',
(byte)'a', (byte)'b', (byte)'c', (byte)'d', (byte)'e', (byte)'f',
(byte)'g', (byte)'h', (byte)'i', (byte)'j', (byte)'k', (byte)'l',
(byte)'m', (byte)'n', (byte)'o', (byte)'p', (byte)'q', (byte)'r',
(byte)'s', (byte)'t', (byte)'u', (byte)'v', (byte)'w', (byte)'x',
(byte)'y', (byte)'z',
(byte)'0', (byte)'1', (byte)'2', (byte)'3', (byte)'4', (byte)'5',
(byte)'6', (byte)'7', (byte)'8', (byte)'9', (byte)'+', (byte)'/'};
mBase64EncMap = base64Map;
mBase64DecMap = new byte[128];
for (int i=0; i<mBase64EncMap.length; i++)
mBase64DecMap[mBase64EncMap[i]] = (byte) i;
* This class isn't meant to be instantiated.
private Base64Utils() {
* Encodes the given byte[] using the Base64-encoding,
* as specified in RFC-2045 (Section 6.8).
* @param aData the data to be encoded
* @return the Base64-encoded <var>aData</var>
* @exception IllegalArgumentException if NULL or empty array is passed
public static String base64Encode(byte[] aData) {
if ((aData == null) || (aData.length == 0))
throw new IllegalArgumentException("Can not encode NULL or empty byte array.");
byte encodedBuf[] = new byte[((aData.length+2)/3)*4];
// 3-byte to 4-byte conversion
int srcIndex, destIndex;
for (srcIndex=0, destIndex=0; srcIndex < aData.length-2; srcIndex += 3) {
encodedBuf[destIndex++] = mBase64EncMap[(aData[srcIndex] >>> 2) & 077];
encodedBuf[destIndex++] = mBase64EncMap[(aData[srcIndex+1] >>> 4) & 017 |
(aData[srcIndex] << 4) & 077];
encodedBuf[destIndex++] = mBase64EncMap[(aData[srcIndex+2] >>> 6) & 003 |
(aData[srcIndex+1] << 2) & 077];
encodedBuf[destIndex++] = mBase64EncMap[aData[srcIndex+2] & 077];
// Convert the last 1 or 2 bytes
if (srcIndex < aData.length) {
encodedBuf[destIndex++] = mBase64EncMap[(aData[srcIndex] >>> 2) & 077];
if (srcIndex < aData.length-1) {
encodedBuf[destIndex++] = mBase64EncMap[(aData[srcIndex+1] >>> 4) & 017 |
(aData[srcIndex] << 4) & 077];
encodedBuf[destIndex++] = mBase64EncMap[(aData[srcIndex+1] << 2) & 077];
else {
encodedBuf[destIndex++] = mBase64EncMap[(aData[srcIndex] << 4) & 077];
// Add padding to the end of encoded data
while (destIndex < encodedBuf.length) {
encodedBuf[destIndex] = (byte) '=';
destIndex++;
String result = new String(encodedBuf);
return result;
* Decodes the given Base64-encoded data,
* as specified in RFC-2045 (Section 6.8).
* @param aData the Base64-encoded aData.
* @return the decoded <var>aData</var>.
* @exception IllegalArgumentException if NULL or empty data is passed
public static byte[] base64Decode(String aData) {
if ((aData == null) || (aData.length() == 0))
throw new IllegalArgumentException("Can not decode NULL or empty string.");
byte[] data = aData.getBytes();
// Skip padding from the end of encoded data
int tail = data.length;
while (data[tail-1] == '=')
tail--;
byte decodedBuf[] = new byte[tail - data.length/4];
// ASCII-printable to 0-63 conversion
for (int i = 0; i < data.length; i++)
data[i] = mBase64DecMap[data[i]];
// 4-byte to 3-byte conversion
int srcIndex, destIndex;
for (srcIndex = 0, destIndex=0; destIndex < decodedBuf.length-2;
srcIndex += 4, destIndex += 3) {
decodedBuf[destIndex] = (byte) ( ((data[srcIndex] << 2) & 255) |
((data[srcIndex+1] >>> 4) & 003) );
decodedBuf[destIndex+1] = (byte) ( ((data[srcIndex+1] << 4) & 255) |
((data[srcIndex+2] >>> 2) & 017) );
decodedBuf[destIndex+2] = (byte) ( ((data[srcIndex+2] << 6) & 255) |
(data[srcIndex+3] & 077) );
// Handle last 1 or 2 bytes
if (destIndex < decodedBuf.length)
decodedBuf[destIndex] = (byte) ( ((data[srcIndex] << 2) & 255) |
((data[srcIndex+1] >>> 4) & 003) );
if (++destIndex < decodedBuf.length)
decodedBuf[destIndex] = (byte) ( ((data[srcIndex+1] << 4) & 255) |
((data[srcIndex+2] >>> 2) & 017) );
return decodedBuf;
issue 2: Exception when passing 2MB .txt file
Steps to reproduce:
Call getSummary() with 2MB .txt file
Actual:
The following exception has occured:
1. Error in postRequest(): Unexpected end of file from server
java.lang.NullPointerException
Please provide your precious feedback/suggestions.
Thanks in advance…..
Edited by: EJP on 15/03/2011 16:52: added code tags. Please use them. Code is unreadable otherwise.Thanks for your response….
This is enhancement project and some one develops long back.
Regarding point (b) You should be using the java.net.URLEncoder to encode URL parameters, not a base64 encoder.
DocumentSummarizerClient.java I am using base64
Ex:
// String encoded =new String (summaryInputData.getBytes("ISO-8859-1"),"UTF-8");
String encoded=Base64Utils.base64Encode(summaryInputData.getBytes());
// encoded =new String (summaryInputData.getBytes("ISO-8859-1"),"UTF-8");
String parameters= "base64String="+encoded+"&noOfWordsOrPercentage="+noOfWordsOrPercentage;
summarizedData= postRequest(parameters,summarizerURL);
String slength= "<string xmlns=\"http://tempuri.org/\">";
if(summarizedData.contains("</string>")){
summarizedData= summarizedData.substring(summarizedData.indexOf(slength)+slength.length(),summarizedData.indexOf("</string>"));
summarizedData = replaceVal(summarizedData);
//System.out.println("<?xml version=\"1.0\" encoding=\"utf-8\"?><![CDATA["+summarizedData+"]]>");
System.out.println("Summarized data "+summarizedData);
if(summarizedData.contains("Please enter the percentage")){
summarizedData="Data given cannot be summarized further";
Above specific please I need to modify to resolve above issue.
Could you please suggest me what changes I need to do.
Waiting for positive response. -
Why do I get a totally blank PDF file whenever I try to convert any (Microsoft Office Home and Student 2010, Version: 14.0.6029.1000) Word document file containing either Mangal Fonts (Hindi) and Tunga Fonts (Kannada) into a PDF file (by using Adobe Acrobat X Standard - English, Version: 10.1.4, Program File Size: 1790 MB, Complete/Full Version) after formatting and reinstalling all the necessary software / softwares (Microsoft Windows XP, Home Edition, Version 2002, Service Pack 3 and Windows XP Service Pack 3, Version: 20080414-031525, Program File Size: 9.08 MB)?
I'm using
01) Microsoft Windows XP, Home Edition, Version 2002, Service Pack 3
02) Computer: Intel(R) Pentium(R) 4 CPU 3.00 GHz 3.00 GHz, 504 MB of RAM
03) Windows XP Service Pack 3, Version: 20080414-031525, Program File Size: 9.08 MB
04) Microsoft Office Home and Student 2010, Version: 14.0.6029.1000, Product ID: 82503-388-0792296-26607, Program File Size: 490 MB
05) Adobe Acrobat X Standard - English, Version: 10.1.4, Program File Size: 1790.00 MB, Complete/Full/All Version/Features has/have been installed
06) Windows Internet Explorer 8, Version: 20090308.140743, Program File Size: 4.20 MB
Any Word 2010 document file that has been converted into any PDF File unfortunately does not show either the Mangal (Hindi) Fonts or the Tunga (Kannada) Fonts.
The PDF file will unfortunately become/remain totally/fully/completely blank.
When I convert an Excel Workbook having the Tunga Fonts (Kannada) to/into a PDF File, some of the Tunga fonts in the PDF file are legible and some are unfortunately illegible (get superimposed / overwritten on each other).
Perhaps I may get the same result if I try to convert an Excel Workbook having the Mangal Fonts (Hindi) to/into a PDF File with some Mangal fonts being/becoming legible and the rest being/becoming illegible (getting superimposed / overwritten on each other).
Tanveer
Syed Tanveeruddin, Karnataka, India
Message was edited by: tanveerindian
Message was edited by: tanveerindian
Message was edited by: tanveerindianMy chronological sequence of steps to create a Word 2010 Document or an Excel 2010 Workbook:
I first create a Word Document File or an Excel Workbook File and save it by giving an appropriate file name.
Then I right click on the closed Word Document File or the Excel Workbook File in the file folder and convert it into a PDF by retaining the same/original file name.
The font list of Microsoft Word 2010 claims/says/states that both Mangal and Tunga are True Type fonts and also that these fonts will/would be used on both printer and screen.
In case if there is any text content in English in the beginning it will get converted into PDF only till/until either a Mangal(Hindi)/Tunga(Kannada) Font starts.
The remaining English text content does not get converted into/to PDF the moment a Mangal(Hindi)/Tunga(Kannada) Font starts. If the entire matter is purely (100 per cent) in English text it will fully / completely / totally get converted into a PDF file without any problem.
Message was edited by: tanveerindian -
Work item not getting displayed in the portal
Hi experts,
We are creating a protoype for one of the standard HCM form for change in working time. When we initiate the process, the workflow is supposed to identify the agent(which is the manager in this case) and push the work item in the inbox of the manager.
In our issue, we are able to see the workitem in SAP inbox, but the same work item is not getting displayed in the portal.
If we try to approve from the SAP inbox, the hard coded message u201CWork item can only be executed using the Portal and the UWLu201D comes. [this comes through the method of one of the tasks 17900101 which we are using for approving the form]
We commented the message by using a Z class. Now we donu2019t get the hardcoded message, but still the workflow does not complete from here.
Can this be aan integration issue of the workflow tasks with the portal??Can someone elaborate on this??<ItemType name="uwl.task.webflow.TS17900101.SAP_ECC" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchWebDynPro" executionMode="default">
<ItemTypeCriteria systemId="SAP_ECC" externalType="TS17900101" connector="WebFlowConnector"/>
<Actions>
<Action name="launchWebDynPro" groupAction="" handler="SAPWebDynproLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
<Properties>
<Property name="WebDynproApplication" value="ApproveFormApp"/>
<Property name="WebDynproDeployableObject" value="sap.com/pa~asr~formstep"/>
<Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no"/>
<Property name="openInNewWindow" value="yes"/>
<Property name="display_order_priority" value="5"/>
</Properties>
<Descriptions default=""/>
</Action>
</Actions>
</ItemType>
You have to say to your portal team to modify their XML file as above. In simple you hvae to configure the task in the portal and in the SWFVISU txn as follows with the following vizualization parameters
Task TS17900101 and visualization type is JavaWebDynpro
APPLICATION ApproveFormApp
PACKAGE sap.com/pa~asr~formstep -
Excise invoice not getting converted into INR from USD for an IMPORT PO
Hi All
I have posted one Import PO. Did MIRO for custom and CVD. MIRO doc was in USD which is getting converted into INR as per the exchange rate maintained in OB08.
Then I did MIGO with the ref of comm invoice of MIRO. Now MIGO doc is posted in INR as per exchange rate maintained in OB08 for custome duty and Freight and base value.
For Excise invoice , CVD is getting captured but in excise tab, base amount is showing in INR and currency also shows INR which is correct.
Total Basic duty (BED) , Cess and Hecess iamount s coming in USD but curency is showing INR. After posting the doc also it has not getting converted into INR and the same USD amounts got posted in Excise GLs and currency still showing INR.
For example:--
PO value shows
Base Price - 2040.20 USD
Custome - 204.20 USD
CVD - 179.54 USD
Cess on CVD 3.59 USD
H Cess on CVd 22.44 USD
Now in excise invoice in Excise item tab
Base value - 99960 INR (converted at teh rate of 49 , exch rate type M)
BED - 179.54 INR
CESS - 3.59 INR
HECESS 22.44 INR
Here only currency is changed to INR but amounts are still in USD. After posting the doc also same result is coming, hence Registers are getting updated with wrong values.
Can any one suggest what to do to correct this.
Regds
Mukta
Customization for CVD maintained in Excise config -- company code setting- exchange rate type for CVD is M.
OB08 maintained for USD to INR for the current date.HI Tej
All the Import cycle has created three documents.
1. MIRO doc for custom duties and CVD .-- MIRO posted in USD . I can see the doc in both currency - INr and USD via accounting doc - display currency. I do not have any issue.
2. MIGO doc - for custom duty and Freight - MIGO posted in INR , I can see accounting doc in USD and INR both via accounting document- Display currency and even in the MIGO -- purchase order history tab.
3. Excise Invoice - for CVD - EX Invoice posted in diifferent way --
In this document please note amounts for CVD is as per USD rate , but currency showing is INR , which is a mismatch.
in Excise customization for company code setting - exchange rate type M is maintained. OB08 is also maintained for USD/INR
Condition type JCV1 is also marked with currency conversion and accruals.
Is there any patch or note I need to apply to getting this converted , or any process issue.
Regds
Mukta -
DME files not getting stored in Appl Server .
Hi All ,
Please help me to solve this issue ..
My DME files is not getting stored in the application server directory created by me , rather it is getting stored in the
TEMP folder of the application server . How Can I store the DME output files in my application server , please let me know if I have missed any steps .
Regards,
RanjitaHi,
FUNCTION YFI_PAYMEDIUM_DMEE_20_F2.
""Global Interface:
*" IMPORTING
*" VALUE(I_FPAYH) LIKE FPAYH STRUCTURE FPAYH
*" VALUE(I_FPAYHX) LIKE FPAYHX STRUCTURE FPAYHX
*" VALUE(I_FORMAT_PARAMS) LIKE FPM_SELPAR-PARAM
*" VALUE(I_FILENAME) LIKE REGUT-FSNAM
*" VALUE(I_XFILESYSTEM) TYPE DFILESYST
*" TABLES
*" T_FILE_OUTPUT STRUCTURE FPM_FILE
*" CHANGING
*" REFERENCE(C_FILENAME) LIKE REGUT-FSNAM
put filename
DATA: Y_FILENAME TYPE REGUT-FSNAM,
T_FILENAME TYPE STANDARD TABLE OF REGUT-FSNAM WITH HEADER LINE,
structures filled by application program
L_FPAYH TYPE FPAYH,
*structure for bank data
L_BANKDATA TYPE YFI_BANK_AD_DATA,
*date
W_DATE(10) TYPE C,
*counter
W_CHAR(3) TYPE N,
*dot
W_DOT(1) TYPE C VALUE '.',
W_LEN TYPE I,
W_POS TYPE I.
fill strutures of payment documents
L_FPAYH = I_FPAYH.
Get the Client code( Source Code )
based on the Company code ,House Bank and Bank Id
SELECT SINGLE * FROM YFI_BANK_AD_DATA
INTO CORRESPONDING FIELDS OF L_BANKDATA
WHERE Z_BUKRS = L_FPAYH-ZBUKR AND
Z_BANK = L_FPAYH-HBKID AND Z_BANKID = L_FPAYH-HKTID.
*today's date
W_DATE = SY-DATUM.
*make file name as per bank
IF L_FPAYH-HBKID cp 'HSP01*'.
IF L_FPAYH-HBKID cp 'HS*'.
CONCATENATE '/data/fi/epay/hsp01_int/' '%' L_BANKDATA-Z_CLIENTC(4) W_DATE6(2) W_DATE4(2) w_date(4) L_FPAYH-LAUFI
'.___' INTO Y_FILENAME.
CONCATENATE '/data/fi/epay/pearl2/' '%' L_BANKDATA-Z_CLIENTC(4) W_DATE6(2) W_DATE4(2) w_date(4) L_FPAYH-LAUFI
'.___' INTO Y_FILENAME.
ELSE.
CONCATENATE '/data/fi/epay/icp01/' '%' L_BANKDATA-Z_CLIENTC(4) W_DATE6(2) W_DATE4(2) W_DATE+2(2) '.___' INTO Y_FILENAME.
ENDIF.
*is there any entry for given key
SELECT COUNT( * ) FROM REGUT WHERE DWNAM LIKE Y_FILENAME .
*if none
IF SY-SUBRC <> 0.
*this wud be first file - remove % from file name
W_LEN = STRLEN( Y_FILENAME ) - 22.
Y_FILENAME = Y_FILENAME+22(W_LEN).
IF L_FPAYH-HBKID cp 'HSP01*'.
IF L_FPAYH-HBKID cp 'HS*'.
CONCATENATE '/data/fi/epay/hsp01_int/' Y_FILENAME INTO Y_FILENAME.
CONCATENATE '/data/fi/epay/pearl2/' Y_FILENAME INTO Y_FILENAME.
ELSE.
CONCATENATE '/data/fi/epay/icp01/' Y_FILENAME INTO Y_FILENAME.
ENDIF.
SPLIT Y_FILENAME AT W_DOT INTO Y_FILENAME W_CHAR.
W_CHAR = '001'.
*if yes
ELSE.
*existing file name
SELECT DWNAM FROM REGUT INTO TABLE T_FILENAME WHERE DWNAM LIKE Y_FILENAME
AND DWNAM NE SPACE.
*get file name with max counter
LOOP AT T_FILENAME.
Y_FILENAME = T_FILENAME.
DO.
SEARCH Y_FILENAME FOR '\'.
IF SY-FDPOS = 0.
EXIT.
ELSE.
W_POS = SY-FDPOS + 1.
W_LEN = STRLEN( Y_FILENAME ) - W_POS.
Y_FILENAME = Y_FILENAME+W_POS(W_LEN).
MODIFY T_FILENAME FROM Y_FILENAME .
ENDIF.
ENDDO.
ENDLOOP.
SORT T_FILENAME DESCENDING.
READ TABLE T_FILENAME INDEX 1.
Y_FILENAME = T_FILENAME.
*increment the counter by 1.
SPLIT Y_FILENAME AT W_DOT INTO Y_FILENAME W_CHAR.
TRY.
W_CHAR = W_CHAR + 1.
CATCH CX_SY_CONVERSION_NO_NUMBER.
*-- Make it first file
W_CHAR = '001'.
ENDTRY.
ENDIF.
*put file name
CONCATENATE Y_FILENAME W_DOT w_char INTO Y_FILENAME.
*export to ABAP memory id will be used by filename node in header
EXPORT Y_FILENAME TO MEMORY ID 'Y_DMEE_FILENAME'.
CONCATENATE '/data/fi/' y_filename INTO y_filename.
C_FILENAME = Y_FILENAME.
*} INSERT
ENDFUNCTION.
Maybe you are looking for
-
Problems Installing Oracle Companion CD on Mac OS 10.4
I have already installed Oracle 10.1.0 on my Macintosh G4 running OS 10.4. It is up and running. I have downloaded the Oracle Companion CD and I am trying to install it on my Mac but I am having problems. I am trying to install it as oracle. I am una
-
Webutil_file_transfer.Client_to_as
Hi, I have a form that used the webutil in particular I use ' webutil_file_transfer.Client_to_as. After I use this function, the client file is locket. I cannot delete, rename or modify this file. The file is unlocked only if I exit the form. How I
-
Hi Guys, We have configured ESS role through launchpad. For viewing payslips we are using an external URL configured through launchpad. But when we try to access the configured link in ESS role, it displays "The contents cannot be displayed in a fram
-
No data found for contact person '2000000243'. Inform system administration
Hi expert, i found error 'No data found for contact person '2000000243'. Inform system administration'. When check in program: HRALXSYNC, no error found. Thanks and Regards, Fariz
-
hi I have a text file whose content is 1.0 , 1.1 i have to get the separator as , Is there any method to get the separator alone