File to IDOC scenario using FTP server
Dear Experts,
I'm getting IDOCs in the form of .TXT file from sender side and at reciever end we have IDOC. We are using FTP connection at sender.
I want to know:
1. Is FCC the only solution to integrate with PI or do we have any other option also?
2. What all the things I need to care in designing and configuration?
Thanks a lot.
Dear All,
For file to idoc scenario is there any possibility to get line items details or xml details i.e the segments and its related field details using reference id, transaction id or interface name or message id in SAP PI 7.0. I know we need to click each and every message in sxi_monitor and look for details.
For SAP(R3 System) I can create a report and set the job for specific time period so automatically it throws the details(like reference no, document date, invoice no from) in ftp path as .csv file. The same ftp path is maintained in program.
I wanted to check FTP--->PI postings and I have set the job at r3 system it is working fine and Im monitoring it too.
Now the end to end scenario is FTP--->PI--->ECC(R3 system). Please help.Many Thanks.
Similar Messages
-
File to IDOC Scenario using BPM
Hi Experts,
I am working on file-Bapi-Idoc scenario using BPM.
I have two conditions
1. If the Sonumber is populated then need trigger an Bapi_change
2.If the Sonumber is not populated from the file then need to trigger a Bapi_Createfromdat to create the sales order and receive the salesorder number as response from Bapi
and the response of these BAPIs should be validated whether the Bapi is successful or not.
If it is successful message then need to trigger IDOC or else should throw an alert message.
let me know the steps involved in this scenario.
can i send alert message to other email IDs or can i send it to only XI admin?
Please let me know u r inputs.
Thanks in advance
PraveenHey,
You need to have a BPM for this.
BPM design.
Recieve step(abstract asynchronous) for file structure
Switch Case(condition whether sonumber is populated or not)
if populated
Branch 1(of switch)
transforamtion step:- mapping between File and Bapi_Change(Request structure)
Send step(abstract syncronous) To send the BAPI_change
Branch 2(of switch)
transformation step:-mapping between file and BApi_Create
Send step(abstract synchronous) To send the BAPI_Create
Block step(which will include the Switch step)
trigger an Execption in case of an error(in any of the two branches) through the block
The Exception will trigger an alert.
Now after the Block step there will be a transformation step(which will have the mapping between RFC response and Idoc)
Next is the send step(abstract asynchronous) for the idoc
In case if there is no exception the Idoc will be triggered or the exception branch will trigger the alert
rewards points if useful
regards,
Milan -
File to Idoc Scenario using third party systems
hi,
Working with a File to Idoc Scenario. Been able to successfully define everything in IR / ID. However when I go to BD87 (reciever system) and see the status of Idoc processed - getting the error code 51 "Function Module Not Allowed: <Function Name>" . What could be the reason for this???
Have defined partner profiles in WE20 of type LS and also specified an inbound paramter in the post processing tab for partner profile. Are there any other settings I need to take care of to avoid getting that error.Hi
I am giving u all the steps whioch are required for
<b>File to IDoc</b> Scenario
SM59- Create RFC destination
IDX1- Create a IDXPORT in idx1
IDX2-3. Import metadata of IDocs in idx2
Bus. service adapter specific Identifiers-->Logical sys name
we05-IDoc status records
BD54-Create Partner Number
We20-Create Partner Profile
WE19-Testing IDoc Processing
SE16-Table name->LFA1 to check vendor has been created
Check have u followed all the steps.
Regards
Arpit Seth -
File -- IDOC scenario using XI 3.0
Hi
I tried out a simple flat file to IDOC scenario using XI as the middleware and tried to post documents of type CREMAS03 on the backend R/3 system.
Now, I see that there is an IDOC number generated in the XI layer by the IDOC adapter. This IDOC number is seen under <SAP:DOCNUM>XXXXXXXXXX</SAP:DOCNUM>in the
Response-->IDOCOUTBOUND section of the pipeline in SXMB_MONI
According to SAP documentation :
<b>To enable you to select IDocs in the target system later on, the system transfers the message GUID and the IDoc number in the ARCKEY field of the IDoc control record.</b>
Now, I do find the XI msgid given as arckey in the control record of the Inbound in the target R/3 backend system. But I cannot find the XI IDOC number being cross referenced in the control record of the IDOC in the R/3 backend.
1.Is there a way to cross reference the IDOC number in XI with the IDOC number in the R/3 backend ( we have two different IDOC numbers, right ) i.e a IDOC number to IDOC number cross referencing in this File-->IDOC inbound into the R/3 system scenario involving XI
2. In the XI box, do we get as a part of async.reponse from the R3 system, the IDOC number that is created within the R3 system ? This would serve directly as a cross reference. Or do we have to indirectly query EDIDC table in the R/3 backend with the arckey value = msgid in XI - to retrieve the IDOC number created in the R3 backend ?
Thank you in advance for your time.Hi,
Pls look into following link about Acknowledgement.
http://help.sap.com/saphelp_nw04/helpdata/en/f4/8620c6b58c422c960c53f3ed71b432/content.htm
Pls note that , you can't get/receive the Acknowledgement for Sender File Adapter. Because File System acts as an Async system. But you can get the Idoc response and you can write it into another file. For this you need to use BPM.
Hope this helps..
Regards,
Moorthy -
XI 3 File to IDoc scenario - Still referencing Old Logical system
Hi
Dont know if you can help. I have a file to idoc scenario using XI 3 to R/3 4.6c system.
I had the interface working from a third party system XMLHUB to SAP R/3. The Logical system name for the XMLHUB was XMLHUB01 in the SLD which I have set up as a partner profile in R/3. I have recently changed the logical system name to XMLHUBDEV01 in the SLD and created that logical system in R/3 and changed the partner profile to XMLHUBDEV01.
Unfortunately in the sender information of the IDoc the partner number is still XMLHUB01 and not XMLHUBDEV01. I don't understand where this partner is sent from to get into the control record of the IDoc.
I have cleared the SLD cache in both the Repository and the directory. Is there somewhere else I should be looking? Any help would be appreciated.
Regards
Danielhi daniel...
this thread wud answer ur query....
Re: IDOC Payload
regards..
vishal -
Fault message type using in File to IDoc Scenario
Hi,
I have successfully configured File to IDoc scenario. Now I am thinking to add some flavour to it by using Fault message type.
Can I use fault message type without using any proxies?
Can some body help in giving an answer to my question and provide some weblogs to achieve the configuration?
Thanks in advance.
Suraj KumarHi Suraj,
With IDOCs, you cannot set up fault messages as it is async mode communication. There is not control which waits for the processing of the message/application errors as you have it in case of synch mode.
But, you can set up acknowledgement using ALEAUD. Check this for more /people/saravanakumar.kuppusamy2/blog/2005/01/20/configuration-tips-for-a-business-serviceintegration-process-to-send-back-ale-audit-idoc
praveen -
File to Multiple Idoc scenario using FCC
Hi All,
I am working in a file to idoc scenario. Here input is a fixed length file having Header and Item details which will repeat for many times.The number idoc in the target is based on the number of header in the input field. I have created a source structure with header as 1..unbounded and i have map the header with the target idoc.
In configuration part
Recordset Structure Header,9999,Item,9999
I am facing an error in communication channel as
"Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR consistency check in recordset structure validation in last recordset"
Please help me to resolve this issue. Thanks in advance.Hi,
Source structure is
DATA 1...1
Record 0...unbounded
Header 0...unbounded
Item 0...unbounded
Here i am mapping Header to the target Idoc
In configuration
RecordSet Name: Record
RecordSet Structure:Header,9999,Item,9999
RecordSet Sequence:Varaible
Key Filed name : RecordType
Header.fieldFixedLength -
Header.fieldNames -
Item.fieldFixedLength -
Item.fieldNames -
Header.keyFieldValue : H
Item.KeyFieldValue :I
Header.lastFieldOptional YES
Item.lastFieldOptional YES -
Receive acknowledgement in file-to-idoc scenario
Hello!
I'm using guide "How to handle acknowledgement for IDOC", and for the first time I want to see an acknowledgement status in sxmb_moni.
I have passed all steps:
In CRM I have logical system P1DFILE, this is the system that sends an idoc to CRM.
Also, I have logical system C2DCLNT100 - this is CRM system.
First, I go to BD64, create new model view XI_CRM. Then, add message type:
Sender system - C2DCLNT100
Receiver system - P1DFILE
Message type - ALEAUD.
Then I create RFC destination P1D_001 to my PI server.
Then I create port SAPP1D using WE21
Then I go to WE20, choose my Logical System - P1DFILE. I already have the inbound message types (CRMXIF_PARTNER_SAVE and CRMXIF_PARTNER_SAVE_M). I add new outbound message - ALEAUD with receiver port SAPP1D.
Then I go to RBDSTATE, create variant SAP_AUDIT_SEND and enter:
Confirmation to system: P1DFILE
Message type: CRMXIF_PARTNER_SAVE and CRMXIF_PARTNER_SAVE_M
Then, in SM36 I shedule SAP_AUDIT_SEND as a hourly job (does this mean, that I will receive confirmations only every hour?)
So, what should I do to see ack in sxmb_moni?Dear All,
For file to idoc scenario is there any possibility to get line items details or xml details i.e the segments and its related field details using reference id, transaction id or interface name or message id in SAP PI 7.0. I know we need to click each and every message in sxi_monitor and look for details.
For SAP(R3 System) I can create a report and set the job for specific time period so automatically it throws the details(like reference no, document date, invoice no from) in ftp path as .csv file. The same ftp path is maintained in program.
I wanted to check FTP--->PI postings and I have set the job at r3 system it is working fine and Im monitoring it too.
Now the end to end scenario is FTP--->PI--->ECC(R3 system). Please help.Many Thanks. -
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 -
File to IDoc Scenario exception handling
I have configured Time bound File to IDoc scenario with processing mode in Sender adapter as 'Delete'. And it is running perfectly. I am trying to add additional functionality to the scenario, i.e.,if a file does not exist on the ftp server, a mail should be sent to a recipient.
May be using Java proxy is not appropriate, as poll interval does not be accounted in Java Proxy and file server should be having Java runtime.
Please can any one suggest, how this can be acheived?
Regards,
Suraj KumarHi Bhavesh,
What you have understood is correct?
Any way, I will come out in more detail.
My Ftp server: //yhsap/xi
File: xi_for_upload.txt
Sender Adapter: File Adapter using content conversion with processing mode as 'Delete' and poll interval is 600sec.
Simple Mapping is achieved.
Receiver Adapter: IDoc Adapter.
So, if file is not available in Source system, send mail to [email protected]
Can you suggest a suitable solution?
VasanthaKumar: After adding wait step in BPM, can you please illustrate me how to ping the ftp server and how to read whether file is there? Can you please explain in more detail.
Thanks & Regards,
Suraj Kumar -
Hi,
I am relatively new to XI , i have file to idoc scenario , where the xml file is placed on ftp server i need to pick that create idoc and post it in R/3, these are Purchase orders.
Now the xml file has couple of feilds like status and trailer record count which i need to validate on PI side before creating idoc, suppose if the status feild has value "U" i neednot create idoc for this file , similarly there are some other check that i need to do.
So what i need to know is where and how to do these checks and also how to i send mail alert back if the file fails the checks.
Edited by: Sudhakar Gongloor on May 20, 2010 11:51 AMDear All,
For file to idoc scenario is there any possibility to get line items details or xml details i.e the segments and its related field details using reference id, transaction id or interface name or message id in SAP PI 7.0. I know we need to click each and every message in sxi_monitor and look for details.
For SAP(R3 System) I can create a report and set the job for specific time period so automatically it throws the details(like reference no, document date, invoice no from) in ftp path as .csv file. The same ftp path is maintained in program.
I wanted to check FTP--->PI postings and I have set the job at r3 system it is working fine and Im monitoring it too.
Now the end to end scenario is FTP--->PI--->ECC(R3 system). Please help.Many Thanks. -
System Level Acknowledgement in File to IDOC Scenario
Hi All,
I have the File-> IDOC Scenario. Once the IDOC is successfully sent to R/3, PI should send a acknowlement file back to the sender system.
Could someone suggest how to design this scenario?
Should I use IDOC Acknowledgement. As it is a existing scenario, I dont want much change in r/3 side.Dear All,
For file to idoc scenario is there any possibility to get line items details or xml details i.e the segments and its related field details using reference id, transaction id or interface name or message id in SAP PI 7.0. I know we need to click each and every message in sxi_monitor and look for details.
For SAP(R3 System) I can create a report and set the job for specific time period so automatically it throws the details(like reference no, document date, invoice no from) in ftp path as .csv file. The same ftp path is maintained in program.
I wanted to check FTP--->PI postings and I have set the job at r3 system it is working fine and Im monitoring it too.
Now the end to end scenario is FTP--->PI--->ECC(R3 system). Please help.Many Thanks. -
File to Idoc Scenario. Pls advice
Hi All,
I have implemented File to Idoc Scenario and it worked fine.
I have 2 doubts:
My Scenario: File -- XI -- R/3 system named D01
1. In Configuration: In Receiver Aggrement why we put
XI Business System name in Sender Service?
2. In Configuration when I open my R/3 Business system
(D01CLNT100) and click on Adapter Specfic Identifiers I can
see my Logical System Name as D01CLNT100.
When I use SALE tx. in D01 R/3 system I can see
D01CLNT100 as logical system
Question: If I use SALE transaction and change my
logical system name to "test" , do I need to change the
name "test" in SLD and then for R/3 Business system
(D01CLNT100) in Adapter Specfic Identifiers I will see new
Logical System Name as test.
RegardsHi,
Question: If I use SALE transaction and change my logical system name to "test" , do I need to change the name "test" in SLD and then for R/3 Business system (D01CLNT100) in Adapter Specfic Identifiers I will see new Logical System Name as test
Yes , you need to Update the name in SLD and just Do SLD Data Cache in ID-- Environment to reflect the same name in Identifiers place.
>>1. In Configuration: In Receiver Aggrement why we put XI Business System name in Sender Service?
You might have used XI as Sender and you might have placed the file in XI Server to pickup.
Thats why you are using Xi's Business System name as Sender Serveice.
Regards
Seshagiri -
Namespace Creation for file to idoc scenario
Hi ,
while creating new namespace in integration repository for file-> XI-> idoc scenario ( that is data is to be pushed from a file to R/3 using idoc ) we have to enter the connection data viz:
system :..............
Client .................
Pl confirm the above system and client to be mentioned is of XI server or R/3 system.
Further when we go for
imported objetcs ->
IDOCS -import of sap object-->
Application server Name :....................
System No:..............................
User :.................
Name :................
Pwd:.................
Pl confirm the above data to be mentioned is of XI server or R/3 system.
pl help.Hi,
<b>while creating new namespace in integration repository for file-> XI-> idoc scenario ( that is data is to be pushed from a file to R/3 using idoc ) we have to enter the connection data viz:
system :..............
Client .................
Pl confirm the above system and client to be mentioned is of XI server or R/3 system.</b>
Ans <b>R/3</b>
<b>Further when we go for
imported objetcs ->
IDOCS -import of sap object-->
Application server Name :....................
System No:..............................
User :.................
Name :................
Pwd:.................
Pl confirm the above data to be mentioned is of XI server or R/3 system.</b>
Ans: <b>R/3</b>
Regards, -
Dear XI experts ,
Issue : Error to a new implementated SAP ERP SYSTEM . File to IDOC Scenario
Business Scenario : Exchange Rates from Thomas REuters (XML) - > XI-> SAP 1 , SAP 2 ERP Systems ( 2 diff SAP ERP systems)
SAP 2 is a new system set up for a new plant of our Organization.
The Excahnge rate is gettiong updated by IDOC: EXCHANGERATE.EXCHANGE_RATE01 in two SAP Systems
Each one is configured with diffrent IDOC receiver .
The Error is : for the SAP 2 system . The MEssage gets branched and one message is successfully sent to SAP1 , and turns an error : in SXMB_MONI for SAP2 system
I had been thropugh few blogs have performed the below steps:
-IDOC metadata : IDX2 have configured in XI
-checked the port of EGP , Partner Profile in SAP 2 ERP system
-Checked IDX1 , IDX2 of SAPEGP in XI .
-Refreshed business system .
-Tried to send the xml data from the start point through File Zilla(FTP)
Could somehow help as this is Production issue ans this is affecting the business.
Error from SXMB_MONI:
<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_INV_SND_PARTY</SAP:Code>
<SAP:P1>http://sap.com/xi/XI</SAP:P1>
<SAP:P2>XIParty</SAP:P2>
<SAP:P3>Reuters</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Unable to convert sender XI party http://sap.com/xi/XI / XIParty / Reuters to an IDoc partner</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
Reuters : is the Sender Party of Exchange Rates. I have seen in blogs to craete agency / schema , but since thsi scenario is 2 seperate SAP ERP systems , my question is do i need to create agency , schema for sender party .
Appreciate your Input
Thank you,
Vara
Edited by: Varalakshmi SB on Oct 26, 2011 12:14 PM
Edited by: Varalakshmi SB on Oct 26, 2011 12:16 PMagency and scheme are used when your doing B2B scenarios.
Maybe you are looking for
-
Boa tarde. Na compra de um frete, a alíquota do icms deve ser determinada conforme a origem e destino do frete. Utilizando uma transportadora de dentro do estado em que a empresa se encontra, realizando um frete para um outro estado, o pedido de comp
-
Exception occurred during event dispatching: Null pointer exception
All, i have an applet which opens an applet window. in this applet window i have a list box. When a value in the list box is selected, i need to access a method in the applet(held in another class) that launches another window however i get the follo
-
Song not shown in artists section
I have an IPod Touch 5th Gen with IOS 6, which I bought recently. It was synced to my ITunes using IMatch. So all my songs in ITunes are now in my IPod Touch. I downloaded a song yesterday (but it was not downloaded from ITunes). I looked up the art
-
hi how can i transfer photo from iphone to my computer thaaaaaaaaaaaaaanks
-
Brandnew macbook pro retina kernel panic
Dear community, last week I bought the brandnew macbook pro retia 13". Since then I've experienced two kernel panics. Below I've added the recently occuring one. The MBP is connected to an external display, to a keyboard via USB and to a bluetooth mo