Customized IDOC Issue
Hi,
Upto now we worked on standard IDOC's. so no issues upto now.
Now we are dealing with the customized idoc's. we have one standard idoc in R/3 200 client an we customized that idoc according to our requirement.
Now we transfered and released that IDOC from 200 client to 300 client for XI use.
When we are trying to Import the IDOC into IR we are unable to see that Z IDOC( Customized) in the IDOC list.
We have provided the SAP R/3 300 client user logon details only.
What may be the Issue
Regards
Suman
Hi,
You need to add Mesage Type to the Extended IDoc.
Add message Type to the Extended IDoc in Transaction WE82.
Please follow steps in Transaction WEDI to extended the IDoc.
In WEDI Transaction --> Go to DEVELOPMENT
and follow all the below steps:
IDOC Segemnts -- WE31
IDOC Types -
WE30
Message Types -
WE81
IDOCType/Message Types --- WE82
For Outbound Processing
Create Process Code --- WE41
For Inbound Processing
Register Function Module --- BD51
Assign Function Module,Message Type to IDOC Type -- WE57
Create Inbound Process Code --- WE42.
Please follow above mentioned Steps.
Now IDOC will be available in XI to import.
Thanks,
Kishore.
Similar Messages
-
Hello All,
I extended the standard Idoc type ORDERS05 for the sales order processing. The code and the user exit are working fine in the development system. I transported the same to the Quality server and when i process the sales order the idoc is getting created but i dont see the custom segments getting populated. I checked the config in WE82. The config is fine in the test system. Is there anything more i have to take care to get the extented idoc structure to get executed.
Thank You,
SureshHi,
Put a break point in your user exit..And check if it goes through and populates the segments.
THanks,
Naren -
Performance issue with custom IDOC download into SAP MII
Hi,
We have a custom IDOC which has ten fields. We take the data from these ten fields and insert into database. The issue is
we have some where around 4500 idocs flowing into SAP MII and then from SAP MII to sql database. The time taken for these idocs is around 30 mins.
Is there a way where we can improve the performance in terms of time taken?
Additional information is
MaxReaderThreadCount has been set to 5 in Configuration Management -> Infrastructure -> Application Resources
sample idoc structure
<IDOCNAME>
<FIELD1>val1</FIELD1>
<FIELD10>val2</FIELD10>
</IDOCNAME>
Please let us know if more information is needed.
Regards,
Manish JainHi Manish,
My thinking about the queuing is that for each transaction, you are calling your database and passing in the IDoc content. Depending upon your system, database, transactions, etc., you may be having to establish a connection between MII and the database each time you process an IDoc. Each "handshake" takes a finite amount of time. So queuing up the IDocs, establishing a single DB connection and processing large numbers of IDocs in a batch might reduce your processing time substantially. Something worth investigating.
I don't think that adding additional IDoc Listeners for different IDoc types will work if the source ECC system is the same for each type. It will simply use the first one it finds and process all the types there.
Additional threads may improve performance and is certainly a low risk, easily implemented test. Just do it in small increments as you can add too many threads (check with the NW administrator) and lock up your NW system.
And you may want to check with your DBA to see if there are limits on the connections which MII can establish for uploading the IDoc content (or for that matter, any other improvements to be made on the DB side).
Regards,
Mike
Edited by: Michael Appleby on Feb 10, 2012 2:37 PM -
Propose Custom Idoc, output type issue
Dear Experts,
I want to populate a custom idoc(Idoc already existing) by proposing the output type in the purchase order for which I created a output type and made an entry in Application 'EF' (NACE),
Also created a process code thru we41 and assigned both of these in the outbound parameters of the partner profile.
But for some reason I'm getting an error while propsing and saving the purchase order, Is there a way that I can identify why the error occurred.
Or can some one shed some light if I need to do any extra configuration if I'm playing with a custom Idoc.
Thanks for all
-Amit>
Vinod Kumar wrote:
> Have you done the partner profile configuration in WE20. Have you mentioned message control? What is the exact error which is appearing while saving PO?
>
> Regards
> Vinod
Vinod,
I did all the partner profile configurationand maintanied message control too, While saving I'm not getting any error, but after saving, if I go back to the output type and see the output is in Red coulor (Indicating failure), I'm not sure how to check where the error occured.
Thanks
-Amit. -
After creating successor to a custom IDOC?
Hello
We have a custom IDOC type (for sales orders) in the system. Now business want to pass additional data, as per this requirement am trying to add a new custom segment to this custom IDOC, but am getting the below error,
ZORDR03 has already been released, only display possible
Message no. E0639
Diagnosis
ZORDR03 has already been released. This means that the basic type or extension is locked
against changes and can only be displayed.
Procedure
You can create a successor based on ZORDR03.
I guess, i can not do CANCEL RELEASE from Memu-->Edit! because this custom IDOC is created in older versions, like 46C, currently we are on ECC6.0, hence i need to create a successor, but pls. let me now
1) Do I need to change all the config settings like in WE72, WE82, WE20 O/B Prtaner profiles of EDP13?
2) In what/where else i need to change or replace old ZORDR03 with newley creating ZORDR04?
Thank youYou need to be patient - this is not a Helpdesk where you've raised a high priority ticket...
I'll just say that when we upgraded to ERP6.0, I did not agree with the fact that we could not cancel release on our custom IDOCs and we did not want to create a new version (it's been too long - I don't remember the technical reason for the issue with the new version). We reset the release in the definition table and made the required changes. There were no issues with the change. If you want o go with the 'standard' appraoch, create a new version... -
Making Custom Idoc Script function
Hi all,
I am making a custom Idoc Script function. I have merged the resource
table into the core IdocScriptExtensions table. But i am not able to call the custom function in SiteStudio. Find below the steps that i have taken
step1) I have added a resource (Static Table) in my component which merges to "IdocScriptExtensions" fucntion.
Step2) I have already created the java class.
Step3) Edited <td>Myname</td><td>Myclass</td><td>MyloadOrder</td> in the resource with corresponding values.
Step4) From component settings added the custom classes.
Step5) made a build of the component.
Step6) Installed the component in my server.
now when i go to SS Designer and call this function then no response is generated.
This component will return me a boolean by quering DB. I have number of sysouts and traces but none of them is printed on the console. Can somebody please provide insited into what probably might be amiss here.
ANY pointers will be hightly appriciated. waiting for a quick response.
reagrds,
sapanHi Sapan,
For the most part your steps look correct. Personally I would probably do the following:
1. move your component's classes folder back inside the component
2. register the folder in the component
3. add the folder to the class path
4. in the component's hda file, check to make sure there the merge rule is set for your IdocScriptExtensions entry.
if all of those are correct, occasionally the content server can be tempermental when new classes are added and so I would try disabling the component, restarting, then enabling and restarting.
If everything is compiled, it has to be either a classpath issue or an issue merging your IdocScriptExtensions table.
Also, if you go to Administration>Configuration Info, expand enabled components and find yours, it will tell your the classpath registered for your component(though your code is in the content server classes folder).
Sounds like you are really close though...did you get the debugger working?
David -
Error While Creating Custom IDOC Segment using WE31
Could anyone please help me resolve this issue.
I am getting following error when trying to create a custom IDOC segment type using WE31.
"Name range violation: Name Z1WOHDR not permitted in SAP system"
Segment type trying to create: Z1WOHDR
Regards
VenuTry changing the name , But i am not getting any such error with the name you are using.
Just Try with some onther name -
Hi,
I am working on inbound processing of idocs. The issue is to post production confirmations into SAP using idocs sent by the middleware. I have to create a custom idoc for this purpose. I know the steps for creating a custom idoc type and message type.
The problem is that the number of segments of each idoc sent by the middleware is not fixed. They wanted the idoc to be setup in such a way that each time they send an idoc they want segments repeated based on the entries in the flat file.
Please help me out.ThanksHI,
For this i have a solution.
you can make two segments one is header and other is item.
in Header segment only setno field ocours. and in item segment all three fields will be there. like this.
HEADER INFORMATION:
1
ITEM INFORMATION:
1 a i
1 b o
i c o
Now you fill your each idoc for each setno. and distribute it. and in receving system you will got a IDOC for each SETNO. Then you can loop in header segment and find all its items from item segment.
Regards,
HRA
<b>Reward points if my post helps you.</b> -
Custom IDOC changes in the IDoc structure
HI experts,
I have made some changes in the Custom IDoc Structure
But when I have transported the changes like I have 5 fields in the custom IDoc I changed the data type of field 2 changing the length of that field to 132 but when i am executing that all the other remaining fields getting populated in that 2nd field. Is there any way this problem can be resolved
early answer is appreciated.......
advance thanks
sriniHi Srinivas,
I would like to confirm some things. First your IDoc struc had field2 which is of length less than 132 and then you increased it to 132. Now you are now using <b>WE19</b> to test your IDoc. The reference IDoc no. that you gave was the IDoc that had been generated while the length was less than 132.
If this is what you have done, then you will have this issue. I will tell you why. When you created the IDocs, this field was less than 132, then in the EDIDD-SDATA which is a character field of length 1000 bytes would have got filled with a different position.
Say for example you have two fields in a segmentthey are A(of lenght 10) and B(of length 20). When you create IDoc, EDIDD-SDATA(which actually contains data would have been like the following:
Say if A = 'ABC', B = 'DEF'
EDIDD-SDATA = 'ABC DEF '
If you see it carefully it is a string of charachter where A starts at 1st and B starts at 11th position of the string. Now you changed length of A to 15. Then A would start from 1st Position upto 15th position while B starts from 16th upto 35. Hence when the WE19 tool extracts data from EDIDD, it extracts it as:
A = 'ABC DEF '
B = space
Hope this answers your question.
Regards,
Srikanth
PS: Same will be the case with WE09 as well. The IDocs which was created before changing the length will still look distorted.
Message was edited by: Srikanth Lodd
Message was edited by: Srikanth Lodd -
Hi all,
I'm trying to read a custom IDOC coming from ECC system, with no result. I'm able to read standard IDOC but it seems there are some kind of limitations reading custom IDOC.
IDOC on the ECC side are setted up in the same way, but when I send the IDOC in a Z transaction from ECC the IDOC is not visibile both in the xMII Message Monitor and in the xMII Messages Without Rules.
Do you have any idea?
Thanks.
Regards,
RobertoRoberto,
This has come up several times in the last year or so. So far in my memory, that problem always turned out to be some configuration setting with the custom IDoc. Do a search on IDoc or custom going back a year (maybe more) to see the issue others found when experiencing problems with custom IDocs.
Regards,
Mike -
Is it possible to create a custom IDOC status?
Is it possible to create a custom idoc status on table TEDS1?
I have looked through customising and cannot seem to find a way to create a new idoc status.
Has anybody done this?Hello Chester..
hope this link will be helpful,
Re: IDOC status
*********Please reward points ,if found useful -
Hi All,
I have created a custom idoc for creation of master data in the system. This custom idoc is using a custom function module to process the idocs. In the FM i have used Call transaction method to upload the master data in the sap system. Everything seems to be working fine.
But the problem is that whenever any external system creates more than one idoc, first idoc is posted successfully while others fail with an error message "No status record was passed to ALE by the application.". Please let us know how we can resolve it.
Correct Answers will be rewarded.
Regards,
Sridhar.Hello
Refer to following thread:
The specified item was not found.
Thanks
Amol Lohade -
Creation of Custom IDoc with Message control for sales Order
Hi all,
I am trying to create custom Outbound IDoc with message control.
I wrote the code in a function module and i want to register that function module. (as in inbound registration of function module as in BD51).I am not knowing if that registration is necessary for outbound Idoc, if so in which transacition?
Please list me the steps to create a custom IDoc for Message control.
Thanks in advance,
Regards,
John.Hi,
You need to use FM : MASTER_IDOC_DISTRIBUTE to create outbound idoc.fill the data in the tables EDIDC,EDIDD and generate the IDOC.
check this link:
Re: Master_IDoc_Distribute
and use transaction : WEDI for IDOC configurations.
here you will have all the transactions(step by step) to set the outbound IDOC configurations.
Regards
Appana -
Regarding Creation of Custom IDOC
Hi,
This is Abdullah Shaik. I want to create an IDOC from the existing IDOC. Some times I need to add some segments to the existing IDOC. Can anybody plz let me know the process how to create the Customized IDOC from the Standard IDOC?
Thanks & Regards,
Abdullah shaik.Hi Abdullah,
There are basically two types of IDOCs:-
Basic IDOCs and Extended IDOCs
Basic IDOC type defines the structure and format of the business document that is to be exchanged between two systems.
Extending the functionality by adding more segments to existing Basic IDOCs.
Creation of IDOC
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
Go thro' this link:-
http://help.sap.com/saphelp_46c/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
I hope this provides you a solution.
Regards.
Praveen -
Hi All,
Can we go for approach of developing custom IDOC's? where in our scenarios are getting files from thrid party and updating data in file into ECC.
Approach towards Custom IDOC's is for error monitoring and recprocessing.
Would request your inputs and suggesions in this regard.
Is that good approach for going to custom idocs? if not why?
Thanks,
chandra.Hi,
SAP R/3 systems send out data through IDoc (Intermediate Document), which in internally has segments and fields containing the data. But sometimes, these fields are not sufficient for a specific end-to-end business scenario as far as data transfer is concerned. So in such scenario, either few fields are to be added or subtracted, or completely new structure- IDoc needs to be created.
At times because of the business scenario we do have to create Custom idocs .
Regards,
Bhanu
Maybe you are looking for
-
WiSM, unable to see Interface after adding.
We have an up and running WiSM, for about 9 months. It resides in a 6509 chassis. I needed to add a new interface for another subnet (previous one was getting over ran, and we have a new project) I went through the process of adding the interface.
-
It also tells me Choose iTunes Library iTunes needs a library to continue, you may choose an existing library or create a new one. I have all my music on an external hard drive (ehd) but would like to run itunes with out conecting my ehd. How can i d
-
Item category determination in shipment cost
Dear Experts, How item category determination in shipment cost document. Regards Ishikesh
-
Preview always opens in full screen.
Preview always opens in full screen. I change it to non full screen. Then I close the app. When reopening, its back to full screen again.... annoying. Any suggestions??
-
How we will get parameters when we uses EMBED tags
hi , how we will get parameter from applet in netscape. When my swing applet using OBJECT tag, runs in IE it works fine. And im able to getting parameter. But in the case of Netscape (that means when i used EMBED tag) im not able to getting the param