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
Similar Messages
-
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. -
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 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
DinakarHi 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 -
BizTalk Server 2013 R2 EDI EDIFACT custom Target Namespace is not being used
I have a client that has a partner that doesn't use the "out of the box" BizTalk EDIFACT 97A DELFOR schema. I'm using BizTalk Server 2013 R2. I need to use a custom target namespace. I have created a custom schema for EFACT_D97A_DELFOR with
a different namespace http://schemas.microsoft.com/BizTalk/EDI/EDIFACT/2006_<partnername>.
In the Parties agreement/Transaction Set Settings/Local Host Settings, I have the following in a separate row under the "Default", UNH2.1=DELFOR, UNH2.2=D, UNH2.3=97A and TargetNamespace=http://schemas.microsoft.com/BizTalk/EDI/EDIFACT/2006_<partnername>
It wants to use the out of the box schema from the error below but I need it to use the custom schema. If I change the input file with a UH2.5 value along with changing the root node to match it EFACT_D97A_DELFOR_<UNH2.5), it works but the partner
will not be sending this, so it's not an option.
Error details: An output message of the component "Unknown " in receive pipeline "Microsoft.BizTalk.Edi.DefaultPipelines.EdiReceive, Microsoft.BizTalk.Edi.EdiPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
is suspended due to the following error:
Error encountered during parsing. The Edifact transaction set with id '' contained in interchange (without group) with id '000010080', with sender id '<senderid>', receiver id '<receiverid>' is being suspended with following
errors:
Error: 1 (Miscellaneous error)
70: Finding the document specification by message type "http://schemas.microsoft.com/BizTalk/EDI/EDIFACT/2006#EFACT_D97A_DELFOR" failed. Verify the schema deployed properly.
Error: 2 (Miscellaneous error)
71: Transaction Set or Group Control Number Mismatch
Error: 3 (Miscellaneous error)
29: Invalid count specified at interchange, group or message level
Any thoughts for this issue?
Thanks,
SeanAll,
Because the trading partner is not sending the UNH2.5, UNG2.1 and UNG2.2 values in the incoming message, the EDIFACT custom targetnamespace schema will not be used. I created a decode custom pipeline component where I inject the UNH2.5 element,changed
the rootnode to the trading partner specific schema to EFACT_D97A_DELFOR_XYZ (where "XYZ" is the value in the UNH2.5) and in the Party agreement->TransactionSetSettings->LocalHostSettings default row specifying the UNH2.1, UNH2.2
and UNH2.5, it will then use the custom schema(http://schemas.microsoft.com/BizTalk/EDI/EDIFACT/2006#EFACT_D97A_DELFOR_XYZ. I could've injected the UNG segment
and used a custom target namespace and not changed the rootnode of the custom schema but didn't want to add all that extra segment information.
The example below assumes that the UNH segment only has values "up to" UNH2.4 only and appends the UNH2.5. Uses the UNA segement to dynamically set the componentDataElementSeparator.
//UNA segment e.g. UNA:+.? '
//this example above has ' as the segmentTerminator, : as the componentDataElementSeparator, + as the dataElementSeparator
string unaSegment = messageBody.Substring(0, messageBody.ToUpper().IndexOf("UNA") + 9);
string componentDataElementSeparator = unaSegment.Substring(3, 1);
string dataElementSeparator = unaSegment.Substring(4, 1);
string segmentTerminator = unaSegment.Substring(8, 1);
string UNH_Segment = messageBody.Substring(messageBody.ToUpper().IndexOf("UNH"));
UNH_Segment = UNH_Segment.Substring(0, UNH_Segment.IndexOf(segmentTerminator));
//inject UNH2_5 in the existing UNH_Segment
messageBody = messageBody.Replace(UNH_Segment,
UNH_Segment + componentDataElementSeparator + UNH2_5);
Thanks All for all your help!!
Sean Boman -
Customer Profiles -- R12 Conversion
Hello All,
I am working on R12 Customer Conversions.
As part of this, i am trying to load the customer profile amounts at levels. 1. Account Level 2. Site Level
At Account Level, When ever i create a new account defaultly a new record is creating in hz_customer_profiles for the account_id. And i am passing 'cust_account_profile_id' to the hz_customer_profile_v2pub.create_cust_profile_amt. And able to do create customer profile amounts successfully.
But
At the Site level, when ever i create a new site, its NOT creating a record in HZ_CUSTOMER_PROFILES. If it creates i can have this 'CUST_ACCOUNT_PROFILE_ID' and pass it to the API
but its not doing so.
Could you please tell is there any setup for Creating HZ_CUSTOMER_PROFILES while creating SITE Use.
Please help me in this.
Thank you,
AushHi Aush,
There is not specific setup for the same. You might not using the APIs correctly. Did you use hz_cust_account_site_v2pub.create_cust_acct_site API to create site? Once you create the site, you need to defined the site use using api, hz_cust_account_site_v2pub.create_cust_site_use. This Site use api will insert the record into HZ_CUSTOMER_PROFILES for the site record.
Once you create the site use, then you can define the profile amount using hz_customer_profile_v2pub.create_cust_profile_am API. Hope this is helps you.
- Kiran -
Customer Account Group conversion
Hi All
We need to convert a prospective customer to a Sold to Party.
We can execute this no probelm with XD07 but due to the Sold to Party having Customer Hierarchy field as
mandatory in the Sales Area Data in the Sales view the system does not allow you populate this field during the conversion
You have to first save the conversion then go into VDH1N to assign the customer to the hierarchy.
Is there perhaps a SAP note or or work around to overcome this conversion problem such that you can also complete the customer hierarchy assignment during the conversion using XD07
Points will be gladly rewarded.
Kind Regards
KCHi Christobal,
Thank you so much for you response.
As suggested, I have checked BP number range as external. Later when I ran MDS_LOAD_COCKPIT, I get the below messages
Grouping ZXXX has external number assignment, enter a number
Partner data processed with key PartnerGUID 4E1BD7375F080AE0E10080000A5B030E
Grouping ZXXX has external number assignment, enter a number
So is there any other setting which I might be missing?
Please advise.
Thanks
Krishna -
Hi,
Just wondering, instead of using the ApEx built-in "Export to CSV" function against a report, is there a means of having a separate procedure that will perform the exact same functionality which when the user presses a button or clicks a link on the page, it calls this separate procedure, which will generate the CSV file of the report the user is viewing and pop-up a dialog window suggesting whether to open in excel/save or cancel?
Basically need a custom procedure that emulates Oralce ApEx's export to csv process.
Hope someone can point me in the right direction.
Thanks.
Tony.Tony,
Check this link.
Re: Reports in Oracle Apex
There are just two changes I would add to the method I gave in the reply there.
a) If your data itself has commas in the fields, you need to add double quotes too when forming the CSV data.
b) Instead of a new blank page with just this process, you can create the before header process in the current page itself and make it conditional on the "export_CSV" button. -
Custom collection type conversion to C++
Anybody please help to get the custom collection type in my pro c++ program with any example
Thank youHi, we are trying to connect to a server from where we have to fetch a fax documet or multiple ones using web services wsdl connection and using a metod call and get the fax files and write it to salesforce. Below is the error I encounter:] [ERROR] Jul 14, 2015 7:44:47 AM org.ow2.easywsdl.schema.api.abstractElmt.AbstractIncludeImpl retrieveIncludeWARNING: This import is already include : http://ix1faxsvrtst.am.lilly.com:8000/OpenText/ImportingServiceBasic?xsd=xsd4. This probably mean there's a cyclic import Have attached the session log for reference. Connection DetailsConnection Name:CSP_RightFax to SFDC InboundDescription:
Type:Webservices V2 (Informatica Cloud Labs)Created On:Jul 13, 2015 08:45:57 AMUpdated On:Jul 14, 2015 07:08:10 AMCreated By:
Updated By:
Webservices V2 Connection PropertiesRuntime Environment:mohawkWSDL Url:http://ix1faxsvrtst.AM.LILLY.COM:8000/OpenText/ImportingServiceBasic?wsdlHeader CSV Path:C:\CatchallBody CSV Path:C:\CatchallEndpointUrl:http://ix1faxsvrtst.AM.LILLY.COM:9001/OpenText/ImportingServiceBasicAuthentication Type:NoneUser Name:
Pass Word:
CertificatePath:
Auto csv File Creation:Auto Creation of Body/Header csv filesDownload Path for Attachment:
Upload Path for Attachment:
Enable Logging:falseAllow Empty Tags:false -
EDI Shipment Output Master Data Conversion
Hi,
I am using LSMW to upload EDI Shipment Output Master Data into file can anyone suggest me any standard BAPI or Idoc avail for the same or any function module available to do this.
Thanks
Dhirendrawe have below LSMW IDOC methods
OILSHL TD Shipment to TAS
RECSHP Recommended shipments
SHIPMENT_CREATEFROMDATA Create shipment
SHIPPL Inbound planned shipments
SHPMNT_TNDR Shipment tendering
TPSSHT Shipping planning system: Transfer planned shi -
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 -
WebLogic 10: Custom Tag type conversion issue
I have a tag file wherein I define an attribute to be of type "mypackage.SuperClass". At runtime this tag gets passed an instance of "mypackage.SubClass" where SubClass is a sub-class of SuperClass.
Now this should and does work fine in WebLogic 9.2 but in 10 it gives this error:
Cannot convert <toString output of SubClass> of type class mypackage.SubClass to class mypackage.SubClass I appreciate any help to resolve this issue.
Thanks,
KeyurThis table has about 2 million rows.There is a date field in the table which comes as a 'nvarchar' in sql .When i try to convert it to a 'datetime' , i get an error as operation timed out..
Refer below example.
declare @x datetime
set @x = '1/01/2006 12:00:00 a.m.'
-------BELOW ERROR WILL BE DISPLAYED
Msg 241, Level 16, State 1, Line 3
Conversion failed when converting date and/or time from character string.
Rather the format of datetime should be,
set @x = '1/01/2006 12:00:00 AM'
WORKAROUND,
declare @x datetime
set @x = REPLACE('1/01/2006 12:00:00 a.m.','.','')
Regards, RSingh -
Hi all,
My SENDER Message Type sturcture is
MT_FI_SEND ( 1 TO 1)
Record ( 1 to 1)
Row ( 0 TO UNBOUND )
doc_header ( 1 to 1)
details1
details2
details3...
Account_gl (0 to 1)
Item ( 0 TO UNBOUND )
field1
field2...
Currency_amount (1 to 1)
item ( 0 TO UNBOUND )
field1
field2...
I am using this structure for Sender/Request Mesg Type for
BAPI_ACC_DOCUMENT_POST
-->> What are mandatory fields I need to populate.
--->>> I need help on sender Content Conversion paramentres for this structure.
Regards,
Ramesh.>
Sreeramoju Ramesh wrote:
> Hi all,
>
> My SENDER Message Type sturcture is
>
> MT_FI_SEND ( 1 TO 1)
> Record ( 1 to 1)
> Row ( 0 TO UNBOUND )
> doc_header ( 1 to 1)
> details1
> details2
> details3...
> Account_gl (0 to 1)
> Item ( 0 TO UNBOUND )
> field1
> field2...
> Currency_amount (1 to 1)
> item ( 0 TO UNBOUND )
> field1
> field2...
>
> I am using this structure for Sender/Request Mesg Type for
>
> BAPI_ACC_DOCUMENT_POST
>
> -->> What are mandatory fields I need to populate.
>
> --->>> I need help on sender Content Conversion paramentres for this structure.
>
> Regards,
> Ramesh.
you would ahve to redesign your source structure.
Note that standard content conversion only supports a one level heirarchy.
Do ref:
http://help.sap.com/saphelp_nwpi711/helpdata/en/44/6713ec3f914ddee10000000a1553f7/content.htm -
Custom ABAP flatfile loading app with statuses
Hi all,
I inherited a rather large ABAP program that is used here to load flat file data that is emailed to me as CVS files. One of the nice things about this program is that it "cleans" the data, presents the "to be uploaded data," triggers the load and then reports the Load status back.
Unfortunately everything seems to work OK except the load status which always returns the programs error message indicating that the load was not confirmed.
The code basically queries table RSMONICDP a few times and waits 20 seconds. If the load is not finished by then it returns an error. This means that I have to manually confirm each load and that I can never give this job to a non-BW person to perform (as was the initial intention i think).
Can anyone tell me if there is a better or easier way to report the load statuses (via email or an ABAP function that can embed a customized monitor screen).
===========================
here is the current code:
===========================
" Verify the success of the request:
" The problem is, that for data uploads into the fact table,
" the table RSMONICDP (Request Status MONitor InfoCube Data Package)
" is the most detailed table to query, however, it does not contain
" Requests that pertain to info objects.
" Query table RSMONICDP
" to check that upload was performed:
" RSMONICDP-ICUBE = the target cube of a request.
" RSMONICDP-REC_INSERT = no of records inserted.
" RSMONICDP-TIMESTAMP = YYYYMMDDhhmmss (UTC)
DATA: bw_log_wa LIKE RSMONICDP,
no_records TYPE i,
count TYPE i.
DESCRIBE TABLE sales_pack->clean_sales.
no_records = sy-tfill.
WHILE count < 8.
" check if registered as uploaded
count = count + 1.
WAIT UP TO 3 SECONDS. "give BW server time to load.
SELECT SINGLE *
FROM RSMONICDP
INTO bw_log_wa
WHERE ICUBE = icube AND
TIMESTAMP >= time AND
REC_INSERT = no_records.
If sy-subrc <> 0.
If count >= 3. " loop 3 times, server may be slow
w_tit = 'ERROR'.
w_msg1 = 'The upload was not confirmed by BW within 20 sec.!'.
w_msg2 = 'Probably the Schedule does not respond to events'.
w_msg3 = 'Or the Server is slow.'.
CALL SELECTION-SCREEN 200 STARTING AT 10 10.
MESSAGE 'Upload job failed !!!!!!!.' TYPE 'S'.
return = 'False'.
RETURN.
ENDIF.
ELSE.
IF bw_log_wa-STATUS <> '@08@' OR bw_log_wa-QMSTATUS <> ''.
w_tit = 'ERROR'.
w_msg1 = 'The upload was performed by BW but failed !'.
CONCATENATE 'Remove manually request '
bw_log_wa-RNR
INTO w_msg2.
w_msg3 = 'See your administrator !'.
CALL SELECTION-SCREEN 200 STARTING AT 10 10.
MESSAGE 'Upload request marked red !!!.' TYPE 'S'.
return = 'False'.
ENDIF.
EXIT. " get out of while loop.
ENDIF.
ENDWHILE.
MESSAGE 'Data uploaded into BW !.' TYPE 'S'.
return = 'True'.
endform.Hi,
can you try:
- select ViewProject
- choose Run --> Clear <project name>
- Make project
Frank -
Hi,
We would like to convert one of the custom DB table in Production to make it client dependent. We would like to know what will be effects when the transport request with adjusted table is transported into Production. Many thanks for your help.Hello Vinoth,
Do u already have data in the custom table which u want to make client dependant?
If not u can goto SE11 add the MANDT field and activate the table and the table is not client dependant.
If there is alreay data in the table then the table will not get activated after u add MANDT field to it. Save the table and goto SE14. Enter the table name and select tables and press EDIT.Press adjust and activate with save data radiobutton selected.
Maybe you are looking for
-
Doubt about JAVA stack and ABAP Stack
Good day! Hope can help me with my next doubt. I understood that BI JAVA or JAVA has been embedded in the Java support package stack for portal. But for BI7 the installation for JAVA is by sps. We only use pure support package for BI7, we don't use s
-
Superdrive from G4 Mini to Intel Mini?
I have a Superdrive in my current G4 Mini. If I bought the Intel Mini with a Combo drive, can I migrate my Superdrive over to it? TIA, Dale
-
In previous version, Cmd/Ctl-H would hide Edges AS WELL as guides. These are now 2 separate commands. Was there some overwhelming request for this change? For me, it just makes seeing a clear picture of your artwork more tedious. Perhaps I can write
-
Shared calendars are inconsistent
Hi all. I share a few calendars with my daughter. In iCal on my iMac, all the calendars are in the [email protected] section. She has a @me.com email account and also @hotmail.com email account. We realized yesterday that all the notification emai
-
boe安装成功,designer,webi等都可以用了,发现query as a webservice无法使用 查看http://10.248.2.137:18080/dswsbobje/services/Session 报错 Please enable REST support in WEB-INF/conf/axis2.xml and WEB-INF/web.xml 网上一搜,都说改aix2的配置, FAQ 1: 调用webservices时,出现 u201CPlease enable