IDOC bundling number of idocs in one message
Hi
I am using IDOC bundling where I have one message with around 33,000 idocs inbound to PI. Can i break the number of idocs per message so that I can have 5,000 idocs in each message. Is there a paremeter that needs to be changed create a recordset of 5,000 idocs per message or less?
Also Can I do IDOC packaging when sending the above 33,000 IDOCs to SAP ?
Please advise.
Thanks,
Teresa
Hi Raj,
My connectivity is JDBC - PI - SAP.
I execute a stored procedure to pick up line items and do graphical mapping to conver to IDOCS. According to you the best way is to pick less line items at a time and conver to IDOCs?
Can i do IDOC packaging at sender side in my scneario though i am already doing IDOC bundling?
Thanks,
Teresa
Similar Messages
-
Limit on number of addressees in one message? (using Apple Mail)
Is there a max number of addressees that can be contained in any one outgoing message? ..... i.e., if this limit is exceeded, the message will not be sent to any of the addressees.
I use Gmail via Apple Mail 2.1.3. Gmail's limit is 500 addressees.
Thanks.Hi Bob, I have read of a limit far less than that for Mail, but can't remember what it was.
Is this in the To:, CC:, or BCC: entry btw?
IIRC, using a Group instead of individual addies gets you more. -
One Message, Call multiple IDOCS in PI 7.1
Hello SDN!!
We are trying to implement a scenario and curious if anyone has done this. We are looking to have one message exposed to another system, which will be mapped and sent to four different IDOCS on the same system. From some blogs it seems this really can't be done except by BPM. Is this the case, and if so, are there any good tips to do the most basic BPM to have this scenario complete? (Also all the documentation seems to be in 7.0)
Cheers
DevlinHello from the first response mapping without bpm it states it is not possible with IDOC
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.
The other two blogs are nice, but wrong direction, instead of collecting IDOCs I was hoping to have one message split out to 4 IDOCS,
Cheers
Devlin -
Outbound Idoc bundling Approach
Hi All,
I have a scenario, where in SAP will send the Idoc bundle to PI( will bundle on an interval of 30 minutes), have gone through below blog on SDN.
IDoc Package processing using sender IDoc adapter in PI EhP1
so I will use the Idoc sender adapter in PI to receive the Idocs.
The Idoc which I am using is a standard Idoc, DELVRY05. One of my team mate has told me that, if you do Idoc bundling for a Idoc type in SAP system.then that Idoc bundling will be applicable to all the interfaces in my PI development box which will be using the same Idoc type.
Is this correct? Will it effect the other interfaces,or is there any disadvantages of this.
Please provide your inputs.
Thanks,
RuchiHi,
that could affect other interfaces only if your other interfaces use the same Idoc ( complete same name): Message Type + Idoc Type + Idoc Extension, e.g DESADV.DELVRY05.
Have a look on tx WE20, the collect option is for this triplet. (picture in SDN blog does not see the Message Type, but it well on this triplet)
So if you have other DELVRY05 interfaces, and if you use at least a different Message Type (like ZDESADV.DELVRY05), they will not be affected by this collect in ECC (written for DESADV.DELVRY05) . Same thing with the idoc packaging made in PI, as the sender CC is used for a specific sender agreement (sender + complte Idoc name).
regards.
Mickael -
In Idoc bundling ...message mapping not found
Hi XI Friends..
In my File to Idoc scenario..i want to send multiple IDOCs from the XI without a BPM .
I am following blog by Michal.
<a href="///people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change:///people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
I have xsd for source ..so i created one external definition .and message interface for outbound.
following the above blog by michal..
i imported idoc ..and i exported that idoc into xsd and i changed the occurance of idoc to unbounded and again imported as external definition.
i created the message mapping between these two external definitions.and tested ..
As in michal 's blog..
In Interface mapping..i given source and target interface as standard idoc.and clicked on Read interface then i am not finding the message mapping created in previous step..
i refreshed cache also..
please guide me.....
regards
ramHi bavesh...
thank you so much for very your quick responses..
i got xsd as source..based on xsd i created external definition for source xsd and i created outbound interface based on source external deifinition <b>MI_OUT_WearUnits</b>.
and i imported Idoc and exported as xsd and changed occurance to unbounded and again imported as external definition.
i did mapping between these two external definitions.
and i selected standard idoc for source and target interface for interface mapping and given message mapping of previous step.
In ID
sender agreement :
sender service :BS_external
sender interface :<b>MI_OUT_WearUnits</b>
receiver agreement:
receiver service :R/3
receiver interface : standard Idoc
Interface determination:
sender service :BS_external
sender interface :<b>MI_OUT_WearUnits</b>
reciever service :R/3
and clicked create
inbound interface : Standard IDOc
i am not getting Interface mapping which i created in IR.
i tried Enhance interface determination also..
please guide me....
waiting for your help.
regards
ram -
Combine IDoc and RFC Respone in one Message Type
Hello,
I need to have the possibility to store the data of one IDoc and one RFC Response in one Message Type.
The structure should be something like this:
IDoc_AND_RFC_RESPONSE (root)
--item (0..onbounded)
ID (Attribute, type xsd:string)
IDOC (Elemtent, type IDOC <--unfortunately not possible in data type definition)
RFC_Response (Element, type RFC_Response <--unfortunately not possible in data type definition)
The goal is to merge 2 messages (idoc data and the data of a rfc response) into 1 message with logical connected items.
e.g.
IDOC (message 1)
--ID 01
IDOC_DATA_01
--ID 02
IDOC_DATA_02
RFC_Response (message 2)
--ID 01
RFC_DATA_0101
RFC_DATA_0102
--ID 02
RFC_DATA_0201
I need this data to be transformed into:
IDoc_AND_RFC_RESPONSE
--item
ID 01
IDOC
IDOC_DATA_01
RFC_RESPONSE
RFC_DATA_0101
RFC_DATA_0102
--item
ID 02
IDOC
IDOC_DATA_02
RFC_RESPONSE
RFC_DATA_0201
The problem ist NOT how to do the mapping, BUT how to define the data type of the target message.
The IDoc and the RFC have a very complex structure so manually building the structure is not possible.
Thanks for your help.Hi,
thank you for your hints.
- How can I define one interface with 2 message types? I work with XI 3.0.
- Manually manipulatiing the xsd files is what I wanted to avoid (besides that, there is no possibility to get the rfc as xsd, only wsdl). Besides that, I tried to extract the IDoc xsd and imported it as message type, but there is an error message telling me "Schema to be handled does not contain a definition of type <Data Type Name>", whereas <Data Type Name> is the name I give to the Data Type. I tried the name of the IDoc Type here. Importing the xsd as external definition would work, but that would still not solve the problem as I cannot use the message in my data type definition.
Maybe I should specify the scenario a bit better:
I have an R3 System sending an IDoc.
The Idoc contains multiple items.
The data in the IDoc is NOT sufficient (and due to warranty reasons and company guidelines, it is not possible to add all the needed data to the IDoc).
Therefore, the IDoc is passed to an Business Process, where an RFC is invoked (input are the item IDs of the IDoc).
So afterwar the rfc call, I have all neccessary data per item in 2 messages, the IDoc and the RFC response.
Now I need to merge the data per item into one message.
This one message than is splitted into the several items and every item has to be sent separately. So I need a possibility to unite the IDoc with the rfc response.
Any hint?
Thanks a lot! -
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.
-
EDI-IDOC-To see error messages of number of IDOCS
Hi,
I have a scenarios where more than 1000 inbound idoc are with status 51. I want analyse the error messages of all.
When i see the entry in EDIDC table the status text is 1&, 2& in stead of document numbers.
Pl let me know with which program i can see the exact errors of number of idocs. Now i am going to WE02 and clicking on status which is very very time consuming.
Thanks
JatinHi
Please use the following t codes:
1) WE05
2) BD87 - for further processing of inbound idocs
depending on your R3 ver- the screens will be having the advanced screen fields
both the above will be useful - buit be careful of BD87 - experiment with this in development before doing so in production -
I use the above 2 regularly for all my IDOC analsys and re procesing alongwith we02 also
cheers
nandu -
Inbound Idoc customer number conversion
I am new to EDI and have a question to ask you both about inbound IDOC's. We have customers sending remittance advices through EDI. The customer numbers in them are their own customer numbers. In SAP, we maintain different customer numbers. Where do the mapping of the customer numbers take place -- In the EDI subsytem itself or in SAP? If in SAP, can you let me know the procedure to do this.
Any help will be appreciated and points awarded.
Thanks,
Nile.Hey Fren,
1. Data Mapping
Within the framework of SAP EDI, the conversion of a business document in IDoc format to an EDI standard format (and vice versa) is the most important task performed by a subsystem. This process is resource intensive and, hence, is better done at the subsystem level than within SAP. The following conversions and translations are carried out by the subsystem.
Creating a control record for each inbound IDoc.
An inbound IDoc must have a control record. The EDI subsystem builds the control record using the information stored in its local repository or from the SAP repository.
Removing the control record during the outbound process.
The control record in the IDoc file is used by the subsystem for housekeeping functions, such as locating the trading partner profile. The data on the control record is not needed for translating the content of the EDI documents.
Translating data from IDoc format to EDI format.
For an outbound transaction, the EDI subsystem converts data in the IDoc format to a suitable EDI format.
Translating data from EDI format to IDoc format.
For an inbound transaction, the EDI subsystem converts data in the standard EDI format to IDoc format.
Bundling and unbundling IDocs.
If several IDocs are passed to the EDI subsystem in one file, the subsystem separates them into individual documents. Similarly, on the inbound process the subsystem can bundle multiple IDocs into a single file to improve performance.
2 Maintaining the Partner Profile
A partner is defined as the business partner with whom you conduct business and exchange EDI documents. These partners are not necessarily the same as the partners in the partner profile of SAP. However, the concept is quite similar. In SAP, the partner profile maintains parameters specific to the IDoc process, and in the subsystem the partner profile maintains parameters specific to the EDI process. Some typical attributes in a partner profile are
· A unique partner number
· The partner type (Customer, Vendor)
· The standard used (EDIFACT, ANSI X12, and so on)
· The version of the EDI standard
· The EDI message exchanged (850, 860, ORDERS, ORDCHG)
· A functional acknowledgment flag
3 Triggering the Inbound Process
After receiving an inbound EDI transmission and creating an IDoc file, the subsystem is often responsible for triggering the inbound process. SAP provides a program named startrfc to start any RFC−enabled function module from the operating system level. For the EDI process, the subsystem uses the startrfc program to
trigger the function module EDI_DATA_INCOMING. Chapter 6, "Configuring Basic EDI Components," provides the complete details and parameters of the startrfc progam.
4 Reporting Process Status to SAP
In an outbound process, after an IDoc has been transferred from SAP to the subsystem, SAP loses control over the process. However, SAP maintains visibility into the process by requiring the subsystem to report on the status of the process. SAP provides a file interface for the subsystem to send a status report at every milestone.
I hope you got some idea from this process.....
<REMOVED BY MODERATOR>
Warm Regards,
Abhi...
Edited by: Alvaro Tejada Galindo on Apr 25, 2008 4:36 PM -
Hi All,
I am asked to create a file to IDOC scenario in PI. The problem is, the file will have around 200,000 records, 96MB. That means I have to get the 200,000 records from the file and create 200,000 PO IDOC at once. I know this is not possible. Does any one have this experience? How did you solve the problem?
Thanks a lot!
CharlesFew ways to implement this.
Though the file has huge number of records, you can tweak or control the number of idocs creating at the reciever side.
Refer michal blog for edit the occurence of target idoc structure to sent the number of idocs as per the need.
The specified item was not found.
https://wiki.sdn.sap.com/wiki/display/XI/File%20to%20Multiple%20IDOC%20Splitting%20without%20BPM
if your sender side is flat file then in the content conversion you set the parameter Recordsets per message like 100 or so.. so that you create 100 idocs each time from the sender message structure. Refer SDN forum for fcc parameters and sender fcc adapter scenario.
Refer this thread
Recordsets per Message in File adapter -
Maximum size of XML files and number of IDocs for IDoc receiver adapter
Hi Guys,
We have an XML file to IDoc scenario where XI picks up an XML file with multiple Customer records in it, it does a simple mapping and creates one DEBMAS06 IDoc per record in the XML file. All IDocs are sent in a single file in XML-IDOC format to IDoc adapter which then posts the separate DEBMAS IDocs to R/3.
a) What is the maximum size of XML files that XI can handle with mapping involved ?
b) What is the maximum number of IDocs in a single file that the receiver IDoc adapter can handle ?
The first time this interface runs almost 200,000 Customer records will be exported in one XML file.
Thank you.Hi,
Well it is difficult to find out the maximum Size of xml messgaes that can be processed by XI and also Maximum number idocs an recevier Idoc adapter can handle.
This totally depends on your production system loads and the limits can be set totally on trail & error basis..
In my heavy loaded production system, i found out that the maximum size of the successfull messages after processing by XI is around 75 MB (seen in transaction SXMB_MONI). Whereas messages with size around 100 MB went into error.
I havent encounter any such limits with respect to Idocs.
I would suggest that you divide your data into smaller chunks and sent it part by part instead of sending it all once since you data size is huge.
You can vary your batch size as per your system load.
Regards,
- Deepak. -
Difference between IDOC Bundling and IDOC Packaging
Hi,
Can anybody please explain the difference between IDOC bundling and IDOC packaging?
Thanks,
Loveena.Hi,
IDoc Bundling is the changing the occurance of IDoc.
In a scenario If there is a necessitity for changing the Occurance of some segment of the IDOC u have to perform this steps
1.Import the IDoc to XI.
2.Export the IDoc(i.e XSD format) and save it to the local machine.
3.Make changes to the IDoc structure by modifying the XSD file in the local machine.
4.Save it as an XSD file Itself.
5.Import the XSD file in the IR under the External Defination.
6.Use this XSD in your Message Interface/Mapping which is same as IDoc structure but with some changes that u have made.
Go Thru this Blog <a href="/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change Bundling - Trick without BPM</a> BY Michal Krawczyk where the Occurance of the IDoc is changed to 1...Unbounded from 1...999999999 by using the XSD.
IDoc Packing is collecting of IDoc
<a href="/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm of Multiple type IDOCs in BPM</a> BY Pooja
Regards
Santhosh
Remember to set the thread to solved when you have received a solution
[url=Use a Good Subject Line, One Question Per Posting - Award Points; Use a Good Subject Line, One Question Per Posting - Award Points[/url] -
How to find the number of idocs generated for a customer on the basis of his purchase order in a day ?
Dear Friends,
I am absolutely agree with your answer .
But my question is,
Lets say.....
One customer sending X number of purchase orders in a day , so how many IDocs generated on that specific day for that specific customer .
So, Question is , How can we find the no of sales orders(IDocs) generated for the customers on the specific day ?
Hope you all understood my requirement .
Thanks & Regards,
Aditya -
Counting the number of IDocs in a package of IDocs in BPM
Hello All,
I need a solution where I need to count the number of EDI_DC40 segments (The IDoc Count) in a package of IDoc's. The following is the scenario
1) We are receiving a package of IDoc's in receive step using the XI File Adapter. I was wondering if there is a way that I can count the number of IDoc's in the BPM using a container operation or some other Method. I appreciate any help.
Thanks.HI,
We have two ooptions,
one as explained above , yu can use standard count function and that can be used.
Second one is we have count option in file adapter to count the msgs.
see the below link
http://help.sap.com/saphelp_erp2005vp/helpdata/en/0b/9a50465ccf84479e39a6d50c90fb3f/content.htm
Regards
Chilla -
One IDOC sent but 8 IDOCs received in backend
Hi,
I have a strange problem:
I generate a IDOC at the end of a simple BPM (receive message, send same message, no transformation step). In sxmb_moni, I can see one message (from process engine to IDOC adapter) as expected. When I click on "IDOC"-field in the message row (sxmb_moni), I can see that 8 identical IDOCs (only different IDOC numbers) were generated and in the SAP Backend system, I also receive 8 IDOCs.
This effect sometimes appears, sometimes not. I cannot see why or why not.
Has anyone an idea where I could search to stop this phenomen?
Kind regards,
TorstenHi Bhavsh,
no, I'm not using a collect pattern. BPM simple consists of one receive step and one send step.
I don't think that there are any Packaging settings on XI, because it worked already for a long time and we didn't change settings.
Or could Packaging settings in the backend system influence the XI?
But I got a step further: If I double-click on one of these IDOC messages in IDX5, I can see a lot of error status entries (6x status 51, 2x status 54). Is it possible that XI sends an IDOC multiple times if an error occurs?
Kind regards,
Torsten
Maybe you are looking for
-
How can I change the alternative apple ID in iCloud?
How can I change the alternative apple ID in iCloud?
-
No windows 7 or 8 on my Dell PC just windows vista. How do I download the free U2 cd without having windows 7 or 8? Site says icloud requires windows 7 or 8???
-
Imovie 09, slow, laggy performance, frequent hangs. Any reasons?
The Short: iMovie 09 is slow and lags but my computer exceeds system requirments. The Long: Playing anything in full screen view lags. Many animations (as in ones performed by the computer) such as progress bars, and skimming just jerk along. Progres
-
Need help in SQL Queries using GUI controls or variables
Hello, all I have a big problem (I have already had with Visual Basic a few mounths ago) with Java while writing my SQL Queries. I would like to know how I must do to use variable data or GUI control data in my SQL Query to select only some records.
-
Seeing a large amount of false positive alerts on the new signature 5432, Script Embedded in HTTP Header. It seems to be alerting on the word script in any URL, instead of the existance of "</script>" or even the existance of /scripts/w3who.dll. That