Unable to acknowledge a outbound EDIFACT ORDERS document.
Hi,
We are sending a EDIFACT ORDERS ( D98A version ) to one of our partner and it is successfully reaching the destination folder. Since we are expecting the funtional acknowledgement from partner i have checked the "Functional ack " and also set the "FA Handled by B2B " to "YES" . So once the data reached to the partner message status is "MSG_WAIT_FA" . Although the partner is sending functional acknowledgement back to us and it is successfully consumed by Oracle B2B still the messaage status for EDIFACT ORDERS is "MSG_WAIT_FA" . Please help me to resolve this issue.
Below are the configuration what i did.
1) Created a new agreement for D3 CONTRL
2) The Functional Ack Handled by B2B=true
3) checked FA handled by B2B = Yes in D98A ORDERS agreement
4) Functional Ack = checked in D98A ORDERS agreement
5) Both ORDERS and CONTRL agreements Saved-->Validated and deployed.
6) I have created the listening channel for CONTRL agreement.
Hi Anuj,
Thank you so much for your advise. There was a mismatch in the control number in CONTRL document. Now its working fine. Thank you once again.
Similar Messages
-
How to change QCI data in Outbound Delivery Order (VL02N)
HI,
Dear ABAP Experts,
I need to over ride standard Quantity conversion interface data in Outbound Delivery Order with user specific data. Go to VL02N and select item number and click on Additional Quantities button we can see all SAP calculated QCI data for that item. I need to over write these values with User specific data in VL02N. When I do with BDC program I can update only few units what ever visible in QCI screen. When i scroll down or page down and add new values for other units, system is not capturing any function code for scroll or page down function.
Please can anyone guide me if have any BAPI or FM to solve this issue. Delivery order is related to IS-OIL/HPM.
Any help will highly appreciateTry this FM to create Oubound delivery with QCI IS-OILS HPM, additional quantities.
It works perfectly and saves data in LIPSO1 and LIPSO2
OIJ_EL_DOCG_CREATE_DELIVERY
I_TICKET_ITEM-menge
I_TICKET_ITEM-meins
I_TICKET_ITEM-matnr
- QCI convertion values
I_TICKET_ITEM-tstmp
I_TICKET_ITEM-tsteh
I_TICKET_ITEM-tdich
I_TICKET_ITEM-werks_d
I_OIJNOMI-docind = 'S' for sales order document
I_OIJNOMI-docnr
I_OIJNOMI-docitm
- fill table T_ERR_LOG with one blank line because it raise an index error
T_ERR_LOG -
External order document number in Substitution Switchover (F&R)
Hello,
We're using F&R as a stand alone system, there's a question for product substitution follow-up time controlled.
When getting the substitution switchover information from the legacy system (non SAP) into F&R, the external order document number (org_ref_h, org_ref_i, org_ref_sched) is needed (interface error without these fields).
But since we're not using SAP Retail, there's no outbound delivery that triggers the substitution (no PO number), therefore no external order document number is available to F&R. Substitution will happen after F&R receives the switchover information and when the switchover date is reached.
In this case which order document number should we use?
Thanks,
YangHi Yang,
could you solve this issue meanwhile?
The fields org_ref_h, org_ref_i and org_ref_sched are not obligatory to fill. But you told you got an error.
Kind regards, Rainer -
Purchase order document row is not change (document stutas is OPEN)
Hi all,
I am created one purchase order that are not any base or targeted document ,not any approval procedure and purchase order document status is steel open . Then how I a cannot change the document row.
thanks
arabinda palHi Deepa,
I think if you want to restrict the further editing of a particular row, then you just need to follow the simple procedure.
1. create the purchase order with your desired items & vendor & add this document
2. Now reopen it & goto that row which you want to restrict. Right click on that row & select "Close Row".
3. Select yes to confirmation message.
4.Now update the document.
Now you an check it out, in that document you will not be able to edit that row contents.
I hope this solves your issue.
Regards.
ShriX. -
Sale order document flow-u0091Service Documentsu0092 is coming which should't aper
New Issue with Sales order document flow:
When linking from a sales order in document flow, we were reviewing why the description information varied. In looking at different values, we clicked on a new item within document flow that allows you to like to Service Documents. This is new in 6.0, or it was previously deactivated in 4.6C. If you link from a sales order to a service document, in ECC 6.0, you will get a short dump because the document flow is so great (viewing order #any in VA03 and use document flow and then select the service documents button as seen on the screen below
A Short dump will occur in program SAPLDOCUMENT_FLOW_ALV.
Here in ECC 6.0 is how it looks from sales order 9806:
Documents created from 2004 through 2007 are coming up as linked to this sales order and that is incorrect. There is some type of linkage issue. In the 4.6 C environments, the service documents link is not visible from document flow.
Can any body functional / technical Help on this urgent???Hi Sanjay,
Go to the order VA03 --> Environment --> status overview. The exact status of the header and item can be found here. You may have chances to know why the status is being processed.
Also
Check whether you have checked 'document flow update' field at item level in copy control
Check your settings for completion rule in item category
If it is due to incorrect status message, run report SDVBUK00. That might fix the error. It is recommended to run this first in test mode.
Br, Sats. -
Commit error while transferring Sales order Document to GTS
Hello,
We faced a transfer error while transferring sales order document to GTS.
When I debugged the code function /SAPSLL/API_6800_SYNCH is called. In this function, /SAPSLL/CUHD_MAINTAIN_SINGLE is called with parameter lv_no_commit = 'X'. When I checked why its value is 'X', I saw that if the RFC destination and the current system are the same, then lv_no_commit = 'X', (means if the R3 and the GTS are in the same server, same client.) In debug mode I set the value of lv_no_commit to space, and then it works. It creates the GTS document.
We are also transferring billing documents and it works fine. When I checked what is the difference between transferring sales order document and transferring Billing document, I saw that in the transferring billing document there is another function is called /SAPSLL/API_6800_CSD_SYNCH, and it's calling parameters(in background, as seperate unit) are different from calling parameters of /SAPSLL/API_6800_SYNCH. You can see the difference below.
For sales document transfer :
CALL FUNCTION '/SAPSLL/API_6800_SYNCH'
DESTINATION cs_transfer-rfc_dest
For billing document transfer :
CALL FUNCTION '/SAPSLL/API_6800_CSD_SYNCH'
IN BACKGROUND TASK
DESTINATION cs_transfer-rfc_dest
AS SEPARATE UNIT
So my question is, do you think is it a sap standard program error, or is there any suitable settings in the customizing or SM59 to fix this error?
Thanks in advance
Serhat
Edited by: Serhat Dirihan on Jan 22, 2009 11:46 AMDear Serhat,
I don't think this is an RFC problem or an error. But you wrote:
When I checked why its value is 'X', I saw that if the RFC destination and the current system are the same, then lv_no_commit = 'X', (means if the R3 and the GTS are in the same server, same client.)
It is impossible to have GTS and R/3 on the same system and same client. At least the client should be different. So try to check why the call is performed like that.
Balazs -
Creation of sales order document
How to create a sales order document using VA01?Give me the steps?
Hi,
Please search before posting any thread,
[http://help.sap.com/saphelp_ides/helpdata/en/47/ef8c7c124811d2806f0000e8a495b3/content.htm]
Regards,
Durgesh. -
Sales order document flow error
we do credit memo for one sales order, in the sales order document flow, the credit memo accounting document's status is not cleared. how can we changed it to be cleared?
Hi,
Clearing will be done by finance after the payment is given to the customer. This clearing is done by transaction F-22.
VKM3 is used for releasing document blocked for credit management and not for clearing the accounting document.
Regards
Karan -
Contract not visible in sales order document flow
Hi
I am supposed to create sales order from Contract.The requirement is that only header data should be copied.Thus In Copy Control configuration I did not maintain item level and schedule line level settings for these document types. The issue is that after running the whole cycle from Contract -->SO --> Delivery --> Invoice when I see the Sales Order document flow I can see all other documents but not the contract.Also In Contract document flow I can see only sales order but not delivery and invoice.Please guide.Hello,
Update Document Flow option is available only at Item Level in copy control setting from Contract to Sales Order.
Check out your Copy Control Records at Item Level. There would be "2" mentioned in "pdate document flow" box.
2 means Create doc. flow records except for dely/goods issue/billdoc. Here you to maintain "X" for Complete Document flow.
Hope this helps,
Thanks,
Jignesh Mehta -
Change data in matrix of order document
hi
i developing the add-on for sap 9.0 (c#). And i have a problem.
i need to write in the matrix of order document the warehouse/project/Profit Center code for each item that user add.
maybe someone can give me a example code.
thanks.hi..
yes u can update after adding the
Try
If (pVal.FormMode = "3" And pVal.ItemUID = "1" And pVal.BeforeAction = False And pVal.FormTypeEx = "139" And pVal.ActionSuccess = True And pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED) Then
oForm = SBO_Application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)
------ here u have to add the code what u want to do...ok
Catch ex As Exception
SBO_Application.MessageBox(ex.Message)
End Try
The above code will be fire after adding the sales order success fully..
================================================
This is the sample program i have done after adding successfully...
Try
If (pVal.FormMode = "3" And pVal.ItemUID = "1" And pVal.BeforeAction = False And pVal.FormTypeEx = "139" And pVal.ActionSuccess = True And pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED) Then
oForm = SBO_Application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)
Dim SDocNo As Integer = oForm.Items.Item("8").Specific.value
Dim ORec11 As SAPbobsCOM.Recordset
ORec11 = ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
Rsql = "select max(DocEntry) as DocEntry from ordr"
ORec11.DoQuery(Rsql)
Dim RDocNo As Integer = ORec11.Fields.Item("DocEntry").Value
Dim sitem As String
Dim orec As SAPbobsCOM.Recordset
orec = ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
Dim sql As String
sql = "select * from RDR1"
orec.DoQuery(sql)
Dim i12 As Integer = orec.RecordCount
' SBO_Application.SetStatusBarMessage("Document Added Successfully")
Dim RetVal As Long
Dim ErrCode As Long
Dim ErrMsg As String
'Create the Documents object
Dim OSorder As SAPbobsCOM.Documents
OSorder = ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
If OSorder.GetByKey(RDocNo) Then
Dim ORec1 As SAPbobsCOM.Recordset
ORec1 = ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
Rsql = "select COUNT(*) as total from RDR1 where rdr1.DocEntry =" & RDocNo & ""
ORec1.DoQuery(Rsql)
Dim Total_Lines As Integer = ORec1.Fields.Item("total").Value - 1
For i As Integer = 0 To Total_Lines
Dim ORec2 As SAPbobsCOM.Recordset
ORec2 = ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
Rsql = "select rdr1.ItemCode from RDR1 where rdr1.DocEntry =" & RDocNo & " and rdr1.LineNum=" & i & ""
ORec2.DoQuery(Rsql)
Dim Line_Item As String
Line_Item = ORec2.Fields.Item(0).Value
Dim oRec3 As SAPbobsCOM.Recordset
oRec3 = ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
Rsql = "select oitm.TreeType from OITM where oitm.ItemCode ='" & Line_Item & "'"
oRec3.DoQuery(Rsql)
Dim Typ As String = oRec3.Fields.Item(0).Value
OSorder.Lines.SetCurrentLine(i)
If (Typ = "P" Or Typ = "A" Or Typ = "T" Or Typ = "S") Then
OSorder.Lines.UserFields.Fields.Item("U_BomSno").Value = "P" & p1
p1 = p1 + 1
c1 = 1
Else
OSorder.Lines.UserFields.Fields.Item("U_BomSno").Value = "C" & c1
c1 = c1 + 1
End If
Next
'Add the Invoice
RetVal = OSorder.Update
'Check the result
If RetVal <> 0 Then
ocompany.GetLastError(ErrCode, ErrMsg)
SBO_Application.MessageBox(ErrCode & " " & ErrMsg)
Else
SBO_Application.StatusBar.SetText("Document Updated Successfully....", SAPbouiCOM.BoMessageTime.bmt_Short, SAPbouiCOM.BoStatusBarMessageType.smt_Success)
End If
End If
End If
Catch ex As Exception
SBO_Application.MessageBox(ex.Message)
End Try
End Sub
=====
here what it is having is..
after adding successully the above code will be fire... ok..
immediatly u have to catch the max sales order docentry
in it u have to check it..how many row items(rdr1) are thee..
u use for loop
and update it..
and also change the fields
like as per the ur requirement... ok..
OSorder.Lines.ProjectCode
OSorder.Lines.DiscountPercent
OSorder.Lines.WarehouseCode -
Creating a sales order document
Hi,
When I create a sales order document in one company I want to automatically create a purchase order document (in the same company), and when this one is created I want to create a sales order document (in another company) with the same data as the purchase order. The purchase order is created via DIAPI and it works fine, but the problem is when creating the sales order in the second company. When I add the itemcode to the line , it doesn't write automatically any data of that itemcode, the vatgroup neither. So I have to introduce this field. The thing is that althought introducing the vatgroup manually, it doesn't calculate the vatsum, so in the doctotal isn't added. I've tried writing it manually but the problem is that the vatsum field is readonly.
Why can this be? How can I solve it?
The code is the next (in vb.net):
Dim oPedidoCompra As Documents
Dim oPedidoCompraLineas As Document_Lines
oPedidoCompra = oCompany.GetBusinessObject(BoObjectTypes.oPurchaseOrders)
If Not oPedidoCompra.GetByKey(DocEntry) Then
oApplication.MessageBox(oCompany.GetLastErrorDescription)
End If
oPedidoCompraLineas = oPedidoCompra.Lines
oPedidoVentaB = oCompanyB.GetBusinessObject(BoObjectTypes.oOrders)
oPedidoVentaLineasB = oPedidoVentaB.Lines
oPedidoVentaB.CardCode = ValorSql(s, oCompanyB)
oPedidoVentaB.DocDate = Date.Now.Day.ToString + "/" + Date.Now.Month.ToString + "/" + Date.Now.Year.ToString
oPedidoVentaB.DocDueDate = Date.Now.Day.ToString + "/" + Date.Now.Month.ToString + "/" + Date.Now.Year.ToString
oPedidoVentaB.DocType = BoDocumentTypes.dDocument_Items
oPedidoVentaB.UserFields.Fields.Item("U_NR").Value = oPedidoCompra.DocNum
For i As Integer = 0 To oPedidoCompraLineas.Count - 1
oPedidoCompraLineas.SetCurrentLine(i)
oPedidoLineas.ItemCode = Codigoarticulo
oPedidoLineas.Quantity = Cantidad
oPedidoLineas.Price = Precio
s = "select WhsCode from OWHS where WhsName like '%" & oCompanyB.CompanyDB & "%'"
oPedidoVentaLineasB.WarehouseCode = ValorSql(s, oCompanyB)
oPedidoVentaLineasB.ItemDescription = oPedidoCompraLineas.ItemDescription
oPedidoVentaLineasB.Price = oPedidoCompraLineas.Price
oPedidoVentaLineasB.Currency = oPedidoCompraLineas.Currency
s = "select vatgourpsa from oitm where itemcode = '" & oPedidoVentaLineasB.ItemCode & "'"
oPedidoVentaLineasB.VatGroup = ValorSql(s, oCompanyB)
oPedidoVentaLineasB.LineTotal = oPedidoCompraLineas.LineTotal
s = "select rate from ovtg where code = (select VatGourpSa from OITM where ItemCode = '" & oPedidoVentaLineasB.ItemCode & "')"
oPedidoVentaLineasB.TaxPercentagePerRow = ValorSql(s, oCompanyB)
s = "select suppCatNum from oitm where itemcode = '" & oPedidoVentaLineasB.ItemCode & "'"
oPedidoVentaLineasB.VendorNum = ValorSql(s, oCompanyB)
oPedidoVentaLineasB.PriceAfterVAT = oPedidoCompraLineas.PriceAfterVAT
If i < oPedidoCompraLineas.Count - 1 Then
oPedidoVentaLineasB.Add()
End If
Next
n = oPedidoVentaB.Add
If n <> 0 Then
oApplication.MessageBox(oCompanyB.GetLastErrorDescription)
End If
Thanks in advance,
vanesaHi Vanesa
When makin the sales order you must just select a vat group.It will then calculate it using the settings for that vat group. So, is the vatgroups set up in your other company?? Don't calcualte everyhting like line total. Just do itemcode, price,itemcode, vatgroup, warehouse and then the system will calculate the rest. Dont do PriceAfterVAT and all the extra's.
If you did it through the front end would you enter all that? No, you would just select item,qty,price and wh. The system calculates the rest for you.....same goes for di api. Do this to minimize errors.
Hope this helps -
Authorization based on plant and Purchase order document type
Hi
My client has a requirement wherein a user will have authorization for transactions only in his plant. But only for Purchase order document type UB (Stock Transport Order) the user should be allowed to create for all plants.
In short, if Purchase order document type is UB, should be allowed for all plants
if Purchase order document type is NB, should be allowed to only one particular plant.
My Basis person says that such a restriction is not possible.
Kindly suggest me on how to provide a solution to this.
Thank U.Hi,
This is possible.In this case you need to create two seperate roles.
1)Create purchase order for all plants (This can be used in long text)
2)Create purchase order for <plant no> plants.
For case 1:--
i)Populate field BSART of M_BEST_BSA with UB.
ii)Populate field WERKS of M_BEST_WRK with '*'. SAP reccomends to fill up organizational data through organizational level tab only.So while doing this step you need to put * from organizational level tab only.
For case 2:--
i)Populate field BSART of M_BEST_BSA with NB.
ii)Populate field WERKS of M_BEST_WRK with 'plant no'.
Dont worry about the objects i mentioned those are maintained through SU24 and will be automatically pulled once you insert ME21 transaction code.
Let me know if it helps.
Thanks,
Aveek -
Arching purchase order document
Hello,
We would like to archive the output message and the edition of forms from the purchase order.
I have parameter the object type :
- BUS2012 :it is recommanded but doesn't work well
- and the EKKO : it is obsolete but works well, the problem is that
the archived document is not attached to the purchase order.
I have described all this in the attached docucment.
Why the bus2012 doesn't work?
Thank you for your help,
Fatima.Hi
FO - Frame work order Document type is a standard document type , which is used for Blanket Purchases, Purchase of services.
The FO document type has a Validity Start & End date feature whcih is not in the NB document type(You can get the same in NB also after cusotmization)
Services & limits are also presnet. The FO document type is limited to usage for Iterm categories
Standard
B Limit
D Service
All these can be made for NB also, but only after customizing.
Thanks & Regards
Kishore -
Purchase order Document date in AP Downpayment invoice PLD
Dear All,
Is it possible to capture purchase order Document Date in AP Down payment invoice PLD.My client want like this.I have tried,but i am not able to capture this field in AP Down payment invoice PLD.please give me the solution for this,If it is possible.
Thanks,
Silpa.Nhi silpa,
Create a user defined field in row level of marketing documents.
Apply formatted search using query
Select $[OPOR.TaxDate]
select auto refresh
when changing field Document Date in header level.
On copying purchase order to ap downpayment invoice Document date will copy to it.
U can also bring it to PLD by creating database field with table DPO1,column U_XXX
Hope it will solve problem.
Jeyakanthan -
what are the different status available for an order document.
what is the table field that refers to?if you meant a sales order, there are many like.. (look table VBUK, and VBUP)
Reference document header status
Total reference status of all items
Confirmation status
Delivery status
Overall delivery status for all items
Total goods movement status
Billing status
Billing status (order-related billing document)
Posting Status of Billing Document
Overall rejection status of all document items
Overall processing status of document
Overall picking / putaway status
Overall status of warehouse management activities
Total incompletion status of all items in general
Total incompletion status of all items: Delivery
Total incompletion status of all items: Billing
Maybe you are looking for
-
Why do I have to declare my int outside the function?
`Hi! I've writen the very simple class get_results with one methode test: public class Get_results { protected int nb=0; public int test(int numb) { //int nb=0; nb=numb; return nb; }//End test }//End classthis
-
Hello, The current server time for global ASCP implementation is US-eastern time. We would like to change it to India time (IST), so the plans can be launched earlier and as the next day starts earlier. Any ideas are appreciated. Regards, Sash
-
SMW01 - A key was used twice for multirow set type COMM_PR_CATEGORY
Hi experts! I'm facing with next problem: - after we delete product by program COM_PRODUCT_DELETE_SINGLE. - now we using r3ar2-r3ar4 for replicate existing materials from r/3 and receive followng error in bdoc's (smw01) "A key was used twice for mult
-
I want to know about the new MOZILLA OS ?
i want to install new mozilla OS in my mobile. So, i want the whole deatail about the OS.
-
My Lightroom 5,2 don´t import any files (jpg, tif, raw, orf) when I update it version 5.0 to 5.2 Why? Where is problem? (Mac Book Pro. 10.8.5) LR lopetti kuvien importoinnin kaikista lähteistä ja formaateista 5.2 päivityksen jälkeen. Missä vika?