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.
Similar Messages
-
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 -
PO is incorrectly showing in other sale order document flow
Hi expwrs please help me on this issue. One PO is incorrectly showing in other sale order document flow and there is no relationship between PO and sale order. Why it is showing incorrectly.
Hi,
First you check the SO created with reference and then check teh PO type (based on item category).
I think with of any reference the PO will never show on doc flow, -
Sales order document flow and delivery document flow are not in sunc
Hi ,
whan I look at the Sales order document flow there are lot of line items rejected with specific reason , but for the same line items already delivery and PGI in place . When we try to do the invoice it shows error , it can't be invoiced because line items in sales order are rejected .
Ideally in business when delivery and PGi created for the sales order , it should not allow the line item to reject . system should look at follow on documents in place . Reverse process should follow .
Pls provide solution to stop item rejection when follow on delivery document in place .
thanks and regards.
Sunil TripathyHi,
Goto the T.Code "VOV7".
Select your item category.
Details.
Maintain the Completion rule as "A(Item is completed with the first reference)".
Save.
If you do this after the follow on document is created,the item is completed and you cannot reject the item.
For your second question,
Goto the T.Code "VTLA".
Select your valid combination.
Click on item.Select your item category.Details.
There is a check box called as "Update document flow".Tick that one.
Save.
Regards,
Krishna. -
Invoice/billing document Number not appearing on sales order document flow
Dear all,
After saving the sales order invoice when i check in va02 sales order document flow invoice number is not generatingReally something is wrong in your configuration. When your delivery status shows Being Processed, I could see subsequent two documents, viz.Confirmation of Service and GD doc reference as complete.
Can you let me know how many line items that delivery contains? The reason for this query is normally, for stock item, we see Material Document reference and for non-stock item, we see Confirmation of service. But in your case, I could see both. From your VBFA table screen shot, I could see two different material document references.
G. Lakshmipathi -
Issue in Updating Sales Order Document flow
Hi Experts,
We have developed a Z Program for posting Material document for the deliveries of Sales Order. This program runs in Batch job everyday.
Here we are getting an issue like in some of the cases it's not updating the Document flow of the Sales order though its Posting Material Document for the Delivery of Sales Order. If there will be a bulk amount of data then its creating issue in updating the Document flow ( Either the 1st set of record or last set of records).
We are using BAPI 'BAPI_GOODSMVT_CREATE' for posting Material Document for the delivery and FM 'RV_DOCUMENT_FLOW_UPDATE_U' for updating the document flow.
It seems it giving issue with bulk amount of data. Will it a time issue?
If any one have faced such issue, please throw some pointers.
Thanks in advance!
Regards,
Priyabrata.It could be a timing issue. After you create the material document, try to enque the material document and move to the next step only if the enque is successful. Keep trying to enque the material document until u are successful. But make sure you exit the loop after certain number of tries to avoid endless loops. Here is a sample code:
DO 20TIMES.
CALL FUNCTION ;'ENQUEUE_EMMKPF'
EXPORTING
MODE_MKPF = co_e
MBLNR = xxxxx
MJAHR = xxxx
EXCEPTIONS
foreign_lock = 1
system_failure = 2
OTHERS = 3.
IF sy-subrc EQ 0.
dequeue/unlock the notification again
CALL FUNCTION DEQUEUE_EMMKPF
EXPORTING
MODE_MKPF= co_e
MBLNR = xxxxx
MJAHR = xxxx
EXIT.
ELSE.
in case of no success, wait 1 seconds, before try again
CALL FUNCTION 'RZL_SLEEP'
EXPORTING
seconds = 1
EXCEPTIONS
argument_error = 1
OTHERS = 2. "#EC *
ENDIF.
ENDDO.
Regards,
Jitendar -
Sales Order document Flow in Reports
Hi All,
I am develoing a Custom Sales Order report in ALV. Here the requirement is to include the Document Flow for the line item. This should be similar to the Icon in VA03 transaction. When I click this icon in my report, it should display the document flow (same as that of available in VA03 transaction). Can you suggest how can I get Document Flow icon in my Report?
Thanks in Advance.
Regards Munna.Just to save time for others who have the same requirement , use below, fill the structure with sales order and other details. Leave the posnr blank if you need document flow , else fill the posnr if it is item level.
CALL DIALOG 'RV_DOCUMENT_FLOW'
EXPORTING
VBCO6 FROM VBCO6
MAKT-MAKTX FROM SPACE
KNA1-KUNNR FROM kunnr2000
KNA1-NAME1 FROM name
MAKT-MATNR FROM SPACE
IVKORG FROM VKORG
IVTWEG FROM VTWEG.
No custom screen required, no tree control required, no coding required except that you need to call this at right place in your module pool/ report etc. SAP internally uses this for display in SAPMV45A.
Hope it helps.
Regards/Ajay -
Hi,
I have a requirement to create an application which shows the data as seen on the "Document Flow" screen of a Sales Order.
I must be able to enter the Sales Order Number and the application must display the status of the order, just like in document flow.
Can someone let me know how to go about this?
Any bapis, relevant tables, etc ?
Thanks and Regards,
ReenaHi Reena,
I would try to call the transaction BAPI (release 4.6C) in sap backend and go to the sales order section and check the input and output parameters of standard SAP BAPIs you need (look for example to BAPI_SALESORDER_GETLIST).
In my case, we have developed our own BAPIs based on standard BAPIs from SAP.
Hope that helps!
Regards,
Frank
By the way, if you are in higher releases like mySAP ERP 2005 there are much more interfaces for Sales Order than in release 4.6c. Don't know your release so I think it's perhaps important to know that for you... -
Arbitrary Number Generated before Sales Order Document number is Generated
I want to know which is the arbitrary number generated before the sales Order Document number is created. In which table the arbitrary number is stored?
The Exit which triggers the arbitrary number in the transaction VA01?Hi
You get the Arbitrary number throug the FM NUMBER_GET_NEXT.
interne Nummernvergabe
data: da_rc like inri-returncode.
call function 'NUMBER_GET_NEXT'
exporting
nr_range_nr = da_numki
object = 'RV_BELEG'
importing
returncode = da_rc
number = vbak-vbeln.
And regarding userexit, there is
perform userexit_number_range using da_numki statement in include MV45AF0B_BELEG_SICHERN.
Regards
Raj -
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. -
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 -
Sales Orders not flowing in COPA if Credit block is set
We are implementing COPA for reporting in BW. The Billing information is flowing well in COPA. However, we have one issue with Sales Orders. Here is the scenario:
When we create a new Sales Order without any credit blocks, the information is flowing to COPA Tables in R/3. However, if the Sales Order is blocked for Credit reasons, then the Sales Order information is not available in COPA. The moment the Credit block is released we are able to see the info in COPA Tables.
The requirement is to have the Sales Order information availabe in COPA no matter what. Is there a way via which we can make the Sales Order info flow in COPA the moment it is created, no matter it has any blocks.
Any info on this is highly appriciated.
Thanks
SriniHi,
I think it is a standard behaviour of Co-PA.Refer the note: 139725
With rgds,
Anil Kumar Sharma .P -
Change the Payment Method at header level in Sales order document.
Hi Experts,
I have a doubt and a problem; I want to change the Payment Method at the header level however that is not possible never at header level is the same even either I chose other when I was creating the sales order document or I tried to change after that. The system allows changing the Payment Method but when I display the document after that the change is not done always is the same payment method. Maybe it is defined at customer or sales organization level.
At item level it is possible change the payment method with any problem.
Thank you and best regards.Dear Alberto
Payment Terms can be changed both at header level and at item level in sale order.
thanks
G. Lakshmipathi
Maybe you are looking for
-
Can't transfer albums (w/ captions) from iPhoto 6.0.6 to 9.2
I've recently upgraded to a new computer (from mac os x 10.4.11 to 10.7.2) and am trying to transfer my photos, albums and captions/descriptions with each photo into my new iphoto 9.2, but after 2 tries, i get the same result, only the pictures (and
-
Xcel documents that onced opened will not and i get an error message
Xcel documents that once opened will not and i get an error message "the file may be read only or you may be trying to access a read only application. Or, the server the document is stored on may not be responding"
-
Hi, I have a problem in getting the values from simple bean to servlet. The project has one html form. When the user click on the submit button one jsp will be invoked which calls a bean program to validate the user data for required fields. Based on
-
I need help
-
Aaa authentication enable command
Hi, If I configure following command, how can I enter enable user name and password to get into enable prompt? Can someone explain to me how to enable tacacs autherntication for enable access? "aaa authentication enable default group tacacs+ enable",