Convert Idocxml to Idoc
Hi All,
There is a new requirement in to do some changes in the idoc and that idoc flat file should be saved in a file through XI.
So i can use Sender channal with Idoc adapter and do mapping convert it in to another Idoc-xml. But here i want this Idoc-xml to convert back to idoc and save in a file.
Can anyone help me how to achieve this ?
Laks
Hi,
goto sxmb_adm > intergration engine configration > specific configration
go in edit mode > new entry
choose
Category -> IDoc
Parameters -> XML_CONVERSION
current value -> 2
Regards,
Manisha
Similar Messages
-
IDOC not to be converted to XML-IDOC
Hi
there is a setting you can make in XI so that IDOCS sent to XI from R/3 are not converted to XML-IDOC.
That parameter is XML_CONVERSION.
I found out from SAP today that this will only work if you are sending from R/3 to R/3 via XI.
But I want this to work for R/3 to ThirdParty via XI.
So SAP are saying this will not work.
OK - so does anybody have a simple XSLT I can use that will strip out the XML tags so I have a plain old IDOC ?Hi,
1.if, so then ask him to provide SAP at target (in this case its possible)...there is no other option.(as of now SAP does't provide these kind of functionality)
2.otherwise if he required the same structure at target then go with IDoc...PI...File scenario
Please explain to your end user clearly about IDoc functionality..hope he will understand..
Rgds,
MFH -
Unable to convert partner to IDoc sender partner
In XI 2.0,we are facing a problem while trying to send idoc out of XI to SAP R3 system.We created Business Systems without specifying ALE logical system name,but later we corrected this.
Even then we are getting this error:
<SAP:Code p1="I::000" p2="SRMSUS_BUSS_SYS" p3="" p4="">IDOC_ADAPTER.SENDER_BSI_INCORRECT</SAP:Code>
<SAP:Text language="EN">Unable to convert partner to IDoc sender partner</SAP:Text>
We have created port in IDX1 in XI for R3 system.
Suggest us ?
regards
VishalVishal,
Add your agency and schema values in both party and receiver idoc channel (tab identifiers),
it should be something like
BS_ (your R/3 system system), Schema ALE#KU# (KU if its customer)
Thanks,
Pavan -
Convert custom outbound idoc to CSV file
Hi
I need to send generate a flat file that will be sent to a non SAP partner. A requirement is that the messages go via the IDOC system. This makes it possible to resend them if necessary.
So there are 2 stages
1) create IDOC. I have done this
2) read IDOC and convert to flat file
stage 1
=====
I have defined a custom IDOC, partner profile etc and developed a Function Module to create the outbound IDOCs The FM is triggered by a message in the NAST table. . This works OK.
So I now have custom outbound IDOCs in the DB with status 30 (ready for dispatch) (WE05).
Stage 2
======
Now I want to convert these custom IDOCs into simple flat files (CSV like).
How do I go about making this happen? I guess I need to develop another Function Module. But I dont know how to tie this FM into the system. My questions are:
How will the FM be triggered
what is the interface of the FM
will I need to configure a 2nd partner profile for stage 2 (which is fine)
Peter
Note1 - there is no EDI converter available so must solve this in ABAP
Note2 - I do not want to create the flat file at the same time as I create the IDOC. This would defeat the purpose of going via IDOCsNo, EDI is only one method of transferring data. There's no need for an EDI subsystem in this case.
To the OP, since it seems the you have decided that you must use IDOC processing in this case, I would go ahead and use a file port (or an XML port). You will drop an IDOC formatted flat file into the specified location (for each IDOC, based on your logical file definition). For you, this will merely be a temporary holding location. You can then use a simple program to read the file, re-format it, send it, then move the original file to a 'processed' location. Of course, you could also just throw away the generated files and read the IDOCs directly with the standard functions available and (re)generate/send the files as required.
It's often done this way with 3rd party EDI providers, where the company in question is required to use EDI by their customers but do not have the required systems in place. -
How to convert XML into idocs and post in ECC using PI
Hello All,
I want to configure the scenario like this MDM->PI->ECC. Using FTP I am getting able to fetch the xml file from MDM Server Ready folder. Now, I need to convert this XML file into Idocs and post it in ECC. Can anyone provide me step by step configuration in PI to achieve this. I have configured communication channel with adapter type Idoc in Itegration Builder. But, I am not sure where it will do the conversion of XML into Idoc and how do post it to ECC. I am working first time on PI 7.1. I have worked on XI 3.0 in 2006-2007. Any help to configure this step by step shall be appreciated.
Thanks & Regards,
HemalIn you have the XML from MDM you have to use the mapping provided by the funtionals in the Funtional specification documents. once you did it you must configure the Receiver IDoc Adapter. and later dont fonget to configure properly the ReceiverAgreement.
as you receive the docuement from MDM via FTP, thats not a SAP System that means that you have to define PI as the sender of the IDoc,otherwise you will have the Error "Unable to convert the sender service to an ALE logical system"
to do that in the receiver Agreement>Header Mapping>Sender System-->Select PI server.
Take in mind to send IDocs to any SAP System, the system that send it must be a SAP system too. thats why you configure it
http://help.sap.com/saphelp_nw04/helpdata/en/5d/112d20f6ce6c46ba66afb98d278fbd/frameset.htm
Another thing is you have configure the ALE distribution Model.
se this:
http://wiki.sdn.sap.com/wiki/display/XI/FileToIDOC
/people/michal.krawczyk2/blog/2005/03/29/xi-error--unable-to-convert-the-sender-service-to-an-ale-logical-system
/people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
Let us know
Rodrigo P-. -
Converting an existing iDoc to an XML file
Hi experts
I want to create an xml file from an iDoc. Is there a program/function module in R/3 that can achieve this? I am running ECC 6.0
Thanks in advanceHi Murthy,
Thanks for the quick response. I am new to iDocs, so the document is not very explanatory
I created the TCP/IP Connection in sm59, but the connection test fails. Is this expected?
Also, is that all that is required from the first four steps?
1 Creation of logical system for the sender system.
2 Assignment of logical system to the client.
3 Create a logical system for the recipient
4 Creation of RFC destination (Connection type:TCP/IP)
Thanks in advance
Johan Kriek -
Converting Process order Idoc to Post a Purchase order
Hi,
we have a requirement where we will get a Process order IDOC that is LOIPRO as an inbound IDOC. We need to use the IDOC to create a purchase order.
Can anybody suggest what can be done.
Sender system sends LOIPRO.
Recieving system recieves it and need to post a purchase order rather than a process order.
Thanks,
Neha.No Reply..so far..
-
Hi,
Is there any way r by any means i can communicate and receive data from a .Net application which posts data in XML Format to SAP Server and without changing the functionality of the .Net application XMl Format, still maintaining the IDoc Format to the SAP Server. And Viceversa.
Suggestion for this will be much appreciated
Thanks & Regardshi
there are some function modules to accomplish this.
IDOCS_OUTPUT_IN_XML_FORMAT
IDOCS_OUTPUT_VIA_XML_HTTP
for inbound processing,
IDOC_INBOUND_XML_SOAP_HTTP
IDOC_INBOUND_XML_VIA_HTTP
IDOC_XML_FROM_FILE
IDOC Adaptor,
IDX_IDOC_TO_XML
Extended table maintenance, to display IDOC in XML format with XSL,
IDOC_XML_DISPLAY
IDOC_XML_TRANSFORM
hope this helps,
regards,
ak
PS: Do reward useful answers. -
Converting ISO20022 XML Payment file to PAYEXT iDoc using PI 7.1
Hi All,
As per my requirement : R/3 generates ISO20022 XML Payment file . PI will pick the file and converts into PAYEXT Idoc and send back to the same R/3.
I have some doubts regarding this...
1)Is ISO20022 XML Payment file also like normal xml file in R/3 OR different.
2) Can we use file adapter to pick the file.
3)Any modules required in CC.
4)Can I go with normal file to Idoc scenario.
Thanks
Drumisolved
-
How To Convert IDOC to FLAT File ?
Dear Expert,
My requirement is to convert the IDOC to FLAT File using XI. How can i do this. I have gone thru the Guide How to convert IDOC to Flat file using ABAP mapping but it does not talk about what are all the stpes i need to do in IR & ID.
I am ready to use ABAP mapping since i am an ABAPER.
Is it recommended to use ABAP mapping since we expect daily 500 IDOCs to be converted to a flat file & transfer this flat file to some FTP location.
Can anybody tell me the stpes how to do this in XI. The steps i am expecting like how to define the Data Type / Message type / Mapping etc & how to configure the channel ?
The Flat file i want to convert should look like the way IDOC file gets created in FILE FTP port in SAP.
Regards,
UmeshI think there is some confusion... Let me explian my problem once again.
I want to convert the Shipment IDOC as it is the moment the shipment documents gets created in R/3. I dont want to collect many IDOCs & make as single file. For each IDOC it should create a Flat File.
Secondly if i have to MAP the whole IDOC the graphical mapping is too difficult.
So instead of that can i use ABAP/XSLT/JAVA whichever is easy. ?
Since i am ABAPER i can use ABAP mapping.
The Output file should look like as below.
EDI_DC40 9000000000011785526620 3012 OILSHI01 OILSH1 SAPP01 LS SAPCLNT900 A000000018LS WBIMQSI 20071031161506 20071031161506
E2OILSH001 90000000000117855260000010000000250 1011537344 1101 1 300X1 TRKGMKG 0202KG KG X ZTLF X XX 000 BLX X X60002200710310000002007103100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 E2OILSA 9000000000011785526000002000001031011537344000001SP 0000201496000000000000000000 00 00 V E2OILSA 9000000000011785526000003000001031011537344000002SP 0000201496000000000000000000 00 00 S
E2OILSV 900000000001178552600000400000103MH04CG6052 LPBW50D62401033 000020149601KG KGM 35200.00000 17200.00000 18000.00000 0.000 0.000 0.000 DLLPGB220071031000000 00000000000000000000000000000000000 0000XX 6000AAAA0.00000 0.00000 17200.00000 35200.00000 18000.00000 MH04CG6052 new bulk tender approved rs LPG Bulk Lorry - WR Refinery TPP BABA TRANSLINES kg kg 0.000 0.00 0.00 E2OILSC 9000000000011785526000005000004041 001 18000.000000 18000.000000 35200.000000 0.000000 0.000000 KG E2OILSQ001 9000000000011785526000006000005050011 MH04CG6052MH04CG60521J 05041089055000 00000118000.0000000 KG 18000.000000 18000.000000 6000V04 18000.000 KGM18000.000 KGM00000000 V 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0001 E2OILS2 9000000000011785526000007000004040001000001000200020000.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 XX0000000000000000000000000000 XX0504108905J5000 PUNE LPG BOTTLING PLANT START 0001 1END 0001 10.000000 0.000000 0.000000 0.000000 0.000000 0.000000
Pl. Help me its Urgent.
Regards,
Umesh -
Receive XML with Business Connector, convert to IDoc
Hi all,
I am trying to receive XML files with SAP Business Connector (4.7) and convert them to IDOC and then forward the IDoc file to SAP System.
At the moment, I have to do the testing for this.
I don't know how to send the XML file to the special port (5555) of the server. I read that there are serveral possibilities like http, mail, ftp. Can anybody give me an advice how this works?
Next problem is to get the created IDoc file to the SAP system. The SAP server is added in the SAP Business Connector and the connection works.
I would be very pleased if anybody could help me.
Thanks in advance!
Kaihi,
What i understand from your scenario is XI> BC> SAP system.
1)XI-->BC
U need to configure XI's-BCAdapeter(as receiver).
in URL specify teh follwoing :
http://<hostname>:5555/invoke/folder1.folder2./<service-to-be invoked>
together with the username and password.
2) BC--> SAP
To invoke an IDoc, go to Routing rules and specify the sender, receiver, and the Message Type(IDoc name). In the next page, specify the name of the flow service to be created. and the Flowservice to be invoked whenever a message comes in.
Hope this gives you some input.
Regards,
Siva Maranani -
Convertion of PO to SO (Inbound idoc/ALE)
HI,
i have requirement to convert inbound PO idoc into SO at execution.
Can anybody guide me how this can be achieved?
Thanks.
Moderator message: please search for available information/documentation/previous discussions before asking.
Edited by: Thomas Zloch on Nov 1, 2010 1:08 PMHi Sanjay,
Do you want to create one SO along with PO in PO inbound FM ??? I think you are using the standard FM. So you can do the coding to create the SO from in the inbound FM exit or Badi. Better if can create one wrapper FM to create the SO and call that FM in background task, so that it will not hamper the inbound FM performance.
Also you can achieve the same functionality using output types. Just create one output types and attached with the EF in NACE and process it as special function.
Thanks
Subhankar -
Program to convert text(Idoc) to XML
Hi
Can some1 give me the name of this program.
I know it exists in SAPHi,
function module IDOC_XML_FROM_FILE to convert XML to IDOC
In general source Idoc, target Idoc Xml XSD take .
and map it, so it will be easy to do in XI.
With Business Connector see the below links
WAS - Business Connector
business connector documentation
SAP Business Connector
Business connector
Will Business Connector 4.6 be affected by new Daylight savings changes
Business connector
More info on XI can be found at https://service.sap.com/xi
and webAS on http://help.sap.com/saphelp_nw04/helpdata/en/f3/e20f3adfd0a706e10000000a114084/frameset.htm
Check this also-
http://help.sap.com/saphelp_nw2004s/helpdata/en/6f/1bd5c2a85b11d6b28500508b5d5211/frameset.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b4f3755a-0401-0010-b6b3-9b65bb7d4503
Reward points if useful..
Regards
Nilesh -
Converting Inbound idoc to Outbound idoc
Hii,,
How to convert inbound idoc to outbound idoc.
I have IDOC -> SOAP -> IDOC Scenario.
In case of error at SOAP side , it return idoc with 51 status.
Now i need to convert the Inbound idocs to Outbound Idocs and send it back to the Sender system...
How to do accomplish this??
Regards,
SiyaHii,
By using we19 and by exchanging sender & receiver we can convert outbound idoc to inbound idoc.
Just want to confirm is it proper way??
Regards,
Siya -
File-to-Idoc error (using business sender service)
Hello,
My scenario is Flat file to IDoc. I am using a business service as my sender system. I did put in a logical system name in the business service and I have added the logical system in SALE.
The error I am getting is <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_METADATA</SAP:Code>
<SAP:P1>MSGGUID 526719BA7E874E3906EEF45B43806D5C: Tag CULL_GR_RECORD found instead of tag IDOC BEGIN=</SAP:P1>
This is confusing to me because the CULL_GR_RECORD is the name of my data record of the file that is converted into an idoc within XI.
Can someone please help me with this? I would really appreciate it. I need to solve this tonight.
Thank you.Hi,
>><i> I am using a business service as my sender system.</i>
This is fine as ur sender is file.
I suggest deleting the matadata in IDX2 and then rerun the entire interface.
Make sure ur IDoc is imported properly to the IR. If yes, test ur mapping locally once.
Regards,
Divija.
Maybe you are looking for
-
Calendar 'list' view broken?
While the Day and Month views look fine, everything looks out of sync in the List view. A meeting I have scheduled for 7am Tues shows up on Sunday, while a meeting happening 2hrs later is showing up on Monday. Meanwhile, a 6.30pm Tues meeting is corr
-
In Pages for iPad is it possible to insert special characters like those for logic and math?
Hello there, Is there a way to digit special characters in Pages for iPad? I need to include in my document logical symbols. Thank you!
-
New iMac 24" 3.06 Apple Logo on front and back.
I was wondering if the logo on the front and rear of the iMac is supposed to light up.
-
How do I solve Interlacing issue?
Hi All, I am trying to create a a Wedding DVD. But I every time I import in trans coded file encore cs6 it and preview it appears to as interlaced.However if I play as a normal file in VLC player it plays fine. The sequence format is HD1080P 23fps.
-
iTunes keeps giving me the message that my iPod is currupted. I have restored the iPod and reloaded iTunes but keep getting the same message. What's weird is that my iPod will connect to another PC and that my PC will connect to my daughter's iTouc