Change field lable
Hello gurus,
I have a requirement in mb1b transaction.
I have to change the 'purchase order ' field lable as 'work order' for ebeln field in 'enter transfer posting screen' of mb1b for movement type 911.
kindly sugust the solution.
regards,
padmaja.
HI,
No it reflects for evry movement type.
For this u can use ur own dataelemnts so that u get the descriptions as Work order.
use the Variant Transaction
[http://theguruspeaksaboutsap.blogspot.com/2007/12/creation-of-variant-for-making.html]
Regards,
Vijaya Lakshmi.T
Similar Messages
-
Changing field lable of KVGR1 data element.
Hi Guys,
I am changing field lable of KVGR1 data element. No. of depedent objects are also changed but some of the objects were end up with warning "Enahancement category for table missing". Since all this objects SAP Standard do I have to genarate key for every single one with warning to adjust the enhancement type.
Cheers
S KumarHi Amit,
I have already changed the Field labels and Description of KVGR1 data element using SSCR key.
Is it a good idea to revert it back. The dependent tables and structures are activated with warnings. Which is Enhancement category.
Cheers
S Kumar -
Changing field lable (header) in Table control.
Hi all,
I am currently working on a table control. The requirement is to change the label in the column heading dynamically based on few conditions. Could any one please help me in finding out a way for changing the heading labels dynamically.
Example stated below.
Totally 4 columns in table control.
| Value | Description | Tag 1 (should be dynamic) | Tag2 (should be dynamic)* -
| 1 | Hai | 2121212 | 212122222
| 2 | welcome | 43424234 | 234234444324
Many Thanks in Advance.
ShivHi Neha,
Many thanks for your reply. The document you have sent is really a good one, but it do not throw much light on changing the column header text (label). If you could provide me some more info on changing the label that should be of great help to me.
Thank you.
Hi Tharani,
Many thanks for your reply. The link you have attached is a good one, but it has no information on changing the label on a module pool screen. It details only about SAP forms.
Thank you.
Hi Ramchander,
Many thanks for your reply. I have already tried it that way and it dint work out. The screen looping is possible for only for changing the contents of an output fields on a module pool screen, but not for table control column header.
Thank you.
Could you all please throw me some more light on this issue.
Regards,
Shiv -
How change standard field lable in alv grid display
Hi Experts,
How are you doing! I am having some doubts in the alv grid display, I am new to this concepts.
I want to display field lable manually, actually its taking from table field discription but I want to display one field name manually.
example code.
ls_fldcat-fieldname = 'BPKIND'.
ls_fldcat-ref_tabname = 'BUT000'.
ls_fldcat-ref_fieldname = 'BPKIND'.
APPEND ls_fldcat TO lt_fldcat.
ls_fldcat-fieldname = 'PARTNER2'.
ls_fldcat-ref_tabname = 'BUT051'.
ls_fldcat-ref_fieldname = 'PARTNER2'.
Here I dont want to display 'PARTNER2' I need 'KEY ACCOUNT MANAGER'.
Please send me how to do this.
Surya Ramireddy.Hi
Please check out this program.
Type-pools: slis.
Tables: likp.
Data: Begin of i_likp occurs 0,
vbeln like likp-vbeln,
ernam like likp-ernam,
erzet like likp-erzet,
erdat like likp-erdat,
End of i_likp.
Data: it_fieldcat type slis_t_fieldcat_alv,
wa_fieldcat type SLIS_FIELDCAT_ALV,
it_events type slis_t_event.
Selection-screen: Begin of block b1 with frame title text-001.
select-options: s_vbeln for likp-vbeln.
Selection-screen: End of block b1.
start-of-selection.
perform get_sales_header_data.
end-of-selection.
perform field_catalogue.
perform modify_field_catalogue.
perform display_alv_grid_display.
*& Form get_sales_header_data
text
--> p1 text
<-- p2 text
form get_sales_header_data .
select vbeln
ernam
erzet
erdat
into table i_likp
from likp
where vbeln in s_vbeln.
endform. " get_sales_header_data
*& Form field_catalogue
text
--> p1 text
<-- p2 text
form field_catalogue .
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
I_PROGRAM_NAME = sy-repid
I_INTERNAL_TABNAME = 'I_LIKP'
I_INCLNAME = sy-repid
CHANGING
ct_fieldcat = it_fieldcat
EXCEPTIONS
INCONSISTENT_INTERFACE = 1
PROGRAM_ERROR = 2
OTHERS = 3
endform. " field_catalogue
*& Form modify_field_catalogue
text
--> p1 text
<-- p2 text
form modify_field_catalogue .
loop at it_fieldcat into wa_fieldcat.
case wa_fieldcat-fieldname.
when 'VBELN'.
wa_fieldcat-col_pos = 1.
wa_fieldcat-seltext_l = 'Sales Doc Header No'.
wa_fieldcat-emphasize = 'C100'.
when 'ERNAM'.
wa_fieldcat-col_pos = 2.
wa_fieldcat-seltext_l = 'Created By'.
wa_fieldcat-emphasize = 'C200'.
when 'ERZET'.
wa_fieldcat-col_pos = 3.
wa_fieldcat-seltext_l = 'Entry Time'.
wa_fieldcat-emphasize = 'C300'.
when 'ERDAT'.
wa_fieldcat-col_pos = 4.
wa_fieldcat-seltext_l = 'Created On'.
wa_fieldcat-emphasize = 'C400'.
endcase.
modify it_fieldcat from wa_fieldcat.
endloop.
endform. " modify_field_catalogue
*& Form display_alv_grid_display
text
--> p1 text
<-- p2 text
form display_alv_grid_display .
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = sy-repid
IT_FIELDCAT = IT_FIELDCAT
TABLES
t_outtab = i_likp
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
endform. " display_alv_grid_display
Regards
Haritha. -
Field lables changes in ESS iView not reflected on portal
Hi All,
I am trying to customize the SAP ESS Address DC (webdynpro Java) for South Africa region as per the SAP OSS note (No: 1428933).
In order to incorporate the changes I have imported the ess/za/addr DC into NWDS. I have changed the label text as per the OSS note and deployed the DC but changes are not reflecting in the portal
I did some more test on Label text;
1. Removed the Label text property value from DC and deployed the application, when I run the application during runtime screen is not showing any label text message for the label since I made it to empty.
1. I added my custom text message to label text value instead of standard label text value and deployed the application, when I run the application during run time screen is automaticaly showing the standard label text value not my custom label text value.
I'm trying to figure out from where these field labels value are coming from? Theoretically it should reflect field lables whats given in webdynpro but thats not the case here.
From where Label field value is coming?. Help me out in this. Thanks,
Regards, Suresh KBIf you are just changing the field label the recommended approach is to do it through Web Dynpro UI personalisation. DO NOT user NWDI to change the source code just for field label change. The way you change through UI personalisation is locate the iView in portal content, and select preview of iView then use CTRL+RIGHT click mouse button on the field that you want to change the text, you will see properties of selected field in a popup window where you can change the default text. Once you change it, and apply the changes you will be able to verify you changes in the iView properties (additional properties will be automatically created for the change you made). Now check the personal data service under ESS role you should see the change.
Hope this helps
Siva -
AddressBook: Only 8 characters for field lables, cannot begin to describe
Frustrated that lables for each field box only allows like 8 letters to explain.
Like lables for fields: 'Phone', 'Email', Address, web page, etc.
Only 8 characters then "..." dot dot dot ...
What goood is it to onlly have 8 characters or letters> Does everything have to be abbreviated in the briefest, or code?
Really, for mmany fields, 8 spaces is not adequate to even Begin to describe.
I know, i should upgrade. Perhaps newer versions allow more space for field lables descriptions.But for those of us still loyal to Panther, and constrained by $$ limits, is there not a soolution?
The highly coveted award of 'SOLVER' awaits the one who can proovide a solution to this vexing problem.
Muchly appreciative.
Still a Panther, using:
Address book 3.1.2 (v321), 2003. Yeah, we're old & obso.@silverzhao I use a manual dhcpcd/wpa_supplicant way of setting up my wlan0 using http://git.r-36.net/conn and I have the same problem.
I have to kill my wireless and restart after seeing a message like:
May 20 10:12:33 x220 kernel: wlan0: AP a4:b1:e9:55:25:2f changed bandwidth, new config is 2462 MHz, width 2 (2452/0 MHz) -
Change Arabic Lable In Self-servise ( Not Customization )
Hi All ,,
I have self-service page and i need to change prompt Or ( lable ) of one field and it's in arabic format..
I did not find this prompt in personalization but i find it in workflow builder.
Summary of Problem :-
1- Change arabic Lable In Self-service Page .
2- it's not in Personalization it's in Workflow .
And It's a screen shot of this case,,
http://www8.0zz0.com/2009/10/07/09/327873372.jpg
Regards
M. SalahYou need to find the correct .JSP for the page you want to edit. You would need to grab it from the server. If you are an Oracle Tech. Developer, you should know the path to find one. Then modify the .JSP in Oracle jDeveloper and upload it back to the server. If you are using Apache, you probably need to bounce it to reflect the changes in the new JSP.
Thanks, Naveen. -
Hi,
i have a custom infotype, the 'Z' filed lable is getting is displayed on MC93 trasacation.Every month custom interface will run and i need to change the 'z' field lable with the appropriate name. Please let me know FM or procedure to do this.
Thanks,
suriDid you think of maintaining that entry in a custom table & refer it as the Value Table for this field/domain? That way you can just maintain the table via SM30/31 & be done with it. You don't need a custom interface..
~Suresh -
Changing field length of a standard field in standard table VBEP
Hi,
Please advice the possibility and the possible repercussions of changing field lengths in a standard table. Table in concern is VBEP.
Thanks & Rgds,
PradeepNo you cannot change the field length
thanks
G. Lakshmipathi -
How to find out Last Changed Fields for a line item of a PO
Dear All,
Pls let me know is there any FM or procedure to find the last changed fields for each line item of a PO. I should be able to get the details on the basis of Last changed Date. Can u pls guide me in this?Hello,
Check the table CDHDR,CDPOS for PO items,
Check this code:
REPORT ZV_GET_LATEST_SO .
DATA: BEGIN OF ITAB OCCURS 0,
OBJECTCLAS TYPE CDHDR-OBJECTCLAS,
OBJECTID TYPE CDHDR-OBJECTID,
CHANGENR TYPE CDHDR-CHANGENR,
USERNAME TYPE CDHDR-USERNAME,
UDATE TYPE CDHDR-UDATE,
UTIME TYPE CDHDR-UTIME,
TCODE TYPE CDHDR-TCODE,
TABNAME TYPE CDPOS-TABNAME,
TABKEY TYPE CDPOS-TABKEY,
FNAME TYPE CDPOS-FNAME,
CHNGIND TYPE CDPOS-CHNGIND,
END OF ITAB.
TABLES: CDHDR,CDPOS.
DATA: LT_CDHDR LIKE CDHDR OCCURS 0 WITH HEADER LINE,
LT_CDPOS LIKE CDPOS OCCURS 0 WITH HEADER LINE.
*REFRESH AUSG.
CLEAR CDHDR.
CLEAR CDPOS.
CDHDR-OBJECTCLAS = 'EINKBELEG'.
CDHDR-OBJECTID = '0000001784'. " Purchase order number
**SELECT A~OBJECTCLASS A~OBJECTID A~CHANGENR A~USERNAME A~UDATE A~UNAME
**B~TCODE
**B~TABNAME B~TABKEY B~FNAME B~CHNGIND INTO TABLE ITAB FROM CDHDR AS A
**INNER JOIN CDPOS AS B ON A~OBJECTCLASS = B~OBJECTCLASS
** A~OBJECTID = B~OBJECTID
** A~CHANGENR = B~CHANGENR
** WHERE OBJECTCLAS = 'VERKBELEG'
** AND OBJECTID = '0000001784'.
*SELECT * FROM CDPOS INTO TABLE LT_CDPOS WHERE OBJECTCLAS = 'VERKBELEG'
* AND OBJECTID = '0000001784'.
*IF NOT LT_CDPOS[] IS INITIAL.
* SELECT *
* INTO TABLE LT_CDHDR
* FROM CDHDR
* FOR ALL ENTRIES IN LT_CDPOS
* WHERE OBJECTCLAS = LT_CDPOS-OBJECTCLAS
* AND OBJECTID = LT_CDPOS-OBJECTID
* AND CHANGENR = LT_CDPOS-CHANGENR.
*ENDIF.
** SORT ITAB BY OBJECTCLAS ODJECTID DESCENDING.
*LOOP AT ITAB.
* WRITE: ITAB-UDATE."ITAB-UNAME.
*ENDLOOP.
*--- Interne Tabellen -------------------------------------------------
DATA: BEGIN OF ICDSHW OCCURS 50. "Ausgabeaufbereitung
INCLUDE STRUCTURE CDSHW. "Zwischendatei
DATA: END OF ICDSHW.
CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS'
EXPORTING
DATE_OF_CHANGE = CDHDR-UDATE
OBJECTCLASS = CDHDR-OBJECTCLAS
OBJECTID = CDHDR-OBJECTID
TIME_OF_CHANGE = CDHDR-UTIME
USERNAME = CDHDR-USERNAME
TABLES
I_CDHDR = LT_CDHDR
EXCEPTIONS
NO_POSITION_FOUND = 1
OTHERS = 2.
LOOP AT LT_CDHDR.
CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'
EXPORTING
* ARCHIVE_HANDLE = 0
CHANGENUMBER = LT_CDHDR-CHANGENR
* TABLEKEY = '00000000 '
* TABLENAME = ' '
* IMPORTING
* HEADER =
TABLES
EDITPOS = ICDSHW
* EDITPOS_WITH_HEADER =
* EXCEPTIONS
* NO_POSITION_FOUND = 1
* WRONG_ACCESS_TO_ARCHIVE = 2
* OTHERS = 3
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT ICDSHW.
IF ICDSHW-TABKEY+3(10) = '0000001784'
AND ICDSHW-TABKEY+13(6) = '000001'.
ENDIF.
ENDLOOP.
ENDLOOP.
Vasanth -
How to change field VBAK-CMNUP using VA02
Hi EXPERTS,
How to change field VBAK-CMNUP (Date of next credit check of document) using VA02?
Seems it is hard to find it on the screen of VA02.
Thanks in advance.Hi,
Check these notes:
Note 635727 - VBAK is filled with date only if block is set
Note 588649 - Next date (CMNGV) - meaning and function
Regards,
Eduardo
PD: I forgot the Note 588649 - Next date (CMNGV) - meaning and function.
Edited by: Eduardo Hinojosa on Jun 11, 2009 11:39 AM -
Changing fields color in CL_GUI_ALV_GRID using class
Hi,
I've written a lot of posts but still I have problem with changing color for CL_GUI_ALV_GRID.
I have class ZKSL_CL_4_17_ALV_GRID_OO with 3 methods : SELECT, HANDLE_DBL_CLICK AND DISPLAY_ALV
I want to change fields color every time I double click on IT.
METHOD SELECT.
DATA:
lt_sflight TYPE TABLE OF zkslt_sflight,
ls_layout TYPE lvc_s_layo,
lr_custom_container TYPE REF TO cl_gui_custom_container,
lr_my_class TYPE REF TO zksl_cl_4_17_alv_grid_oo.
SELECT * FROM zkslt_sflight INTO TABLE mt_sflight
WHERE carrid = iv_carrid AND
( fldate IN it_date OR
price IN it_price OR
planetype IN it_type )
CALL FUNCTION 'Z_KSL_SCREEN'.
ENDMETHOD.
from FM z_ksl_screen i call screen 400 and from status_400 output I call method DISPLAY_ALV
METHOD display_alv.
DATA:
lr_custom_container TYPE REF TO cl_gui_custom_container,
lt_sflight TYPE TABLE OF zkslt_sflight,
lt_catalog TYPE STANDARD TABLE OF lvc_s_fcat,
ls_catalog LIKE LINE OF lt_catalog,
ls_layout type slis_layout_alv,
lr_my_class TYPE REF TO zksl_cl_4_17_alv_grid_oo.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
i_structure_name = 'ZKSLT_SFLIGHT'
CHANGING
ct_fieldcat = lt_catalog[].
************BULID LAYOUT
ls_layout-no_input = 'X'.
ls_layout-colwidth_optimize = 'X'.
ls_layout-totals_text = 'Totals(201)'.
ls_layout-info_fieldname = 'LINE_COLOR'.
IF mr_gui_alv_grid IS INITIAL. "-----------------------------------if----------------------&
CREATE OBJECT: lr_custom_container
EXPORTING
container_name = 'DISPLAY',
lr_my_class.
CREATE OBJECT mr_gui_alv_grid
EXPORTING
i_parent = lr_custom_container.
SET HANDLER lr_my_class->handle_dbl_click FOR mr_gui_alv_grid.
CALL METHOD mr_gui_alv_grid->set_table_for_first_display
EXPORTING
i_structure_name = 'ZKSLT_SFLIGHT'
is_layout = ls_layout
i_save = 'A'
CHANGING
it_outtab = Mt_sflight
it_fieldcatalog = lt_catalog.
ELSE. "-------------------------------------------------ELSE---------------------&
mr_gui_alv_grid->refresh_table_display( ) .
ENDIF.
ENDMETHOD.
In handler i am trying to change fields color and call method display sending new out_table
CALL METHOD me->display_alv
CHANGING
ct_fieldcat = lt_fieldcat.
Please give me some easy advice how to do that.
thank you in advice.Thank you Klaus for your reply,
The problem is that I need to make this using classes.
I tried to make my structure data with LVC_T_SCOL as you wrote,
a field of table type LVC_T_SCOL in the structure of your output table
DATA BEGIN OF lt_data.
INCLUDE STRUCTURE sflight.
DATA cellcolors TYPE lvc_t_scol .
DATA END OF lt_data.
TYPES: BEGIN OF mtt_tab.
* INCLUDE STRUCTURE ZKLST_sflight. " I get error that I cannot use ref to abap dic
INCLUDE TYPE ZKSLT_SFLIGHT.
TYPES: cellcolors TYPE lvc_t_scol ,
END OF mtt_tab.
After making type mtt_tab
i declare data lt_tab TYPE STANDARD TABLE OF mtt_tab.
and when I try to copy table mt_sflight (it is atribut of calss) like below
LOOP AT mt_sflight INTO ls_mt .
* READ TABLE lt_tab INDEX sy-tabix ASSIGNING <ls_tab>.
* MOVE-CORRESPONDING <ls_mt> TO <ls_tab>.
* UPDATE lt_tab FROM TABLE mt_sflight.
MOVE-CORRESPONDING ls_mt to lt_tab.
ENDLOOP.
I am getting error "lt_tab is not internal str or table with header"
Can you help me with this? -
In sets (t-code GS01-04): How to change Field name
HI,
I have created sets for rule in validation by t-code GS01. Where I have given Tbale name BSEG and Field name KOSTL(Cost Center No). Now, I want to change field name SAKNR (GL NO) instead of cost center. When I am trying to change field name t-code GS02, there is field name is in display mode and no way to change it.
As I have lot of entries in each set, so that creation of new sets is very hard job again. Further when I trying to create new sets by reference it didnt change the table name and field name.
Please provide me a solution.
KhalidHi,
Hope it is not possible, logically total field is changing and the dependent entrie will not stay as it is. I don't think this is possible.
Eventhough the values are same but the fields are different.
VVR -
Changing Field Labels of module pool screen dynamically
Hi All,
Can anybody tell me how to change field label of text field in dialog screen dynamically.
The Screen/Transaction is standard one.
I have created a Enhancement point for this change in one of PBO module's subroutine for this screen.
This Field label is defined as a 'Text' field only. We can't change it any more as it is standard one.
Can anybody tell me the solution for the same.
I have to change this label value as per some validations and its corresponding text field value will remain as is.
Thanks,
Deep.Hello,
I think it is not possible, but try changing the name by Looping on screen table on PBO,
Bye
Gabriel -
How to change field text in standard trasaction
Hi,
In XD01 transaction i need to change the standard field label, How difficult/easy is it to change field label of a SAP standard field? Is there any other way to change the screen text. please let me know.
regards
JayaHi Jaya,
You can change the label on the screen directly - BUT this would be a modification.
There is a way to change field labels without a modification, but that has to be done on the data element level.
For that just find out the data element that is referenced and create a Text Enhancement for that Data Element which is NOT a modification.
- Goto transaction CMOD
- Choose Menu 'Goto'
- 'Text Enhancements'
- 'Keywords'
- 'Change'
- Put in the data Element Name and confirm
- You'll have the possibility to change the Label texts for
Short, Medium and Long Field Label
Heading
Short Description
- Make your Changes and save
- Done
Where ever that data element is referenced you'll see your own text.
Hope that helps,
Michael
Maybe you are looking for
-
Oracle 8.1.7.3.0 "Vs" Oracle 9.2.0.5.0
Hi, could anyone tell me what is the diff between this two version? any impact for Native SQL statement? cause i had problem during run in production system which use Oracle version 9.2.0.5.0.
-
Strange Problem with datagrid item renderer in flash palyer 10
Hi All In Flash player 10 when i use a text input as a item renderer in grid with a custom textinput skin , it does not show us the text , where as in flash player 11 it shows us. is there any work around for it or it's a bug. Plz help me on this.
-
How to Block postings for WM managed storage location
Hi Experts, The scenario is we want to block posting for all materials for a WM managed sloc. We cannot use Authorisation management due to some limitations. Please suggest any other way to do this. Thanks
-
New JAAS Logon Module that calls RFC
I want to build a new logon module that extends AbstractLoginModule. I want to call an RFC in ECC using JCA in this logon module. The purpose of this RFC call is to read the users roles in the backend, if they have a certain role I will dynamically a
-
IMac shuts down after turning off extrenal HD
Since upgrading to 10.10.2 my 27 Inch iMac 2013 (Fusion Drive) shuts down unexpectedly when I turn off one of my external 4T G-Drive Hard Drive. iMac (27-inch, Late 2012) 3.4 GHz Intel Core i7 I can eject the G-Drive no problem. But if I eject and th