2/21/2017
ALE IDOC for Pur chase or der to sal es or der
(http://go.sap.com/index.html)
Comm unity
Get Started (http://go.sap.com/community/getting-started.html)
(https://onedx.find.sap.com) (https://onedx.find.sap.com)
Solutions (http:// (http://go.sap.com/solution. go.sap.com/solution.html) html)
Support (http:// (http://go.sap.com/support.html) go.sap.com/support.html)
Training (http:// (http://go.sap.com/training-certifi go.sap.com/training-certification.h cation.html) tml)
Commu Community nity (http ( http:/ ://go.sap.com/ go.sap.com /comm com munity.html)
Develop Developer er (http: (h ttp:/ //go.sap.com/ go.sap.com /developer.html) develo per.html)
Partner Partner (http ( http:/ ://go.sap.com/ go.sap.com /partner.ht part ner.html) ml)
About Abou t (ht (http:/ tp:// /go.sap.com/ go.sap.com /about.h abou t.html) tml)
Archived Arch ived are read-only. Learn more about/ SAP Q&A(/) / Discussions Archive (/discussions) / ABAP (http: (ht tp:/ /discussions /go.sap.com/ go.sap.co m/com commun munity ity.html) .html) Archives (https://go.sap.com/community/about/qu (http s://go.sap.com/community/about/quest ions-and-answers.html) Development Dev elopment (/discussions/ (/discussions/space/abap) space/abap) / ALE Aestions-and-answers.html) LE IDOC IDOC for Purchase order to sales order
ALE LE IDOC for Purchase Purchase order to order to sales order Hi Friends, I am sending P.O. from one system to other,using message type ORDERS and basic type ORDERS05 . On receiving system I am using inbound process code ORDE. Sending is successful but on receiving side its giving me error, VKORG, VTWEG, SPART cannot be determined for customer 0000000001 . So please suggest me some solution on this ,,
https://ar chi ve.sap.com /di scussi ons/thr ead/932586
1/8
2/21/2017
ALE IDOC for Purchase order to sales order
Proper points will be rewarded to helpful answer. Thanks, Brijesh........ abap
(https://people.sap.com/brijesh.soni6) Brijesh Soni (https://people.sap.com/brijesh.soni6) June 25, 2008 at 08:38 AM 0 Likes
Helpful Answer by Mukesh Dubey (/discussions/message/5658024#5658024)
re looking for? View more on this topic (https://go.sap.com/community/tag.html? 0738661924709785639136) or ion (https://answers.sap.com/questions/ask.html?primaryTagId=8337555702607386619247097 85639136)
14 replies
(https://people.sap.com/naveenbabu.devabathini) Naveen Devabathini (https://people.sap.com/naveenbabu.devabathini)replied June 24, 2008 at 08:06 AM
Hi, There is nothing to worry from technical side. the problem is with data in the inbound system. "error, VKORG, VTWEG, SPART cannot be determined for customer 0000000001 ."-- It mean sales org,...which are existing in the outbound system does not exist in the inbound system. So before posting in inbound system check VKORG, VTWEG, SPART exists and are same as in outbound system. revrt back if any issues, regards, Naveen
https://archive.sap.com/discussions/thread/932586
2/8
2/21/2017
ALE IDOC for Purchase order to sales order
0
(https://people.sap.com/brijesh.soni6)
Brijesh Soni (https://people.sap.com/brijesh.soni6)replied June 24, 2008 at 08:25 AM
Hi naveen, The error that I am getting is: "No sales organization, distribution channel or division were sent to the IDOC. This data is necessary if a sales order is to be added automatically. If this data is unavailable, you cannot create a sales order document." "If data on the sales organization, distribution channel and division have not been entered in the IDOC, it must be determined using a user exit defined in the program." So how should I proceed now? 0
(https://people.sap.com/naveenbabu.devabathini) Naveen Devabathini (https://people.sap.com/naveenbabu.devabathini)replied June 24, 2008 at 08:35 AM
Hi, In the I/B system process code ORDE, as u said u find the suitable exit and provide sales org/distribution channel/division. Regards, Naveen 0
(https://people.sap.com/vamshi.krishna24) Vamshi Krishna (https://people.sap.com/vamshi.krishna24)replied
June 24, 2008 at 08:57 AM
Hi brijesh, I am also working on creating PO to SO . The problem you are getting is one of the problem i have faced . But we can solve this easily. https://archive.sap.com/discussions/thread/932586
3/8
2/21/2017
ALE IDOC for Purchase order to sales order
In your outbound idoc you have 4 fields with E1EDK14. This segment stores the values for SPART,VTWEG,VKORG . So in the qualifying fields of this segment 006,007,008 should be there for the above fields respectively and their values in the orgid field. I have written the coding in outbound side user exit. MM06E001 in the 11th function module . so try this it will solve the problem. Thanks vamshi 0
(https://people.sap.com/brijesh.soni6)
Brijesh Soni (https://people.sap.com/brijesh.soni6)replied June 24, 2008 at 09:09 AM
Hi Vamshi, Thanks for your help your reply is realy helpful, I will try the way you suggested, If I will face any other problem, I will msg you back. Thanks & Regards, Brijesh Soni 0
(https://people.sap.com/brijesh.soni6)
Brijesh Soni (https://people.sap.com/brijesh.soni6)replied June 24, 2008 at 09:26 AM
HI Vamshi, I have one doubt , In segment E1EDK14 , right now I am not getting qualifiers, 006,007,008 so will I get these in IDOC after writting user exit or there is some other problem? 0
https://archive.sap.com/discussions/thread/932586
4/8
2/21/2017
ALE IDOC for Purchase order to sales order
(https://people.sap.com/vamshi.krishna24) Vamshi Krishna (https://people.sap.com/vamshi.krishna24)replied
June 24, 2008 at 12:08 PM
hi brijesh, you will not get the required qualifiers in idoc segment. You have to assign the correct qualifiers manually i.e through user exits . I did it in outbound side i think it will solve the problem else try the same in inbound user-exit, VEDA0001. Regards Vamshi 0
(https://people.sap.com/brijesh.soni6)
Brijesh Soni (https://people.sap.com/brijesh.soni6)replied June 24, 2008 at 16:55 PM
Hi, that earlier problem is solved, now i am facing new prob, I am creating IDoc from P.O. there is a segment E1EDKA1 AG , which has field PARTN. Some value is appearing in it but I am not able to find out,from where this value comes. Please give me some suggestions. Thanks & Regards, Brijesh Soni 0
(https://people.sap.com/vamshi.krishna24) Vamshi Krishna (https://people.sap.com/vamshi.krishna24)replied
June 25, 2008 at 04:26 AM
Hi Brijesh, Don't worry, even this is also a common problem in PO-SO automation. I think Customer number is to be written in PARTN . Actually it has to be taken by IDoc , but in some cases some other no will be populated. This can be resolved by writing code in either outbound side or Inbound side user-exit. https://archive.sap.com/discussions/thread/932586
5/8
2/21/2017
ALE IDOC for Purchase order to sales order
I can recommend you to write it in Outbound as i did it same. so in MM06E001 write the code in the 2nd or 11th function module . the customer number is unique you can hard code it in the user-exit. By the way i think you already maintained data in VOE2,VOE4. Regards, vamshi 0
(https://people.sap.com/brijesh.soni6)
Brijesh Soni (https://people.sap.com/brijesh.soni6)replied June 25, 2008 at 08:16 AM
Hi Vamshi, That problem is solved, Actually there is provision in vendor master to maintain that field, now I had maintained it there and its coming properly. Thanks,. 0
(https://people.sap.com/brijesh.soni6)
Brijesh Soni (https://people.sap.com/brijesh.soni6)replied June 25, 2008 at 08:38 AM
Hi Vamshi, How you handled ship to party ? The problem I am facing is, from the sending side,P.O. will be generated and IDoc will be created and it will gave some ship to party that will have some customer number and its name and address but it is not available in target system. So the idoc will give error there.And also its not possible to maintain all ship to party at receiver side,as its always changing. 0
https://archive.sap.com/discussions/thread/932586
6/8
2/21/2017
ALE IDOC for Purchase order to sales order
Helpful Answer
(https://people.sap.com/mukesh.dubey2) Mukesh Dubey (https://people.sap.com/mukesh.dubey2)replied
June 24, 2008 at 08:06 AM
hi, This is configuration problem. Please discuss with your SD functional consutant . 0
(https://people.sap.com/venkatakannaiahsastry.kavuri) Venkata Kannaiah Sastry Kavuri (https://people.sap.com/venkatakannaiahsastry.kavuri)replied June 24, 2008 at 08:14 AM
"error, VKORG, VTWEG, SPART cannot be determined for customer 0000000001 " Means customer 0000000001 is not allocated for the specified Sales Organization. Check the same in XD03. Regards Kannaiah 0
(https://people.sap.com/brijesh.soni6)
Brijesh Soni (https://people.sap.com/brijesh.soni6)replied June 24, 2008 at 09:23 AM
not solved 0
Share & Follow https://archive.sap.com/discussions/thread/932586
7/8
2/21/2017
ALE IDOC for Purchase order to sales order
(https://www.facebook.com/sapcommunitynetwork?ref=ts) (https://www.youtube.com/user/SAPCommunities) (https://plus.goog le.com/u/0/+SAPCommunities/posts)
(https://twitter.com/sapcommnet)
(https://www.linkedi n.com/company/sap) (https://instagram.com/sap/)
(http://www.slideshare.net/SAP) Privacy (http://go.sap.com/about/lega l/privacy.html) Terms of Use (http://go.sap.com/corporate/en/leg al/terms-of-use.html) Legal D isclosure (http://go.sap.com/about/legal/impressum.html) Copyright (http://go.sap.com/about/legal/copyright.html) Trademark (http://go.sap.com/about/legal/trademark.html) Sitemap (http://www.sap.com/sitemap/index.html) Newsletter (https://go.sap.com/registration/newsletter.html)
https://archive.sap.com/discussions/thread/932586
8/8