Can we add Delivery texts/Sales order text in VL10 report
Hi,
Is it possible to have delivery texts/sales order texts on VL10 report.
Please let me know if there is a way to do it.I've looked at the note198137.
Thanks in advance.
Regards,
Rekha
Yes I am aware of the fact that text is accessed thru read_text FM .....
My question is what parameters/ field values can we plug in STXH/STXL to get info that a particular "text" entry exists in this table. I have a sales order which has few texts, I want to know if they have an entry in STXH and STXL about their text i.d.s....
Let me put it this way - What ever entry exists in STXH for this sales Order I want to see that. What parameters of this sales order do I pass in this Table STXH to see that entry ??
I hope this is clear now
Similar Messages
-
Error: Can't Add a New Sales Order: -10 Exchange rate not updated,
Hi,
I'm trying to add several Sales Orders contained in a XML document, whose root element corresponds to the Sales Person created that XML. Anyway, after I fill a Sales Order Document Object with the info in the XML and try to add it the following error appears: "Exchange rate not updated [RDR1.U_Desc4][line: 2] , 'USD'" Which is strange because this company handles most of its transactions in MXP Currency. I will post the piece of Code that fills the object hoping it helps:
For Each xndSalesOrder In xmlSalesOrder.Item("SalesMan").ChildNodes
oSalesOrder = Me.Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
oSalesOrder.DocType = SAPbobsCOM.BoDocumentTypes.dDocument_Items
With xndSalesOrder.Item("HEADER")
oSalesOrder.CardCode = .Item("Deudor").InnerText
oSalesOrder.DocDate = DateTime.Parse(.Item("FechaCont").InnerText, Nothing)
oSalesOrder.DocDueDate = DateTime.Parse(.Item("FechaEnt").InnerText, Nothing)
oSalesOrder.Comments = .Item("Observaciones").InnerText
oSalesOrder.DocRate = 11
oSalesOrder.DocCurrency = "MXP"
'oSalesOrder.ContactPersonCode = .Item("Contacto").InnerText
'User Fields
oSalesOrder.UserFields.Fields.Item("U_RefOV").Value = _
xndSalesOrder.Attributes.Item(0).InnerText
oSalesOrder.UserFields.Fields.Item("U_Referencia2").Value = .Item("Referencia").InnerText
oSalesOrder.UserFields.Fields.Item("U_FechaReferencia").Value = _
DateTime.Parse(.Item("FechaReferencia").InnerText, Nothing)
End With
With xndSalesOrder.Item("LINEAS")
For Each xndLinea In .ChildNodes
If intContLineas >= 1 Then oSalesOrder.Lines.Add()
End If
oSalesOrder.Lines.ItemCode = xndLinea.Item("Articulo").InnerText
oSalesOrder.Lines.Quantity = CDbl(xndLinea.Item("Cantidad").InnerText)
oSalesOrder.Lines.Price = CDbl(xndLinea.Item("Precio").InnerText)
oSalesOrder.Lines.TaxCode = xndLinea.Item("Impuesto").InnerText
oSalesOrder.Lines.DiscountPercent = CDbl(xndLinea.Item("DescuentoTotal").InnerText)
oSalesOrder.Lines.SalesPersonCode = xmlSalesOrder.Item("SalesMan").Attributes.Item(0).InnerText
oSalesOrder.Lines.Currency = "MXP"
'User Fields
oSalesOrder.Lines.UserFields.Fields.Item("U_Promocion").Value = _
xndLinea.Item("AplicaProm").InnerText 'Valores posibles: Si, No
oSalesOrder.Lines.UserFields.Fields.Item("U_Desc1").Value = _
CInt(xndLinea.Item("Descuento1").InnerText)
oSalesOrder.Lines.UserFields.Fields.Item("U_Desc2").Value = _
CInt(xndLinea.Item("Descuento2").InnerText)
oSalesOrder.Lines.UserFields.Fields.Item("U_Desc3").Value = _
CInt(xndLinea.Item("Descuento3").InnerText)
'If xndLinea.Item("AplicaProm").InnerText = "Si" Then
oSalesOrder.Lines.UserFields.Fields.Item("U_Desc4").Value = _
CInt(xndLinea.Item("Descuento4").InnerText) 'This is the UDF that's giving me problems!!!
'End If
intContLineas += 1
Next
If oSalesOrder.Add() <> 0 Then
Me.Company.GetLastError(intErrorAdd, sErrMsgAdd)
If (0 <> intErrorAdd) Then
FillLog("Sales Order Error: " & CStr(intErrorAdd) & "," & sErrMsgAdd)
End If
xmlLogSalesOrder.Item
End If
End With
Next
If you look at the code I've even tried the solution of hardcoding the DocRate and the Currency as seen in a similar post about the DTW.
Sorry if code is in Spanglish, its quite late around here. I hope you can help me because it's kind of an urgent matter and I can't seem to find a solution for it.
Other useful data: SAP BO 2005 Patch 4.
Thanks in advance...
Alfredo GargariHi Alfredo,
Have you tried to add the same salesorder by hand, I think you wil first get a form with exchange rates.
I think you should add a check to your program to check for an update currency rate (the sbobob function GetCurrencyRate does this for you).
GetCurrencyRate MethodDescription
Returns a Recordset object that contains the currency rate for a specified date and currency code.
See Currency Bobs sample.
Syntax
Public Function GetCurrencyRate( _
ByVal Currency As String, _
ByVal Date As Date _
) As Recordset
Parameters
Currency
Specifies the currency code.
Date
Specifies the date for the currency exchange rate.
Return Type
A Recordset object that contains one field named CurrencyRate that holds the rate value.
SAP Business One returns 0 if the system cannot find the exchange rate.
Regards,
Ad -
Want to add number of sales orders in a COPA report or form
Hi All
I created a COPA report that has two columns: sales from sales orders & sales from billing documents. Now I want to add columns which shows number of sales orders that make up sales. Can any one explain me , how can we acheive this With a user exit, .
thanks in advance for looking into thisHi Steve,
Walter is very right in saying so.
In SD module itself you can get some reports like this.
Even in COPA you will get these kind reports. But if your company is a big company and have lots of sales orders,
Then you will have serious problems with System performance issue.
When you define that sale order is a segment level character, then system will ear up the resources and take very long time in executing the reports.
But for some reason this requirement is a must case, then it is very simple
you define Sale order in either form or report,
then give the variable parameters like Co.Code, Period etc. you will get all the sales orders details for the selected period
But think about not going for it before you make up your mind
Best Regards
Surya -
Hi,
How can i retrieve the sale order text?? Any FM / BAPI available?? OR which table should i use?? I want to display the fields in the delivery sap script.
Regards,
KitHello Kit,
There is a function Module called READ_TEXT to get the sales order text.
you can see the example program in the folowing thread given by Anji Reddy Vangala.
https://forums.sdn.sap.com/click.jspa?searchID=6591847&messageID=3274740
He wrote like:
You have to fetch it useing the fun module READ_TEXT
double click on that text in SO, it goes to text editor,
from the menu GOTO -> header
displays the OBJECT, ID< OBJECT NAME and the Language
pass them to the fun module and fetch it
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = TEXT_ID
LANGUAGE = SY-LANGU
NAME = Same as TDNAME in Save_text
OBJECT = TEXT_OBJECT
TABLES
LINES = LI_LINE
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8.
Genrally text are stored in STXH tables.
Regards
Sasidhar Reddy Matli.
Message was edited by:
Sasidhar Reddy Matli -
How 2 read all the line of a sales order text ID plz
Dear all
I have the following to read sales order text of single line of limited char(40)
TIDNO = '0003'.
CONCATENATE SSORD
LIPS-POSNR
INTO TNAME.
TOBJT = 'VBBP'.
PERFORM FINDTEXT.
LOOP AT MSLINES.
WA_ITEM-PACKTYP = mslines-tdline(40).
EXIT.
ENDLOOP.
How do i read mutiple lines plz tell me ?
Thnx
Moni
Message was edited by: md monirujjamanHi Md,
sorry I don't understand your question, can you explain more ?
Regards
Frédéric -
Creating Sales order texts while using BDC session method is not working
Hi All,
I have an existing program which creates sales order using BDC session method.( Actual program uses BAPI to create sales order and in case if any error occurs during creation of sales order BDC session is generated so that user can process it later and i am facing issues in this part of code where it uses BDC)
I wanted to modify this BDC sesion to update the sales order text also. I tried recording VA01 for creationg sales order text unfortunatly it is not capturing the data i am entering in the text fields.
Please suggest if there is any way to create sales order using BDC.
Regards
SheebaHi Madhu,
'=TP_CREATE' is the OK code i am getting for creating TEXTS. But the text entered are not captured in BDC.
Part of BDC program generated for cretaing sales order texts.
perform bdc_dynpro using 'SAPMV45A' '4003'.
perform bdc_field using 'BDC_OKCODE'
'=%_GC 128 22'.
perform bdc_field using 'LV70T-SPRAS'
'EN'.
perform bdc_dynpro using 'SAPMV45A' '4003'.
perform bdc_field using 'BDC_OKCODE'
'=TP_CREATE'.
perform bdc_field using 'LV70T-SPRAS'
'EN'.
perform bdc_dynpro using 'SAPMV45A' '4003'.
perform bdc_field using 'BDC_OKCODE'
'=%_GC 128 22'.
perform bdc_field using 'LV70T-SPRAS'
'EN'.
perform bdc_dynpro using 'SAPMV45A' '4003'.
perform bdc_field using 'BDC_OKCODE'
'=TP_CREATE'.
perform bdc_field using 'LV70T-SPRAS'
'EN'.
perform bdc_dynpro using 'SAPMV45A' '4003'.
perform bdc_field using 'BDC_OKCODE'
'/EBACK'.
perform bdc_field using 'LV70T-SPRAS'
'EN'.
perform bdc_dynpro using 'SAPMV45A' '4001'.
perform bdc_field using 'BDC_OKCODE'
'=SICH'.
Regards,
Sheeba -
Mass Update for Purchase Order & Sales Order Text
Hi,
Can be change the Purchase Order & Sales Order Text using MASS.
Regards,Hi,
I am also surprised by the behaviour of the BDC.
This is first time when I am facing the problem since I have been using SAP.
I am able to update the PO Text manually , but BDC is giving the problem for only few Materials.
It does sound stupid, but this is the fact here with me.
Regards,
Edited by: PK on Nov 5, 2009 12:58 PM -
Sales Order Text not getting copied after configed with tcode VOTNX
Hi All ,
We have configed one of sales order texts to be copied from customer master text at sales org level .
It works fine for some sales org , But for some it does not and says "Text could not be structured " in log .
I tried to debug while creating sales order , But unable to reach the point where the texts are copied .
Any help would be appriciated .
Thanks
VinayWanted to add more thing ,
The log Says that the error is recogized by the sapscript FM INIT_TEXT.
Thanks
Vinay kolla -
Restrict Sales order text based on Sales group
Hi,
My requirement is currently 12 different text ID's showing in my sales order text.But I want to restrict certain sales order text ID's based on sales group entered in the sales order header. Is there is any user exit or routines available to restrict sales order text ID's.
Regards,
PalaniHi,
This is actually a configuration item. Transaction VOTXN (VOTX in 4.6C) can be used to configure the text types, text procedures, and access sequences for sales order texts as well as other types of texts. Part of the configuration procedure allows for some ABAP control over the copying requirements.
This is from the online help for data element COPNR (on the VOTXN screen SAPMV80T 800, field TTXZI-COPNR) :
You can create your own routines for text determination. For example, if you want to send different messages to particular groups of customers, you can create routines that automatically assign different messages to different groups (e.g. wholesalers, retailers).
Note
The fields available for determining texts are defined in structure TVCOM, which can be found in the routine under FTVCOM. Generally, however, the fields filled in the structure are only those which are used or recognised for text determination by the caller. Other fields can, for example, be filled during sales document processing via user exits USEREXIT_MOVE_FIELD_TO_TVCOM_H and USEREXIT_MOVE_FIELD_TO_TVCOM_I. The user exits are described in the IMG under Sales and Distribution -> System Modification -> User exits.
I'm not sure if filtering by sales group is possible, but I don't see why not.
Regards,
Jamie -
Sales order Text need to copy in to PR or PO
Hi All
I am trying to copy Sales orde header text and item text in to Purshase Requisition or Purchase order. I have configured settings in VOTXN. But still i am unable to copy sale order text in to PR or PO. plz help on these. (this is Third party scenario i am copying text.)Hi,
You can use the functuion READ_TEXT to read the SO Text.
Then refer to function SAVE_TEXT, you need to fill the structure THEAD with all PO Values and the fill lines directly.
The text will be updated. -
Material master -sales text / purchase order text
Dear MM experts,
we are maintaining materials sales text & purchase order text while creating material master.
sales text is required for our customers quotations & purchase order text is required for our Vendors Purchase orders.
I have an issue, where sales text in material master is limited to 6.5 inch length, but need 7.5 inch length, where I can set this page length. Also i wanted to have same font characteristics to be changed from exiting font size and font style to required, how to do this?
pl help & how the above can be changed from default settings to flexible settings with regard to material master.
thanks in advance
regards
Sriharifrom http://help.sap.com/saphelp_erp2005/helpdata/en/f4/b49e8c453611d189710000e8322d00/content.htm
Text Entry Area
Type your text into the text entry lines. You can type continuously: SAPscript fills your text using a line length of 72 characters as soon as you choose ENTER or a function.
To enter text in the line editor continuously, the checkbox Automatic tab at field end must be marked. For more information on setting automatic tabbing, see Setting Automatic Tabbing and Entering Text.
Note that the line editoru2019s text filling has no influence on the final appearance of the text. Your text is formatted no earlier than at the time it is displayed or printed. For more information, see Previewing and Printing SAPscript Documents. -
Sales order texts - only printed correctly on repeat print out
Hi all,
We have an issue, where on the first printout through VF31 of a sundry billing document, the material sales text maintained in French is not printed, even though the language in the customer's master data is French, the material sales text in the sales document is maintained in French and in VOTXN the access sequences are maintained for all languages.
I first checked this post Sales order text determination which unfortunately didn't resolve the issue (although a very interesting discussion).
The strange part is, when we do a repeat print out through VF31 selecting procession mode 2 (Repeat Processing) the document is printed WITH the material sales texts correctly. For me even stranger is that the repeat printout uses the same output type as the initial printout. I am now officially lost. Would any of you have any idea, where the issue lies here?
I would try to change some setup in VOTXN, but knowing that the repeat print out does print the texts correctly, let's me think there might be a different issue.
Any idea are very welcome.
Thank you in advance!
Alexis
Edit: when we copy the text and make it "Dutch", for some reason it's printed out correctly on the first printout. Although I cannot find any restriction, where Dutch is specified specifically, nor do I see where French is excepted specifically.Guys --
Thanks for the help!
Suda -- will try out your suggestion. Gordon - in answer to your question, we actually go from Sales Order to A/R Invoice (Draft) to A/R Invoice.
We use the A/R Invoice (Draft) as our packing slip and skip Delivery module altogether.
I realize this is a bit unconventional but seems to work best for our business practice.
Thanks!
Mike -
How can I add multiple contacts to a text message on a droid bionic
How can I add multiple contacts to a text message on a droid bionic?
DH
I was thinking that if he wanted to create multiple keyframes he might be creating a repeated effect rather than manipulating values that are shot specific - like creating an oscillation or some repeated step effect. If he was creating keyframes specific to his content he'd probably not look for a way to do it "quickly" since each keyframe would require manipulation of specific values.
So my thought was to generate the series of keyframes on a dummy clip created for this specific purpose, copy the clip, paste attributes (maybe turn off "Scale Attribute Times") and add bunches of keyframes at once.
Still, you're right, it's tough to divine the intent of someone very new to FCP. His question could be based on a misunderstanding about the use of keyframes.
P -
How can I add a new message(custom text message) to the holiday approval em
How can I add a new message(custom text message) to the holiday approval email-notification sent to the manager?
TIAThe answer is 'not very easily', unless the information you want to display is the employee's leave balances. In 12.1.3 Oracle have delivered functionality that allows you to include the leave balances in the approval notifications out-the-box, ie, without customization.
For any other information you're probably going to have to customize the standard delivered HRSSA workflow. Within this workflow, the Leave of Absence functionality uses the Notify Approver (Embedded) (HR_APPROVER_NTF) notification. The body of this notification is set to the Notify Approver (Embedded) (HR_NTF_EMBEDDED_REGION) attribute. This in turn defaults to:
JSP:/OA_HTML/OA.jsp?OAFunc=-&HR_EMBEDDED_REGION-&NtfId=-&#NID-
So essentially you can change the HR_APPROVER_NTF notification. The problem with changing this notification is that it's generic - it's used for all SSHR functions and not just Leave of Absence. That means you have to make other, more substantial, customizations to the workflow to ensure the changes you make only applies to LOA.
The other option is to personalize the review page (ie, the region referenced in &HR_EMBEDDED_REGION) to include whatever messages you want. But that means they'll appear on the Review page and all LOA approval notifications and that might not be what you want.
It's usually better to live with what Oracle deliver and find an alternative solution! What's the content of the message you want to include? -
How to get Sales Text & Purchase Order Text in MM based on (MSEG-MATNR)
Hi
Am working on a Report based on Purchase order & Sales, Could any body tell How to get Sales Text & Purchase Order Text in MM based on (MSEG-MATNR).
the Field i need to get are : SALES TEXT, PO TEXT.
Sunil.Hi Sunil,
For getting Material PO text and sales text, you have to rely on Purchase Order and Sales Order. And use READ_TEXT function module to fetch the text.
Below are examples of PO text and Sales Text:
1. PO text:
CALL FUNCTION 'READ_TEXT'
EXPORT
ID = 'F03'
LANGUAGE = SY-LANGU
NAME = '450000011200010' conacte PO number and line item number
OBJECT = 'EKPO'
TABLES
LINES = INT_TLINES "you will get text in this table
2. Sales order text:
CALL FUNCTION 'READ_TEXT'
EXPORT
ID = '0001'
LANGUAGE = SY-LANGU
NAME = '0000000036000010' conacte SO number and line item number
OBJECT = 'VBBP'
TABLES
LINES = INT_TLINES "you will get text in this table
ref: STXH and STXL tables.
Hope it will solve the problem.
Regards
Krishnendu
Maybe you are looking for
-
How do I get iWeb to publish just the files to my root directory
Hey all, when I publish my site to my hosting server via iWeb it's just copying the entire folder into my root directory instead of copying the files to the root directory. This is causing my site url to look like this: www.mysite.com/myfolder/ how d
-
I just renew/extended my phone number online, and is NOT working. This never happend before, does any one can help me in what to do next? Thank you.
-
HT1766 I have a problem with my iPhone 4S
I have a problem with my iPhone 4S. But I lost my purchase receipt/invoice. I still have original box with serial numbers etc. The phone is 18 months old. Can I get this fixed with Apple Gener Bar? Do I need the receipt?
-
French accents lost in pdf file
Graphic files created in Illustrator CS4, saved as pdf files, have been dropping the French accents when converted. Any solutions anyone, other than outlining fonts before converting?
-
Microsoft Messenger will not sign in.
Microsoft Messenger leaves me the following message when trying to sign in... "Microsoft Messenger has encountered a problem and needs to close. We are sorry for the inconvenience." Then it asks me to report the problem to Microsoft, which i do for