2 Purchase Orders against one trading contract in GTM
Dear All
This question is realted to GTM Module.
In our case for 1 Trading Contract 2 Purcahse Orders are created.Does anybody know the reason as to when 2 Purchase Orders are created against one Trading Contract.
Regards
VA
Hi
There is no duplication it is actually a quantity split.
If ther are 5 items in Trading Contract 4 got created in PO and 2nd in the following PO?
Regards
Similar Messages
-
Idoc Generation after Purchase Order Creation through trading contract.
Hi All,
When a Purchase Order is created via trading contract, I need to generate an Idoc and pass details of the Purchase Order created to the Partner System.
Can anyone suggest any Function module or user exit which gets called while Purchase Order creation through trading contract, so that I can fill the Idoc with necessary details of the Purchase Order and send that to the Partner System?
Thanks in advance.Hi Tejas,
I do not know about Trading Contract but what all I can say it that Check if Change pointers are getting written Once the PO has been created, If "Yes" then probably you do not have to do anything for craetion of Purchanse Order. You can use RBDMIDOC Program to create IDOCs from change pointers.
Refer [this|http://help.sap.com/saphelp_nw04/helpdata/en/12/83e03c19758e71e10000000a114084/content.htm] for more information on change pointers.
Regards
Shital -
Outbound Idoc creation after Purchase Order Creation via Trading contract
Hi All,
Below is my requirement-
Purchase Order Will be created automatically through trading contract.
I need to pass some details about the purchase order created to the external system through IDOCS.
ie this idoc should get triggered whenever a Purchase Order is created through Trading contract.
Are there standard function modules which can trigger idoc whenever Purchase Order is created through Trading Contract?
Please suggest how to go about it.
Thanks in advance.Hi Tejas,
Ask your functional consultant to create a new output type for this Purchase order. Attache RSNASTED program and EDI_PROCESSING routine to that output type.And also maintain partner profile for the partner to whom you want to send PO.There is a standard process code ME10 to send Purchase order data.Assign this process code and your new output type in the message control tab of the outbound partner profile view.Hope this helps.
Thanks & Regards,
Kalyan. -
Purchase Orders against Contracts/Sales Orders report
One of our divisions creates long term Contracts against which there are potentially hundreds of Purchase Orders created as the work continues. I have seen reports of POs for material group (ME2C), vendor (ME2L) and more but is there one that will list POs for a Contract or Sales Order.
Apologies if I'm missing something obvious but I must admit I cannot seem to see it if it does exist.
Many thanks in advance
Jim1. Logistics Materials Management Purchasing Outline Agreement Reporting General Analysis
ME80RN
2. enter certain selection criteria and choose Execute
3.To see details for the contract which you created and issued a purchase order against in previous steps, select the contract and choose Purchasing Document (F2).
4.On the Display Contract: Item Overview screen, select a line item and choose Release Documentation (CTRLSHIFTF12).
5.On the Release Order Docu. for Contract 46XXXXXXXX Item XXXX screen, to view details for a single PO that has been issued against the contract, select the purchase order then choose Display Document (F2).,choose Back
6.On the Release Order Docu. for Contract 46XXXXXXXX Item XXXX screen, To view the Release details for a single PO, select the purchase order then choose Release (SHIFT+F4). -
Convert Purchase Order to Requisition when contract void
Hi
We are using SRM 5.0, R/3 Backend is 4.6C.
For purchase orders for items with contracts that are expired or for incoming requests exceeding target quantity in the contract, we intend to have the purchase order converted to a purchase requisistion automatically.
To do this we have activated the BBP_TARGET_OBJTYPE and implemented the DETERMINE_TARGET_OBJECT_TYPES to convert the PO to PReq by doing the following:
wa_item-pack_objtype = 'BUS2105'. "set to PReq
CLEAR: wa_item-ctr_hdr_number,
wa_item-ctr_item_number.
MODIFY ct_item FROM wa_item.
when expired contract or target quantity of contract exceeded is detected.
However, on approving, this results in backend error:
Shopping cart 7100133540 (PReq. 8100022935): 06 722 Source not included in list despite source list requirement
One observation made when debugging the BAdI is that when the BAdI is being run, ct_item is already set to BUS2105 (PR).Hi Yann
This is because the users would like to automatically create a requisistion when their prior shopping cart ends up in error due to contract expiry or having exceeded target quantity.
The purchase order would then be converted to a purchase requisition (PR) by removing the source of supply.
The error seems to arise from attempting to create a PR in the backend. Is there a way of bypassing this source list check and simply create a PR from SRM?
Removing the source of supply from the shopping cart before approval successfully turns it to a PR. This is what we would want to do, but after approval for situations when contract expires in the midst of approval, or target quantity has been exceeded with this order.
Thank you
Message was edited by: Ban Horng Tan -
Purchase Order against Sales Order
Hi Experts,
It could be possible to prepare purchase order against sales order in which the data of sales order could be pulled in purchase order. Please help me in this matter.Hi Shailesh......
Off course it is possible. All you need to do s Open Sales Order and go to Logistic Tab and while creating Sales Order ctick on Split Purchase Order and the moment you add the Sales Order it will Pop up the Purchase Order creation window where you need to fill the details and add PO and then add Sales Order.
But if you have defined Preferred Vendors in Item Master Data then while autocreation of PO by this way will take its Preferred vendors automatically.......
Regards,
Rahul -
Purchase Order in reference to contract
Hi,
Does anyone know whether i can create purchase order in reference to purchase contract via BAPI? or any other methods?
Thanksfor reference see OSS note Note 80462 - Wrong conv.factor during GR for POrder/sched.agrmnt
The purchasing document must be created again!
If the purchase order refers to a contract, you must also create the contract again because the conversion factors from the contract are taken over into the purchase order.
The conversion factor itself cannot be changed in the purchasing document - even if no WE has yet been booked - since this may lead to inconsistencies in the inventory management or to price variances during the invoice verification. -
Want to create a multiple Purchase Order using one file source
I'm want to create a multiple purchase order using one source file. I want to read the file source create LINES in a purchase order and when the Vendor code changes I want to Add the purchase order and then create a new purchase order and Add LINES and so on.
Right now I get Item.no is missing [POR1.ItemCode][Line 2]Here is a code sample
Private Sub testcode()
Dim strOrdplanFile As String
Dim oLineRec As SAPbobsCOM.Recordset
Dim strLine As String = ""
Dim ItemName As String
Dim Quantity As String
Dim RequiredDate As String
Dim SupplierType As String
Dim ShipTo As String
Dim Vendor As String
Dim oPurchaseOrder As SAPbobsCOM.Documents
Dim bAddPOrder As Boolean = True
Dim bPurchase As Boolean = False
Dim sSQL As String
Dim iReads As Integer = 1
Dim iCurrentPurchaseNumber As Integer = 0
Dim bErrors As Boolean = False
Dim retCode As Double
oPurchaseOrder = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseOrders)
strOrdplanFile = strFolderLocation & "ORDPLAN.TXT"
If File.Exists(strOrdplanFile) And FileLen(strOrdplanFile) > 0 Then
Dim sr As New StreamReader(strOrdplanFile)
strLine = sr.ReadLine()
txtPurRec.String = "0"
oFormStatus.Update()
Try
Do
Vendor = strLine.Substring(0, 8).Trim()
ShipTo = strLine.Substring(12, 8).Trim()
SupplierType = strLine.Substring(26, 1)
ItemName = strLine.Substring(27, 20).Trim()
Quantity = strLine.Substring(94, 8)
RequiredDate = strLine.Substring(206, 9)
oLineRec = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
sSQL = "SELECT PrcrmntMtd, CardCode FROM OITM WHERE ItemCode = '" & ItemName & "'"
oLineRec.DoQuery(sSQL)
If oLineRec.RecordCount() > 0 Then ' if it exists add the record
If oLineRec.Fields.Item(0).Value.ToString = "B" Then
If (bAddPOrder) Then
oPurchaseOrder.CardCode = Vendor
oPurchaseOrder.DocDueDate = RequiredDate
'Add first item to the purchase order
oPurchaseOrder.Lines.ItemCode = ItemName
oPurchaseOrder.Lines.WarehouseCode = ShipTo
oPurchaseOrder.Lines.Quantity = CDbl(Quantity)
oPurchaseOrder.Lines.Add()
bAddPOrder = False
bPurchase = True
iCurrentPurchaseNumber = iCurrentPurchaseNumber + 1
txtPurRec.String = "R: " & iReads & " W: " & iCurrentPurchaseNumber.ToString
oFormStatus.Update()
Else
'compare CardCode to make sure Vendor hasn't change
If (oPurchaseOrder.CardCode.CompareTo(Vendor) = 0) Then
'Add item to the purchase order
oPurchaseOrder.Lines.ItemCode = ItemName
oPurchaseOrder.Lines.WarehouseCode = ShipTo
oPurchaseOrder.Lines.Quantity = CDbl(Quantity)
oPurchaseOrder.Lines.Add()
Else
'vender code changed
retCode = oPurchaseOrder.Add()
If (retCode <> 0) Then
SBO_Application.MessageBox(oCompany.GetLastErrorDescription(), 1, "OK", "", "")
End If
oPurchaseOrder.CardCode = Vendor
oPurchaseOrder.DocDueDate = RequiredDate
'Add first item to the purchase order
oPurchaseOrder.Lines.ItemCode = ItemName
oPurchaseOrder.Lines.WarehouseCode = ShipTo
oPurchaseOrder.Lines.Quantity = CDbl(Quantity)
oPurchaseOrder.Lines.Add()
bAddPOrder = False
bPurchase = True
iCurrentPurchaseNumber = iCurrentPurchaseNumber + 1
txtPurRec.String = "R: " & iReads & " W: " & iCurrentPurchaseNumber.ToString
oFormStatus.Update()
End If
iReads = iReads + 1
End If 'new
strLine = sr.ReadLine()
End If
End If
Loop Until sr.EndOfStream
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.Information)
End Try
If (bPurchase) Then
lRetCode = oPurchaseOrder.Add()
End If
sr.Close()
swLogFile.WriteLine("Purchase orders stored : " & iCurrentPurchaseNumber)
oPurchaseOrder = Nothing
End If
End Sub -
Uploading Purchase Order Against the Sales Order through DTW
Hi Experts,
I searched the forum but could not see anything regarding this.
Can I upload Purchase Orders against the Sales Orders using DTW upload facility? Manually we do it through the Logistics Tab in Sales Order.
Thank you in advance.
Kind Regards,
ICHi,
You can use the BaseType, BaseEntry and BaseLine columns for this in the row level template (DLN1):
BaseType: it's the Object Type of base document (ORDR.ObjType) which is '17' in case of Sales Order
BaseEntry: it's the Document Entry of the base document (ORDR.DocEntry)
BaseLine: it's the row number of the line in the base document (RDR1.LineNum)
If you import your Delivery Notes with this info, the link to the Sales Order will be updated just as if you used Copy To in SAP.
Regards,
Nat -
Two purchase orders from one purchase requisition
Hi experts,
i'm getting this strange behavior. How is possible to create 2 purchase orders from one purchase requisition ??
If i look to sales order flow i see two purchase orders.
Thank you.Hello Dan M,
When u enter the material and qty in Item the system might be doing Availability check. Then u might be going to schedule line and then "check mark on "Fix qty/date". Here once again the system might be doing Availability check and then u press "Dely proposal".
I suggest u to check the Purchase Requisition Item No. (the field next to Purchase Requisition No.). Keep watch here after every step u perform. Watch before and after u press every button.
Do carefully analysis step by step u will get the reason.
Any thing required write on the forum.
Thanks & regards,
Shailendra Panhale -
Purchase Order for one Vendor & one ship name.
How to display all Purchase orders for one vendor and one ship name.
Its urgent...
Regards
IrfanWhat is one ship name? is it Delivery Address..
Then try ME2N....
You can choose different fields like Vendor etc...
in the Dynamic selections....
Thx
Raju -
Combine purchase orders on one delivery
Hello,
I´ve a problem to combine purchase order positions from different purchase orders together on one single delivery. This should be similar the order combination indicator in customer orders.
In the moment I get the Handling Units pack data in the shipment from the external warehouse. Different delivery positions can be packed together into a HU. This makes it impossible to get the pack data from the transport into the inbound delivery where it is requested for the EWM.
Now the idea is to have just one delivery on one shipment to make it easier to get the pack date on the delivery.
Thanks for your ideas.
Kind regards
DieterHI Dieter Irmler,
Please refer NOTE: 386340: Grouping purchase orders into one delivery using Vl10*.
Refer: Combine stock transfer orders with different delivery dates into 1 delivery
VL10B - Create several outbound deliveries for ... | SCN
Hope it helps..
reg,
Bhg -
Several purchase-orders for one requisition
Hello,
as I read in SAP/OSS Note 109143, it is not possible to create more than one purchase-order for a purchase-requisition, when the requisition comes from SD-order (Orders on Hand).
We use Release R/3 4.6C. Are there possibilities in ERP 2004/2005 ?Hello,
Thanks, for your answer. I mean several purchase-orders for one requisition-ITEM. The requisition-ITEM comes from an SD-order-ITEM.
We want to split the requisition-ITEM-quantity to several vendors.
SD-ITEM (200 Pce) -> req.ITEM (200) --> vendor 1 (100 Pce)
.......................................................|-> vendor 2 (50 Pce)
.......................................................|-> vendor 3 (50 Pce) -
Multiple purchase orders for one sales order: ME59
Hi,
I have issue with converting sales order into a purchase order.
A standard third party sales order (type TAS) with multiple line items is being converted to a single purchase order.
In case of a free of charge sales order (type FD) with multiple line items, each line item is being converted to an individual PO.
The difference between TAS and FD is the item catecory and schedule line category.
In both the above cases only one purchase requisition is being created per sales order. The issue is when this PR is being converted to a PO. (ME59 is used to convert the PR).
Is there any setting/config which is driving the multiple PO creation based on either schedule line category or the account assignment category setup in the schedule line category?
Please advice...
Thanks,
KSBAny ideas?
-
Purchase Order Against Good Receipt PO
Dear Experts,
I want to display PO Against GRPO. I am little bit confused about above query output.
For Example : i have an total 10 Items in PO but in GRPO only 6 Items will be there but with using above query i only find matching items records.
I want all item detail in Purchase order.
SELECT DISTINCT T0.[DocNum] as 'PO No', T0.CardName as 'PO CardName', T1.ItemCode as 'PO ItemCode', T1.Dscription as 'PO Item Desc', T1.Quantity as 'PO Item Qty', T1.PriceBefDi as 'PO Item Unit Price' ,((T1.PriceBefDi-(T1.PriceBefDi*T1.DiscPrcnt/100))*T1.Quantity) as 'PO Price Aftr Disc', T3.[DocNum] as 'GRN No', T3.CardName as 'GRN CardName', T2.ItemCode as 'GRN ItemCode', T2.Dscription as 'GRN Item Desc', T2.Quantity as 'GRN Item Qty', T2.PriceBefDi as 'GRN Item Unit Price', ((T2.PriceBefDi-(T2.PriceBefDi*T2.DiscPrcnt/100))*T2.Quantity) as 'GRN Price Aftr Disc'
FROM OPOR T0
INNER JOIN POR1 T1 ON
T0.DocEntry = T1.DocEntry
INNER JOIN PDN1 T2 ON
T1.DocEntry= T2.BaseEntry AND
T1.LineNum=T2.BaseLine
INNER JOIN OPDN T3 ON
T2.DocEntry = T3.DocEntry
where T0.DocNum = ' '
Thanks & Regards,
Nishit MakadiaHi Nishit,
Please try below.
SELECT DISTINCT T0.[DocNum] as 'PO No', T0.CardName as 'PO CardName', T1.ItemCode as 'PO ItemCode', T1.Dscription as 'PO Item Desc', T1.Quantity as 'PO Item Qty', T1.PriceBefDi as 'PO Item Unit Price' ,((T1.PriceBefDi-(T1.PriceBefDi*T1.DiscPrcnt/100))*T1.Quantity) as 'PO Price Aftr Disc', T3.[DocNum] as 'GRN No', T3.CardName as 'GRN CardName', T2.ItemCode as 'GRN ItemCode', T2.Dscription as 'GRN Item Desc', T2.Quantity as 'GRN Item Qty', T2.PriceBefDi as 'GRN Item Unit Price', ((T2.PriceBefDi-(T2.PriceBefDi*T2.DiscPrcnt/100))*T2.Quantity) as 'GRN Price Aftr Disc'
FROM OPOR T0
LEFT JOIN POR1 T1 ON
T0.DocEntry = T1.DocEntry
LEFT JOIN PDN1 T2 ON
T1.DocEntry= T2.BaseEntry AND
T1.LineNum=T2.BaseLine
LEFT JOIN OPDN T3 ON
T2.DocEntry = T3.DocEntry
where T0.DocNum = ' '
Hope this helps
Regards::::
Atul Chakraborty
Maybe you are looking for
-
Pick Release API doesn't update records
Does anybody has any documentation on how the wsh_deliveries_pub.delivery_action API works. The lack of documentation sucks. I am running the following procedure to pick release a delivery... wsh_deliveries_pub.delivery_action( p_api_version_number =
-
How do i install adobe photoshop elements 10???
how do I install adobe photoshop elements 10??
-
Problems opening IPhoto in Snow Leopard
I bought a new IMac early last moth. It came with the os as 10.6.8 and ILife.. I however am unable to open IPhoto and the corresponding error message "Iphoto cannot be opened becase of a proble. Check with developer to make sure that IPhoto works wit
-
Why does my iphone lose signal since upgrading to ios7
Since I upgraded to ios7, my iphone 5 constantly loses signal. It does so just about every 10-15 minutes. I have tried reseting my network settings, I switch to airplane mode, I do a hard reset. And nothing works. Prior to upgrading I never had t
-
Hi All, I have used a table CDHDR, and I have fired select query on it without any selection criteria. Because this is my need. But this query is taking time. Can anybody tell me what I can do to improve the performance? Thanks a ton in advance