Receiving IDOC from Legacy
Hi guys,
I have requirement that POD will be send by the customer to the legacy system, where order processing is happening.
The legacy system will send the POD to the ECC system by using EDIFACT.
there is a integration layer where EDIFACT will be converted to IDOC.
Does the legacy sytem sends the IDOC automatically after conversion to ECC, or do we need to use any function module for this to receive IDOC in ECC.
If the Legacy system is sending the IDOC automatically in the ECC, where does it post to which table it has to update.
do we need to do any setting for this.
Hi,
There is no BAPI that will split the IDoc and post. You have to do it manually. One way is
1) Split the IDoc into two or more IDocs based on the maximum items you need. Later post these IDocs.
2) Post FI invoices as and when you reach max count(without actually creating new IDocs).
I guess first one would be better as you can tract which IDoc resulted in which FI document(Invoice).
I worked on this before. When we process an IDoc with more items, we flag that IDoc with a custom message with status 51. We have a scheduled job that picks the IDocs with this status and split the IDocs to 2 or more new IDocs.
These new IDocs are processed later.
Hope this helps
Vamsi
Similar Messages
-
Receiving IDocs from non-SAP system ...
Hello guys,
I have problem with implementing IDoc-XI-IDoc scenario. The sender system is a subsystem (non-SAP system) sending IDocs but XI is not able to receive them. I thing the IDoc metadata can not be found.
Logical system name of the sender is IF6020DEV. I registered the system in SLD. In Integration Directory I imported the Bussines System IF6020DEV to my scenario and I created communication channel of type Sender IDoc Adapter in it.
In IDX2 I created new port called IF6020DEV and I copied needed metadata into the port. But it doesn't work. Probably I don't do it right because I'm beginner with SAP XI.
Could you give me any advice how to configure XI for receiving IDocs from non-SAP system?
Thank you in advance!
Regards
ZbynekThank you very much. The issue described in refered discussion is almost same issue what I'm solving. Unfortunetally the described solution dosn't work for me.
The sender system still returns following error. I know you probably won't understand it because you don't know the subsystem, but maybe you could get some idea what is wrong.
05/29/09 16:09:19.482 idoup2 Logon...
05/29/09 16:09:19.482 idoup2 RfcOpenEx (TRACE=1 CLIENT=110 USER=xxxxxx LANG=D LCHECK=1 GWHOST=xxxxxx GWSERV=3361 ASHOST=xxxxxxx SYSNR=61 PASSWD=<password>)
05/29/09 16:09:19.529 idoup2 Logon RfcOpenEx result=1
05/29/09 16:09:19.607 idoup2 Call to (IDOC_INBOUND_ASYNCHRONOUS) failed (3)
05/29/09 16:09:19.607 idoup2 Handle=1
05/29/09 16:09:19.607 idoup2 key............:
05/29/09 16:09:19.607 idoup2 status.........:
05/29/09 16:09:19.607 idoup2 message........:IDoc-Adapter Eingang: Der Absenderport ist initial
05/29/09 16:09:19.607 idoup2 internal status:
05/29/09 16:09:19.607 idoup2 idoc_upload failed with rc=(3), try(2)
05/29/09 16:09:20.607 idoup2 key............:IDoc-Adapter Eingang: Der Absend
05/29/09 16:09:20.607 idoup2 status.........:EXCEPTION SYSTEM_FAILURE RAISED
05/29/09 16:09:20.607 idoup2 message........:IDoc-Adapter Eingang: Der Absenderport ist initial
05/29/09 16:09:20.607 idoup2 internal status:
05/29/09 16:09:20.607 idoup2 idoc_upload failed with rc=(18), try(1)
05/29/09 16:09:21.607 idoup2 Logoff... -
Settings in XI side to receive IDOC from application server
Could somebody verify the following stmt regarding
Settings in XI side to receive IDOC from application server
The metadata for the idoc should be in place before sending idoc from the application systemHi Vasanthakumar,
have a look at those settings by Shravan:
Re: Steps to define correctly IDoc sender adapter
you don't have to do point 4
Regards,
michal -
Ale settings when receiving idoc from xi
Hi friends,
I wan o confirm that the settings I had done in my R/3 system for receiving idoc from Xi are correct.
Third party is goin to send message to my Xi system, from there I have to send that message to my R/3 system.
In R/3 I had created 2 logical system,one for r/3 itself and other for my XI system.
I assigned client to this systems.
I created RFC and port for XI.
Then created distribution model, with sender as xi logical name ,receiver as R/3 logical name.
Is this configuration correct?or I need to create the thirdparty logical system also in my R/3 system?Hi,
Your steps looks fine to me. I think distribution model is not required for inbound case.
just check the below configuration once again.
Pre-requisites for Inbound IDoc to R/3 from PI:
Configuration required at Xi side:
Go to IDX1: configure the port.
Go to IDX2: load the DOC metadata.
Go to SM59: Create RFC destination which points to R3 system this is require in the case where your IDOC is sent to R 3 system,
Configiration required at R3 side:
Maintain Logical System for PI (SALE transaction):
Maintain Partner Profile for XI system(WE20):
Also look at the step by step process.
File To IDOC - Part2 (Configuration):
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part2+(Configuration)&
File To IDOC - Part3 (Steps required in XI and R3):
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part3(StepsrequiredinXIandR3)&
chirag
Edited by: Chirag Gohil on Nov 24, 2008 1:23 PM -
Is it possible to receive IDOCs from a non-SAP system?
Hi,
I'm facing a problem where I have to configure SAP MII (12.0) to receive IDOCs from a non-SAP client. Is it possible? I'm dealing with a system named Hydra (developed by MPDV) and I'd like to know what I should configure in Hydra systems in fields like: PROGID, GWHOST, GWSERV, SYSNR, CLIENT etc.
Anyone can help me?
Thanks a lot in advanceUnless Hydra emulates ECC sending IDOCS, then you just might want to use the WSMessageListener (http://help.sap.com/saphelp_xmii120/helpdata/en/45/6a86ac88130dece10000000a11466f/frameset.htm) and configure your message processing rules accordingly.
-
Receiving idocs from multiple systems
I got to receive two different idocs from two differnt systems and both are to be mapped to one target structre. Is this scenario is possible without using BPM ? If so coupld you plz advise the design ? Is there any literature which talks abt this scenario ?
thanks
kumarHi Kumar,
Your scenarios look like n:1,like more than one sender .
You can implement your scenarios using BPM very easily.
Uisng BPM you can colect IDOCS from SAP system you can send.
Please search in sdn blogs you wil find it,
if you are unable to find let me know i will give u the links.
Regards,
Raj -
Receiving idoc from R/3 and receiving aleaudit idoc back to senderr
Hi,
I'm trying to post a idoc from R/3 to a FTP server using file adapter. I have configured a RFC destination, port on R/3 to the XI server and a partner profile on R/3. Also created a RFC destination and port on the XI to the R/3 system.
When I try to test the idoc using TA we19, mention the sender and reciever port , the idoc is sent with a msg 'IDoc sent to R/3 System or external program'. In TA we05 the idoc is shown with status 3.
But when monitoring the idoc in XI it doesn't appear in the moni
Would appreciate ur replies.HI,
Please try to run program RBDMOIND with ta code se38.
Also see the below links for ALE AUDIT.
Check these docs...
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
https://websmp210.sap-ag.de/~sapdownload/011000358700003477212005E/HowTo_IDOC_Ack_20040817RR.pdf
/people/saravanakumar.kuppusamy2/blog/2005/01/20/configuration-tips-for-a-business-serviceintegration-process-to-send-back-ale-audit-idoc
Regards
Chilla.. -
Receive idocs from SAP in XML format
Hi everyone.
Currently, to receive idocs, what we're doing is, we create an external RFC server, and listen to invocations of the RFC IDOC_INBOUND_ASYNCHRONOUS and IDOC_PROCESS_INBOUND. However, this leads us to receive idocs in EDI_DD/EDI_DD40 and EDI_DC/EDI_DC40 formats.
Is it possible to receive idocs in XML format via the RFC Server interface?
Thanks,
Mustansirhi shreya,
function Module Short text for function mod
HR_BE_DMFA_XML_DOWNLOAD Register XML conversionca
HR_PT_TAX_XML_DOWNLOAD
SDOK_LOIO_XML_DOWNLOAD_PUBLISH
SPRX_XML_DOWNLOAD Displaying the Payload
DMEE_DOWNLOAD_XML_TREE
DMEE_DOWNLOAD_XML_TREE_ABA DMEE: Download format tree
JITOUT10_DOWNLOAD_XML
GLOS_DOWNLOAD_XML
this function module you can use.
regards,
sandeep
Edited by: Sandeep patel on Jul 7, 2008 6:36 PM -
Send idoc when bp created and receive idoc from external
I am sap abap developer and am new to CRM technical side.
*****my requirement is : when we create business partner and save it then i need to send that as an idoc to 3rd party theru ESP system.
I planned to create BP using BAPI BUPAFS_FS_CREATE_FRM_DATA01 and generate idoc in CRM and should send to ESP. They will send to 3rd party and collect some data from tham and they have to generate idoc using BAPI which i specify (I dont know which bapi) and send to us. But i dont know what bapi i have to used at ESP to generate and send idoc from ESP to CRM. Is am not sure how to use bapi exactly.
Please help me out as soon as you can. I was struct in project.UrgentHi Mehar,
SAP CRM supports this functionality in the standard. All you need is some customizing to get changes in CRM mapped to an outbound IDOC and send it out to an external system.
Inbound is also covered. You can post IDOCs to the CRM system using an inbound port. No need to call a BAPI, you can create the IDOC externally and simply post it as a file to the CRM system.
Alternatively, you can use XML to achieve the same.
I've sent a configuration document to your email address. In it you will find all you need to perform the customizing for a working XIF scenario.
Get back to me when you get stuck.
Regards,
Michael. -
I have created a rfcserver application that handles "IDOC_INBOUND_ASYNCHRONOUS".
When connected to SAP on windows IDOC's received are OK. From HPUX the first 8 bytes are swapped like "04CD_IDE" instead of "EDI_DC40".
Have anybody seen this before ?
HPUX is running 4.6C , RFCSDK is 640.Hi Trond,
I do not think this problem is related to unicode because in that case you should have seen only a part of the text "EDI_DC40" but what about endiannes of the two systems?
Please, also have a look at this link, this should clarify the concept: <a href="http://en.wikipedia.org/wiki/Endianness">Endianness</a>
Hope my thought could help you!
Kind Regards,
Sergio -
Warnings while receiving IDOC from SAP
Hi All,
I am running BTS 2010. I configured recieve location to recieve ORDERS05 Idocs. But I am receiving below mentioned warning.
1) In SAP the Idoc shows as successfully sent
2) On the BizTalk side we cannot find the Idoc anywhere
3) In the EventLog of our BTS we get the following errors (the errors are raised exactly at the same time when the Idoc which “disappears” is sent from SAP to BizTalk )
Error 1:
Event Type: Warning
Event Source: BizTalk Server 2010
Event Category: (1)
Event ID: 5740
Date: 1/10/2014
Time: 12:38:59
User: N/A
The adapter "WCF-Custom" raised an error message. Details "Microsoft.ServiceModel.Channels.Common.XmlReaderGenerationException: The segment or group definition E1234 was not found in the IDoc metadata. The UniqueId
of the IDoc type is: IDOCTYP/3/ORDERS05//700. For Receive operations, the SAP adapter does not support unreleased segments.
at Microsoft.Adapters.SAP.TypedIdocBodyWriter.OnWriteBodyContents(XmlDictionaryWriter writer)
at System.ServiceModel.Channels.BodyWriter.WriteBodyContents(XmlDictionaryWriter writer)
at System.ServiceModel.Channels.BodyWriterMessage.OnWriteBodyContents(XmlDictionaryWriter writer)
at System.ServiceModel.Channels.Message.WriteBodyContents(XmlDictionaryWriter writer)
at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfMarshaller.CreateBizTalkMessageStream(Message wcfMessage, IAdapterConfigInboundMessageMarshalling config)
at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfMarshaller.CreateBizTalkMessage(IBaseMessageFactory messageFactory, IAdapterConfigInboundMessageMarshalling marshallingConfig, Message wcfMessage)
at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfMarshaller.CreateBizTalkSubmitMessage(IBaseMessageFactory factory, String inboundTransportLocation, String inboundTransportType, RLConfig config, Message wcfMessage,
String ssoToken)
at Microsoft.BizTalk.Adapter.Wcf.Runtime.BizTalkSubmitBase..ctor(Message message, BizTalkEndpointContext endpointContext, ControlledTermination control, AsyncCallback realCallback, String ssoToken)
at Microsoft.BizTalk.Adapter.Wcf.Runtime.BizTalkSubmit..ctor(Message message, AsyncCallback callback, Object state, BizTalkEndpointContext endpointContext, String ssoToken, ControlledTermination control)
at Microsoft.BizTalk.Adapter.Wcf.Runtime.BizTalkOperation.Create(Message message, AsyncCallback callback, Object state, String ssoToken, Boolean bizTalkOneWay, BizTalkEndpointContext endpointContext, ControlledTermination
control)
at Microsoft.BizTalk.Adapter.Wcf.Runtime.BizTalkServiceInstance.BeginOperation(Message message, AsyncCallback callback, Object state, Boolean bizTalkOneWay)".
Error 2:
Event Type: Warning
Event Source: BizTalk Server 2010
Event Category: (1)
Event ID: 5740
Date: 1/10/2014
Time: 12:38:59
User: N/A
The adapter "WCF-Custom" raised an error message. Details "Microsoft.Adapters.SAP.RFCException: Details: ErrorCode=RFC_INVALID_HANDLE. AdapterErrorMessage=An exception has occurred on the listener while executing
RfcWaitForRequest..
at Microsoft.ServiceModel.Channels.Common.Design.AdapterAsyncResult.End()
at Microsoft.ServiceModel.Channels.Common.Channels.AdapterReplyChannel.EndTryReceiveRequest(IAsyncResult result, RequestContext& requestContext)
at Microsoft.Adapters.Internal.LayeredChannelBindingElement.LayeredInboundChannel`1.System.ServiceModel.Channels.IReplyChannel.EndTryReceiveRequest(IAsyncResult result, RequestContext& context)
at System.ServiceModel.Dispatcher.ReplyChannelBinder.EndTryReceive(IAsyncResult result, RequestContext& requestContext)
at System.ServiceModel.Dispatcher.ErrorHandlingReceiver.EndTryReceive(IAsyncResult result, RequestContext& requestContext)".
Error 3:
Event Type: Warning
Event Source: BizTalk Server 2010
Event Category: (1)
Event ID: 5740
Date: 1/10/2014
Time: 12:38:59
User: N/A
The adapter "WCF-Custom" raised an error message. Details "The WCF service host at address sap://CLIENT=100;LANG=;@a/SAPD.corp.int/10?ListenerDest=BIZTALKD&ListenerGwServ=sapgw10&ListenerGwHost=SAPD.corp.int&ListenerProgramId=BIZTALKD&RfcSdkTrace=False&AbapDebug=False
has faulted and as a result no more messages can be received on the corresponding receive location. To fix the issue, BizTalk Server will automatically attempt to restart the service host.".
Error 4:
Event Type: Warning
Event Source: BizTalk Server 2010
Event Category: (1)
Event ID: 5740
Date: 1/10/2014
Time: 12:38:59
User: N/A
The adapter "WCF-Custom" raised an error message. Details "System.ServiceModel.CommunicationObjectFaultedException: The communication object, Microsoft.Adapters.Internal.LayeredChannelBindingElement.LayeredInboundChannel`1[System.ServiceModel.Channels.IReplyChannel],
cannot be used for communication because it is in the Faulted state.
at System.ServiceModel.Channels.CommunicationObject.Close(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Close()
at System.ServiceModel.Dispatcher.ErrorHandlingReceiver.Close()".
http://social.msdn.microsoft.com/Forums/en-US/57a18e78-d902-4a39-a99f-95ef732792f7/adapter-pack-20-sap-adapter-problem
As per the replies in the above link i made the changes but still warning continues.
Please suggest
Thanks,The IDOC has not arrived in BizTalk, that's why you do not see it. The problem is that the IDOC fails at adapter level, when the SAP RFC Library is called.
The actual problem is that the IDOC you are receiving is containing unreleased segments and that's not supported, you should contact your SAP administrator to get this problem resolved.
If I'm not mistaken it's transaction WE30 in SAP, there you have to select the IDOC type (ORDERS05 in your case) and then you can set the release. But your SAP administrator will probably know better how to do this
Glenn Colpaert - MCTS BizTalk Server - Blog : http://blog.codit.eu -
BW system not receiving Idocs from R/3 system
Hi all, I am having a problem with my BW system. What happened is that we deleted logical systems in R/3 and then recreated them but now in BW we can't display received data. We checked using rsa3 extractor checker and the data is available in R/3 but we are failing to bring it across to BW. BW is saying there is no data. And the monitor status when loading data is reporting missing messages that is: Request received, Number of sent records and Selection completed. May you assist me it's urgent because all BW work has stopped because of this.
Thanks in advance!!Hi, we recreated RFC destinations but the problem still remains. This is the message under my Monitor status on the "Details" tab:
Overall status: Missing messages or warnings.
Requests(messages): Everything Ok.
Data request arranged
Confirmed with: OK
Extraction(messages): Missing messages
Missing message: Request received
Missing message: Number of records sent
Missing message: Selection completed
Transfer (Idocs and TRFC): Missing messages or warnings
Request Idoc: Application Document posted
Info Idoc 1: sent, not received; Data passed to port OK
Info Idoc 2: sent, not received; Data passed to port OK
Info Idoc 3: sent, not received; Data passed to port OK
Processing(data packet): no data
I think the messages above may assist in a big way for you guys who are willing to assist. I am a bit stuck on the issue.
Thanks once again in advance!! -
Hi,
I have scenarion in that we will receive IDOC from external system (SAP system) in XI i.e. IDOC- XI -IDOC scenrio. from my Understanding ,to configure the scenario I have to do ALE from sender side and IDOC receiver channel in receiving side.
External system (SAP) -(ALE)-> XI -(IDOC rcv)--> Our System (SAP)
Please can anyone provide me steps to do ALE from external system.
Edited by: tapan singh on Feb 28, 2011 11:51 AM
Edited by: tapan singh on Feb 28, 2011 11:52 AMHi,
We can have alternate ways to send IDocs from external system to SAP system. One way is in below link
http://help.sap.com/saphelp_46b/helpdata/en/52/16abf6543311d1891c0000e8322f96/content.htm.
http://help.sap.com/saphelp_40b/helpdata/ru/52/16abcf543311d1891c0000e8322f96/content.htm
I can think of few more, like In external system after generating Idoc, save it as a tex and send it to SAP system using Http post or using web service.
Look out to below discussion.
Send IDoc from External System to SAP system
Regards
Aashish Sinha
Edited by: Aashish Sinha on Feb 28, 2011 1:16 PM -
Sending IDoc from Non-SAP system to XI
Dear all,
We have a non sap system which needs to send IDoc to XI, Please could you answer my following four questions
1. What should be the values for the following fields in the IDoc control record
e.g. RCVPRN = <logical system name of XI>
SNDPOR
SNDPRT
SNDPRN
RCVPRT
RCVPOR
2. How does XI decide which port(idx1) to be used when it receives an idoc
3. The third party system is a non sap one, so it does not have a client no, so I would assume, I need to use another SAP system as a meta data provider, in that case, how would i tell XI to use that port when it receives IDocs from the non-SAP system ?
4. In what step does XI use the logical system name of the Business system(in SLD)?
Thanks in advance
cheers
danus
Edited by: Chidambaram Danus on Jan 25, 2008 2:21 PMHi
there is bit wrong interpretation of the statement
If the sender system is a non-SAP system, the sender service is identified from the logical system name of the sender port.
If the sender system is nonSAP it indicates taht the data is coming to XI from non sap systems such as file, database, webservice etc. to XI and from XI it will pass to sap as IDOC inbound.
For this you need to create the logical system in SAP (receiver) and pass on that value to IDOC header.
You could maintain it in the Business service used for Sender system (nonSAP). here it will be available in the tabs ---> History.
note : IDOC is the concept of data container in SAP, you will not be able to have the IDOCs in non sap systems...
Thanks
Swarup
Edited by: Swarup Sawant on Jan 25, 2008 2:54 PM -
Configurations to receive IDocs in XI
Hi experts,
I'm using PI7.0 SPS10.
I have a scenario IDOC -> XI -> File.
From what I've read in the numerous threads posted before me, the configurations required on XI for such scenario is:
1. SM59
2. IDX1
3. IDX2
For the above scenario, my understanding is I do not need an iDoc Sender adapter, because the IDOC resides on the ABAP stack.
I am able to import the IDOC structure into IR, and create message mappings for the message types.
I have created 2 business systems
BS_NHGDDBS01 : The business system for the corresponding R/3 sender system. This has a TS of type WebAS ABAP - NHGDDBS01.
BS_DEV1_NAUTICUS_OOTS: The business system I created, simply to house the various projects/mappings that I will need. The mappings are housed in a SWCV which i defined.
I created my mappings for IDOC->File, under BS_DEV1_NAUTICUS_OOTS.
I activated the mapping in Integration Directory.
My questions:
1. Am I doing this correctly? I'm puzzled because I did not use the business system BS_NHGDDBS01 at all.
2. With this current setup, can XI receive IDoc from NHGDDBS01? I do not see a configuration mapping the IDoc to the message Interface which I want.
Please help to clear my doubt.
Thanks.
RonHi,
>>>>I created my mappings for IDOC->File, under BS_DEV1_NAUTICUS_OOTS.
you cannot do that- you create it under software component not busines system
>>>>I activated the mapping in Integration Directory.
you activate them in repository not directory
for all scenarios with IDOCs and XI:
<a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
Maybe you are looking for
-
How does homeshare work?
How does this work? I have turned it on but I do not see it in the menu list??
-
The video button does not activate on itunes when i connect the 30GB ipod
I have a 30GB ipod. when i connect it to the computer and start itunes, and go to the "ipod" tab, and then "video", after that, none of the video buttons are active (such as "actomatically update all videos"; "do not update videos" etc. I have the la
-
I miss the delete to the right key on wireless keyboard
I really miss this, and was about to post asking for a solution when on Google I discovered the following post: My delete button is operating in the...: Apple Support Communities
-
Full page pull out tray, pull only object workaround
Hi, Is there any way yet, when creating a pull out tray/slider using the scrollable frame, to only have a object within the container pull the content, rather then being able to pull from anywhere within the container? Basically what I am trying to d
-
In my scenario File -> XI -> R3 The file is being read and converted to xml <?xml version="1.0" encoding="utf-8" ?> <ns:FileType1 xmlns:ns="http://test.com"> <ns:FileType1 xmlns:ns="http://test.com"> <FileType1> <type>1</type> <name>23</name>