Help on ORDERS05 IDoc mapping..
Hi Experts,
Please help me out in finding out the IDoc Segment fields(ORDERS05) equivalent to the following SAP fields.
20 Quantity VBAP KWMENG Num(6)
21 Unit of Measure VBAP VRKME Char(3)
22 Gross Price KONV KBETR Curr(11.2)
23 Discount KONV KBETR Curr(11.2)
24 Surcharge KONV KBETR Curr(11.2)
25 Net Value KONV KBETR Curr(11.2)
26 Cost Object
31 Payment Terms VBKD ZTERM Char E1EDK01 -ZTERM
32 Footer Msg1 STXI n/a Char
33 Footer Msg2 STXI n/a Char
34 Footer Msg3 STXI n/a Char
35 Total KONV KBETR Curr E1EDS01 -SUMID (004)
I thought for
Quantity : E1EDP01-MENGE
Unit of Measure : E1EDP01-MENEE
Gross Price : E1EDP01-PREIS
But when i went to WE19 and posted the idoc by populating the above segment fields its not getting updated in the sales order, instead in the created sales order it shows quantity as 0 and its not getting updated.
so iam not sure whether these segment fields (in ORDERS05 IDoc) are the right fit for quantity, UoM and Gross price. Please provide me the correct segment fields mapping for the above SAP fields.
Actually Gross price, surcharge, discount and Net value are calculated automatically by SAP while creating the sales order based on the amount and quantity entered - right..? Then do i need to populate the values for these fields also in IDoc for testing using WE19.
Please reply me.
Thanks in advance,
karthik.
In sales order,these quantity updating in Tatget quantity,look at VBAP Table ..
You will get good idea..
Reward Points if it is helpful
Thanks
Seshu
Similar Messages
-
Hi,
Please help me where to map below fields in orders05 idoc.
1) shipping terms
2) shipping via.
3) NSP Quote Number ( discount )
Thanks,
Raghu.Hi Naimesh,
Thanks for your answer.
Du have any idea where to map below field in orders idoc.
NSP / QUOTE number ( if PO116 = 'DG' ( discount grouping)
PO117 is the value )
Thanks,
Raghu. -
OrderCreate(CIDX) to ORDERS05(IDOC) Mapping
Guys,
I want to map the OrderCreate(CIDX) to ORDERS05(IDOC),
I am facing problem with map the SpecialInstructions to E1EDKT1- E1EDKT2-TDLINE, Since SpecialInstructions are multiple lines. The E1EDKT2-TDLINE is taking first line onely. The E1EDKT2 segment was declared 0:9999999999 where as TDLINE is declared as 0:1
Can any body help on this how to map SpecialIndtructions multiple lines to E1EDKT2-TDLINE.
Thanks
MHi,
just check the queues TDLINE should be sepatered by one context and this should work
>>> i think it is declared as 0:1.
of course but it's one in each segment so no problem with that
it's a very easy example so just check the queues and I'm sure you'll do it
Regards,
michal -
Help required in Idoc mapping!!
Hi,
I have an idoc to file scenario:
Idoc looks like this
Idoc
Header
E1BPE1WLMV (0.....999)
field1
E1BPE1MALG (0.....999)
field2
Target
Details
field3
My requirement is that :
field 3 should b mapped to only the first occurence of field1. (and not the subsequent occurences).
Please suggest how can i proceed ?Thanks guys...but I have got some more inputs for my requirement now:
Source:
Idoc
Header
E1BPE1WLMV (0.....999)
field1
E1BPE1MALG (0.....999)
field2
Target:
Details
field3 (= field1)
field4 (=field2)
The Details should be created for unique combination of field1 and field 2. For e.g.
Field 1 comes 2,3,4
Field 2 comes 1,5
Then detail should be created 6 times for
field1= 2 & field2= 1
field1= 2 & field2= 5
field1= 3 & field2= 1
field1= 3 & field2= 5
field1= 4 & field2= 1
field1= 4 & field2= 5
Could you please help ?
Edited by: jayagupta21 on Apr 14, 2011 7:24 AM -
ORDERS05 IDOC to flat file - mapping question
I have a requirement to convert an ORDERS05 IDOC to a "flat" structure for one of our vendors.
When the IDOC has the following data, the mapping works well
Input
=====
ORDERS05
- E1EDP01
POSEX 00010
- E1EDPT1
-E1EDPT2
TDLINE line 1 text
- E1EDP01
POSEX 00020
- E1EDPT1
-E1EDPT2
TDLINE line 2 text
Output
======
GWC
- GWC08-RECORD
GWC08-SEQNO 0010
GWC08-TXT line 1 text
- GWC08-RECORD
GWC08-SEQNO 0020
GWC08-TXT line 2 text
However when the IDOC has the following data
ORDERS05
- E1EDP01
POSEX 00010
- E1EDP01
POSEX 00020
- E1EDPT1
-E1EDPT2
TDLINE line 2 text
the mapping yields wrong results as below
GWC
- GWC08-RECORD
GWC08-SEQNO 0010
GWC08-TXT line 2 text
The vendor has a requirement that the GWC08-RECORD should only be sent if TDLINE exists in the IDOC - so that part works. However, Text on Line 2 is being associated with Line 1.
If I am not mistaken, this has to do with the Input queues for POSEX and that for TDLINE having differing number of entries. However, I have no idea how to go about fixing this
Appreciate any help on this
thanks
anilHi,
This is possible without UDF:
Please see mapping below:
For the node GWC08-RECORD
TDLINE --> removeContext --> GWC08-RECORD
For the node GWC08-SEQNO
TDLINE (set context to E1EDP01) --> exists --> ifWithoutElse --> removeContext --> SplitByValue:EachValue --> GWC08-SEQNO
POSEX ------------------------------------------>/
For the node GWC08-TXT
TDLINE (set context to E1EDP01) --> exists --> ifWithoutElse --> removeContext --> SplitByValue:EachValue --> GWC08-SEQNO
TDLINE (set context to E1EDP01)----------------->/
Hope this helps,
Regards -
Use of Orders05 Interface mapping & XSLT mapping file for Orders03 IDOC
Hello Experts,
In a scenario we are sending Purchase orders and Purhase Order change from SAP to SNC through XI.
Currently Orders03 IDoc is used and standard mapping for Orders03 XSLT is used.
Now the requirement is to use the same IDOC (Orders03) but
- XSLT mapping (OrdersOrders05_ReplenishmentOrderNotification) and
- Interface Mapping (OrdersOrders05_ReplenishmentOrderNotification_01) of Orders05.
What changes would be necessary
- On SAP side,
- in the XSLT mapping, and
- On XI side.
Thanks in advance,
SurajHi Suraj,
First compare ORDERS03 IDOC and ORDERS05 IDoc structures,if both structures are same then u no ned to chnage the XSL it will work fine.
If any chnages in ORDERS05 Idoc then u have to adjust XSLT as per ORDERS05 IDOC.
test interface mapping first and let me know if any error.
Regards,
Raj -
Error while ORDERS05 IDoc transfer from R3 - PI - SNC
Hi Friends,
I am facing error in PI SXMB_MONI for ORDERS05 IDoc transfer from R3 - PI - SNC.
I have done all the configuration setup in Integration Directory for the Scenario, I am able to successfully send the IDOC for PO from R3 to PI but faced the following Error in PI.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Message Split According to Receiver List
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="INTERNAL">PARTY_SERVICE</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
*<SAP:Stack>Party and service not defined</SAP:Stack>*
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Also I am unable to Configure Sender/Receiver ID in PI > SXMB_ADMIN > Configuration, as while defining Sender/Receiver unable to add the Interface for Sender(ORDERS.ORDERS05)/Reciever(ReplenishmentOrderNotificatio_Out) although I am able to see the same in Integration Repository.
Also In Main message(Part of the message) as shown below, I am able to see Vendor in PARTY Element of xml message for which I have created the PO
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Message Split According to Receiver List
-->
- <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SAP="http://sap.com/xi/XI/Message/30">
- <SOAP:Header>
- <SAP:Main xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" versionMajor="003" versionMinor="000" SOAP:mustUnderstand="1" wsu:Id="wsuid-main-92ABE13F5C59AB7FE10000000A1551F7">
<SAP:MessageClass>ApplicationMessage</SAP:MessageClass>
<SAP:ProcessingMode>asynchronous</SAP:ProcessingMode>
<SAP:MessageId>0050568F-24A0-1DDD-B9F5-3F6DD541FF93</SAP:MessageId>
<SAP:TimeSent>2009-01-21T10:55:20Z</SAP:TimeSent>
- <SAP:Sender>
<SAP:Service>SAPECC6</SAP:Service>
<SAP:Interface namespace="urn:sap-com:document:sap:idoc:messages">ORDERS.ORDERS05</SAP:Interface>
</SAP:Sender>
- <SAP:Receiver>
<SAP:Party agency="SAPECC6" scheme="ALE#LI#LF">0000000006</SAP:Party>
<SAP:Service />
<SAP:Interface namespace="urn:sap-com:document:sap:idoc:messages">ORDERS.ORDERS05</SAP:Interface>
<SAP:Mapping notRequired="Y" />
</SAP:Receiver>
Please Suggest the steps needs to be done for resolving the Issue.
Thanks all...
Regards,
Nitin
Edited by: Nitin Patil on Jan 21, 2009 12:18 PMHi Nitin,
I completed the configuraiton but the PO came in PI successfully but stuck in PI with error
<?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>
can you please help what is the problem , I am not able to find out.
Thanks,
Menaga -
Hi all,
We have a problem with bundling the IDOCS in Message Mapping. We have a requirement to convert more than one ORDERS05 IDOCS to one flat XML file.
When the IDOC has the following data, the mapping works well:
Input IDOC:
IDOC 1:
ORDERS05
- E1EDP01
--- POSEX 0010
- E1EDP01
--- POSEX 0020
- E1CUCFG
--- POSEX 0010
E1CUVAL 10-1
E1CUVAL 10-2
- E1CUCFG
--- POSEX 0020
E1CUVAL 20-1
E1CUVAL 20-2
IDOC 2:
ORDERS05
- E1EDP01
--- POSEX 0010
- E1EDP01
--- POSEX 0020
- E1CUCFG
--- POSEX 0010
E1CUVAL 10-1
E1CUVAL 10-2
- E1CUCFG
--- POSEX 0020
E1CUVAL 20-1
E1CUVAL 20-2
Output Message:
IDOC 1:----
IDOC 2:
Position number: 0010----
Position number: 0010
Configuration1: 10-1----
Configuration1: 10-1
Configuration2: 10-2----
Configuration2: 10-2
Position number: 0020----
Position number: 0020
Configuration1: 20-1----
Configuration1: 20-1
Configuration2: 20-2----
Configuration2: 20-2
However when you miss one E1CUCFG node, you will get a confusing result:
Input IDOC:
IDOC 1:
ORDERS05
- E1EDP01
--- POSEX 0010
- E1EDP01
--- POSEX 0020
- E1CUCFG
--- POSEX 0020
E1CUVAL 20-1
E1CUVAL 20-2
IDOC 2:
ORDERS05
- E1EDP01
--- POSEX 0010
- E1EDP01
--- POSEX 0020
- E1CUCFG
--- POSEX 0010
E1CUVAL 10-1
E1CUVAL 10-2
- E1CUCFG
--- POSEX 0020
E1CUVAL 20-1
E1CUVAL 20-2
Output Message:
IDOC 1:----
IDOC 2:
Position number: 0010----
Position number: 0010
Configuration1: 20-1----
Configuration1: 20-1
Configuration2: 20-2----
Configuration2: 20-2
Position number: 0020----
Position number: 0020
Configuration1: 10-1----
Configuration1: 10-1
Configuration2: 10-2----
Configuration2: 10-2
We have tried standard functions like: useOneAsMany, CreateIf, if, ifWithoutElse, collapseContext, etc. in the graphical mapping tool but it doesnt work.
Could you please take a look at this problem?
Appreciate any help on this,
Kind regards
Kamran VakiliIve solved this problem
-
JDBC to IDoc (ORDERS05) IDoc
Hi,
My scenario is JDBC (from 2 tables) to single IDoc ORDERS05.
There are 2 source tables , HEAD, ROW. For every row in HEAD I need to create one Sales order through IDoc in R3.
I am doing inner join on HEAD, ROW and say for example I am getting the following rows:
HEAD.ID ROW.ITEM
1 ABC
1 XYZ
1 PQR
2 ABC
2 JKL
3 IOP
Now for each unique HEAD.ID, I need to map to ORDERS05 IDoc. ( In our example I need to create 3 orders).
How do i do this?
And also, I need to map only (ABC,XYZ,PQR) in the first occurrence of ORDERS05, then (ABC,JKL) in the second occurrence and (IOP) in the third occurence.
Could you please help me, how to do this?Now for each unique HEAD.ID, I need to map to ORDERS05 IDoc. ( In our example I need to create 3 orders).
How do i do this?
-->write a UDF on HEAD.ID field to strip duplicates and map this to IDOC header.
your UDF shd take 1,1,1,2,2,3, and give you 1,2,3.
And also, I need to map only (ABC,XYZ,PQR) in the first occurrence of ORDERS05, then (ABC,JKL) in the second occurrence and (IOP) in the third occurence.
Could you please help me, how to do this?
-->you can use the same UDF in remaining fields. use IF statement and check with the UDF output to the HEAD.ID -
A little help needed in message mapping
a little help needed in message mapping
I have to map one of the idoc header segments as many times as it occurs to each Idoc when using the split message funcionality
let us say we have the segment seg1 and there is a QUALF in it
<seg1>
<qualf>001</qualf>
</seg1>
<seg1>
<qualf>002</qualf>
</seg1>
then we use the vbeln to split the idoc into 2.
so if we have
<vbeln> 1 </vbeln>
and
<vbeln>2 </vbeln>
then 2 Idocs should be created like this
<Idoc>
<vbeln> 1 </vbeln>
<seg1>
<qualf>001</qualf>
</seg1>
<seg1>
<qualf>002</qualf>
</seg1>
</Idoc>
<Idoc>
<vbeln> 2 </vbeln>
<seg1>
<qualf>001</qualf>
</seg1>
<seg1>
<qualf>002</qualf>
</seg1>
</Idoc>
it is easy to create the segment by using createif with the QUALF field but my problem how to map the qualf twice for each idoc
Thanks.UseOneAsMany is the function you need to use.
It takes three parameters:
1 --- The node you want to duplicated
2 --- How many times you want to duplicated
3 --- The context you want to place for it.
Regards
Liang -
Help on - Multiple IDOC to single flatfile (without BPM)
I got a business need, that the ORDERS05 IDOC's should be collected on hourly basis and single flatfile should be generated for each and every hour. This scenario can be easily handled through BPM but I need the problem to be solved without BPM.
Please help me to overcome this.hi uv,
in addition u can have a look ..
Introduction to IDOC-XI-File scenario
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
ALE configuration for pushing IDOC from SAP to XI
/people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi
IDOC Status
http://www.erpgenie.com/sap/sapedi/idoc_statuses.htm
Configuration steps required for posting IDocs
/people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi
any case u need with BPM...
IDOC (Multiple Types) Collection in BPM
/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
regards
biplab -
Hello,
We'd like to store the idoc data extracted from EDI 852 inbound transaction in an infocube for DP. SAP Note 154604 suggests that trx <b>/sapapo/map_tser</b> can be used for specifying the infocube.
However, in SCM 4.1, this trx has a field for PA only, not infocube. I was wondering how to pull the data into infocube.
Any suggestions would be appreciated.
Thank you,
MalliHello,
I'm afraid that i can not help you.
I am witting you because i am trying to get information about VMI/ SMI implementation, for ex. IDOC mapping, best practices, etc.
I will be appreciate if you can provide me this information.
Thanks&Rgds
Angélica -
Hi all,
We are sending the Purchase Order details to a third party system from SAP R/3 using Orders05 IDOC, but i am getting the following error:
com.wm.lang.flow.FlowException: No Kreditor MPID found for system 75da182
I have checked the connections but the same connection is working properly for all other IDOC's.
Can any one let me know what is the actual problem.
It's urgent, all the helpful replies are rewarded.
Regards,I believe you can use one of the customer exits in the FM which creates your IDOC to filter items.
-
ORDERS05 IDoc to cXML SOAP - SOAP failing (Ariba call)
I am performing the following scenario:
I am sending an ORDERS05 IDoc from R/3 4.6 to XI. XI then maps the IDoc into cXML. I am then attempting to send the cXML via the SOAP adapter to Ariba via HTTP.
Everything works except the adapter fails when trying to send to Ariba. Here is the audit log:
2005-07-06 17:05:39 Success The message was successfully received by the messaging system. Profile: XI URL: http://myserver:50000/MessagingSystem/receive/AFW/XI
2005-07-06 17:05:39 Success Using connection AFW. Trying to put the message into the receive queue.
2005-07-06 17:05:39 Success Message successfully put into the queue.
2005-07-06 17:05:39 Success The message was successfully retrieved from the receive queue.
2005-07-06 17:05:39 Success The message status set to DLNG.
2005-07-06 17:05:39 Success Delivering to channel: cXML2Ariba
2005-07-06 17:05:40 Success SOAP: request message entering the adapter
2005-07-06 17:06:01 Error SOAP: error occured: java.io.IOException: failed to get the input stream from socket: java.lang.NullPointerException
2005-07-06 17:06:01 Error Exception caught by adapter framework: failed to get the input stream from socket: java.lang.NullPointerException
2005-07-06 17:06:01 Error Delivery of the message to the application using connection AFW failed, due to: failed to get the input stream from socket: java.lang.NullPointerException.
2005-07-06 17:06:01 Success The asynchronous message was successfully scheduled to be delivered at Wed Jul 06 17:11:01 UTC 2005.
2005-07-06 17:06:01 Success The message status set to WAIT.
Does anyone know what the error message means?
Could it possibly be that I am taking an Async IDoc, and posting a synchronous SOAP to Ariba?
Thanks!Mary -
Hi I was wondering how you were able to determine that your XI server did not have internet connectivity and what you were able to do? We have a similar scenario only we are trying to use SSL for the connection with certificate AND getting the following error :
2005-09-08 15:46:31 Success The message was successfully received by the messaging system. Profile: XI URL: http://XIServer024:50700/MessagingSystem/receive/AFW/XI
2005-09-08 15:46:31 Success Using connection AFW. Trying to put the message into the receive queue.
2005-09-08 15:46:31 Success Message successfully put into the queue.
2005-09-08 15:46:31 Success The message was successfully retrieved from the receive queue.
2005-09-08 15:46:32 Success The message status set to DLNG.
2005-09-08 15:46:32 Success Delivering to channel: PCARD_Activate_File_Receiver
2005-09-08 15:46:32 Success SOAP: request message entering the adapter
2005-09-08 15:46:32 Error SOAP: error occured: java.lang.NullPointerException
2005-09-08 15:46:32 Error Exception caught by adapter framework: null
2005-09-08 15:46:32 Error Delivery of the message to the application using connection AFW failed, due to: RecoverableException. -
How can I split an Orders05 iDoc into multiple iDocs?
Hello,
Can one of you experts please tell me how I can split an ORDERS05 iDoc into multiple iDocs based upon Delivery addresses?
For example, if the iDoc contains 3 different Delivery Addresses then I need to split it into 3 iDocs.
It has been suggested to me that I can Create a custom function module. In this custom fm split the idoc into 3 based on the delivery address and create it using the FM MASTER_IDOC_DISTRIBUTE.
Problem is I don't know how to do this. Any help is greatly appreciated. Thanks.
DanHi Dan Avis
Write a Custom Z program .
1 get order05 idoc number....
2 get the segment details...(Based on you condition...)
3 In a loop send the data to the FM MASTER_IDOC_DISTRIBUTE (Based on you condition...)
4 IDOC will generated,,,every loop and
5 Change the status of original idoc .
or
Create Function module and use the FM as process code to create 3 idocs...and processs...new generated idoc and block original idocs...
Call me if you have questions @ 302 290 5677
Thanks
Ramesh
Maybe you are looking for
-
Remittanc advice by email and also by printing
Hi Experts, Our requirement is that email needs to be triggered for all remittance advices and simultaneously printing needs to carried out for those vendors with no email address or invalid email address. We have activated BTE 2040 to trigger the em
-
Organisational structure in Workflow
Hi I'm with a client that keeps organisational structure in a non-SAP system, but might be considering moving this structure into SAP. In either case, I need to have an organisational structure in Workflow for agent assignment. If they continue to ke
-
Installed Acrobat 9 Std on 3 PCs
hello i installed Adobe Acrobat 9 Standard unwittingly on 3 pcs. then i uninstalled it again on the last pc, without deactivating the licence. now it says on the two other pcs, that the key is not valid, because it has been used to often and i shoul
-
GATEWAY INSTALL GUIDE FOR MS SQL SERVER
제품 : GATEWAY 작성날짜 : 1999-04-27 how to install the gateway for MS SQL server Software 요구 사항: Operating System: Windows NT 4.0 Oracle Server: Oracle8 Server Enterprise Edition Version 8.0.4.0.0 Oracle Networking: On gateway: Net8
-
Hi all, Can anybody please tell the usuage of narrow casting. preferable with simple code. Anirban Bhattacharjee