How to make the LONG TEXT as mandatory
Hi,
In one tansaction, I need to make the LONG TEXT as mandatory.
or
I need to raise an Error message if the long text is empty.
Thanks
I want to make the long text mandatory in the transaction F-66.
In this, long text field (text box) is not displaying directly for typing.
We need to click on the button LONG TEXT, then text box is opening for typing.
I need to make this as mandatory.
Thanks
Similar Messages
-
How to Make the Cost Center filed Mandatory ?
While entring the Doc in FI for Expense A/c, How to Make the Cost Center filed Mandatory?
Hi,
Got to field status groups and select cost center field as required field.
Refer to this documentation
http://www.sap-basis-abap.com/sapfi012.htm
Please let me know if you need more information.
Assign points if useful.
Regards
Sridhar M -
How to make the Profit Center Field Mandatory in Cost center Master Data
Dear All,
Please let me know how to make the Profit Center Field mandatory in Cost Center Master Data as well as my Internal Order Master Data?
Thanks in advance!
Regards,
Rajeswari Shankar.Hi Rajeswari,
You can modify message number KS096 to "Error" via OBA5. Thus, the users would no be able to save a cost center without entering a profit center. (Depending on your release you can make KS096 modifiable by implementing note 486781.)
Concerning the internal orders (transaction KO01), you can run KOT2 and set Profit center field as required entry in "change field selection" section.
Regards,
Greta -
How to add the long text in Production order through FM
Hi,
Iam having custom program which has BAPI (BAPI_PRODORD_CREATE) inside it and this program is used to create Production orders with the details of Sales order Number,Line item,Plant,Order type,Quantity and Start date. This program is scheduled in Background.
Now client wants to add the Long text (seperate TAB in production order and they want to update the VC details of Sales order in the Long text area).
One option is after creation of Production order, through BDC(calling CO02 and update the long text) we can update the long text and client doesn't want this option.
Another option is after creation of Production order, using Function module SAVE_TEXT, Update the Long text in Production Order and this is not working in Production order (already my ABAP consultant checked it ).
If any one of you came across this requirement, pl share with me how you addressed it.
Regards
A.SureshbabuHi,
The method is quite simple, i presume you're quite well versed with doing recording, so the key thing to keep in mind is how to prepare the input file.
At my end i had about 5 lines of data which needed to be uploaded, hence i had a tab-delimited file with the order nos. in the first column & the five lines of text in five different columns (Refer format below)
Order No.
Line - 1
Line - 2
Line - 3
Line - 4
Line - 5
12345
txt - 1
txt - 2
txt - 3
txt - 4
txt - 5
67890
txt - a
txt - b
txt - c
txt - d
txt - e
Now provide this input file for your lsmw or bdc program & it will work. You can work with your abaper if you're not so comfortable with LSMW or BDC programming he / she should be able to easily make it work for you.
Regards,
Vivek -
Hi,
I am undable to find the long text in TC: VA02 at runtime. Actulally my requirement is like how to compare between the item level long text at runtime and existing long text for that item.
If any body has soluntion, please provide me. I would really be greatfull if any body provide the solution.
Deepak Kumar
E-Mail: [email protected]Hi Sudheer,
Actually my requirement is to read the text at runtime. Example: If saved text is 'ABC' and it is changed by '123'. Now before saving changed text '123', I need to capture it so that I can compare it with saved text 'ABC' whether it is changed or not?
Couuld you send me some sample code? I would appreciate if you reply at the earliest.
Deepak Kumar. -
How to make the description field as mandatory in IW31 T.code
Hi All,
My requirement is make the Description field as mandatory in T.code: IW31
That field is CAUFVD-KTEXT.
How to make this field as mandatory,
I tried with BADI: IWO1_SCREEN_MODIFY
And some customer exists also (ZXWOCU04, ZXWOCU09) but unfortunately I couldnu2019t reach my functionality
Can any please help me to reach out my functionality?
Thanks and Regards,
Rambabu.Dear Friend,
go to spro - plant maintenance and customer service - maintenance and service processing - maintenance and service orders - define field selection for order header data(pm) -Field Selection for Order Header Data and Reference Object
here keep CAUFVD-KTEXT is mandatory for your order types.
Regards,
pardhu -
How to retrieve the long texts from purchase Info record (ME13)
Hi,
How do I retrieve the long texts data from the tab, Texts of the Purchase Info record(ME13). I want to retrieve the current long texts data(long text1, long text2 long text3, long text4) for a given purchase info record. These long texts points to the structure BRM06I.
So, now how do I fetch the data from the structure BRM06I. Is there any function module for the same..
Thanks.Hello,
Texts are stored in tables STXH & STXL (header and item). You can search these tables by selecting Text object = EINA and Text name = Info Rec #. The text ID's you will see are the ID for various texts maintained.
Cheers ! -
To Make the Long text field as required using OA Framework Personalization
Hi All
In IProcurement requisition, we have long text field called 'Justification' a long text field. I have made this field as mandatory by setting the required property as 'Yes' at site level. This works for Most of the cases. However if the user just presses Enter key and skip without entering something in this field . So how to stop the user without entering something except spaces or enterkey to proceed further.
Regards
RajkumarHi,
Very Interesting question, I never thought of it.
In your case you may try to extend the controller of that page and in the controller trim the text and set that value to the text.
In other way, You can try in USER hook function : POR_CUSTOM_PKG package, check if you are getting that value.
Regards
Apurba K Saha -
How to get the long text into text area
Hi,
save_text is working fine .
Now I want to display the text in text area .
am using read_text fm for this and data is coming into the internal table of the function module.
how shd I display that long text into text area and that text shld appear has display mode only and how shd I make all other fields in my subscreen as display mode.
Pls guide me its urgent.
thanks,
krishnaHai.
check this.
Long Texts are stored in tables
STXH - header
STXL - details.
if you want to read the texts you can use Fun Module READ_TEXT
Any Application document Header and Item Long texts are stored in STXH table with the 4 parameters OBJECT,ID,NAME and LANG
These texts are fetched from database using READ_TEXT fun module by passing the above 4 parameters.
Double click on the text, from the text editor menu GOTO-> HEDAER
you will find the all above 4 parameters
so accordingly you have to pass to the fun module READ_TEXT to fetch the texts.
example:
Re: upload longtext from excel file
REPORT zupload_excel_to_itab.
TYPE-POOLS: truxs.
PARAMETERS: p_file TYPE rlgrap-filename.
TYPES: BEGIN OF t_datatab,
col1(30) TYPE c,
col2(30) TYPE c,
col3(30) TYPE c,
END OF t_datatab.
DATA: it_datatab type standard table of t_datatab,
wa_datatab type t_datatab.
DATA: it_raw TYPE truxs_t_text_data.
At selection screen
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
field_name = 'P_FILE'
IMPORTING
file_name = p_file.
*START-OF-SELECTION.
START-OF-SELECTION.
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
I_FIELD_SEPERATOR =
i_line_header = 'X'
i_tab_raw_data = it_raw " WORK TABLE
i_filename = p_file
TABLES
i_tab_converted_data = it_datatab[] "ACTUAL DATA
EXCEPTIONS
conversion_failed = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
END-OF-SELECTION.
END-OF-SELECTION.
LOOP AT it_datatab INTO wa_datatab.
WRITE:/ wa_datatab-col1,
wa_datatab-col2,
wa_datatab-col3.
ENDLOOP.
refards.
sowjanya.b -
How to make the footer text to come only on the last page
Hi,
Iam just making an print forms using adobe forms,Iam havinga text and some variable in the end of the page.these things need to be printed only on the last page.
if my output of the main window comes for 2 pages then it should print only in the second page not in the first page.
if the data of my main item data comes to one page then this should be printed on the first page itself.
how to put a condition on this type of footer windows.
Thanks in advance.
regards,
Sasidhartry with the following formcalc Scripting on the subform which contains the footer text...
var curpage = $layout.page ( ref ( $ ) )
var totpages = $layout.pageCount()
if ( curpage ne totpages ) then
$.presence = "hidden"
endif -
How to wrap the long text in page when the item is a messageStyledText
Hi,
I have one region which is a labeledfieldRN and two items under this RN which are messageStyledText.Now, those items are mapped to two VO attributes.Both are VARCHAR2(240).
While running the page all 240 characters are appearing for these two fields and we are forced to scroll the page horizontally.
'NoWrap' is made false for these two items.
Is there any way we can wrap the data in next lines so that we need not scroll?
Please help.
Thanks,
Abhijit.You may want to play around with the "Visual length" of other fields if you have them. Maybe by shortening other fields, you can prevent having to scroll for your 240 character length field.
-Scott -
I need help with making the font size in the Adobe software bigger. I don't know who to do this and it is very tiny
Sweet! Finally another Dead Head!!!
The short answer is have your friend burn those tracks to CDs and then import them into your iTunes library.
For lllaass: Its obvious you have never been to a Dead show, so we'll cut you some slack. The tracks in question were never purchased, they were taped live during the show. The Greatful Dead has always reserved "front row center" for a group affectionately called "tapers," because they always came prepared to record each show, and owing to the fact that no two shows were the same, some of those tapes are one of a kind..... I have taped shows myself, namely the shows at RFK Stadium in DC, and the Coliseum in Charlotte NC. -
How to make the Sourcelist checkbox in Material MasterPurch view- Mandatory
Hi All,
Can anyone please let me know how to make the Source list checkbox mandatory in Material Master.
Ie for example if i am creating and ERSA Material, i want to make the source list option mandatory by default whenever i create an ERSA Material. I know the option to make the Source List mandatory at Plant Level.
But i want to make source list mandatory at material. By default..it has to appear mandatory on the Material. I want to do this
specially based on Material Type. Ie i want this to be mandatory only for specific material types i chose.
Please suggest me the possible ways.
Thanks
SrideviHi, Get Source List Field sel. group from OMSR which is 16 by default change it to new field say 210, then goto OMS9 enter Field sel. group 210, Check for field 'MARC-KORDB' & change it to mandatory for Field reference ERSA, if you cannot find there you need to create new field reference & assign it to ERSA in OMS2 &
-
MAKES MATERIAL SALES TEXT FIELD MANDATORY in MATERIAL MASTER RECORD
Dear ALl,
I want to make the Sales Text view mandatory, that is the user must enter a value in the sales text screen.
Is there a way to do it, can you suggest any user exits or any thing to make it a mandatory.
deepakSpro-Logistics GeneralMaterial masterField selection-- select the feild.. and make mandatory there.. you can see four opitions...
other wise goto SHD0.. and do there..
Reward if it helps
Ramki -
Display the long text in alv by using function modules
Hi all,
How to display the long text in alv by using function modules ?
Send me any sample code.
Thanks in advance
krupali.Hello KR,
Use READ_TEXT and concatenate the first lines of the text.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = 'F01'
language = sy-langu
name = lv_name " purchase order with leading zeroes
object = 'EKKO'
TABLES
lines = t_lines
EXCEPTIONS
OTHERS = 8.
You can loop at t_lines and concatenate header in to some other field.
Best Regards,
Sasidhar Reddy Matli.
Edited by: Sasidhar Reddy Matli on Aug 13, 2008 12:25 PM
Maybe you are looking for
-
Iphone 4 not syncing to itunes
My iphone 4 will not sync to itunes. itunes recognizes it but when i sync, it will say that the syncing failed to start. Any advice?
-
Windows Vista and iTunes does not work
First Time sorry for my bad English, I'm from Germany and my English is not the best. I have the new Windows Vista but iTunes does not work good. And I have to use it, to manage my music on my iPod. When there will be a Vista compatibles Version of i
-
Background job in vendor evalution
Dear All, How to processing ME6G Evaluation in background Regards,
-
Mobile Version: How to see all highlights and notes we made in a PDF document?
Mobile Version (Android): How to see all highlights and notes we made in a PDF document?
-
JAVA Help, what am I doing wrong?
HI, I have this class and method It runs properly when called upon, but there is an error at the end and the program ceases - not running running back to my program menu, anything you can see I'm doing wrong? Or is there a better/easier way to do thi