Sending 2 different idoc
Hi All,
I have a scenario with BPM where i need to receive two different idoc. In this when I trigger from SAP one by one IDOC1 and IDOC2 it is executing properly but in case if I use transaction WE14 it is getting stucked in the loop step in BPM and it is not coming out. Actually the condition of the loop is infinite but designed a block in such a way this it receive IDOC2 we need to receive IDOC1. I used the same way in standard pattern in software component SAP BASIS in which http://sap.com/xi/XI/System/Patterns in that Integration process BpmPatternCollectMessage.
Please help me out how to solve this problem
Regards,
Dhil
Hi jai,
I am triggering the IDOC by using WE14 by giving multiple idocs. Here if totally there 10 idocs, the 10th idoc will be IDOC2 and the rest are IDOC1. Yes i am using the option trigger immediately only.. please comment
Regards,
Senthil.
Similar Messages
-
Issue with the configuration of http xml port for sending the idoc
Hello,
I am planning to send multiple idocs in a single file using http xml port.
Presently I am trying to send a single idoc, but am having the issue.
I am trying to create a RFC for HTTP XML port of type H i.e. HTTP Connection to ABAP System
In the how to guide for - How Tou2026 Send Multiple IDocs Within One XI Message
( https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30ea2fdf-f047-2a10-d3a2-955a634bde6b )
the following parameters are defined for the path prefix -
RFC destination of type H (HTTP Connection to R/3 System).
Specify the path prefix as follows:
/sap/xi/adapter_plain/
?namespace=< your namespace>
&interface=<IDoc_Type>
&service=<Sender System>
&qos=EO (or EOIO).
I am trying to use the following prefix -
/sap/xi/adapter_plain/
?namespace=urn:sap-com:document:sap:idoc:messages ( this is the standard namespace of SAP for all the idocs)
&interface=DEBMAS05 (Idoc type )
&service=SNDLS100 ( ECC system name )
&qos=EOIO
On testing the RFC connection, I am getting the error of page not found.
Can anyone please give me pointers for the issue.
Regards,
MayankThanks Barry!!!
Now I am getting a different message.
In RFC...it is giving me the following message ->
Status HTTP Response 204
Status Text Body is empty
In case of Idoc, the status is till 02...
the error description for the idoc is --
"When transferring the IDoc by HTTP, the return code with the message '500<SAP:Error><SAP:Category>XIServer</SAP:Category><S' has occurred.
The target address was: http://emgeccsnd1:8001/sap/xi/adapter_plain/?namespace=urn:sap-com:document:sap:idoc:messages&interf
Check whether the IDoc can be sent again.
It is unfortunately not possible to determine automatically whether the IDoc has in fact arrived in the target system and the error occurred afterwards"
I am still not able to resolve the issue.
Regards,
Mayank -
Creating Multiple different IDocs without BPM
Hi all,
I have a scenario in where I have a input structure and have to create multiple different IDocs (the types of the IDocs are also different)
For example,
Input XML will create 5 IDocs of type A, 3 IDocs of type B, 1 IDocs of type C, no IDocs for type D and 10 IDocs for type E.
Is this possible without BPM? This will be a complex Mapping. In BPM I am sure for every type to create one send step would be easy. But would it be more efficient?
Thanks.>
Chris027 wrote:
> This looks promising, i'll try it.
something from the blog might be useful for you:
Messages that result from the split in a mapping-based message split are sent using one AE. So only adapters running on
the AE are supported. In particular, this means that target IDOC message splits are not supported since the IDOC adapter is not
part of the AE. -
One message type different IDoc Types
Hi All,
Can we use one message type and different data types based on the requirement in PI mapping.Basically I want to select mappings based on IDoc ...My requirement is to use different IDoc types for one message type in mapping ...will it work ?
Thanks ,
Vinay.If you will be wanting to have 1 message producing different IDOCS types (to be meaning that not just multiple IDOCS of the same type) then this must be done via a BPM as the IDOC adapter will not be able to handle it by itself. Have a receiver determination step in the BPM for each IDOC type - you'll then be sending each via foreach block.
-
How to send ORDERS01 IDOC?
Hi Experts,
how I can send the ORDERS01 IDOC? I Will send it with following Message Types: ORDERS, REQOTE, ORDRSP and QUOTES.
Till now I can't find a TCODE to send that IDOC, that I can see the result in TCODE BD87.
Someone have a solution or a hint to realize that?
Thanks,
FredericHi,
Go through the below link, how one can send IDocs for different message type.
http://****************/Tutorials/ALE/DataDistributeCustomIDOC/page1.htm.
Regards,
Anbalagan -
Send/Receive IDOCs (XML) from/to SAP R/3 with XI-SOAP without XI!
Dear SAP specialists,
(BACKGROUND) We are using the Microsoft BizTalk Adapter for SAP 1.0, developed on top of the SAP DCOM Connector (we are using the version 6.20 Patch Nr. 177), with Microsoft BizTalk Server 2002 SP1 in order to send and receive IDOC via the tRFC transport protocol. We are using the Microsoft BizTalk Adapter for SAP 1.0 since February 2002, and today we are exchanging more than 25,000 IDOC/day with this architecture.
When we migrate our SAP R/3 system to the version 4.7 with WAS 6.20, I was very enthusiastic about the possibility of sending the IDOC in XML via the standard HTTP transport protocol, because it would considerably simplify my architecture, i.e. no need of any (expensive) adapter any more! But, I had to realise that the quality of service exactly once will not be there anymore with HTTP as it exists with tRFC. Then, we carry on using the tRFC transport protocol with the adapter.
(QUESTION) But recently, I followed the SAP Course TBIT40 XI Foundations and I learn that:
1. On one hand, the XI-SOAP protocol supports the quality of service exactly once by the usage of a message GUID within the XI-SOAP envelope;
2. On the other hand, all mySAP solutions using WAS 6.20 (or higher) carry a small Integration Engine (with XI-SOAP as the native transport protocol).
Then, my question is: << Is it possible to exchange IDOC (XML) directly with an SAP R/3 4.7 (WAS 6.20) via the XI-SOAP transport protocol using the small Integration Engine embedded into it, with the quality of service exactly once? >>
Many thanks in advance and best regards,
Patrice KrakowHello Patrice
We have same issue. Is it possible to use IDoc (XML) directly with SAP 5.0 with SOAP (HTTP) without XI?
Since your que is three years old, I'm sure you must have found some method for this.
We'll highly appreciate your help.
Regards: Gaurave -
What all configurations to do in SAP R/3 to send an iDOC to XI system
I want to send an idoc from an SAP R/3 ECC5.0 to an XI system Netweaver 04's.
Pls let me know the STEPS I HAVE TO DO IN MY r/3 SYSTEM .
I have created the RFC destination in R/3 and XI system but still the idoc is not going into XI system.
It would be a great help if i can get step bu step guide for the configurations i have to do in R/3 .Hi,
First check the status , with we02
Also see the below links
IDOc testing - /people/suraj.sr/blog/2005/12/29/generate-test-case-for-an-idoc-scenario
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
/people/sravya.talanki2/blog/2005/10/27/idoc146s-not-reaching-xi133-not-posted-in-the-receiver-sap-systems133 - Idocs not reaching XI . Not posted in the receiver SAP
idoc settings /people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi
idoc erros - http://help.sap.com/saphelp_nw04s/helpdata/en/6a/e6194119d8f323e10000000a155106/content.htm
IDoc erros troubleshooting - /people/raja.thangamani/blog/2007/07/19/troubleshooting-of-ale-process
idoc mapping - /people/james.guanzon/blog/2006/03/23/how-to-support-industry-standards-in-xi-part-ii-of-iii--mapping
Regards
Chilla -
ABOUT DATA SENDING IN idoc TO file SCENARIO
How the data is sended in idoc to file scenario?
what is the difference in sending data through BD10, BD14 and WE19 ?
Is the data is sended through XI OR R/3 SYSTEM?Hi Rammohan
>> How the data is sended in idoc to file scenario?
Makeing settings in SAP R/3 side then based on the RFC
destination,port,parterner profiles.....
Idoc can hold the data with out any direction but RFC port will direct where to
go ...based on the partner profiles (Out buond IDOCS)
>>what is the difference in sending data through BD10, BD14 and WE19 ?
BD10,BD11,BD12,BD13,BD14 will be to send the master data automatically
generally will be in the production(But not for testing) and this will be depending
on the declaration of profiles in the BD64
--- But we19 will be used to test the Idocs with any data
but here we need to give all the parameters like senders,receivers,ls,idoc...
>> Is the data is sended through XI OR R/3 SYSTEM?
Data will send through XI i.e XI will receive the Idoc and Convert into XI specific
SOAP XML message and process all the pipe line steps ...based on the target
it will send
Here target is file so choose the file adapter as target and give all parameters
it will work fine
I hope this will answer your question
regards
--- prasad -
Is it possible to use BAPI-ALE to send an idoc using the message control?
Hi Guys
Is it possible to use BAPi-ALE to send an IDOC using a message control?
I have configured the system to send an IDOC when a outbound delivery is saved in the system.
I have done the following.
1). I am using the std BAPI-ALE interface provided by the object type LIKP.
2). I am using the method SAVEREPLICA for which an interface already exists in BDBG transaction.
3). I hace created a distribution model in BD64 and added the BAPI - LIKP and SAVEREPLICA
4). Created a partner profile ( using the generate partner profile option in the BD64 transaction )
QUESTION:
1). How do i associate the custom OUTPUT type created for Delivery ?
2). I tried to associate the custom output type in the Partner profile definition under the message control tab but i am not sure which Process code to be used? Since the partner profile was generated automatically from BD64 it has an entry for SHP_OBDLV_SAVE_REPLICA as a message type in the outbound parameters. and i am unable to find a process code for this Message type in WE41. So what process code should i use in the Message control tab against the custom output type?
3). Do i need to leave the message control tab empty without making any entry? If yes then how would the system come to know that it needs to trigger this partner profile when the custom output type is proposed by the system?
will award points for useful answers
Edited by: Workflow learner on May 29, 2008 8:49 PM"any way"
Applications such as ScreenRecycler, http://www.screenrecycler.com/ScreenRecycler.html, can do it. -
Hi Experts,
1, When the sender post idoc to PI it shows the following
error in sender sap system.
Error:No service for system SAPQ01 client 118 in integration directory
2, Is it possible to post the idoc to PI With out activating the integ directory Object in PI(Integ.repoistery activated).
3, If possible, where can i see the idoc datas in PI before activation.
ThanksHi Raja,
You send IDocs from system ABC to XI. In the control record of the IDoc,the SNDPOR field contains the value "SAPABC". The client of the sending system is determined by the MANDT field of the control record. The system ID and client are then used to determine a service without party of the
type (business-system/business-service):
Business system
-> Activities in the System Landscape Directory (SLD)(Create technical
system):
Create a technical system for system ABC in the SLD, and create the client for this. Do not forget to assign an "ALE logical system" (for example, "ABCCLNT123") to this technical system.
SLD (Business system):
You can now explicitly assign a business system to this client. For more details, refer to the SLD documentation.
Activities in system ABC (self-registration in the SLD):
Alternatively, you can register the system in the SLD in system ABC with Transaction RZ70. You will find detailed information about the SLD registration of systems on the SAP Service Marketplace for the
"Exchange Infrastructure" in the document "Exchange_Installation_Guide.pdf".
In system ABC, you can check your configuration with Transaction SLDCHECK.
Activities in Integration Directory (import business system from SLD):
You will find the business systems under Services Without Party in the Integration Services. In the Service menu, you will find the system identifiers, the client, and the corresponding ALE logical
system under "Objects"->"Adapter-specific identifiers". Use the Import/Update button to copy the data from the SLD, to create business systems, or to update their identifiers.
Business service
-> Activities in the Integration Builder directory:
You want to create a service without party that is not part of your system infrastructure and is therefore not maintained in the SLD. In the Integration Builder directory, you will find the "Business-Services" under Services Without Party. In the Service menu, you will find the system identifiers, the client, and the corresponding ALE logical system under "Objects"->"Adapter-specific
identifiers".
Activate the change list in Integration Directory.
In system ABC, you can restart the incorrect entry from Transaction SM58 .
Regds,
Pinangshuk. -
Sending PO idoc to create PO in another SAP system
Hi,
SAP A is sending PO idoc (Orders05) to SAP B ...i want it to be posted as PO in SAP B...is it possible or do i have to post it as an SO only ....I found a IDoc type PORDCR01 ...is this correct??
Also once a PO is created in SAP B can i send a ORDRSP back to SAP A? What config is needed for this...only otbound partner profile( with message control) need to have this entry and also a distribution model entry ....what else?
Moderator message: please do more research before asking, show what you have done yourself when asking.
Edited by: Thomas Zloch on Nov 19, 2011 10:39 PMPlease check through MM01 whether these fields are display only or can be input enabled, also check the transportation group (MARA-TRAGR) in both the SAP system are in Sync
-
Datagram Socket send different sizes Buffers ...
hi,
I'm sending different sizes Datagrams from a datagram socket
so how can I receive them
I've tried to send the packet in two packets the first one is fixed size that carries the size of the real data then create a suitable buffer on the client side to receive the second packet but the result is very slow ...
I'd like to know any suggestions about how to do this properly
to reach a stream like synchronization between the client and the server ..
thanks in advanceuse a receive buffer large enough for the largest package possible on your network. Typically, this is 1500 data bytes, but it depends on the network technology. If you want to be sure, allocate a 65536 bytes buffer, which will fit for any technology. But typically, 1550 will fit in a LAN.
-
BPM could be trigger for two different IDocs
Hi Gurus!!
Can I configure a BPM to be triggered by one of two different IDocs? I explain my scenario to clarify the question.
I have a requirement to do several actions with the IDoc Types MATMAS05 (Material) and CLFMAS02 (Material Characteristics).
To do these actions I use BPM, but I have several scenarios: receive MATMAS05 and CLFMAS02, receive only MATMAS05 or receive only CLFMAS02.
I need to configure the BPM to be triggered by MATMAS05 or CLFMAS02, somebody could guide me, please?
I have read something about a receiver determination step on the BPM.
Thanks and regards,
Manuel.Hi All,
I am also facing same problem. I want to create material using IDOC and characteristics value. Don't know how to proceed.
Can any body explain in detail if possible with example code.
Thanks and full points in advance. -
Error to send a IDOC from ECC to SUS
Hi,
I am trying to connect to SAP SUS System using HTTP adapter using PI 7.0.The scenario is
ECC ->PI->SAP SRM. I have configured HTTP adapter as the receiver with addressing type as HTTP Destination. I have created a RFC destination of type H pointing to SAP SUS on PI. I have encountered the following error after executing the scenario.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <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="PLAINHTTP_ADAPTER">ATTRIBUTE_SERVER</SAP:Code>
<SAP:P1>500</SAP:P1>
<SAP:P2>Internal Server Error</SAP:P2>
<SAP:P3>Error during parsing of SOAP header</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:Stack>HTTP server code 500 reason Internal Server Error explanation Error during parsing of SOAP header</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
I have configured HTTP receiver with Addressing type HTTP Destination and configured the HTTP destination field with RFC destination(Connection Type H) created on PI. Here my source and target structures are same i.e DELVRY03. I have triggered DELVRY03 idoc from ECC and i am expecting same xml to be sent to SAP SUS but stuck up with the above mentioned error.
Someone know how fix this problem?
Tks,
ErikHI,
As per my understanding to your scenario, You want to send one IDoc from ECC to SAP SUS system using SAP PI.
So i hope you must have configured on all the steps required to Send one IDoc to PI syste, Secondly, are you using any Standard interface in PI to send data to SAP SUS system? If yes, you need to create an HTTP Destination for that system and then you have to create XI Receiver Adapter with that HTTP destination to post incoming message to SAP SUS system.
Your error suggests you are using Plain HTTP adapter to post data to SAP SUS, which is in my understanding is incorrect.
Regards
Aashish Sinha
Edited by: Aashish Sinha on Feb 21, 2011 9:15 AM -
How to send different type of data
Hello, everyone,
I am trying to send different types of data between client and server.
For example, from server to client, I need to send some String data, using PrintWriter.println(String n); and send some other stuff using OutputStream.write(byte[] b, int x, int y). What I did is setting up a socket, then send them one by one. But it didn't work.
I am just wondering if there is anything I need to do right after I finished sending the String data and before I start sending other stuff using OutputStream. (Because if I only send one of them, then it works; but when I send them together, then the error always happened to the second one no matter I use PrintWriter first or the OutputStream first)To send mixed type of data by hand allways using the same output/input stream, you could do:
on server side
ServerSocket serverSocket = null;
Socket clientSocket = null;
OutputStream out = null;
try
/*setup a socket*/
serverSocket = new ServerSocket(4444);
clientSocket = clientSocket = serverSocket.accept();
out = new BufferedOutputStream(clientSocket.getOutputStream());
/*send a byte*/
int send1 = 3;
out.write(send1);
/*send a string with a line termination*/
String send2 = "a string sample";
out.write(send2.getBytes("ISO-8859-1"));
out.write('\n');
finally
try { out.close(); }
catch (Exception e) {}
try { clientSocket.close(); }
catch (Exception e) {}
try { serverSocket.close(); }
catch (Exception e) {}
on client side
Socket clientSocket = null;
InputStream in = null;
try
clientSocket = new Socket("localhost", 4444);
in = new BufferedInputStream(clientSocket.getInputStream());
/*receive the byte*/
int receive1 = in.read();
System.out.println("The received message #1 is: " + receive1);
/*receive the string up to the line termination*/
ByteArrayOutputStream baos = new ByteArrayOutputStream();
int c;
while (((c = in.read()) != '\n') && (c != -1))
baos.write(c);
String receive2 = baos.toString("ISO-8859-1");
System.out.println("the received message #2 is: " + receive2);
finally
try { in.close(); }
catch (Exception e) {}
try { clientSocket.close(); }
catch (Exception e) {}
Maybe you are looking for
-
Cannot install windows on bootcamp
I have leopard os with bootcamp and a new windows xp sp2 disk. i cannot install windows on bootcamp. it says that i am missing a component. any tips?
-
Is there any way to restore deleted photos on ipad2?
Is there any way to restore deleted photos on ipad2?
-
How can I examine FLV properties?
I downloaded a FLV file and want to know what size, bitrate, framerate, etc that is was recorded in. If I open the file in Flash 8 Pro it just wants to build a player around it and create a new file. I can't figure out how to directly examine the pro
-
Problem connecting to Scitex Servers!!!
Never been a big fan of Scitex, but I have no choice. I recently moved to 10.5, can see all computers, printer, everything under the sun, but cannot connect to a Scitex Server. I'll take any suggestions given to me.
-
Math symbols not displaying in browser
I'm attempting to study for CLEP exams on Instacert's website and have encountered a problem with the math symbols not displaying correctly. I did the recommendations by the webmaster and tried Google Chrome, then Safari instead of Mozilla's Firefox