Printing long text from Routing instead of Production order for an order.
Hi Gurus,
When a production order prints it is printing the long text from the routing master rather than the long text on the actual production order.
This field is used to provide specific instructions in special circumstances in addition to the standard text.
I need system to be changed so that printing takes long text from production order.
Please help me.
Naveen.A
Hi,
In the production order long text, the text we are maintaining is only for information. It can't be able to print. In Production order, copies all the masters and the texts which we are maintaining in the masters only will be able to print. Standard SAP will not print the production order long text.
Regards,
V. Suresh
Similar Messages
-
Printing long text from material master in from MM07ET
Hello,
I'm using WEE1 output condition to print labels for gr. I'm using the standard object MM07ET and I need to include in the label the long text from material master - table STXL. I know that there is a function READ-TEXT in ABAP for this but I don't have access to abap development. I need to know if it's possible to include a command in the sap scrip to retrive the long text without modifing the program SAPM07DR.
Thank you!Hi,
Sorry for the late Reply, Please use the following code in SAPSCRIPT
/: INCLUDE &EKPO-EMATN& OBJECT MATERIAL IDGRUN LANGUAGE EN
&EKPO-EMATN& material Number ( Here please maintain the Field value which is used to print Material Number )
MATERIAL is the Object Name
GRUN Is Text ID
EN Language
You can use the above code for priting long text in the SAPSCRIPT FORM. to find the object name and ID please follow the below Steps
Go to the window were you have maintained Long text... Double click on the text, then it will open a new window.. there Click on the top Goto-->Header.. here you will find the relevant data as follows:
Language: EN
Text ID : GRUN
Text Object: MATERIAL
Name: Material Code
Regards
GK. -
Comma in long text of routing comma is appearing sepecial character
Hi Experts,
When I am trying to insert comma in long text of routing comma is appearing as sepecial character like <<,>> in long text preview. Please advice how insert comma.
Regards,
Sandy
Edited by: Sandy2 on Apr 20, 2011 10:30 AMTry to use Line Editor instead of GUI editor ie
from long text screen Goto--> Change Editor and try
a® -
How to print long text in scripts
plzzzzzzzzz answer this qestion
how to print long text in scriptsHi Kranthi,
You can create Text Id and include that in your script.
For example:
/E TEXT
/: INCLUDE ZTEXT OBJECT TEXT ID ST
Hope this helps.
Please reward if useful.
Thanks,
Srinivasa -
Hi All
I want to print long text of WCD (work clearance document) in smart form (Field name is LTXT). How do i do. I don't know different parameters for function module 'READ_TEXT'. Any suggestion.
Thanx and Regards,
Rajesh VasudevaHi,
Go to the text in the Standard Document and then double Cliick on it. Then Click on the Lens below(Detail). In the new screen, Naviagate Goto---->Header. It will give you the relevant details like Text object, Text ID etc which can be used in the read text FM. Usally the text name is the Document Number and the Text ID and Text Object is Constant for that particular Document type.
Hope this helps
TC -
How to print long Text & No of page settings in F-58
Dear Gurus,
Can anybody guide me reg. below:
01. user want to print long text also along with document.
02. When user printing F-58 Payment advice..where we can set no of pages
Pls guide me.
REgards,
VenkatHi,
a. Display Document FB03 and change current layout (Ctrl+F8) and choose GL Long Text (SKAT_TXT50).
Rgds. -
Reading long text from excel file to an internal table
Hi
Can any body tell me how to read long text from excel file to an internal table.
When i am using this FM KCD_EXCEL_OLE_TO_INT_CONVERT then it is reading only 32 characters from each cell.
But in my excel sheet in one of the cell has very long text which i need to upload into a internal table.
may i know which FM or what logic i need to use for this problem.
RegardsHi,
Here is an example program. It will upload an Excel file with two columns. You could also assign the Excel structure dynamically, but I wanted to keep the example simple. The main point is that the internal table (it_excel in this example) must match the Excel structure that you want to convert.
Remember, this is just an example to help you figure out how to properly use the technique. It will certainly need to be modified to fit your requirements, and as always there may be a better way to get the Excel converted... this is just one possibility that has worked for me in the past.
*& Report zexcel_upload_test *
REPORT zexcel_upload_test.
TYPE-POOLS: truxs.
TYPES: BEGIN OF ty_excel,
col_a(10) TYPE n,
col_b(35) TYPE c,
END OF ty_excel.
DATA: l_data_tab TYPE TABLE OF string,
l_text_data TYPE truxs_t_text_data,
l_gui_filename TYPE string,
it_excel TYPE TABLE OF ty_excel.
FIELD-SYMBOLS: <wa_excel> TYPE ty_excel.
PARAMETERS: p_file TYPE rlgrap-filename.
* Pass the file name in the correct format
l_gui_filename = p_file.
* Upload data from PC
CALL METHOD cl_gui_frontend_services=>gui_upload
EXPORTING
filename = l_gui_filename
filetype = 'ASC'
has_field_separator = 'X'
CHANGING
data_tab = l_data_tab
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17.
IF sy-subrc <> 0.
* MESSAGE ...
EXIT.
ENDIF.
* Convert from Excel into the appropriate itab
l_text_data[] = l_data_tab[].
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
i_field_seperator = 'X'
i_tab_raw_data = l_text_data
i_filename = p_file
TABLES
i_tab_converted_data = it_excel
EXCEPTIONS
conversion_failed = 1
OTHERS = 2.
IF sy-subrc <> 0.
* MESSAGE ...
EXIT.
ENDIF.
LOOP AT it_excel ASSIGNING <wa_excel>.
* Do something here...
ENDLOOP.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
PERFORM filename_get CHANGING p_file.
* FORM filename_get *
FORM filename_get CHANGING p_in_file TYPE rlgrap-filename.
DATA: l_in_file TYPE string,
l_filetab TYPE filetable,
wa_filetab TYPE LINE OF filetable,
l_rc TYPE i,
l_action TYPE i,
l_init_dir TYPE string.
* Set the initial directory to whatever you want it to be
l_init_dir = 'C:\'.
* Call the file open dialog without multiselect
CALL METHOD cl_gui_frontend_services=>file_open_dialog
EXPORTING
window_title = 'Load file'
default_extension = '.XLS'
default_filename = l_in_file
initial_directory = l_init_dir
multiselection = 'X'
CHANGING
file_table = l_filetab
rc = l_rc
user_action = l_action
EXCEPTIONS
file_open_dialog_failed = 1
cntl_error = 2
error_no_gui = 3
OTHERS = 4.
IF sy-subrc <> 0.
REFRESH l_filetab.
ENDIF.
* Read the selected filename
READ TABLE l_filetab INTO wa_filetab INDEX 1.
IF sy-subrc = 0.
p_in_file = wa_filetab-filename.
ENDIF.
ENDFORM. " filename_get
Regards,
Jamie -
Copy long text from PROJ to WBS
When creating a new project (CJ01) I create new WBS and populate its fields from project automatically.
I use enhancement and everything is copying ok except the long text.
I do READ_TEXT and it get long text from project (TEXT_HEADER-TDNAME D99999999)
Then i do SAVE_TEXT and not getting any error (TEXT_HEADER-TDNAME E99999999)
But the long text of WBS is empty.
How should i copy long text right?
I traced program and found out that after my enhancement is passed,
WBS element is not activated and rewrited by initial data from PRPS-POST1
How should i activate wbs then?
Thank you for help!Hello,
That code can help you If the text not exist.
be carreful, that code have not declaration
Thierry
CALL FUNCTION 'NUMBER_GET_NEXT'
EXPORTING
nr_range_nr = '01'
object = 'PSTX'
IMPORTING
number = wl_name.
ws_prtx-prmandt = sy-mandt.
ws_prtx-probtyp = 'E'.
ws_prtx-prpspnr = wv_posnr.
ws_prtx-prtxtky = wl_name.
APPEND ws_prtx TO wt_prtx.
CALL FUNCTION 'CJVB_PRTX_POST'
TABLES
tinsert = wt_prtx
tdelete = wt_d_prtx
tupdate = wt_u_prtx.
ws_pstx-psmandt = sy-mandt.
ws_pstx-pstxtky = wl_name.
ws_pstx-pstxtar = '03'.
ws_pstx-pstxtti = 'COMMENTAIRES'.
ws_pstx-pstxthu = p_uname.
ws_pstx-pstxthd = sy-datum.
ws_pstx-pstxtau = p_uname.
ws_pstx-pstxtad = sy-datum.
ws_pstx-psformat = ''.
APPEND ws_pstx TO wt_pstx.
CALL FUNCTION 'CJVB_PSTX_POST'
TABLES
tdelete = wt_d_pstx
tinsert = wt_pstx
tupdate = wt_u_pstx.
IF sy-subrc = 0.
wl_object = wc_obtxt.
wl_id = wc_idtxt.
wl_spras = sy-langu.
ws_head-tdobject = wl_object.
ws_head-tdname = wl_name.
ws_head-tdid = wl_id.
ws_head-tdspras = wl_spras.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
client = sy-mandt
header = ws_head
insert = ' '
savemode_direct = 'X'
TABLES
lines = wt_tline
EXCEPTIONS
OTHERS = 1. -
Printing formatted text from an Oracle form
I'm trying to print formatted text from an Oracle form without using the standard menu print. The print button on the menu prints out the text and the actual form. I just want to print the text that is displayed on the form. I would like to add a print button to the form. Is there a print function or event in PL/SQL?
Thanks in advance for any help!!
JasonIf you are interested in the content of the field you can loop over them (next_item built in) and write their content into a file using the TEXT_IO built in.
for nicer outputs check out Oracle Reports on OTN. -
I need to read a long text from MM03, view - Sales Text. I cannot use FM READ_TEXT as there is no header data available there.
How do i do it?Amol,
Sales Text CANNOT exist without the HEADER DATA.
You have to use READ_TEXT with these paramters.
Text Name Material Number (NAME)
Language EN
Text ID 0001 (ID)
Text object MVKE (OBJECT)
regards,
Ravi
Note : Please close the thread if the issue is solved.
Message was edited by: Ravikumar Allampallam -
Propagate long text from order to notification, notification to order
Hi Experts!
Like in subject I want to propagate long text from PM order to PM notification and the other way round. If text will be changed in one document it should be changed in second too.
Have you any idea how to do that?
Thank from advance
Bartek
Edited by: Julius Bussche on May 4, 2009 11:25 AM
Subject formatting corrected.Hi,
If these are two different fields having different data elements then I dont think its possible until and unless they both have the same data element...
if they have the same data element I think you can keep the long text for the data element and it will reflect both the sides...
Regards,
Siddarth -
How to Add Long Text from CA10 on SAP Script
Hi Friends,
I got a requirement to add a long text from CA10 on to the SAP Script.
How to do this ?
Is it using INCLUDE ?
Please give me some solution
Thanks in Adv.Hi Bhupal,
Could you tell me how did u add the long text from CA10. I have the same requirement.
Thanks in advance.
Manisha -
Is texting from apple to apple products free when overseas
is texting from apple to apple products free overseas
Exchanging iMessages requires an internet connection. This can be when connected to an available wi-fi network or when connected to a cellular network. No charge for each iMessage as with texts but cellular data will be used when exchanging iMessages when connected to a cellular network.
-
Ask split long text into two line into same cell for ALV
Dear All,
Is it possible split long text into two line into same cell for ALV display data?
Regards,
Luke
Moderator message: please search for information before asking.
Edited by: Thomas Zloch on Feb 24, 2011 10:12 AMKeep options: Select the paragraph, then CtrlAltK (Mac: CmdOptK, I
think).
If you want the paragraphs in pairs, create two paragraph styles. Style
A has keep options set to start on a new page, and also, its Next Style
is style B.
Style B has no keep options, but it's Next Style is Style A.
Select all the text.
From the flyout menu of the paragraph styles palette, apply Style A
"then next style."
Now all paragraphs will be alternating -- style A, style B, style A, etc.
Now do what I wrote initially, and you'll have pairs of paragraph in
separate text frames. -
Product valuation for Sales order with itemizations
Hi experts,
I'm trying to find a data source which extracts Product valuation for sales order, and which is important, with itemizations. This is for the KMAT material. I tried 0CO_ACT_* and 0CO_PC_PCP_* but found no proper one.
The closest one is 0CO_PC_PCP_03 but which only extracts normal material instead of KMAT.
Points will awarded.
B'R
AaronI found it.
0CO_PC_01
Cost Object Controlling: Plan/Actual Data
Maybe you are looking for
-
Using if statement in cursor problem
Hi, I am getting problem in cursor in plsql. i'e DECLARE CURSOR curRec IS if condition then select query1; else select query2; end if; c1rec curRec%ROWTYPE; Pls.. help.
-
What oracle forms / reports version are using in EBS R12?
Hi all, We are planning to upgrade to EBS R12. what oracle forms / reports version are using in EBS R12? Thanks.
-
Mistake with libraries in Adobe Muse CC
Hello! I had a mistake while I was working in Adobe Muse. Description says: "String 'WidgetsLibrary::(Some symbols I can't idenify)' contains a space - keystring must not contain spaces." How can I fix this problem? Could you help me in closest time,
-
Bootcamp - Create new partition and format in Windows 7
Hello All I have Windows 7 installed on my sons MacBook Pro. The Drive is partitioned at 500GB for Windows and 300GB for Mac. In windows, I need to shrink the Windows drive, and then create 2 extra drives from it. However, I can shrink the drive, but
-
Stolen iPhone serial number associated with another AppleID
Hey Guys If I give one of you my stolen iPhone's serial number, would you be able to tell if it's associated with another persons AppleID? I would love to know who is using my iPhone... Thanks -Bruce