EDI file
hi all,
i have one EDI file and i have store the column's values into the respective tables.
for ex i have
an edi like
<Message-Header>
<Message-Id>1234</Message-Id>
<Sender-Company-ID>4569</Sender-Company-ID>
<Sender-Company-Name>abc company</Sender-Company-Name>
<Sender-User-ID>AA</Sender-User-ID>
<Recv-Company-ID>050</Recv-Company-ID>
<Recv-Company-Name>XYZ pvt.ltd</Recv-Company-Name>
<Creation-Time>20101019 15:59:39</Creation-Time>
</Message-Header>i have to store the values 1234,4569,abc company,AA,050,XYZ pvt.ltd,
20101019 15:59:39 into the respective data base tables
This can be acheived by xml type(by passing the path of the nodes)
but with version what i am using doesn't supports that.
my form version is Forms [32 Bit] Version 6.0.8.24.1 (Production)
do we have any alternative of fetching only the values from the EDI.
Thanks..
Edited by: user13329002 on Oct 25, 2010 2:44 AM
hi,
No, both are different. i.e y i have asked in a new thread.
my previous thread is about to check for the valid file. this thread is to store the data into the corresponding table.
This can be acheived by xml type,since i have using lower version, so looking workaround.
Thanks..
Similar Messages
-
Problem with CRLF in a EDI file....
Hello,
I receive from my client a EDI file with a charcater in the end of the file, for this, the map generate the error Length limit exceeded - no SEG. delim. found!!!, but if I set "on" in the ingnoreCRLF option on the BICMD of Seebubrger, the map works correctly, I try too with the instruction setIgnoreCRLF("on") in the last segment of the EDI and this works too fine.
But when I deploy the mappings_user.sda with this changes to XI and I receive the file in the BIC Module, the map doesn´t work, generate the same error to the character on the file.
Can comebody help me please with an idea about this problem??.
Greetings,
HerveyCheck the case of the file names such as map.jhm File names are not case sensitive when in a jar file.
-
Removal of Line feed from EDI file in IDOC to EDI file scenario
Hi Experts,
I have one problem related to line feed in EDI file. Currently i am using seeburger mapping to do XML to EDI mapping. After mapping i am using File Adapter(with NFS) to create file in my PI server.
The line looks like
UNB+UNOA......
UNH+1.......
BGM.........
but i want my file in without line feed
UNBUNOA......UNH1......BGM
Can this be possible without use of Shell script?
Is anything i can do in Seeburger mapping [i checked BIC mapper in seeburger and see some parameters there]?
Regards,
ShradhaHi,
I am explaining my scenario in detail:
my Current EDI file looks like
UNAf1f2............'
UNBf1f2............'
BGMf1f2............'
UNHf1f2............'
now i want my file to be in following format
UNAf1f2............'UNBf1f2............'BGMf1f2............'UNHf1f2............'
NOTE: to create my current file i am using File adapter with NFS and seeburger mapping.
Can you please tell me a way to remove the line feed from the current file ?
I already tried newline checkbox from seeburger and it is not working. and other parameter i can use from see burger mapping tool which will remove my line feed.
Regards,
Shradha -
Read incoming EDI File content and FTP file on R/3 server based on value
Hi,
We have the below scenario:
The incoming file is received in XI in the below directory:
/usr/feeders//interfaces/EP1/abc
The file name is- TCDE.BLQSAM.OCAA2682.C0084031
The file contains some data like below:
UNBUNOA:3HEXAGON-ABCABC10268002090806:1004+403140015324'
UNH1CONTRL:2:2:UN:APACS'
UCI1000284217ABC10268002HEXAGON-ABC7+C00'
Based on this incoming file reference number in line 3 as given (1000284217) for example, a lookup needs to be made in R/3 in a table to determine if the file should be placed in directory A or Directory B in R/3 without any XML conversion.
I have made the scenario and the details are as below:
Created the new Mapping Archive in the IR and import this .jar
Created an Interface mapping for the Control File processing and select the mapping program from the archive
Created a Business Service called "BSY_ECC6_FI_CENTRAL" and a communication channel called "CCIA_01_RFC_RECEIVER", for the connection to the R/3 system of type RFC and will have to have the connection settings for the R/3 backend with the client which has the data in it for the FM call.
I have the java code that I can forward you for reference.
I am not able to run the scenario successfully.
Plaese advise as to how I can develop this scenario.
Regards,
ArchanaHi Archana,
Based on this incoming file reference number in line 3 as given (1000284217) for example, a lookup needs to be made in R/3 in a table to determine if the file should be placed in directory A or Directory B in R/3 without any XML conversion.
Created the new Mapping Archive in the IR and import this .jar
Created an Interface mapping for the Control File processing and select the mapping program from the archive
Created a Business Service called "BSY_ECC6_FI_CENTRAL" and a communication channel called "CCIA_01_RFC_RECEIVER",
for the connection to the R/3 system of type RFC and will have to have the connection settings for the R/3 backend with the
client which has the data in it for the FM call.
What i understand from your Qs is, you want to get the location where the file need to be placed from the table in R/3 system
based on the ref. no mentioned in source EDI file, and the target file should be placed as a flat file format.
You are using RFC lookup to get the details of the location in Java mapping, Once you have the location you can map it to the
element in payload and using varaible substitution you can specify the target directory.
Regards,
Prasanna -
EDI file Mapping.. problem with UNT segment..!!
Hi all,
Anyone who worked on EDI files, pls help me..
Doing Idoc to EDI scenario..
I done for all the mapping for all the fields except for the UNT segment and field D_0074
Here i need to provide no of segments in the EDI file...
like
*UNBUNOA:393777:ZZ93139:ZZ080108:09080+++1'
UNH0000016334368DESADV:D:01B:UN:EAN007'
BGM3510094147783+9'
DTM+137:200801080934:203'
DTM+11:200801080934:203'
DTM+17:200801100000:203'
ALI++168165'
RFF+ON:R-08007E'
DTM+171:20080107:102'
NADSU377996::92'
NADST9418GR::92'
CPS1+5'
PAC9+09::9'
MEAPDAAA+KGM:6306.628'
MEACTNPP+NAR:9'
CPS21+3'
PAC109::9F:CHEP'
MEAPDAAA+KGM:256.828'
PCI+33E'
GINAW393100471000832922'
LIN1+19310047208023:SRV'
QTY+12:44'
DTM+36:20090505:102'
CNT+2:2'
UNT240000016334368'
If you observe the above file which is my resultant file.. I need to count all the segments above UNT and pass the value( here total segments are 24) to D_0074 field .
Is it any way we can count all the segments.. and pass the value??
Kindly suggest me ..
waiting for your replys..
Regards
Seema.Problem here is ..
They have created only SCv Seebutger_EDI_Adpater
but they haven't created for Seebutger_GENERIC_EDI ..
all those mappings will be under Seebutger_GENERIC_EDI .. which they haven;t installed..
thats the problem..
If any one has that UDF .. kindly let me know..
-Seema. -
IDOC to EDI file in PI 7.0. ( exchange infrastructure)
i have to do one application
SAP ECC 6.0 -> SAP XI -> Non SAP File Server
Non SAP file server accepts only .edi format files.
m trying IDOC to File scenario. IDOC generated is not giving exact EDI format which needs to send. How to transfer EDI format file from this scenario.
if its done by file content conversion, pls describe more.
eg . file output(.edi file) should be in below form
EDI_DC40 100000000000027837646C 3012 O
E2EDK01005 100000000000027837600000100000001 XSEK 5.23120Hi,
There are two ways:
1. You can find out if an EDI provider (3rd party) which supports XML EDI Messages so you can just send XML EDI messages You can use Seeburger Adapter to conver into EDI Format.
In general , If sender side is File the that file must be generated by EDI mappers tool like BIC.
If file is in receiver side you have to use some Adapter to conver into EDI format.
-you can use FILE/FTP Adapter with Seeburger modules.
-you can use Seeburger OFTP Adapter.
See the following documents to help you ..
/people/william.li/blog/2006/03/17/how-to-get-started-using-conversion-agent-from-itemfield
/people/alexander.bundschuh/blog/2006/03/14/integrate-sap-conversion-agent-by-itemfield-with-sap-xi
/people/paul.medaille/blog/2005/11/17/more-on-the-sap-conversion-agent-by-itemfield
/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
Check this for Conversions-
/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
2. You can use EDI 834 Enrollment messages with XI you don't need an adapter - you can use adapter module:
a) you can develop the adapter module for file adapter yourself
for one message it will ont be that difficult
b) you can use SAP conversion agent to create the EDI adapter module
(it has many EDI messages included)
Thanks
Swarup -
IDOC to EDI file scenario and EDI file to IDOC scenario without Seeburger
Hi All,
IDOC (Invoice) to EDI file scenario without Seeburger
Pls let me know if anybody have blogs for the same
EDI file to IDOC (Orders) scenario without Seeburger
Pls let me know if anybody have blogs for the same
RegardsHi Rachit,
>>Can anybody send me blogs to convert IDoc structure to EDI or EDI to IDoc structure using Conversion Agent or using JAVA Mappings.
Using conversion Agent there is no coding, If you have a conversion agent insatlled in your landscape you will have better understanding..
Also java code for IDoc to EDI have some problems:
1. The EDI format differs based on requirement so there will always be a customized code for it.. Like we have IDco to EDIFACT and ANSX12...
2. Because most of these codes are propriety materials I doubt whether anyone be sharing the complete code here in SDN. Better to have a java consultant at your end and put him with your requirement.. From the reply in above threads you should be clear that what you are looking for can be done from java coding..
All the best
Regards
Suraj -
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 -
Transaction sets in a batched edi file
Hi,
I received a batched EDI file with multiple transaction set. How can I identify the number of transactions in this file?
Do I look at the GE01?
ChristianeYes. GE01 is the number of Transaction Sets, ST/SE, in the Functional Group, GS/GE.
http://msdn.microsoft.com/en-us/library/cc973821(v=bts.10).aspx -
Vat code change, EDI file number finding and EDI file structure chage?
Hello Gurus
Our client has a plant in Europe, which has a largest supplier. We process electronic invoices to the vendor through a provider OB10 ( private company - invoicing provider ).
In the transfer of the electronic data to the invoice posting, a VAT code is added to the details, that appears to be pulling from a certain Table in the system.
I want to know from which tables this field has pulled up to the Invoice?
In continuation of the process ...I have come across an issue on EDI file structure change. I have provided with the the Idoc numbers of above invoices, from the idoc numbers i need to find out the EDI file number. But when i went to WE02, WE05 with those idoc numbers i couldn't find the EDI file number( Interchange file number ref).
How can i find the EDI file number and i have to suggest the EDI team for changing the file structure in regard to the VAT code updating according to the Plants abroad function.
What are the things i need to suggest them exactly in regard to this?
Please reply me ASAP...
Thanks
MallikThe table for tax code is T076M - maintainable using T code OBCD. For EDI file number, execute T Code WE02 - enter IDoc number and execute (F8). In the right window pane, choose select layout -> change layout and pick up the field Interchange file reference. Guess this is what you are looking for.
OR
Go to transaction WE02 or WE05 enter Idoc number and choose execute. When Idoc data is displayed double click on Control Record in left pane. Choose Details tab. Interchangable file under References.
You can also refer the entries in table EDIDC.
Reference to interchange file:
This field contains the reference number of the interchange file in which the EDI message was transmitted. -
Filtering EDI Files in B2B 11g
Hi Gurus,
We have a requirement that we should not process the EDI files which will have Usage Indicator(ISA15) has 'T' value. Rather we should send the file to some test directory on SOA file system.
Could you please let me know whether we can achieve this in B2B 11g.
Regards,
RaghavHi Raghav,
Oracle B2B is not a service bus and hence does not has a functionality of content based routing. Better change your design and have a service bus before B2B to do content based routing.
Regards,
Anuj -
Hi,
I have a requirement where i need to batch files from different trading partners which are in EDI format. I was referring to Oracle documentation and it is mentioned there that we can not do batching of EDI files unless it is changed to xml.
Anyone have any idea how and where we can transform these edi files to xml and process it?
Thanks,
OraThere is no option to batch the native documents in B2B.
Here is one option which you can think of: process the EDI message in inbound direction and it will translate to XML and then later schedule a batch in outbound direction where all these xmls can be batched and translated to native (EDI format) and sent across to the partner.
Regards,
Dheeraj -
I am trying to process bigger file in biztalk orchestation, my observation is very slow.
I have requirement that will get edi file and I need to convert it in to xml file for ERP. As my requirement is very simple I just create map and generating corresponding output file. I get single EDI file with just one ST so I consume it convert to XML
and send to ERP.
It works well for smaller file. When I try to test it with bigger file like 50 MB it is very slow like it already more than 20 minutes but still going on.
I am trying it on local box where RAM is 8 GB, production scenario will be different . But still like to check is it normal for such big file?
What are best practice for it? As i have similar file from multiple customer I just create different maps for each and load dynamically it. That is reason I am using orchestration as it was easy by assignment shape.
Any suggestion?As mention in the How
BizTalk Server Processes Large Messages. Transforming
a document with a map is a memory-intensive operation. So try find a way where you can do the transformation outside
the BizTalk. Following articles can help you.
How do I reuse BizTalk maps outside of BizTalk?
Calling a BizTalk Transform (Map) from .Net Code
How To Boost Message Transformations Using the XslCompiledTransform class
Rachit -
How to send the PAYE EDI files - P45(1) P45(3) P46 to HMRC
Hi,
How do we send the EDI files like P45(1), P45(3), P46 etc.. to HMRC.
Oracle Payroll generates the files, but doesn't support transmission to HMRC.
Can these files be directly uploaded on the HMRC website ?
Are there any recommended third-party softwares for the same ?
Appreciate any inputs.
Thanks,
VigneswarThanks Avinash.
I see some Third-party softwares here :
http://www.hmrc.gov.uk/ebu/edi/edi-software.htm#P37_1596
Are there any free ones ?
Any idea how much does the licensing for EigarPay cost ?
Thanks,
Vigneswar -
EDI file to IDOC using Business connector 4.6
Hi Gurus,
We have a requirement of converting the EDI file to IDOC using Business connector 4.6 (943 & 944 ) one Inbound and other is outbound ..
Can any one of you share the document on developing the scensrio ... we have searched couldnt get the same.
Thanks in advance .
RamamurthyHi Raj,
Thanks for the reply , Yes currently we also having the project using PI as rightly said we are using the seeburger and then converting the EDI format to XML and then mapped in IR to the IDOC .
also using Item field conversion we developed some projects , similarly we have developed using modules too .
Since the Business connector is new to us we didnt able to catch hold on where to import the Java program that we write in the Business connector ... from Jothi reply understood the server side configuration.
In case of BC where is that we need to implement the java code if you can share some thing on this would be good .
Could you please share on how to transform and then implement the code in the BC ....
Thanks,
Ramamurthy -
Idoc Number and EDI file number...
Hi gurus
How do we know EDI file number from the IDoc number ?
I have Idoc numbers with me but is there any way that i can know that the EDI file number associated with that ?
Thanks
Meenakshi NakshatrulaHi,
Go to transaction WE02 or WE05 enter Idoc number and choose execute. When Idoc data is displayed double click on Control Record in left pane. Choose Details tab. Interchangable file under References.
You can also refer the entries in table EDIDC.
Reference to interchange file:
This field contains the reference number of the interchange file in which the EDI message was transmitted.
Regards,
Srilatha.
Maybe you are looking for
-
Hi Gurus, Sometimes we imported the goods as free. Although we did not pay anything to the vendor, we should pay custom and transportation expense to the related vendor.During PO creation in SAP, we are entering custom and transport expense as condit
-
Issue with the Replacement Path Variable.
Hi, I have an issue in using the Replacement Path Variable. Issue: I have Sales information in the Sales Cube and AR information in the Accounts Receivable cube. Now we have a requirement to show the open AR documents with Sales information in it. Ap
-
I created a DVD from VHS tape using Studio MovieBox DV and iMove HD. I used MPEG4 file format. I then burned the DVD using iDVD 5. I used a DVD-R disc. The DVD plays just fine on my standalone DVD player and my pee cee running Windows XP. But it won'
-
Implementing of SAP Note 657999 - Error during Bring the gateway resource
Hello all. During SAP note 657999 Implementation, pass 10, item F, The note says to bring the gateway resource SAPGW<SID> in online status. The "SAP GATEWAY Resource" tried to stay in online, but after a few seconds, the resource showed status "faile
-
Any() in a case statement?
I have a query that utilizes a case statement. The case variable could be 1 of 3 different values, A, B, or C. If it's C I would like to check against all 3 values. How can I do this? example select * from foo where 1 = 1 and myVal = (case goo when '