File- XI- IDOC (how to start?)
I am a newbee in the field of XI and have some doubts as below :-
1. What should be the business system and technical system type in the case of sending a file to idoc? Should it be a third party system or a web as abap system ?
2. I am not able to pick the file from my local system. Every time i need to place the file on the application server. What should I do to pick the file from the local server?
Hi,
>>>1. What should be the business system and technical system type in the case of sending a file to idoc? Should it be a third party system or a web as abap system ?
use business service (ftp) to business system - abap(IDOC)
>>>2. I am not able to pick the file from my local system. Every time i need to place the file on the application server. What should I do to pick the file from the local server?
you have to use FTP server on your local machine (or on any other)
BTW
for documents have a look at Documents section on my XI FAQ:
/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>
Message was edited by: Michal Krawczyk
Similar Messages
-
File to IDOC:how do i relate inbound idoc with generated idoc in the R/3
hi experts;
can any body tell me how can i relate the IDOC number genrated in the PI with the generated IDoc number in the SAP R/3 system for file to IDOC scenario?
in SAP PI for tcade idx5, idoc no is:12002
but in SAP R/3 in tcode WE05, idoc no is:846915
how can i know a particular message (in SAP PI) created a particular idoc in the backend SAP R/3 System.
thanks in advance,
kumarHi Kumar
at the time of testing you have to note down a time at what ur file got picked up ok
then go to we05
-> give the date on CREATED ON field.
-> then in BASIC TYPE field select your particular IDOC CREMAS05 or whatever, see the TIME field that you have noted down at the time of testing, if that is matching means that is ur latest IDOC you have tested.
-> one more thing, tha last IDOC showing in the list means that is your latest IDOC you have tested.
Hope i have helped you, points plz
Warm Regards
Dheeraj Kumar -
File to idoc how to get file name at runtime
Hi Experts,
In my file to idoc scenario,
the requiremnt is like in mapping i have to give condition like if file name is name1 then one target filed is 40 and if file name is name2 then that target field is 60.
how can we achieve this ?
Regards,
rohitHi Rohit
mughdha is right but you can do it through graphical mapping easily
give condition in fix value under category conversion like this
1) source-> FIX VALUE ->if value is true then map FIX value
else nothing
double click on first FIX VALUE function and assign your input values for file (for ex 40 or 60,......) in the key field and in the value field assign TRUE
if this condition will be true the it willl map second FIX VALUE
else assign a constant with empty value
in second fix value assign values (for ex 40 or 60,......) which you have checked in first FIX VALUE function in key field and assign corresponding name which you required in the value field
hope this will solve your problem
Thanks
sandeep
if helpful reward points -
File to IDoc - How to proceed further?
Hi everybody,
Consider the following scenario,
<Header>
<Transaction>
<Meterpoint>
<Address></Address>
<Asset>
<Meter></Meter>
<Conversion></Conversion>
<Register></Register>
</Asset>
</Meterpoint>
</Transaction>
</Header>
This is the structure of one IDOC.
My Source structure can contain multiple <meterpoint> and multiple <transaction>.
I have to post one IDOC for each meterpoint per transaction.
For example, a transaction can contain 4 meterpoints, then I have to post 4 IDOCs for that transaction alone.
And this applies for each transaction that are present in the source structure.
My Queries are,
1. How to proceed for posting the IDOCs for this kind of scenario?
Is it possible to do it with message mapping itself or we need a java mapping/XSLT mapping?
2. How can I do content conversion for a complex structure like this.
Any help will be highly appreciated.
Regards,
Prasad UHi Prasad,
I feel with XSLT you can quickly develop your mapping as follows.
<Header>
<xsl:for-each select="Input/Transaction/MeterPoint">
<Transaction>
<Meterpoint>
<your idoc mapping here>
</Meterpoint>
</Transaction>
</xsl:for-each>
</Header>
You can do message mapping also. But you have to change the idoc occurrence setting to 0 to unbound.
Instead of posting IDoc one by one, collect your IDoc into packets and send to SAP.
Thanks,
Sasi -
Hi,
While working with File to IDOC, How can we know what are the mandatory fields that need to mapped?
Regards
Krishna.Hi,
I want to know the mandatory fields before I import the IDOC into XI, so that I can mention those fields in my source structure.
So, how can I know that?
Regards
Krishna. -
File to IDOC (CREMAS03)
Hi Experts,
I am trying to load Vendor data in the R/3 system, I got stuck up when I am trying to do mapping between file and IDOC, how can get CREMAS03 Idoc into XI.... Please help
Thnx
RajHi Raj,
You have to import the metadata for SAP Interfaces(IDocs,RFCs) into XI Repository before you can use them in the mapping.
You can import the Idocs into your own SWC but as a best practice, these Idocs were imported into SWCs like SAP APPL, SAP BASIS etc. In this way there is no duplication of these Interfaces in multiple SWCs.
To Import the IDOC metadata
1) Edit the SWC.
2) Make sure you have the "import of RFC and Idoc interfaces from SAP systems permitted" radio button selected with connection data for the backend R/3 system.
4) In the SWC, on the left panel select the Tab "Imported Objects". Provide the connection data if asked for. Select the Idoc CREMAS.CREMAS03 and import it.
5) This imported Idoc will be added to the list of Idocs in "Imported Objects" Tab. Verify the structure of the Idoc before using that in your mapping.
Hope this helps.
Regards,
Sam Raju -
How to start an File- XI- IDOC -Scenario manually?
Hi,
we have a File->XI->IDOC -Scenario with a polling time of 60 minutes.
Now it should be possible, that the enduser can start this scenario manually (by report or something else), because sometimes the user has to edit the file and then he/she cannot wait till the loop restarts.
How can we manage it?
Regards
WolfgangHi,
Wow - that's great!
BUT.... it's working only in XI/2004 >=SPS17. We have PI 700/2004s SPS7
Do you know the corresponding SPS for this feature in PI 700?
I wanna ask my admin to upgrade - it's a feature the enduser (special endusers) really needs.
Thanks a lot!
Regards
Wolfgang -
How can I include the Header Information....for a File to IDOC Scenario
Hi,
I made a File to IDOC Scenario with DEBMDM06 for MDM>XI>SAP R/3. The Header Information in the XML File which is at the XI end is Missing. For that reason In Tcode SXMB_MONI we are getting an Error that <b>"HEADER Information Missing: Message should Start with EDI_DC40"</b> i.e the Header Information.
My Question is that whether we can do some changes in the Message mapping Step in the Integration Repository. I HardCoded the Few mandatory Fields that were there but it Again gave me the Same Error as above.
Can you please Suggest some Solution for this. Since the data is Coming in from MDM part the Header information is not there but It actually Important as it has got all the Port Information.
Kindly Inform me some Solutions.
Thanks & Regards
SomnathHi Suraj,
Thanks for ur Reply, but Since we are Doing a File to IDOC Scenario the IDOC DEBMDM is on the Right Side in Message Mapping and as U know it is Mandatory to Map an IDOC on the Right Part. EDI_DC40 is coming as it is there in the IDOC but our XML File Does not have that. If we Don't Map then it Becomes RED, which is an Error.
Furthermore in the Receiver Agreement we have put the Necessary Details such as Sender Service and Receiver Service along with the IDOC Communication Channels.
Can U give as a Better Insight on this Note how to check the Header Part as it is mandatory to MAP.We also tried to HARDCODE it by putting those Values and Mapping them to a Constant but it is Giving the Same Error.
Thanks and Regards
Somnath -
How to start with Idocs??
Hi,
I am a novice in sap. Can you please guide me how to start working with IDocs?? I know the basics about ale, edi, message type, idoc type and transactions associated with it.
Essentially, Can I have sample problems to practice IDocs so that i could become confident in this topic??? Plz. give hints as well...... to avoid getting bothered with further queries.
Thanks
Gaurav.Hi Gaurav,
Check this info.
IDoc is a intermediate document to exchange data between two SAP Systems.
*IDocs are structured ASCII files (or a virtual equivalent).
*Electronic Interchange Document
*They are the file format used by SAP R/3 to exchange data with foreign systems.
*Data Is transmitted in ASCII format, i.e. human readable form
*IDocs exchange messages
*IDocs are used like classical interface files
IDOC types are templates for specific message types depending on what is the business document, you want to exchange.
WE30 - you can create a IDOC type.
An IDOC with data, will have to be triggered by the application that is trying to send out the data.
FOr testing you can use WE19.
how to create idoc?
*WE30 - you can create a IDOC type
For more information in details on the same along with the examples can be viewed on:
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm#_Toc8400404
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a6620507d11d18ee90000e8366fc2/frameset.htm
http://www.sappoint.com/presentation.html
http://www.allsaplinks.com/idoc_search.html
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://www.erpgenie.com/sapedi/idoc_abap.htm
To Create Idoc we need to follow these steps:
Create Segment ( WE31)
Create Idoc Type ( WE30 )
Create Message Type ( WE81 )
Assign Idoc Type to Message Type ( WE82 )
Creating a Segment
Go to transaction code WE31
Enter the name for your segment type and click on the Create icon
Type the short text
Enter the variable names and data elements
Save it and go back
Go to Edit -> Set Release
Follow steps to create more number of segments
Create IDOC Type
Go to transaction code WE30
Enter the Object Name, select Basic type and click Create icon
Select the create new option and enter a description for your basic IDOC type and press enter
Select the IDOC Name and click Create icon
The system prompts us to enter a segment type and its attributes
Choose the appropriate values and press Enter
The system transfers the name of the segment type to the IDOC editor.
Follow these steps to add more number of segments to Parent or as Parent-child relation
Save it and go back
Go to Edit -> Set release
Create Message Type
Go to transaction code WE81
Change the details from Display mode to Change mode
After selection, the system will give this message The table is cross-client (see Help for further info). Press Enter
Click New Entries to create new Message Type
Fill details
Save it and go back
Assign Message Type to IDoc Type
Go to transaction code WE82
Change the details from Display mode to Change mode
After selection, the system will give this message The table is cross-client (see Help for further info). Press Enter.
Click New Entries to create new Message Type.
Fill details
Save it and go back
Check these out..
Re: How to create IDOC
Check below link. It will give the step by step procedure for IDOC creation.
http://www.supinfo-projects.com/cn/2005/idocs_en/2/
ALE/ IDOC
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sappoint.com/abap.html
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.docs
Please check this PDF documents for ALE and IDoc.
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEIO/BCMIDALEIO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEPRO/BCMIDALEPRO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFAALEQS/CABFAALEQS.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDISC/CAEDISCAP_STC.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDI/CAEDI.pdf
Also check this links for additional information.
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
Hope this resolves your query.
Reward all the helpful answers.
Regards -
How to handle the control records in case of file to idoc scenario.
Hi All,
can you please clarify me how to handle the control records in case of file to idoc scenario.Hi,
In File to Idoc scenario even though you selected apply control record values from payload and you are not getting those correct values which you have provided in the mapping.
Also check the checkboxes Take sender from payload and Take receiver from payload along with the Apply control record values from payload checkbox
Regards
Seshagiri -
In XI ,file on application sever how to do the scenario like file to idoc?
hi experts,
In XI ,file on application sever how to do the scenario like file to idoc?
thanks in advance
guptHi gupta ,
The following are excellent websites giving step-by-step solution to solve u'r problem:
How to convert an IDoc-XML structure to a flat file and vice-versa in XI 3.0
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a
IDoc Packaging and Mapping Techniques
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/877c0d53-0801-0010-3bb0-e38d5ecd352c
check this blog
Idoc File -> SAP R/3 packaging
How ToConfigure IDoc Adapters
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d19fe210-0d01-0010-4094-a6fba344e098
Troubleshooting File-to-IDOC Scenario in XI.
/people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
cheers!
gyanaraj
****Pls reward points if u find this helpful -
Sender File Adapter Conversion problem - how to start new recordset?
Hi guys!
I have a source file like following:
aaaakkkkkk
uuuupppppp
&&hhhhffffff
6666uuuuuu
3333rrrrrrrr
&&kkkkoooooo
which means - fixed length 4,6 and && starts new recordset.
I need to get structure like:
<recordset>
<item>
<a>aaaa</a>
<b>kkkkkk</b>
</item>
<item>
<a>uuuu</a>
<b>pppppp</b>
</item>
</recordset>
<recordset> ... with h,f and 6,u </recordset>
<recordset>
<item>
<a>kkkk</a>
<b>oooooo</b>
</item>
</recordset>
Any ideas?
Let's say, I can add && on the beginning of the file and other "lite" changes... but structure stays the same...
so, how to start new recordset? with which conversion parameter? for items it is clear...
Thanx a lot!
Olian
Message was edited by:
Olian Saludewaaaakkkkkk<end_of_line>&&uuuuwwwwww<end_of_line>...
then normal parameters should work fine,
item.fieldFixedLengths==4,6
Item.fieldNames=field1,field2
item.endSeparator=<end_of_line> -
How to pull out the file in IDOC to File scenario
Hi All,
I have a scenario where, we are splitting an IDoc into 4 different files thru BPM.
Those files are being sent to 3rd party file server. Now, is there any way in which i can see those files from my XI box?
I am able to see only the xml's of those files in sxmb_moni. But, i want to see those exact files in their file formats, which are being sent to the file server.
How can i get them?
Many Thanks
Chandra Sekhar
Edited by: Chandra Sekhar H on Mar 28, 2008 2:29 PMHi,
> i want to see those exact files in their file formats, which are being sent to the file server.
Create another Communication Channel FTP /NFS and get the XML file.
As Satish mentioned you can acheive it,
If you want to look at the File..Create one more File Adapter under the Same Business System temporaly point out the File adapter instead of IDOC Adapter then Switch to IDOC Adapter later.
Regards
Sangeetha -
Idocs with errors added status-56 in file to idoc scenario- how to rectify
hi ,
in file to idoc scenario when i m sending the file from ftp server to IS Retail, file is successfully getting processed but the idoc is showing error ,when we see using WE05 tcode or BD87 , pl sugggest how to rectify it to make the status 53Hi,
Have you configured the partner profile details? check these steps..
1. In the receiver system you must configure the partner profile for your sender system in WE20.
2. Add the IDoc message type to inbound parameters of the partner profile and configure the appropriate process code.
2. Fill the Logical system name for your senderservice-->Adapter Specific identifiers in ID.
<a href="/people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi File-to-IDOC Scenario</a> By Venugopalarao
<a href="/people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi Steps for Posting IDOC's</a> By Ravikumar Allampalam
Regards
San -
How to start a local HTML5-file automatically as a weblink?
Hi, i started to learn DPS two weeks ago and had a lot of fun. But yesterday i had a problem how to start a weblink autmaticially. The checkbox in the Overlay Creator panel for activating auto-start doesn't react by clinking on it. And the default is inactive. The other checkboxes in the panel also don't react. Could this problem be a InDesign-bug? The background, what i tried to do ...i inserted a local HTML5-File as a weblinki t's shown on my iPad after synchronizing. But i have to tap on it for showing the HTML-content - but i want to start it automatically.
Thanks for your feedback. I'll hope, someone could help me.
Bye BertYou're the man, Bob! After deleting the InDesign preferences i was able to activate the different Checkboxes. *thumbs up*
Hint: Starting InDesign with shortcut for deleting the preferences --> "shift + alt + cmd + ctrl"
Maybe you are looking for
-
I've had my MacBook plugged in and turned on pretty much steadily for the past month or so (something I've done before with no problems). In the past few days, it has just suddenly shut off -- instantly -- a number of time. Doesn't go to sleep -- jus
-
I never had this issue before the last update I made. The font is a font on my computer and I thought that maybe it was the font and if I disabled it, the problem would go away. But sadly, it just picks another fancy script installed on my computer.
-
I recently sync with my computer and now my FB app won't open I have tried removing and re-installing Downloading another app I have tried Apples posted solution to close my apps , reboot by holding my home key and power key down Anyone have any othe
-
BPM synchronous file - soap - file
Hi Friends, I am working on scenario in which I am going pick up XML file from my system using File adapter and send to partner using SOAP adapter and in response I am going to receive an XML file that I have to store in some folder in my system. Wit
-
hi, why do you need a BPM in this case? it's a standard sync - sync communication where not BPM is necessary Regards, michal