Output Flatfile Conversion
Hi All,
I am doing Flatfile to Flatfile scenario.My input format is like ID,Name,Address.I want to get the output which should be same like Input format but through mapping.I am using J2SE file Adapter in both sending and receiving side.I am getting output in Flatfile but with only one field that is "ID".I am not getting the remaining fields i.e., Name and Address in my output flatfile.
My input structure from SXMB_MONI is
<?xml version="1.0" encoding="utf-8" ?>
- <ns:MT_FCC1 xmlns:ns="namespace">
- <Recordset>
- <Data>
<ID>100</ID>
<Name>X</Name>
<Address>Y</Address>
</Data>
</Recordset>
</ns:MT_FCC1>
Content Conversion Parameters which i have specified at receiver side is
xml.recordsetStructure=Recordset,Data
xml.addHeaderLine=0
xml.fieldSeparator=,
xml.endSeparator='nl'
Can anyone suggest me what to do ASAP?
Thanks in Advance
Dinakar
Hi Dinakar,
U should use it like this
Recordset Structure :- Recordser,DATA
DATA.addHeaderLine=0
DATA.fieldSeparator=,
DATA.endSeparator='nl'
insted of
xml.addHeaderLine=0
xml.fieldSeparator=,
xml.endSeparator='nl'
chk this link
Re: file2file receiver side
Sachin
Message was edited by:
Sachin Dhingra
Similar Messages
-
EDI to customized (.csv) flatfile conversion
Hi!
I've tried to test my scenario of EDI to customized (.csv) flatfile conversion.
I've encountered discrepancies on my output.
Instead of one .csv file, i've produced many files, in which, one file consists of one line.
PERIO;EAN;ILN;SALES;TURNO;PERFL;SUBSFL;SALUN;%CURRENCY%;STOCK;STOUN;ARTNR
20080112;737052056760 ;4327926000003; 1; 12.90;W;X;ST ;EUR;0000000000;ST ;
PERIO;EAN;ILN;SALES;TURNO;PERFL;SUBSFL;SALUN;%CURRENCY%;STOCK;STOUN;ARTNR
20080112;737052056852 ;4327926000003; 4; 41.80;W;X;ST ;EUR;0000000000;ST ;
PERIO;EAN;ILN;SALES;TURNO;PERFL;SUBSFL;SALUN;%CURRENCY%;STOCK;STOUN;ARTNR
20080112;737052057101 ;4327926000003; 1; 12.90;W;X;ST ;EUR;0000000000;ST ;
The output should be one file, containing all lines.
PERIO;EAN;ILN;SALES;TURNO;PERFL;SUBSFL;SALUN;%CURRENCY%;STOCK;STOUN;ARTNR
20080112;737052056760 ;4327926000003; 1; 12.90;W;X;ST ;EUR;0000000000;ST ;
20080112;737052056852 ;4327926000003; 4; 41.80;W;X;ST ;EUR;0000000000;ST ;
20080112;737052057101 ;4327926000003; 1; 12.90;W;X;ST ;EUR;0000000000;ST ;
Kindly advise if whether there are changes in configurations that i should made.
Thank you!Hi,
Thanks for the information.
But, I believe, the one mentioned in the Blogs is converting csv file into xml?
Is it ok if I configure my actual scenario for this flatfile conversion?
3rd party -
> SAP XI ---> File Directory
3rd party will send an EDI message (D96A_SLSRPT) to SAP XI.
SAP XI, then translate this EDI message into a customized format flatfile.
The output from XI is XML flatfile.
What happened is that when EDI message enters Seeburger, it splits the message depending on the number of UNH segments contained in the EDI.
That's why, if it enter XI, it will be mapped per message splitted.
The message will enter XI not as a one content message but a splitted message.
I think, Comm channel is ok, the problem is on the splitting of the message.
E.g. this is my EDI source message that will enter XI,
UNA:.? 'UNBUNOC:34304218000002:144004711000003:14080113:004313369+SLSRPT+EANCOM'UNH1SLSRPT:D:96A:UN:EAN004'BGM73E::9432792620080112'DTM137:20080113:102'NADFR4304218000002::9'NADSU4004711000003::9'LOC1624327926000003::9'DTM356:20080112:102'LIN1+737052056760:EN'PRIAAB:12.9::RTP'QTY153:1'LIN2+737052056852:EN'PRIAAB:10.45::RTP'QTY153:4'LIN3+737052057101:EN'PRIAAB:12.9::RTP'QTY153:1'LIN4+737052073552:EN'PRIAAB:10.49::RTP'QTY153:1'LIN5+737052073750:EN'RFFPD:018099'PRIAAB:5::RTP'QTY153:1'LIN6737052078397:EN'PRIAAB:10.95::RTP'QTY153:1'LIN7+737052083247:EN'PRIAAB:10.95::RTP'QTY153:3'LIN8+737052091426:EN'PRIAAB:10.95::RTP'QTY153:1'LIN9+737052093727:EN'PRIAAB:15.95::RTP'QTY153:1'LIN10+737052133430:EN'PRIAAB:9.95::RTP'QTY153:2'LIN11+4004711091100:EN'PRIAAB:12.95::RTP'QTY153:1'LIN12+4004711113802:EN'PRIAAB:9.95::RTP'QTY153:3'LIN13+4004711119002:EN'PRIAAB:9.95::RTP'QTY153:1'LIN14+4004711119309:EN'PRIAAB:9.95::RTP'QTY153:2'LIN15+4004711721908:EN'PRIAAB:8.95::RTP'QTY153:2'LIN16+4004711729300:EN'PRIAAB:9.95::RTP'QTY153:1'LIN17+4004711731907:EN'PRIAAB:8.95::RTP'QTY153:2'LIN18+4004711751905:EN'PRIAAB:8.95::RTP'QTY153:1'LIN19+4004711800108:EN'PRIAAB:6.95::RTP'QTY153:1'LIN20+4004711800146:EN'PRIAAB:6.95::RTP'QTY153:1'LIN21+4004711800832:EN'PRIAAB:16.45::RTP'QTY153:1'LIN22+4004711860416:EN'PRIAAB:12.75::RTP'QTY153:1'LIN23+4082800028510:EN'PRIAAB:13.95::RTP'QTY153:1'LIN24+4082800140007:EN'PRIAAB:7.95::RTP'QTY153:1'LIN25+4082800160906:EN'PRIAAB:10.95::RTP'QTY153:1'LIN26+4082800171902:EN'PRIAAB:10.45::RTP'QTY153:2'LIN27+4082800180805:EN'PRIAAB:10.95::RTP'QTY153:1'LIN28+4082800189303:EN'PRIAAB:8.95::RTP'QTY153:1'LIN29+4082800350444:EN'PRIAAB:16.95::RTP'QTY153:1'LIN30+4082800351007:EN'PRIAAB:10.95::RTP'QTY153:1'LIN31+4082800351304:EN'PRIAAB:9.95::RTP'QTY153:1'LIN32+4082800381103:EN'PRIAAB:9.95::RTP'QTY153:1'LIN33+4082800381301:EN'PRIAAB:10.95::RTP'QTY153:1'LIN34+4082800500269:EN'PRIAAB:17.45::RTP'QTY153:2'LIN35+4082800501730:EN'PRIAAB:10.95::RTP'QTY153:1'LIN36+4082800561369:EN'PRIAAB:19.95::RTP'QTY153:1'LIN37+4082800713058:EN'PRIAAB:9.95::RTP'QTY153:1'LIN38+4082800783402:EN'PRIAAB:19.95::RTP'QTY153:1'UNT123+1
This EDI message will enter Seeburger, and will be splitter depending on the number of UNH segments.
then the splitted message will be translated into XML, then will be mapped on customized flatfile.
Output is one UNH segment (one tag XML) will be converted into .csv flatfile.
Thats why the output is many files because of the splitted message from Seeburger.
Could you advise on what will be the configurations to be done so as Seeburger will not split the message?
And the whole EDI message will enter XI as a whole?
Thank you very much for your time.
Fred -
Output Flatfile, fields alignment
Dear SAP experts,
I have this output flatfile, in which, SALES and TURNO fields were left-justified.
PERIO;EAN;ILN;SALES;TURNO;PERFL;SUBSFL;SALUN;%CURRENCY%;STOCK;STOUN;ARTNR;ARKTX
20071215;737052018126 ;4327498000005;1____;10.50____;W;X;ST ;EUR;0000000000;ST ;
20071215;737052018171 ;4327498000005;1____;14.95____;W;X;ST ;EUR;0000000000;ST ;
How will i make it to be right-justified?
That is, the output is this,
PERIO;EAN;ILN;SALES;TURNO;PERFL;SUBSFL;SALUN;%CURRENCY%;STOCK;STOUN;ARTNR;ARKTX
20071020;737052020198 ;4333342000008;____1;____9.95;W;X;ST ;EUR;0000000000;ST ;
20071020;737052056852 ;4333342000008;____1;____14.50;W;X;ST ;EUR;0000000000;ST ;
Kindly advise.
Thank you.
FredHi,
Please create a user defined function with the code as given below with two parameters (A)Element_Name and (B) Element_Length.
(A) Element_Name: Pass the field that you want to append zeros to Element_Name by sending it through TRIM fucntion. Like for example if you are using the UDF for SALES. SALES->TRIM->Element_Name in UDF.
(B) Element_Length: Pass the constant value with the expected length of the field. like if SALES is a field of 10 characters then send the constatn with value 10.
StringBuffer sb= new StringBuffer();
if (Element_Name.length() < 1)
return Element_Name;
else
int len = Integer.parseInt(Element_Length);
int tot=len-Element_Name.length();
if(Element_Name.length()>=len)
return Element_Name;
else
//if the Element_Name charAt index 0 is a character then return the number as it is.
char firstChar;
int firstNum = Element_Name.charAt(0);
//int firstNum = Integer.parseInt(firstChar);
//if (firstChar == '0' ) //Equals to number
if (firstNum >= 48 && firstNum <=57)
//for(int i=Element_Name.length();i<=len;i++)
for(int i=0;i<=tot;i++)
if(i==tot)
sb.append(Element_Name);
else
sb.append("0");
return sb.toString();
else
return Element_Name;
This will result in the output with zeroes appended in the begin of the field. like if you have SALES as "1" and ELement_Lenght as "10" the output will be "0000000001"
Thanks,
Manohar. -
Flatfile conversion with output file has a NAMING CONVENTION
Dear SAP experts,
I need some advise regarding my scenario.
I am converting a message into flatfile. (customized .csv)
But, the output .csv flatfile must have a naming convention.
E.g. Globus_20071020 (Customer name_YearMonthDate)
Can somebody give me ideas/inputs on what will I configure in File Receiver (FCC) in order to have an output file having a naming convention indicated above.
Or do i need additional configurations?
Please advise.
Thank you very much in advance.
FredHi,
You could pass this kind of File name from mapping at runtime or
You could use the variable substitutions to create the fiel neame as per naming convention as adding date .
With reference to Variables youcould set file name as Globus_%payload.<Date>%
Pass the value in date field of payload
Refer
Variable Substitution
How to use Variable substituion
/people/sameer.shadab/blog/2005/09/23/an-interesting-usage-of-variable-substitution-in-xi
/people/sravya.talanki2/blog/2005/08/11/solution-to-the-problem-encountered-using-variable-substitution-with-xi-sp12
how to use attributes in variable substitution???:(
Dynamic file name
/people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i --> Dynamic File Name using XI 3.0 SP12 Part I
/people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii --> Dynamic file name(XSLT Mapping with Java Enhancement) using XI 3.0 SP12 Part -II
Dynamic File name in File adapter
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
1. In the sender file adapter , select Adapter Specific Attributes --> FileName.
2. Use the code in this link to read the filename inside a UDF in your mapping.
DynamicConfiguration conf = (DynamicConfiguration) container
.getTransformationParameters()
.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create(
http://sap.com/xi/XI/System/File,
FileName);
String filename = conf.get(key);
http://help.sap.com/saphelp_nw2004s/helpdata/en/43/03612cdecc6e76e10000000a422035/content.htm
Thanks
Swarup -
Hi all!
I am new in SAP XI. And i am researching on how will I convert EDI (SLSRPT) to a flatfile. Can everybody advise me on how will I handle this?
I can convert EDI to XML using Seeburger Adapter, and from XML, I will convert it to Flatfile. The conversion will take place in SAP XI. Can i use graphical mapping for this one?
Kindly advise.
Thank you!
FredHi,
For the same requirement you need to follow the below steps:
1) First deploye the Std seeburger mapping provided by see burger on XI
2) If you are using the AS2 adapter then you have to install the AS2 server on XI server.
3) Once you install the std seeburger on SAP XI server you will see the AS2,X400,OFTPS,VAN adapter on XI ID.
5) You need to call the std mapping in the adapter module which does the conversion from EDI to XML and XML to EDI.
If you wanted to know more about seebuger and the configuration then refer the below breif into about seeburger and the reply to many of my threads.
Seeburger adapters like OFTPS,AS2,X400 are used for B2B scenario where the file is coming through WAn network or mailbox. As XI dont have capability to convert the EDIFACT format file to XML the same work will be done by seeburger adapters.
The SEEBURGER Business Integration Converter (BIC) is an any-to-any format converter, used to translate EDI data and legacy data formats into XML and vice versa. It can also be used for complex, high performance XML-to-XML mappings or to interface to existing JDBC data sources.
Supported EDI formats include:
ANSI
EDIFACT
INHOUSE
IDOC
XML Schema
XML DTD
CSV
Delimited Data
positional data
SWIFT
EANCOM
and many more.
See for converting the EDI XML to EDI and XML-EDI you need to have a seeburger mapping program at the adapter module which does the conversion. For this module you need a BIC tool of seeburger which provides the different module program for EDI to XML and XML-EDI. This program needs to be deployed on XI and through adapter it has to be called for conversion.
Refer this forum which is replied by me which talka about the configuration which need to be done for AS2 adapter. This is very helpful:
Re: Pls.. Help Needed.. Seeburger Mapping Names..!!
Re: Seeburger AS2 adapter...
Re: AS2 Module tab.. Mapping Names for modified Standard Msg types ? ? BIC ??
AS2 adpater-- Configuration details for both SND and RCV.
AS2 Sender Adapter -- Need few details.
Seeburger info:
Re: seeburger adapter
Re: SEEBURGER's VAN Adapter
AS2 info:
Re: Regarding Seeburger AS2 Adapter
SEEBURGER EDI adapter
/people/bla.suranyi/blog/2006/06/08/sap-xi-supports-edifact
/people/william.li/blog/2006/03/17/how-to-get-started-using-conversion-agent-from-itemfield
/people/paul.medaille/blog/2005/11/17/more-on-the-sap-conversion-agent-by-itemfield
http://www.stylusstudio.com/edi/XML_to_X12.html
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b0b355ae-0501-0010-3b83-8f2bb566fa47
Details on XI EDI adapter from seeburger
/people/bla.suranyi/blog/2006/06/08/sap-xi-supports-edifact
http://www.seeburger.it/fileadmin/it/pdf/2005_04_sapphire_Ferrero_transcript.pdf
http://www.seeburger.com/fileadmin/com/pdf/Butler_Group_SEEBURGER_Technology_Audit.pdf
http://www.seeburger.com/fileadmin/com/pdf/AS2_General_Overview.pdf
SAP Adapters
EDI with XI
http://www.seeburger.com
http://www.seeburger.com/fileadmin/com/pdf/AS2_General_Overview.pdf
http://www.seeburger.it/fileadmin/it/pdf/2005_04_sapphire_Ferrero_transcript.pdf
http://www.seeburger.com/fileadmin/com/pdf/SEEBURGER_SAP_Adapter_engl.pdf
http://www.seeburger.com/fileadmin/com/pdf/Butler_Group_SEEBURGER_Technology_Audit.pdf
http://www.sap.com/france/company/events/2006/02-01-Automotive-Seeburger.pdf
http://h41123.www4.hp.com/presentations/ISUG/XISeeBurger.ppt
http://www.sap.com/asia/company/events/nwtechdays/presentation/australia-slides/Pre-Built_Integration.pdf
http://www.seeburger.com
http://www.seeburger.it/fileadmin/it/pdf/2005_04_sapphire_Ferrero_transcript.pdf
http://www.seeburger.com/fileadmin/com/pdf/Butler_Group_SEEBURGER_Technology_Audit.pdf
http://www.sap.com/france/company/events/2006/02-01-Automotive-Seeburger.pdf
http://h41123.www4.hp.com/presentations/ISUG/XISeeBurger.ppt
Thnx
Chirag
Reward points if it helps. -
Input and Output Stream conversion
I have problem. In my application I should change OutputStream to InputStream and vv. I try to explain it using easy example.
I am creatin xml document and using XMLOutputter (I am using org.jdom parser) I could write it to file using FileOutputStream, but first I'd like to encrypt this file. For that reason I need InputStream. I write this file on disc, next i read this file, encrypt and write again and at last delete the unencrypted file. Could do It without writeing unencrypted file on disc? Maybe using only streams? Pleas help me, how to do it. Maybe I should convert OutputStream to InputStream.
When I reading information from encrypted file I have the same problem - streams conversion.I wrote an article about how to convert an OutputStream to an InputStream. You can read the article at:
http://ostermiller.org/convert_java_outputstream_inputstream.html
It discusses three methods for conversion: byte arrays, piped streams, and circular buffers. -
Hi all,
i can convert very simple flat file to xml, but i don't know how set Content Conversion Parameters.
Example: I have file with content aaaaaaaaaa nothing else
Transport Protocol: NFS
Message Protocol: File Content Conversion
Document Name: DName
Document Namespace: http://AC_flatfile.cz
Document Offset: 0
Recordset Name: RSname
Recordset Namespace: http://AC_flatfile.cz
Recordset Structure: NameA,*
Recordset Sequence: Variable
Recordsets per Message: *
Key Field Name: *
Key Field Type: String (CI)
NameA.fieldFixedLengths: 10
NameA.fieldFixedType: char
NameA.fieldNames: NameA
... and file not processing and nothing information on SXMB_MONI.
Do you know why?
Have you some examples for set it?
Best regards, Pavel KorinekHI Korinek,
First you have to make a data type in such a manner that you have field names that can hold your values from file.Foe eg if you are sending "aaaa" it must be some field..
The data type should be
<datatypename>
<RSname>
<NameA>
<field1>
<field2>
etc...
so the mandatory filecontent parameters will
NameA.fieldseperator
NameA.endseperator
NameA.fieldNames
NameA.keyFieldValue
This format should work.Your flat file was not getting picked up coz you have not mentioned the required format.
Also go through the link
http://help.sap.com/saphelp_erp2004/helpdata/en/8f/d906d01f77fa40a4c84683c3f8326f/frameset.htm
Regards,
Rashmi -
Can the Iphone output the conversation audio to the docking station like it does with the ringger audio?
Return the darn thing!
Why do you & we accept a phone that does not work 100%
We should be discounted the non working percentage, or simply get a new working one.
Would you accept a saucage with a rotten end, and hope they would treat it with enough chenichals to make it taste and look good?
The problem seems to me a hardware problem, and may be poor assembly. Noticed that incoming calls on my first 4s when vibrator was on, made an extra vibrating noise - i.e. loose speaker, printboard or what do I know.
This does not occur on the phone I purchased yesterday, waiting for the other at the repairshop.
Does Telenor and Apple think I will accept the repaired brand new phone?
NOT!
TCB -
FlatFile Schema Change - Message not getting changed correctly.
A biztalk orchestration uses a flatfile schema (with three nodes accountnumber, date, amount) to send the output in .csv format. The generated .csv file presents the data in trheee columns specific to the three nodes.
I am trying to add an new fourth node (Description) to the flatfile schema but the generated .csv file is presenting all the data in single cell instead of displaying using four different columns. I am trying to figure out a solution.
Appreciate any pointers. ThanksOutput file shows the new node with data.
I think somehow the pipeline componenet not accepting the new schema structure. Hence tried the following steps and the solution seems working now.
1) Deleted the pipeline reference in dependent application, stopped the dependent application.
2) Stopped, Delete and re-deployed current application.
3) Dependent application's sendport is enabled with the flatfile pipeline
3) re-started the host instances, and dependent, and current applications.
Flatfile conversion works OK now.
Disabling & reenabling pipeline solved it.
Thanks -
Question regarding File Content Conversion
Dear SAP experts,
I need you expert advise regarding this.
I have here my sample structure,
CSV ---> this is the message type of the message
'-- ROOT --> this is the root node
'-- FieldA --> has a value of "Filename"
'-- Field B
'-- subfield1 --> has a value of "A"
'-- subfield2 --> has a value of "B"
'-- subfied3 --> has a value of "C"
I want to output this flatfile,
subfield1;subfield2;subfield3
A;B;C
the output flatfile must have Header lines (subfield1;subfield2;subfield3)
What will be the correct parameters in my File Content Conversion, so as, the value "Filename" will not be included in the output flatfile?
Recordset Structure: ?
Kindly advise.
Thank you very much!
FredRefer
FCC
Ref:
Sender -
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
Key value:
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter -
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
/people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
Receiver FCC no need of Endseparator
/people/shabarish.vijayakumar/blog/2007/08/03/file-adapter-receiver--are-we-really-sure-about-the-concepts
Receiver-
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion -
Ive been tearing my hair out for the best part of 14 hours trying to figure out how to keep the closest possible conversion for working with images(rgb in photoshop) right the way through a work flow until exporting to print (having used the image in Indesign). Here is the process I have been trying to get right.
1) working with RGB photo images in photoshop and converting them to CMYK (whilst holding on to as much colour as poss)
2) Importing them to Indesign and retaining the correct colours while working with them)
3) Exporting to high quality print and having all your colours stay 100% the same as you saw them within indesign.
I believe I have the solution so I posted my settings below to see if its the best way of doing things and to help others who might be having the same problems.
The problem
The problem is that there are many different colour models/profiles (both in RGB and CMYK) and each program can effect how the next one handles and stores colour. It can become frustrating knowing where to go in order to set the settings correctly as the combination of things to consider can make it confusing.
I understand many other people have similar problems and finding RGB blacks come out as grey. CMYK spaces get converted from one type to another either from one program to the next or even as things move around one program (causing all sorts of wonderful,colour errors) Plus you have imported colour profiles, working colour profiles and export profiles. All of which can interact and effect each other) So getting it all consistent is key other wise colours change and get washed out. Especially vibrant colours like greens and blues. they fade etc.
Through sheer trial and error and perciverance I found a combination of settings that worked well for me.
Since I am not an expert I wanted to post up my settings to:
1) see if this is the best way of doing things.
2) Other people may find them useful if they had the same problems I had,
The Solution
In photoshop
Save the photoshop image in CMYK by selecting:
Edit > Convert to prfile.
(in destination space)
select: Euroscale Coated v2 (I think this holds the colours the truest of all CMYK colour formats.)
(in conversion options)
- Engine: Adobe ACE
- Intent: Perceptual.
- Check Use black point Compensation.
(leave all else unchecked)
Save the image ready to place in indesign (place rather than copy and paste.).
In Indesign
edit > colour settings (make sure you click on the advanced tick box to open more options)
- Working space: =
- RGB: sRGB IEC....
- CMYK Euroscale coated v2
- RGB & CMYK convert to working space.
- Engine Adobe ACE
- Perceptual
- Use black point compensation
edit > Assign profiles
- RGB profile. > Assign current workspace: sRGB IE
- CMYK > Assign current work space Euroscale Coated V2
- Solid colour intent : preceptual
- Default image intent
- After blending intent: Perceptual.
edit > convert to profile. (use similar as above).
edit > Preferences > Apprearance of black
- on screen / export : Display all blacks as enriched black
- Priniting and export : Display all blacks as enriched black
Overprint: (not checked)
------ when exporting to PDF ----------
File > Export
in GENERAL TAB
- Adobe PDF preset: High quality print.
- Standard (drop down menu): PDF/X-42008
- Compatability: Acrobat 5 PDF1:4
in OUTPUT
- COlour conversion: Convert to destination
- Destination: Working CMYK Euroscale Coated v2
in PDF/X
- Output intent profile name: Working CMYK - Euroscale Coated v2
also:
If you are having problems with fill blacks not coming out as proper black then use registration instead of black from the swatch panel.
The above may seem either obvious to most of you or possibly not the best way of doing things but since the results worked for me and I found them tough to arrive at, it may be of use to others hence my post.
I would like your feedback on this process, have I done something wrong / could do better? If so please let me know. I am keen to improve.I would copy and paste into InDesign forum. Text should stay 100% black. Any other black (like solid boxes or thick lines), I usually use a rich black swatch I created at 40/40/40/100. Looks 10 times better than just 100% black.
-
Function modules for unit conversion
hai gurus.
what is the function module to make one qty to the same unit as other qty.
if one is in kg and other in pounds
i want to make both in pounds.
pls help me with thisHi
chk UNIT_CONVERSION_SAMPLE
also chk this
CF_UT_UNIT_CONVERSION
Some Insights-
Unit conversions
with NW2004s the HOW-TO GUIDE for qty conversion is obsolete.
http://help.sap.com/saphelp_nw2004s/helpdata/en/27/b65c42b4e05542e10000000a1550b0/content.htm
As of SAP NetWeaver 2004s you can create quantity conversion types using transaction RSUOM.
The business transaction rules of the conversion are established in the quantity conversion type. The conversion type is a combination of different parameters (conversion factors, source and target units of measure) that determine how the
conversion is performed.
In terms of functionality, quantity conversion is structured similarly to currency translation.
Quantity conversion allows you to convert key figures with units that have different units of measure in the source system into a uniform unit of measure in the BI system when you update them into InfoCubes
http://help.sap.com/saphelp_nw04s/helpdata/en/27/b38c4284a8c353e10000000a1550b0/content.htm
It is entered in ODS table linked to info object (0material)
What you need to do basically is-
1 ) Goto your infoobject for eg- 0material
2 ) In Info object Maintenance- Tab page- Bex Explorer
3 ) Enter 0BASE_UOM in Base unit of measure
4 ) Generate UOM ODS (System generates it with prefix UOM)
It is made of 4 fields (1 more in case of compounding) with SID for them. This is the place where you enter numerator and
denominator to calculate conversion factor
5 ) Load the UOM ODS with conversion from 0MAT_UNIT_ATTR or flat file
6 ) Define conversion type
7 ) In the conversion type, then you can select 0Material in the dynamic determination of conversion factor
8 ) Select source unit and target unit
For more help refer SAP help file on NW2004s. It is comprehensive and even explain - How to do unit conversion in
transformation rule?
http://help.sap.com/saphelp_nw04s/helpdata/en/4f/707242df019c60e10000000a1550b0/content.htm
Check this sample code,
CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
EXPORTING
* CLIENT = SY-MANDT
DATE = pdate
FOREIGN_AMOUNT = p_amt1
FOREIGN_CURRENCY = p_curr1
LOCAL_CURRENCY = p_curr2
* RATE = 0
* TYPE_OF_RATE = 'M'
* READ_TCURR = 'X'
IMPORTING
EXCHANGE_RATE = w_rate
FOREIGN_FACTOR = w_fact1
LOCAL_AMOUNT = w_amt
LOCAL_FACTOR = w_fact2
* EXCHANGE_RATEX =
* FIXED_RATE =
* DERIVED_RATE_TYPE =
EXCEPTIONS
NO_RATE_FOUND = 1
OVERFLOW = 2
NO_FACTORS_FOUND = 3
NO_SPREAD_FOUND = 4
DERIVED_2_TIMES = 5
OTHERS = 6.
IF SY-SUBRC <> 0.
write: / 'Conversion to loc.curr. failed:',
p_curr1, '->', p_curr2, 'err.code=', sy-subrc.
ELSE.
write: / 'to Loc.curr:', p_amt1 currency p_curr1, p_curr1, '->',
w_amt currency p_curr2, p_curr2,
'(', w_rate, ')', w_fact1, w_fact2.
ENDIF.
http://www.geocities.com/victorav15/sapr3/examples/currconv.txt
Check this
CONVERSION_FACTOR_GET
Measurement unit conversion: Get measurement unit conversion factor Not for Dimensionless Units of Measure
UNIT_CONVERSION_SIMPLE Measurement unit conversion by table T006, with rounding
UNIT_OF_MEASURE_SAP_TO_ISO
UNIT_OF_MEASURE_ISO_TO_SAP
MATERIAL_UNIT_CONVERSION Material quantity conversion from Base Unit of Measure to Alternative Unit of Measure and vice versa. For Dimensionless Units of Measure (Each, Piece, Box etc.) conversion depends on the given Material (see table MARM). For other Units of Measure (Length, Weigth etc.) conversion can be calculated from the T006 table or via CONVERSION_FACTOR_GET.
CONVERSION_EXIT_CUNIT_INPUT Conversion exit for commercial (3-char) measurement unit INPUT
CONVERSION_EXIT_CUNIT_OUTPUT Conversion exit for commercial (3-char) measurement unit OUTPUT
CONVERSION_EXIT_LUNIT_INPUT Conversion exit for technical (6-char) measurement unit INPUT
CONVERSION_EXIT_LUNIT_OUTPUT Conversion exit for technical (6-char) measurement unit OUTPUT
UNIT_OF_MEASUREMENT_HELP Input help for measurement units of a predefined dimension
http://www.geocities.com/victorav15/sapr3/abapfun.html
Reward all helpfull answers
Regards
Pavan -
Hi,
I am trying to test the custom conversion with IBR.
As a first step I would like to be able to execute a java method before the PDF conversion of a MS Word document.
I have created a component with the following tables :
<@table CustomConversion_DocumentConversions@>
<table border=1><caption><strong>CustomConversion_DocumentConversions</strong></caption>
<tr>
<td>drConversion</td>
<td>drSteps</td>
<td>drDescription</td>
<td>drIsEnabledFlag</td>
</tr>
<tr>
<td>CheckLinks</td>
<td>CheckLinksFile</td>
<td>check link into doc files</td>
<td>TRUE</td>
</tr>
<tr>
<td>MSOffice</td>
<td>ExecuteSubconversion<$stepsToWebviewable="CheckLinksFile, MSOfficeToPostscript, PostscriptToPDF, ExecuteSubconversion<$subConversion='CreateThumbnail'$>", subConversion="UniversalConversion", supportsOIX="true", supportsXX="true", supportsOO="true", supportsIX="true"$></td>
<td>Conversion MS Office customisee</td>
<td>TRUE</td>
</tr>
</table>
<@end@>
<@table CustomConversion_ConversionSteps@>
<table border=1><caption><strong>CustomConversion_ConversionSteps</strong></caption>
<tr>
<td>drStep</td>
<td>drStepType</td>
<td>drStepAction</td>
<td>drStepParameters</td>
<td>drStepTimeoutName</td>
<td>drStepReport</td>
<td>drStepControlCodes</td>
<td>drStepDescription</td>
<td>drStepIsEnabled</td>
</tr>
<tr>
<td>CheckLinksFile</td>
<td>Code</td>
<td>oracle.customconversion.CheckLinksFileStep</td>
<td></td>
<td></td>
<td>!csCheckFiles</td>
<td>onErrorFail</td>
<td>Sample step that checks word files</td>
<td>TRUE</td>
</tr>
</table>
<@end@>
The "CheckLinksFile" step should be executed as it is added to the conversion steps of the MSOffice conversion.
However, it does not seem to be executed ...
Below, I copy the console output :
starting conversion: WORD; is subconversion: false
Script: TRUE
Evaluated to: TRUE
Script: ExecuteSubconversion<$subConversion="MSOffice",msOfficeApp="WORD"$>
Evaluated to: ExecuteSubconversion
Starting step: ExecuteSubconversion
Script: ignoreStatus
Evaluated to: ignoreStatus
Script: <$subConversion$>
Evaluated to: MSOffice
starting conversion: MSOFFICE; is subconversion: true
Script: TRUE
Evaluated to: TRUE
Script: ExecuteSubconversion<$stepsToWebviewable="CheckLinksFile, MSOfficeToPostscript, PostscriptToPDF, ExecuteSubconversion<$subConversion='CreateThumbnail'$>", subConversion="UniversalConversion", supportsOIX="true", supportsXX="true", supportsOO="true", supportsIX="true"$>
Evaluated to: ExecuteSubconversion
Starting step: ExecuteSubconversion
Script: ignoreStatus
Evaluated to: ignoreStatus
Script: <$subConversion$>
Evaluated to: UniversalConversion
starting conversion: UNIVERSALCONVERSION; is subconversion: true
Script: TRUE
Evaluated to: TRUE
Script: <$include universal_conversion$>
Evaluated to: ExecuteSubconversion
Starting step: ExecuteSubconversion
Script: ignoreStatus
Evaluated to: ignoreStatus
Script: <$subConversion$>
Evaluated to: Direct PDFExport
starting conversion: DIRECT PDFEXPORT; is subconversion: true
Script: true
Evaluated to: true
Script: PDFExport, ExecuteSubconversion<$subConversion='CreateThumbnail', supportsIX='true'$>
Evaluated to: PDFExport, ExecuteSubconversion
Starting step: PDFExport
Script: onErrorFail, producesRequiredWebviewable
The java method that should be executed does a System.out.println that should appear in that log ...
Does someone have an idea ?
Thank you,
Romain.Hi Raphael,
Thank you for your answer.
I am just trying to do a simple task to see how I could customize the IBR conversions.
I have written a simple Java class with a method that just writes a comment into the conversion logs.
I've also made a component that adds lines into the conversions and steps tables to enable my custom conversion.
My java method should be executed before PDF conversion but I do not see the comment into the logs even if the conversion succeeded !
I don't know if I do not look at the right log files (IBR output into the IBR console) or if I missed something ...
Have you an idea ?
Did you use the same method to create custom conversions (java class + custom component) ?
Thank you,
Romain. -
CBWFQ: Question about the output of "show policy-map interface" command
Hi everyone,
I have a question about the output of "show policy-map interface" command.
The following is the output of this command and lower side of the output shows
(total queued/total drops/no-buffer drops) 0/342/0
If the packets drop occur due to the situation of no enough buffer,
"no-buffer drops" counted up. But "no-buffer drops" has not been counted up.
The "no-buffer drops" is 0 (zero) but "total drops" are counted as 342.
I guess there are other factors except "no-buffer drops" to add "total drops".
But I can not find any information about "other factors".
So I would like to know the "other factors" added to "total drops".
reserch-3725#sh policy-map interface fastethernet0/1
FastEthernet0/1
Service-policy output: shaping
Class-map: kdpc (match-all)
146956873 packets, 115209221595 bytes
5 minute offered rate 156000 bps, drop rate 0 bps
Match: access-group name YOKOHAMA_to_CHINO
Traffic Shaping
Target/Average Byte Sustain Excess Interval Increment
Rate Limit bits/int bits/int (ms) (bytes)
9360000/9360000 58500 234000 234000 25 29250
Adapt Queue Packets Bytes Packets Bytes Shaping
Active Depth Delayed Delayed Active
- 0 146956724 3539850811 2960247 3851843541 no
Class-map: class-default (match-any)
552458414 packets, 249687580329 bytes
5 minute offered rate 242000 bps, drop rate 0 bps
Match: any
Traffic Shaping
Target/Average Byte Sustain Excess Interval Increment
Rate Limit bits/int bits/int (ms) (bytes)
3072000/3072000 19200 76800 76800 25 9600
Adapt Queue Packets Bytes Packets Bytes Shaping
Active Depth Delayed Delayed Active
- 0 552453209 573909865 30358216 2926188156 no
Service-policy : policy1
Class-map: dlsw (match-all)
979578 packets, 264843255 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group name acl-dlsw
Queueing
Output Queue: Conversation 137
Bandwidth 128 (kbps) Max Threshold 64 (packets)
(pkts matched/bytes matched) 20922/17371500
(depth/total drops/no-buffer drops) 0/0/0
Class-map: telnet (match-all)
29938 packets, 1806058 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group name acl-telnet
Queueing
Output Queue: Conversation 138
Bandwidth 64 (kbps) Max Threshold 64 (packets)
(pkts matched/bytes matched) 639/38900
(depth/total drops/no-buffer drops) 0/0/0
Class-map: class-default (match-any)
551448911 packets, 249420939729 bytes
5 minute offered rate 242000 bps, drop rate 0 bps
Match: any
Queueing
Flow Based Fair Queueing
Maximum Number of Hashed Queues 128
(total queued/total drops/no-buffer drops) 0/342/0
Your information would be appreciated.Details infomatiuon regarding show policy-map interface
http://www.cisco.com/en/US/tech/tk543/tk545/technologies_tech_note09186a008010dd6a.shtml
http://www.cisco.com/en/US/tech/tk543/tk760/technologies_tech_note09186a0080108e2d.shtml
http://www.cisco.com/univercd/cc/td/doc/product/software/ios123/123cgcr/qos_r/qos_s2g.htm#wp1146884 -
FileName using Variable Substitution Method
Hi SAP experts,
I need some advise regarding this.
I have here sample structure of message,
DT_Root --> root node
Tree --> occurence is 1 to unbounded
SubTree1
SubTree2
SubTree3
What will be my File Content Conversion parameters to be set in Variable Substitution Method in order for me to get the value of SubTree3 and make it as my filename?
Also, the value of SubTree3 must not be present on my actual payload..
var1:payload,1,SLI,1 ---?? what if it is unbounded?
Kindly advise.
Thank you very much.Hi Raj,
I cannot open the link.
Anyway, is it ok if you will advise me regarding my question a while ago?
I have here sample message structure,
CSV --> Message Type
SLI --> 1 .. unbounded (occurence)
subSLI1
subSLI2
subSLI3
FileNode --> 1..1 (occurence)
FileName --> 1..1
Here's my parameters in Variable Substituion method,
FileName Scheme: %var1%.csv
var1 -- payload:CSV,1,FileNode,1,FileName,1
File Content Conversion Parameters:
Recordset Structure: SLI,FileNode
SLI.addHeaderLine: 3
SLI.headerLine: PERIO;EAN;ILN,....
SLI.fieldFixedLengths: 8;10;13;...
SLI.fixedLengthTooShortHandling: Cut
SLI.fieldSeparator: ;
SLI.endSeparator: 'nl'
FileNode.fieldFixedLengths: 0
FileNode.fixedLengthTooShortHandling: Cut
I must the output flatfile with a value of the filename in the FileName field.
And the content of the flatfile must look like this,'
PERIO;EAN;ILN;SALES;TURNO;PERFL;SUBSFL;SALUN;%CURRENCY%;STOCK;STOUN;ARTNR;ARKTX
20071020;737052020198 ;4333342000008; 1; 9.95;W;X;ST ;EUR;0000000000;ST ;
20071020;737052056852 ;4333342000008; 1; 14.50;W;X;ST ;EUR;0000000000;ST ;
20071020;737052073552 ;4333342000008; 1; 12.95;W;X;ST ;EUR;0000000000;ST ;
*each field has a fixed field length.
Kindly advise if my set parameters are correct.
Thank you very much!
Maybe you are looking for
-
How do i change my Itunes payment method from Visa to None..?
Ok..so I originally had my credit card on there, but when it got maxed out, I changed it to a prepaid Visa card that I got for Christmas. The Visa card is now maxed, and my credit card is still maxed, and apple won't show 'NONE' as a payment option.
-
Toshiba regza 52xv555d lcd tv hd/standard issues
o.k got this t.v and its all good and well but.... there is absolutley not differance in picture quality between dvd ( sony dav-is10 upscaling dvd) sont bdp s370 and bog-standard t.v, the dvd player is set to 1080, toshiba tech support where about as
-
Best practice: storing user input as application wide config
example: a webmail application is deployed as a war-file to a server. the fresh deployed app now needs to read info from the user (mail-host, username, password, etc.). what is the best way to store this information permanently on the serverside for
-
Corrupt documents after switchover to Acrobat X Standard from Acrobat 5
At this workplace, we have had Acrobat 5 Standard copying and pasting pages from any PDF file from suppliers, Lanier printer / scanner units, AutoCAD. We have now moved to Acrobat 10 Standard, with latest updates. Aribitrarily people have been openin
-
List of manufacturer/brands navigation or catalog
Having trouble creating a navigation that shows all the manufacturers/brands on a navigation bar/category/drop down list. Then when clicked on it will show all thier products within the main selling screen. At this time I use the CUSTOM1 field in m