Regarding xml file sequence and sales order sequence not equal
Hi frnds,
The XML File generates after sorting the line items, the sorting is done alphabetically on material master codes but the when the program converts the XML to Sales orders, the line item numbers does not matches with the line item of the XML File, like to understand how the XML conversion happens and is it possible to keep the same sequence of the XML file?
Regards,
Jaya.
And This is a xml details to read
<ENV:Envelope TransactionID="234567" xmlns:ENV="schemas-hiwg-org-au:EnvelopeV1.0">
<ENV:SenderID>ABC</ENV:SenderID>
<ENV:RecipientID>XYZ</ENV:RecipientID>
<ENV:DocumentCount>1</ENV:DocumentCount>
<Documents>
<PurchaseOrder RecordType="10" xmlns="schemas-hiwg-org-au:PurchaseOrderV2.0">
<TradingPartnerID>C42000</TradingPartnerID>
<MessageType>ORDERS</MessageType>
<VersionControlNo>2.0</VersionControlNo>
<DocumentType>220</DocumentType>
</PurchaseOrder>
</Documents>
<Document_Lines>
<row>
<ItemCode>Nylon Black</ItemCode>
<Quantity>2</Quantity>
</row>
<row>
<ItemCode>Nylon White</ItemCode>
<Quantity>3</Quantity>
</row>
</Document_Lines>
</ENV:Envelope>
But this event is fileted with this result message
"Mapping from LocalObjectType Envelope to object Type failed."
I've tried to use ENV:Envelope logical objecttype instead of Envelope. But result is same.
I hope someone can help me
Thanks
Similar Messages
-
Hi,
I'd like to read xml file which is not standard B1 xml file and created new sales order.
Thi is a data mapping xsl tempate
<xsl:template match="b1im:B1IMessage/b1im:Body/b1im:Payload[./@ObjectTypeId='Z.F.AnySystem_FileIn']">
<BOM>
<BO>
<AdmInfo>
<Object>17</Object>
<Version>2</Version>
</AdmInfo>
<Documents>
<row>
<DocDate>20100617</DocDate>
<DocDueDate>20100617</DocDueDate>
<CardCode><xsl:value-of select="Envelope/Documents/PurchaseOrder/TradingPartnerID"></xsl:value-of></CardCode>
</row>
</Documents>
<Document_Lines>
<row>
<xsl:for-each select="Envelope/Document_Lines/row">
<ItemCode><xsl:value-of select="ItemCode"></xsl:value-of></ItemCode>
<Quantity><xsl:value-of select="Quantity"></xsl:value-of></Quantity>
<Currency>USD</Currency>
<Rate>1</Rate>
<TaxCode>0</TaxCode>
</xsl:for-each>
</row>
</Document_Lines>
</BO>
</BOM>
</xsl:template>And This is a xml details to read
<ENV:Envelope TransactionID="234567" xmlns:ENV="schemas-hiwg-org-au:EnvelopeV1.0">
<ENV:SenderID>ABC</ENV:SenderID>
<ENV:RecipientID>XYZ</ENV:RecipientID>
<ENV:DocumentCount>1</ENV:DocumentCount>
<Documents>
<PurchaseOrder RecordType="10" xmlns="schemas-hiwg-org-au:PurchaseOrderV2.0">
<TradingPartnerID>C42000</TradingPartnerID>
<MessageType>ORDERS</MessageType>
<VersionControlNo>2.0</VersionControlNo>
<DocumentType>220</DocumentType>
</PurchaseOrder>
</Documents>
<Document_Lines>
<row>
<ItemCode>Nylon Black</ItemCode>
<Quantity>2</Quantity>
</row>
<row>
<ItemCode>Nylon White</ItemCode>
<Quantity>3</Quantity>
</row>
</Document_Lines>
</ENV:Envelope>
But this event is fileted with this result message
"Mapping from LocalObjectType Envelope to object Type failed."
I've tried to use ENV:Envelope logical objecttype instead of Envelope. But result is same.
I hope someone can help me
Thanks -
MTO Sales order is NOT a COST OBJECT
Hi All,
I'm working on MTO process and i have some question.i would like to clarify MTO process.
If we are using Valuated MTO process and Sales order is NOT a COST OBJECT
1.Are we going to run material cost estimate for MTO materials?
2.How can i configure or make Sales order is NOT a Cost Object?
3.If Saleso order is not a cost object,how production order process will work from controlling point of you?are we going calculate WIP on production order and WIP is settled to sales order or FI/PCA?
4.Once production order is complete,Goods Receipt will post to Inventory or Sales order stock?
5.Once production order is complete,we are going to calculate variance on production orders?
Any help is appreciated...
Thanks,
AnushaHi,
When the MTO is created from sales end it will create the Planned order then it will convert to Production or Process order.
Once the production do GR or confirm Produced QTY the stock will go to Sales stock not to inventory stock.From there the sales can do PGI to customer.once PGI has done the account entry for the customer account will take place automatically.
Once the production completed the Production order need to calculate for the variance & the Settlement need to be done for the production order against the Material which you produced & sale to customer.The difference & variane amount will post to Price difference & moved to Product cost of the material automatically & COPA entry will be done automatically.
The MTO Material need to run for the Cost estimate also.
The WIP can be calculated & difference can be posted against the production order & the material which you produce.
The Process is same as the Make TO Stock scenario.Only the difference is the Production will get generate automatically when the MTO order get created & the stock will post to sales stock automatically.Rest the CO part is same as MTS scenario.
Regards,
Raj -
Sales order does not consumpt Independent requirement
Hi Gurus,
My material is as below:
MRP Type: M0
Stategy group:40 Planning with final assembly
Consumption mode :2 Backward and forward consumption
My independent Req is 'VSF Planning with final assembly'
My sales order item category is 'Zwac', rety is using ZWAC-M0-KSV 'Sales order with consumption'
but before i create sales order:
MRP element Received/Requirement quantity
stock
IndReq 100-
After that:
MRP element Received/Requirement quantity
stock
IndReq 100-
Sales order 90-
but i expected like this:
MRP element Received/Requirement quantity
stock
IndReq 10-
Sales order 90-
Do you know what i did wrong , thank you!
Regards,
dragskyDear,
If you have planning stategy 40 , then PIR qty will be consumed duirng MRP run if both PIR created with VSF and you have incomming Sales Order qty .Let say you have 100 pc PIR and also 150 pc of sales order , run MRP-MD03 , it will create 150 pc Planned order or PR .
If your using and Sales Order is not getting consumed upon while running MRP , then couple of checks in this case :
1.Is your PIR (created in MD61) "VSF"?
The requirement type should be KSV to consume with VSF. Please check OVZI to check why your item category in Sales Order get the requirement type 041.
Here you must have following set up :
Requirement Class : 041 , Availablity , Requirement Check box Marked and Allocation Indicator-1 .This Alocation indicator basically Controls the consumption of customer requirements with planned independent requirements whereby the customer requirements type is only allocated one consumption strategy.If it blank that means no consumption with customer requirement .
Please check If you want req. type 041 to consume with VSF, then you have the change the configuration of planning strategy. Use path Production -> Production Planning -> Demand Management -> Planned Independent Requirements -> Planning Strategy -> Define Strategy.
2. What is the schedule line category in your SO ?? Is it "CP"? You are using customised item categoery zWAC which may be inharited from WAC-Order /Delivery Requirement (OVZI)
Check and come back.Hope this will address the issue
regards
JH -
Change Quotation and sales order creation
Dear All,
I have some requirements from my company that I have to adopt to SAP. My company is a reseller of IT materials.
Our sales people are using an excel file to make the quotation to a customer. This excel file contains a couple of sheets (one for each manufacturer. example IBM, HP, Microsoft etc). Is there any way to make my quotation and sales order look like this?
Also since all the data for the initial creation of the quotation are stored in these files, is there any way to automate the creation of the quotation by transfering all the data from the excel file to the SAP ERP?Hi there,
Try this:
Define a new BAPI which will read all the info in the excel. Internally it will call VA01 & read the information from excel & post it into a quotation.
For this you will need to define the import / table parameters. Each field in the excel is mapped to a field in the import / table.
Excel will have different sheets each with different vendors. But it is not possible in SAP. For each vendor you will need to create different quotation.
Consider that each your vendor supplies 10 products. Enter all that info in an excel sheet.
Then for each different vendor, create a separate quotation giving the details of all products he supplies. Explain the requirement to your ABAPer. He will help you with the BAPI part.
When you create a sales order with reference to a quotation, you may change the quantities. You will retain the products which are required & delete the rest. .
Regards,
Sivanand -
Link between Delivery and Sales Order Schedule Line
Hi Gurus,
I have a requirement in which i need to display quantity and amount at schedule line level and also the delivery and delivery item for each schedule line.
For example, if there is a sales order O1 and item 10 for which we have 3 schedule lines and 3 deliveries as well say D1, D2 and D3.
Report should be something like this
Sales Order Item Schedule Line Delivery Del Item Confirmed Order Qty
O1 10 1 D1 10 5
O1 10 2 D2 10 5
O1 10 3 D3 10 4
How can i determine that a particular delivery corresponds to which schedule line of that saler order-item?
We have the link between delivery and sales order but is there any way that we can get the link of delivery at schedule line level?
Please help.
Regards,
GauravHi,
I suppose you must check with SD functional consultant and the post should also be in the logistics SD forum and not BI. But I suppose there is know specific link between the schedule line of SO to the Delivery. It is more like a bucket flow for ex.
Sale order Item Schedule line qty
SO1 Item1 Sch1 10
SO2 Item1 Sch2 10
Delivery Item QTy
DO1 IT1 15
DO2 IT1 5
In this case qty 15 is distributed over both SO1 and SO2, and SO2 ITem1 Sch2 has link to both the DOs
So I am not sure if you can establish a one to one link, please check with your SD consultants.
Regards,
Ashwin G -
Purchase order and sales order table name
hi al,
i want to know purchase order and sales order table name in abap.
thanks
varun
Moderator message: please do some own research, this should not take too long.
Edited by: Thomas Zloch on Jan 27, 2012Hi Sunrag......
If your PO is linked with SO. Then you can fetch customer name easily by FMS in PO.
From there you ca gte the Customer Name into your PLD and it wont hang also.....
Regards,
Rahul -
Report for Pegging for forecast and sales order consumption(pegging)
Hi ,
Plaese help to create a report for the below
Requirement is there to have a showing Forecast (Number) and Sales order (Number) pegging Report
Means like to which forecast number the sales order number is consumed
Regards
KiranI have tested this on ASCP and I am agree with you. I am pasting one para from document...
"Oracle Master Scheduling/MRP and Supply Chain Planning calculates the ATP quantity of an item for each day of planned production by adding planned production during the period (planned orders and scheduled receipts) to the quantity on hand, and then subtracting all committed demand for the period (sales orders, component demand from planned orders, discrete jobs, and repetitive schedules).
Note: Committed demand does not include forecasted demand or manually entered master demand schedule entries. Also, the amount available during each period is not cumulative. Oracle Master Scheduling/MRP and Supply Chain Planning does not consider ATP quantities from prior periods as supply in future periods. "
Thanks and Regards,
Dipak -
Purchase orders and Sale Orders in DEV and PRD
Hi SAP Experts,
We have a facing some different problem. Unfortunately our clint do some transactions in Development Server. Like Purchase orders and Sales Orders.
After one month we delivery to clinet exact Production server. But he is asking , What ever the purchase orders and Sales Orders Created in Development with same numbers and Same dates, that data will be present in Production server also. Is it possible to do that. IF possible how to do that...
Thanks and Regards
Siri....
Edited by: Alvaro Tejada Galindo on Apr 14, 2008 5:56 PMI think it is possible,as per my knowlwdge our perious client regularly( means every 3-4 months) copied the data from Production server to quality server. by the help of basic person...
So in your case you want to copied the data from devlopment server to production server....please touch with your basic guy, i think he will help out reagrding this... -
Link between PO and Sales Order?
Hi,
I have an issue..I need to send an idoc containing PO with fields (like ebeln, lifnr...etc). Along with this PO, I need to send a field 'customer po number (vbkd-bstkd)' from sales order.
Could you please help me out to find out the link between purchase order and sales order? how to fetch customer purchase order number from po number?
Also what is the difference between Purchase order number and Customer purchase order number?The customer purchase order number is the number of the purchase order which you get from one of your <b>customers</b>. This number is copied in the sales order, for future reference.
On the other hand, the purchase order is the order you send to one of your <b>vendors</b>.
Thus the sales order and the purchase order are two indipendent objects. The customer purchase order number does not reference any document on the ERP. Therefore you can't link a purchase order to a sales order.
Refer to the SAP Solution forum SAP ERP Sales and Distribution (SAP SD) for this kind of questions.
Regards, Davide
Message was edited by:
Davide Cavallari -
SD-How to find table of link between delivery and sales order?
Hi Experts,
I have a requirement as below.
In LIPS table (SD document: Delivery: Item data), in this table has one kind data.
One record has maintianed 2 fields PSPNR(Project definition (internal)) and PS_PSP_PNR(Work Breakdown Structure Element (WBS Element)).
How to find sales order number of the above record? Could you tell me which table link the delivery item data and sales order number?
Thanks a lot,
FrankHi frank
Check the following tables VBAP , VAPMA , VBUP . It may help you
Regards
Srinath -
Delivery date and sales order creation date
Dear all
Can you please explain the relation between delivery date and sales order date. In my case i can create delivery with delivery date as before the sales order date... how it is possible that i can create delivery before the sales order date.??
Please explain.........
Warm Regards
Inder PalHi,
Sales order date: Date on which the customer officially places an order to your company.
All the commitment and product allocation counting starts with reference to this date.
e.g. customer says that the goods are required from 20 days of placing order, then from this date the calculation starts.
Delivery date: Date on which after the system goes through material availability date, replenishment time, calculates the date on which physically the goods can be delivered to the customer.
e.g. customer orders 100 qty of material X in 15 days, you will hve to check this delivery date through availability check which can be done in sales order and also delivery.
payment date is based on this delivery date.
regards,
Siddharth. -
Link between Accounting Document and Sales Order
Dear SD Gurus,
How to find the Sales Order number and Sales Order Item from the accounting document- like document types DZ, DG, ID etc.
Kindly specify the table links and fields to fetch the above details
Regards
VimalLink Between SAP SD, MM & FI
The link between SD and MM :-
1. When you create sales order in SD, all the details of the items are copied from Material master of MM.
2. MRP and availibility check related data is also taken from MM although you control this data in SD also.
3. While you create inbound/outbound delivery with reference to a sales order,the shipping point determination takes place with the help of the loading group, plant data, shipping conditions etc. This also refers to Material Master.
4. The material which you are entering in a sales order must be extended to the sales area of your sales order/customer otherwise you cannot transact with this material.
There are many such links between SD and MM.
Now the link between SD and FI :-
1. Whenever you create a delivery with reference to a sales order, goods movement takes place in the bacgground. eg. In case of standard sales order, you create an outbound goods delivery to the customer.
Here movement 601 takes place. This movement is configured in MM. Also, this movement hits some G/L account in FI. Every such movement of good s hits some G/L account.
2. The accounts posting in FI is done with reference to the billing documents (invoice, debit note, credit note etc) created in SD. Thus this is a link between SD and FI
3. Tax determination: In case of a tax determination also, there is a direct link between SD and MM
SD Integration points with other modules
SD module is highly integrated with the other modules in SAP.
Sales Order
Integration Points Module
Availability Check - MM
Credit Check - FI
Costing - CO/ MM
Tax Determination - FI
Transfer of Requirements - PP/ MM
Delivery & Goods Issue
Integration Points Module
Availability Check - MM
Credit Check - FI
Reduces stock - MM
Reduces Inventory $ - FI/ CO
Requirement Eliminated - PP/ MM
Billing -
Integration Points Module
Debit A/R - FI/ CO
Credit Revenue - FI/ CO
Updates G/ L - FI/ CO
(Tax, discounts, surcharges, etc.)
Milestone Billing - PS
Return Delivery & Credit Memo -
Integration Points Module
Increases Inventory - MM
Updates G/ L - FI
Credit Memo - FI
Adjustment to A/R - FI
Reduces Revenue - FI
SD Transaction Code Flow:
Inquiry / Document type IN
Tcode for creation VA11,VA12,VA13. tables VBAK,VBAP
Quotation / QT
Tcode for creation VA21,VA22,VA23. tables VBAK,VBAP
Purchase Order PO
Tcode for creation ME21,ME22,ME23. tables EKKO,EKPO.
Sales Order OR
Tcode for creation VA01,VA02,VA03. tables VBAK,VBAP
Delivery LF
Tcode for creation VL01,VL02,VL03. tables LIKP,LIPS
Billing F2
Tcode for creation VF01,VF02,VF03. tables VBRK,VBRP
<b>The SD & FI link is established through mapping of appropriate G/L accounts through T.Code: VKOA</b>
Regards,
Rajesh Banka
Reward suitable points.
How to give points: Mark your thread as a question while creating it. In the answers you get, you can assign the points by clicking on the stars to the left. You also get a point yourself for rewarding (one per thread). -
How to get COUNT of Invoice No and Sales Order No from Multiprovider
Hello Guys,
I have a scenario like below. I have 2 info cubes (1) Billing Item Info cube (2) Sales Order Item Infocube which stores Item level data in infocube. I created Multiprovider for these Sales Order Item Cube and Billing Item Info cube.
Now in My Multiprovider, Invoice No and Sales Order No gets repeated no of times because one Invoice and One order will have no of Materials. I have a requirement to count Total No of Billing Document and Total No of Sales Document for a Day in the BEx Report. I was thinking to use COUNT function but if Sales Document or Billing Document gets repeated then it will count those records which i don't want. correct me if i am wrong.
How to get Total no of Billing Document and Total no of Sales Document from a Multiprovider where i have Item level data is stored ?
Regards,
Komik Shah
Edited by: Komik Shah on Aug 20, 2011 5:33 PMHi,
Count can be achieved as per the following document. Create for Billing Doc and Sales Doc separately.
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/009819ab-c96e-2910-bbb2-c85f7bdec04a
Regards,
Suman -
How to identify the emergency orders in STO and Sales Order
Hi,
kindly let us know is there any field in header details of STO and Sales Order where we can identify the emergency orders,
In our STO Process we are creating more STO's from one warehouse to one Store,but in that orders we have some of the orders are emergency order's.
Note:-if we create new order type then we can deference the orders but as per the business requirement we need to give same order type.
Thanks & Regards,
Murali.M
+91-9321526563.Thanks
Maybe you are looking for
-
IMac Freezes in everything other than Windows 7
-------------------------------------------------------------------------------- My iMac was running Snow Leopard and Windows 7 via Boot Camp successfully with no issues until yesterday. The iMac froze in Snow Leopard and I had to manually reboot by
-
Our customer is facing time-out (not getting reply back (or may be very very late) from SAP on calling calo_init_api. How to debug this issue at SAP side? The issue happens only for 150 o 200 times out of 5200 calls in approximately 8 hours. The iss
-
Upgrade from version 2 not working
I just installed iLife 5 and when I open iPhoto all I get is Loading photos message.
-
How do i change my birthdate so i can change my password
when i try to change my password, before getting asked the security questions, they ask for my birthdate, i type it in and it says incorrect over and over
-
I just added a flash paper to a Dreamweaver CS3 site but I can't get it to stop scrolling. I know this should be done in Flash and not in Dreamweaver, but I can't figure out how to make the actions work to stop the motion after one scroll. I'm a new