Conversion of EDI File format to IDOC format
We have a file in u201C.ediu201D format. We could not process this file with RSEINB00 ( IDoc inbound processing using file ) program.
1-) Could we directly do our process with this u201C.ediu201D file ? Or do we have to convert this u201C.ediu201D file to IDOC format?
If it's EDI format file (Ex: EDIFACT, X12 ...etc), we should convert the file to IDOc file by using mapping in subsystems like Gentran or TLe..etc. Conversion from edi format to idoc format will not be done in SAP.
Reddy
Similar Messages
-
Creating a flat file in the IDOC format
Hi everybody,
Need help.....urgently. Can somebody please tell me how to create a flat file in the IDOC format? I am creating a bill of lading/Documentary payments (EDI 858) and can't figure out a way to write the data generate through the report in a flat file in IDOC format. My deadline is right around the corner and I need help.
Thanks,
MHi Minal,
I still don't understand your question.
So, you have a report which selects data and puts it into an internal table. This part looks fine.
You want to create a flat file? Ok, to create a flat file on the application server then use the commands OPEN DATASET, TRANSFER, and CLOSE DATASET. To create a flat file on the presentation server then use the FM GUI_DOWNLOAD (or the GUI class, I forgets its name for the moment).
In both cases you should build up an internal table which has the exact structure required for your (EDIFACT?) EDI message, and then use the appropriate method to write the file.
If the following steps are manual then there is nothing more for you to do.
I don't see any need to use Idoc technology, or make any reference to it in your solution.
I hope that helps. If not, please be more specific when asking your questions.
Brad -
X12 00502-204 validate instance failure when EDI file is in readable format in Visual Studio
Hi, I have a n X12 00502- 940 edifile, when all data are on the same line, Visual studio validates
ST*204*7629~B2**XXXX**159771**PP~.......N4G*L*43920*900**E*864~SE*33*7629~
when I try to make the file in a readable format, each segment on line by hiting enter after each "~", and try to validate
as follows
ST*204*7629~
B2**XXXX**159771**PP~
B2A*00*LT~
SE*33*7629~
I get "Invalid Segment Terminator" or many segment level errors, I have always "~" in the "segment separator (106th char of iSA) checked in the validate instance dialog box. In Segment separator suffixe, I tried all, None, CR,
LR & CRLF but no way
I also generated an instance and made it readble, I get the exact same behavior
Thanks in advanceCovert it to readable format only for your purpose. Leave the system to read it based on segment separator only.
-
Convert flat file to Idoc format
Due to some security reasons , the ALE scenario for material master is not allowed directly between 2 SAP systems
So the SAP system A is sending a flat file (not in Idoc format)
From SAP system B , we need to do an Inbound process to post the Idocs with following rough steps
1) Flat file upload
2) Flat file -> Idoc format conversion (EDI subsystem is not existing in this scenario and so this step has to be done within SAP)
3) Idoc processing
Even though this scenario can be accomplished without using Idocs ,
for better monitoring and reprocessing options it is required that Idocs need to be used.
Please explain the detailed steps for the above scenarioHi,
This sounds very much lie complicating things unnecessary...Are this 2 SAP systems of the same company ?
Why would using IDOCS be more insecure then using flat files ?
If the purpose is to have a manual check before upload, you can achieve the same with IDOCS.
Please add some background to the process,
regards
Dirk -
How to define the Structure and FCC parameters for EDI file format.
Hi All,
I have a EDI file(FTP)-->XI-->IDOC
the source file content is as follows
PR H01PHUPS
FH SHP 0.0.5
H1 S0022323
W6 7752508853 D
PT 1Z58R7070341111111
PT 1Z58R7070342222222
PT 1Z58R7070353333333
N1ST ZZ 142222
N3ST 8827 D OLD
N4ST MARCY
N1WH ZZ 2070
N3WH 401 QUALITY
N4WH HARRIS
DTENT20111206
DTSHP201112061754
N9LL BN20700033333333
N9NT
CD CP UPS
IT026
P1GD VN A1111
PD Product ID 1
QTORD000000000000010CA
QTSHP000000000000010CA
AM U 000000000000000000M
AM X 000000000000000000
LTLT 1112811111
AM G 000000000000000000
AM N 000000000000000000
AM TAX000000000000000000
AM SVC000000000000000000
AM COD000000000000000000
ST 00000000100000000010000000000000000000000000008500LB
Can any body share me how to declare the structure in DataType.
The first two characters in each record is constant , so this would be the keyfields right?
ex:- PR,FH,H1,W6,PT,AM,N1,N3,N4......
In Comm channel the FCC parameters
i need to go for fieldFixedLengths?
Thanks&Regards
Sai_SHAHi.
if you need to convert an EDI to XML you need to use an Adapter specific (e.g Seeburger) because PI doesn't support EDI files.
Also if you use a FCC , this configuration is for two level Header and Detail.
Check this.
http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm
Regards
Luis Ortiz -
IDOC to FTP keeping IDOC format
I am trying to ftp an IDOC to another server without it converting to XML format. I know there is a global setting to not convert for the IDOC adapter, but I do have 5 other scenarios that need the XML conversion. Is there a way to have a scenario that goes like the below...
IDOC -> XI -> FTP
and keep the actaul file in the IDOC format?
Thanks
Skip FordHi,
have a look at this weblog to understand one
of the approaches:
/people/alessandro.guarneri/blog/2006/03/05/managing-bulky-flat-messages-with-sap-xi-tunneling-once-again--updated
the second approach is to use module IDX_XML_TO_IDOC
as described here:
https://websmp108.sap-ag.de/~sapdownload/011000358700001795162005E/HowToIDocXMLToFlat.pdf
these two should give you a good starting point:)
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a> -
Using File Content Conversion converting XML format to text format
Hi All,
I am able to convert to Text format using file content conversion, But the requirement is to convert the same for the structure with additional subnodes as in the example (also complex nested structures)
<ns0:SendXSDEmployeeDetails xmlns:ns0="http://ehro.eds.com/FRAMEWORK/FileToFile/FileCConverion">
<Employee>
<Employee_ID>2</Employee_ID>
<Employee_Name>KannanKumar</Employee_Name>
<Address>
<Street>13th Cross Reddy</Street>
<City>Bangalore</City>
<Pincode>641026</Pincode>
<Phone_No>
<t1>9901934934</t1>
<t2>9901934934</t2>
</Phone_No>
</Address>
</Employee>
</ns0:SendXSDEmployeeDetails>
can any one help on this please
I have already seen the blogs :
/people/krishnakumar.ramamoorthy3/blog/2007/01/27/generic-mapping-to-convert-nested-xml-to-flat--receiver-file-adatper
/people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping
<b>Can any one help to do this in simple way</b><br>Hi,
Like correctly pointed by JaiShankar, the Sender File Adapter currently does not supoort such stracutures.
the strcuture supported is described in this link,
http://help.sap.com/saphelp_nw2004s/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
Regards
Bhavesh -
File format conversion of Target file using FTP adapter
Hi All,
I am using FTP adapter to create the file on the Target side. But file needs to below format : How do i conver the XML File fomat( Default generate by XI ) to be generat to below file format;
000000000000154162,
CWC1A,,,,
CWC1B,,,,
CWC2A,,,,
CWC2B,,,,
Please provide your suggestion;
thanks;
MKHi Mohan,
I have a collection of Blogs (links) which Specify the File content conversion parameters.
File content conversion, I am Not sure as which Link will Match Your Requirement exactly...
/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/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
Please see the below links for file content conversion..
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter - FCC
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter - FCC
File Content Conversion for Unequal Number of Columns
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns - FCC
Content Conversion (Pattern/Random content in input file)
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file - FCC
Regards,
Sainath chutke -
Error: Conversion of complete file content of 'filename here' to XML format
"Error: Conversion of complete file content of 'filename here' to XML format failed"
We process inbound files every hour, we now got this message we have never seen. But every hour, for three hours, one in many files that are processed get this error. But the file ends with success, and after spot checking the file looks like it made it into SAP.
What is happening? Anybody know?
Thank-You.hey
did u see any adapter with red button?
i m pretty sure there will some sender adapter with red button(meaning error)
also whatever message failed,can u copy that payload from sxmb_moni and test the message mapping under test tab in IR
thanx
ahmad -
RFC - - Flat File (IDOC Format)
Hi,
I need flat file in IDOC(INVOIC02) format from the AR invoice in SAP R/3. We don't want to create IDOC's in SAP R/3. So We need to get the data from R/3 via RFC with EDIDC & EDIDD structures and map it to IDOC in XI. The second mapping would be from IDOC to Flat file.
Did anybody has done the mapping from EDIDD table to IDOC's? If so can you please share some mapping screen shots.
Thanks.
SriniHi,
As I have understood your scenario, you plan to send data from R3 in non-IDOC format, probably through RFC. This could be ABAP Proxy as well. And on receiver end, you need a flat structure file accepting this data.
For this case, you dont need two mappings as you mentioned. You could treat this as RFC - File scenario or Proxy - File scenario and perform the mapping accordingly.
Let me know if I have misunderstood your problem or if you need more elaboration on solution.
Thanks,
Bhavish
Reward points if comments are useful:-) -
How to convert Flat file(.txt) data to an Idoc format(ORDERS05)
Hi,
How to convert Flat file(.txt) data to an Idoc format(ORDERS05). If any FM does the same work please let me know.
thanks in advance,
Chand
Moderator message : Duplicate post locked. Read forum rules before posting.
Edited by: Vinod Kumar on Jul 26, 2011 11:11 AMHi,
For more information, please check this link.
http://sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a
Have a look at the FM IDOC_XML_FROM_FILE. May be it helps...
Regards -
FM to create a flat file in given IDOC type format
Hi,
I need to create a flat file having IDOC format.
I have data in some other source file.
Which function module can be used for the same?
Could you pls provide some sample code?
Appreciate the help.
Thanks.
-ShreyasMy Exact requirement is:
I have some data in a source file.
Now I want to create a flat file while which should be in a standard IDOC format(WMMBID02) so that I can process it later using IDOC processing say EDI_DATA_INCOMING or any appropriate FM which will process IDOC later.
I dont want IDOC to be created in the system right now. I just need to reformat my source file into a standard IDOC format flat file. -
EDI File formats EANCOM2002 and UN 96A are same??
Hello Evyone,
The partner system wants the DESADV EDI file in EANCOM2002 format.
Iam having the XSD's for for the following formats.
DESADV_UN_D96A
DESADV_UN_D97A
DESADV_UN_D97B
DESADV_UN_D99B.
Does any of the above formats is equal to EANCOM2002??
PS: If i use any of the above XSD and the seeburger mapping name as "See_X2E_DESADV_UN_D96A".
Will it reach to partner system in EANCOM2002 format.
Let me know if it works??
Thanks & Regards
Seema.Hi chirag,
I too observe the same.
Now im doing the development by using File adapter.
So i can finish off the development by using UN96A..
But when it goes live..we are going to replace it with AS2 adpter. Iam worrying of it may fail at the partner system because of wrong format??
Any idea any impact will happen??
Regards
Seema. -
Conversion of white spaced flat file to oracle table format
hello friends
I have found out that SQL*Loader can load data from .txt format into table format in oracle.
Please if anynone can provide me with the syntax for conversion of white spaced data in text format would be of great help
Regards,
-MaheshThe utilities guide provides some sample cases.
Just change the field terminator and adjust the field definitions
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96652/ch10.htm#1006689 -
Conversion of csv in flat file to oracle table format
hi friends
I have written a C code for conversion of flat file data to Comma seperated values
Now i have to put this .csv file into oracle tables.
Please suggest me a solution to this so that i can put this values into oracle tables
Regards,
MaheshYou can use Sql*Loader (sqlldr) :
TEST@db102 SQL> create table test (a varchar2(30), b varchar2(30), c varchar2(30));
Table created.
TEST@db102 SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
$ cat test.csv
aaa,bbb,ccc
ddd,eee,fff
111,222,333
$ cat test.ctl
load data
infile 'test.csv'
replace into table test
fields terminated by ','
(a char, b char, c char)
$ sqlldr test/test control=test.ctl
SQL*Loader: Release 10.2.0.1.0 - Production on Wed Mar 8 15:42:42 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Commit point reached - logical record count 3
$ sqlplus test/test
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Mar 8 15:42:48 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
TEST@db102 SQL> select * from test;
A B C
aaa bbb ccc
ddd eee fff
111 222 333
TEST@db102 SQL> But probably there's no need to convert the flat file to csv...
Maybe you are looking for
-
Acrobat 9 Pro can't read out loud
I've always been able to use Acrobat's "Read Out Loud" feature to help me proof complex documents by having Acrobat read the PDF aloud while I read the original to check for discrepancies. Since upgrading to Acrobat 9 Pro Extended version 9.4.6 on Wi
-
Setting Printer Acrobat XI Default to print all PDF files last page first
Hello, I have just recently upgraded to Mavericks and also have the Creative Cloud using Acrobat XI Pro. In using Reader 9, whenever I printed a PDF the output would print in reverse order, so all I would have to do is take it from the printer and ha
-
Hi had a serious computer OS rebuild . on installing Itunes after a Win 7 reload, itunes scanned and found two or more music folders (one was a back up) I have removed the back up but cannot get itunes to remove the duplicates . Itunes thinks there a
-
Seq Header Duplication error when trying to burn dvd
I am using DVD Studio Pro 4 Mac OS 10.49 I imported a 36 minute QT video edited in FCP to DVDSP. When I try to burn a DVD, I get an error message that reads, " Seq Header Duplincation. I cannot figure out the problem. Incidently, the 30 minute DVD se
-
P67A-GD55 boot stops at POST 99 w/ 1-long+2short beep code.
Well subject line tells most of the story: P67A-GD55 boot stops at POST 99 in lower right of display and with 1-long+2short beep code. I've found a note somewhere on these forums that 99 code means Super IO initialization, though I'm not sure if th