System should Not copy sales order header text
Hi all,
My requirement is system should not copy sales order header text while copying sales order to sales order with same order type.
for example i have order type OR - standard type with 500 line items with reference to that same sales order we are creating another order with same line 500 line items,but requirement is system should not copy source document header text in to target document header text,
Do you have any standard functionality to avoid this or we need to go exit
Regards
Nishad
Hi,
You can do it via standard SAP configuration.
Transaction VOTXN.
In the access sequence you have the corresponding Text ID added with "Text Object" VBBK. That's the reason why you are copying text.
Change the entry.
Check below link on how exactly to do that. This doc says about how to copy customer text to the sales order. But procedure is same for you as well. Just the object is different.
[Text type config|http://learnsaptips.blogspot.com/2010/09/text-type-configuration-in-sap.html]
Hope it helps!
Best regards,
Rahal
Similar Messages
-
Routine for copying sales order header text to invoice
Hi friends,
My requirement is to copy header texts from sales orders when creating an invoice (VF01). In T-Code VOTX the system suggests two routines :
1 - DATEN_KOPIEREN_01 include LV45TE01
2 - DATEN_KOPIEREN_02 include LV45TE02
Does anyone already use one of these routines? When invoicing more than one sales order does the routines work fot this case ?
Best Regards.Hello.
.....goto transaction VOFM
Menue: Copying requirements -> Billing documents
...or maybe: Data transfer -> Billing documents
Put a break-point and the header routine......for long-text you should use transaction VOTXN
Edited by: Erik Hoven on Feb 24, 2009 12:28 PM -
Third Party : Sales order Header text should copy to PO Header text
Hi,
I need to copy sales order header text to PO Header text
in the third Party sales order scenario.
Can anybody suggest how to do it.
Thanx in advance.
Regards,
RRS.I doupt that this is possible without using a user exit.
The 3rd sales order will create a PR, the PR has no header text (just a header note = internal use), the PO is created in reference to the PR. And it is not possible to copy PR header text to PO header text. -
Bdc for sales order header text
we need to write a bdc program for va01. In that we need to
upload header text also .
So please kindly tell me how to upload flat file to va01 along with
header text.And how we need to declare the flat file.
if it is not possible through bdc then tell me how to do with bapi.
thank you so much for all the repliesHi,
Using BDC, You can not uplaod sales order header text. You can upload the header text using FM
CREATE_TEXT.
Here giving sample code. This code is written for Material master text. You change this code according to your requirement
REPORT ZMM_INSERT_LONGTEXT.
*Internal table to hold long text...
DATA:
BEGIN OF T_UPLOAD OCCURS 0,
MATNR LIKE MARA-MATNR, " Material number
ID(2) TYPE C, " Identification
LTEXT LIKE TLINE-TDLINE, " Long text
END OF T_UPLOAD,*Internal table to hold long text....
T_LINE LIKE TLINE OCCURS 0 WITH HEADER LINE.DATA:
W_GRUN LIKE THEAD-TDID , " To hold id
W_OBJECT LIKE THEAD-TDOBJECT VALUE 'MATERIAL',
" To hold object id
LV_VALUE(70). " Value to hold material number
START-OF-SELECTION.* This perform is used to upload the file
PERFORM UPLOAD_FILE.* This perform is used to place the text in MM02 transaction
PERFORM PLACE_LONGTEXT.
*& Form create_text
* This routine used to create text in MM02 transaction
* Passed the parameter w_grun to P_C_GRUN
* and lv_value to P_LV_VALUE
FORM CREATE_TEXT USING P_C_GRUN
P_LV_VALUE. DATA:
L_ID LIKE THEAD-TDID,
L_NAME(70). MOVE : P_C_GRUN TO L_ID,
P_LV_VALUE TO L_NAME. CALL FUNCTION 'CREATE_TEXT'
EXPORTING
FID = L_ID
FLANGUAGE = SY-LANGU
FNAME = L_NAME
FOBJECT = W_OBJECT
* SAVE_DIRECT = 'X'
* FFORMAT = '*'
TABLES
FLINES = T_LINE
EXCEPTIONS
NO_INIT = 1
NO_SAVE = 2
OTHERS = 3
IF SY-SUBRC <> 0.
CLEAR LV_VALUE.
ELSE.
DELETE T_LINE INDEX 1.
ENDIF.ENDFORM. " create_text*&---------------------------------------------------------------------*
*& Form upload_file
* This routine is used to upload file
* No interface parameters are passed
FORM UPLOAD_FILE . CALL FUNCTION 'UPLOAD'
EXPORTING
* CODEPAGE = ' '
* FILENAME = ' '
FILETYPE = 'DAT'
* ITEM = ' '
* FILEMASK_MASK = ' '
* FILEMASK_TEXT = ' '
* FILETYPE_NO_CHANGE = ' '
* FILEMASK_ALL = ' '
* FILETYPE_NO_SHOW = ' '
* LINE_EXIT = ' '
* USER_FORM = ' '
* USER_PROG = ' '
* SILENT = 'S'
* IMPORTING
* FILESIZE =
* CANCEL =
* ACT_FILENAME =
* ACT_FILETYPE =
TABLES
DATA_TAB = T_UPLOAD
EXCEPTIONS
CONVERSION_ERROR = 1
INVALID_TABLE_WIDTH = 2
INVALID_TYPE = 3
NO_BATCH = 4
UNKNOWN_ERROR = 5
GUI_REFUSE_FILETRANSFER = 6
OTHERS = 7
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. SORT T_UPLOAD BY MATNR ID.
ENDFORM. " upload_file
*& Form place_longtext
* This routine places the text in MM02 transaction
* No interface parameters are passed
FORM PLACE_LONGTEXT . LOOP AT T_UPLOAD. T_LINE-TDFORMAT = 'ST'.
T_LINE-TDLINE = T_UPLOAD-LTEXT.
APPEND T_LINE. IF T_UPLOAD-ID EQ 'BT'.
MOVE T_UPLOAD-MATNR TO LV_VALUE.
MOVE 'GRUN' TO W_GRUN. "Test ID for Basic data text
PERFORM CREATE_TEXT USING W_GRUN LV_VALUE.
ENDIF. IF T_UPLOAD-ID EQ 'IT'.
CLEAR W_GRUN.
MOVE T_UPLOAD-MATNR TO LV_VALUE.
MOVE 'PRUE' TO W_GRUN. "Test ID for Inspection text
PERFORM CREATE_TEXT USING W_GRUN LV_VALUE.
ENDIF. IF T_UPLOAD-ID EQ 'IC'.
CLEAR W_GRUN.
MOVE : T_UPLOAD-MATNR TO LV_VALUE,
'IVER' TO W_GRUN.
"Test ID for Internal comment
PERFORM CREATE_TEXT USING W_GRUN LV_VALUE.
ENDIF.
ENDLOOP.ENDFORM. " place_longtext -
Error with sales order header text
Hi All,
I am getting 3 texts from 850 IDOC on to Sales order header texts. I created 3 new textid's for them. This is working properly in Dev system and I just moved them to Test system. I created a sales order by using the IDOC. I tried to go to order header texts and it is giving me the error saying 'Error in opening text file'.
"The SD_WORD_PROCESSING function module is for creating the "Maintain Text" dialog box. You have called up the function module with the wrong values so it is not possible to edit text properly.
Check the parameters for the SD_WORD_PROCESSING_PUT function module."
Please help me to solve this issue.
Thanks,
Veni.Hi Naren,
I was just checking my Transport organizer and found that there is one customizing request which is still in modifiable mode, not released yet. It is related to Access Sequence for text id's. I forgot to move this, is this the one causing the error.
Thanks,
Veni.
5 View Cluster Maintenance: Data
5 VC_SHPH
5 TTXERN
400VBBK BZ20021009
400VBBK BZ20022010
400VBBK BZ20023011
5 IMG Activity Define Text Types
5 View Cluster Maintenance: Data
5 VC_ORDH
5 TTXERN
400VBBK AZ10021009
400VBBK AZ10022010
400VBBK AZ10023011
4 TTXZ
4 TTXZT -
Hi All,
I am getting 3 texts from 850 IDOC on to Sales order header texts. I created 3 new textid's for them. This is working properly in Dev system and I moved them to Test system.
In Test system I checked the header texts, only the following text id's are comming. They do not have any data and remaining textid's are not comming.
DEV
Form Header
Header note 1
Header note 2
Shipping instructions EN
SAC code C000
SAC code I410
SAC code E740
Carrier requested by customer
PST EN
PED EN
ZTR EN
TEST
PST
PED
ZTR
I went to VOTXN and checked sales order header texts -> Textprocedure -> Z1-Order Text Procedure, Text Id's in this procedure, I see 11 ID's there in Dev and in test system I see only PST, PED and ZTR. I created these three in text object VBBK sales docu header. It is working fine in Dev and when I move these to Test system only these 3 id's are showing up. I wrote the code for this in ZXVEDU06. How come the remaining Id's are not showing here and values are not comming for these 3 Text Id's.
Can Someone please help me with this.
Thanks,
Veni.Hi Bhasker and Bill,
Thankyou for your valuable information.
Bhasker, I added all texts again and trasported. Now in test system I can see all of them.
I commented out all the code in ZXVEDU06 and created a sales order, as you said it picked up all the texts automaticaaly. This is the first time I am doing this work, so by someone's suggestion in SDN I created the include and wrote the code in ZXVEDU06.
It is working fine for this customer but if I try to create sales orders for other customers then I am getting the following error.
I/O error for text VBBK 0023 EN
I/O error for text &1 &2 &3 &4
Message no. TD607
Diagnosis
You want to read a text from the database, delete it, or save it to the database.
System Response
An error occurred when the database was accessed.
Procedure
Try repeating the procedure. If the error recurs, contact your system administrator.
Can someone please help me with this problem.
Thanks,
Veni. -
Update Sale Order Header Text through Enhancement
Hi Experts,
I Have a requirement to update the sale order Header Text , when the sale order is opened in VA02 and saved.
Here in I tried using edit_text, it updates sale order header text directly in DB during run time even before the save action is completed.
But I need to just fill the header text and that has to be saved during the save action only.
I tried coding the same in the user exit (userexit_save_document) but this user exit gets triggered only when there is some changes made to the document when opened in VA02 & Saved.
Is there any user exist to pass sale Order Header text and save when save button is clicked irrespective of the document been changed or not.
Thanks in advance
SathishHi Brad Bohn,
My actual requirement is to trigger an Idoc when the user goes to VA02 transaction and clicks save.
IDoc gets triggered only when there is some changes to that document, that is through NAST table entry based on the output configurations in NACE transaction.
Now that the user wants to trigger an IDoc even if there is no change (ie. to reprocess the IDoc) when he just opens a sale order in VA02 and click save.
It is not possible to trigger an IDoc through configurations when there is no actual change in VA02 and saved.
So it has to be forcefully sent by making some additions to the Order through coding, so I choose that Text box to fill some additional data and save .
Kindly Let me Know any thing could be done for this scenario.
Thanks in advance
Sathish -
To send sales order header text in mail description
Hi all,
my requirement is to send the sales order header texts(which have text ids as 0001,002,003 and text object :VBBK) as the description in the mail step.
Please help me.
Regards,
Sravanthi Chilalthank u swami,it is working.
but in the sales order i have maintained 3 texts(0001,0002,0003). while i execute the method individually,i am able to see all 3 texts.
i created a background activity before calling the decision step for determining the texts.iam displaying that container element in the description of the decision step.
my problem is that iam able to see only one text,i should be able to see all three.
i hope iam clear.
Regards,
Sravanthi Chilal -
Table Name for Sales Order Header Text.
Hi.
Whats the Table name for Sales Order Header Text???
Reg,
AmolHi Amol,
please Try to check the below link
http://scn.sap.com/thread/1361272
http://scn.sap.com/thread/416757
https://scn.sap.com/thread/1909247
https://scn.sap.com/thread/811915
Regards,
Gurunath -
Requied code in abap to display sales order header text
hi all,
can anybody help me to send the code in abap to display sales order header text.Use FM, Read_text. Pass the necessary parameters like object name, id, language. You can see some of the infos in by clicking the scroll-like button.
Reward points if useful -
Which table stores the Sales Order--Header--Texts--EDI Text?
Hi Experts,
I hv a requirenment regarding the Sales Order -> HEADER -> TEXTs -> EDI Text-Int, so, I need to hv some Orders(#). which does hv this text on them, for as test data.
So, I am looking which table stores, this text for my_sales_oders_12345678.
[ actually, i got some info from sdn, like,
Table TTXOB -> stores Texts: application object for Sales order header it is always VBBK i.e. field TDOBJECT = VBBK.
Now all the text types i.e. text ids are stored in table TTXID
So fetch all text ids(TDID) from this table based on TDOBJECT = VBBK. And its descriptions are stored in TTXIT table.
but, no use this ]
thanq
Edited by: Srinivas on Jul 10, 2008 11:06 PMHi Srinivas,
Generally to access the text we use READ_TEXT function Module.
we need to pass the four parameters
ID
LANGUAGE
NAME
OBJECT
You can find these parameters in the sales order it self.
Goto ---> Header ---> Texts
Now double click on the text it takes you to the Text Editor. You can find the screen Display Form Header . In this goto Menu Path Goto ---> Header. You get a screen Text header. Here you can find the these parameters.
Text Name
Language
Text ID
Text Object
You need to pass these parameters to the function Module to text the text.
You can also fins the text in Table STXH
Best regards,
raam -
Archived Data - Sales Order Header Text
We have archived the object SD_VBAK and I notice that some of the sales order header text also been archived. Now, the question is from where I retrieve back those header text. I am building the info structure but I need to know the object name for the header text.
Please help.The texts are archived using the class TEXT, and as such cannot be added as a object into the infostructure.
I would suggest you try building a new fieldcatalog, in which you could try introducing the field TDLINE from table TLINE. I dont know if this would work, but you could try.
Otherwise, I think the only way to read the text would be by writing a program to do so.
Hope this helps.
Sudha -
Updating Sales Order Header Text
Hello Experts,
Could you please help me in knowing how to update or maintain the Sales Order Header Texts programatically while creation of sales Orders.
Here the scenario is ---Sales orders are getting created inCRM and there they are maintaining some text from webshop. Immediately a sales order will also gets created in ECC.
Now i would like to know how to do that from ECC side?? Please help...
Br,
AnilHi,
I guess you'd have to find a BADI or user exit to update the texts in ECC. Check which IDOC brings the data from CRM to ECC. And the segment that carries the TEXTs. Then in the BADI you may either pass the date to appropriate fields or call the SAVE_TEXT function module in update task.
Regards
Prasenjit -
With out goods issue for order system should not allow for order confirmati
Dear all
with out goods issue system should not allow for order/operation confirmation.
how it is possible.
Regrads
SrinivasDear ,
In some cases we required to do confirmation or TECO without GI .
We can change it as per req using user exit
Regards,
Ishwar -
Brazil: Copy Transfer Order header text to Nota Fiscal
Good morning, all!
The company I work for has a process in which certain non-retail goods are transferred from one store (or distribution center) to another. The transfer order is created in ME27. After that, the user creates a shipping document and executes the Post Goods Issue in VL02N. This creates a material document, the number of which movement automatically creates a Brazilian Nota Fiscal.
We want to know how we might configure the system so that a header text in the shipping document or in the transfer order may be copied to the header text of the nota fiscal.
Any suggestions?
Thanks.That space is specifically about the process of sending the invoices to the government electronically (e-invoicing or NFe in portuguese).
The functional process leading to the creation of the NF/invoice is either MM-related (if it's a purchase invoice) or SD (if it's a sales invoice). The transfer of invoice header text to the NF object (J1B3N) is specific to the Brazilian Localization of ERP.
Blake Matthews,
if you have someone from your Brazilian team, you can ask them to create a question in Portuguese in this space: Aplicações do SAP Business Suite (SAP Business Suite Applications).
Best regards,
Henrique.
Maybe you are looking for
-
Dynamic Filter in report omitted when characteristic not in output.
Hi all, Hopefully someone can help me with the following: Since upgrading from 7.01 to 7.4, we encounter strange behaviour in a (WAD-) report. When filtering a free (compounded-) characteristic by excluding certain members via the navigation panel, t
-
I just changed my skype name a week ago,because I update my cell phone & I'm sure that in the former account I have credit,please help with this matter adding it in my new account,contact me via email thanks
-
Hi, I wanted to know what are the cases where sender agreement is not required and why ? Thanks and best regards, Kulwant Singh
-
Subscribing DB Adapter shows errors ORA-06550:
I am using DB Adapter on subscribing side. I am getting following errors ; Error executing the stored procedure "Agent.getNewWriterTransactionID(?)" in the schema "null" : ORA-06550: line 1, column 11: PLS-00103: Encountered the symbol "." when expec
-
How to add a preview picture to video?
Hi I've imported an offline video to my Flash CS4 movie. As it is, the video window is black with the play controls. How do I make it show a snaphot of one of the video frames so it's clear what the video is about? Thanks Shaun