Changing the column position & width using Screen Variant..
Hi Experts,
Iam trying to change the column position and width for the standard transaction (eg. FB60 or VA02) using the transaction code SHD0 (Transaction and Screen Variant).
Iam able to create and save the transaction and screen variant and i could see the check box options for table control like
a. Auto Column Position
b. Auto Column Width
I tried checking and unchecking both the check boxes but iam unable to modify / maintain the column position and width.
Please guide me in changing the column position and width.
Thanks in Advance.
Hi Mudit,
Kindly go through this link below:
http://help.sap.com/saphelp_nw04/Helpdata/EN/9f/dbac0b35c111d1829f0000e829fbfe/content.htm
Hope it helps you
Regrds
Mansi
Similar Messages
-
How to change the column position for address in BP
Hi,
My user want to move up the column of "Attention To" just after "Address Name", I tried in UI(Matrix) but seems UI (2007) doesn't support that kind of operation in Matrix. I am wondering if we can do something inside SAP. Apparently the address is a matrix, but why there is no setting like form setting for this matrix?
Thanks,
LanHi.....
Open Business Partner Master Data Window.
Open Address Tab.
Now click on Form setting as it goes enable at Addess Tab. It also works in case of Contact Person......
It happens in SAP 8.8 and SAP 2007B, 2005B.......
Regards,
Rahul -
Change the column width on the fly
Dear all,
I have a problem, i have a matrix report, the row is "the project name" and the column is "the items" using within each project, and the problem is the items are variable from time to time the report run for each project, so its exceeds the paper width.
And the question is, is there any way to change the width of the column on the fly, i mean dynamiclly change the column width each time the report is called to make all items fit the paper width.
Thank ui don't think that we can change the layout of the column in reports
The simple solution for that problem is that u have to
fix the horizontal and vertical layout of the text item
better is to post this problem at reports forum
Najeeb -
Can i change the column width in a table row dynamically
Hi,
There are two columns in one of the row of the table, can i change the width of the cells dynamically.
Sometimes one of them will be blank and the other cell has to print the entire string .
Left cell is left aligned and the right cell is right aligned.
I tried to change the width using field.W but it didnot work.
Regards,
SobhanHi,
We can change the column width of a column dynamically. Try the javascript code in the appropriate event.
Table.columnWidths = "2in 3in 4in 5in";
Thanks & Regards,
Sanoosh -
How to change the column width in Smartforms..?
Hi All..
I need to change the column width in a smartform.
The requirement has been mentioned as follows...
Adjust the column width of the following columns:
MATERIAL: 14 char
DESCRIPTION: 20 char
How to perform this..??
Where can i find the column width of various columns of a smartform..???
Please Help me...
Regards
PavanIn the SMART Forms, you would have created a Table object and specified the line width and divided that into no. of columns that you want, you have to mandatorily specify the width of each column so that total of column width will be equal to that of the line width.
When you double click on the Table object, you can TABLE tab on the right side. If you can't see the line / columns details, click on the DETAILS button.
Regards,
Ravi
Note - Please mark all the helpful answers -
Matrix column position problem in screen painter.
hi.
i am facing one problem.
ie.
i am developing one screen.
it is having 3 matrix
each matrix is having some columns
one matrix ok two matrix ok thrid matrix ok.
but
under third matrix i put some columnes
1, 2 ,3, 4,
in screen painter design mode every thing is ok
it is appearing like 1,2,3,4
but at preview mode or through the code if i open
it is appearing like 1, 4,3,2
in preview mode screen painter if i click on the form settings it is showing only..
matrix one columns only it is not showing either 2 or 3
and if i open the form through the code..
i am able to see the columns of matrix 1 n matrix 2 and matrix 3
i am using some code.
If (pVal.FormUID = "WIP2PROCESS" And pVal.ItemUID = "1000007") Then
oForm = SBO_Application.Forms.Item("WIP2PROCESS")
oForm.PaneLevel = 2
oForm.Settings.Enabled = False
oForm.Settings.MatrixUID = "59"
End If
now through the source code i am able to see the each column under matrix.
but if i change the matrix position at form setting it is changing but
if i click other folder and come back to previous folder..
again the column position is 1, 4,3,2
previously i changed to 1,2,3,4
how can i do it..
screen painter can i change it..
Any information plz update me..Hi Srinivas,
Can you do one thing for me ? Open your form in screen painter, set the columns as you want to display. Now change the unique id for the matrix. Then try to open it through code or see in preview mode.
Hope it helps.
Thanks & Regards
Ankit Chauhan -
How can i change the column label text in a alv table display
how can i change the column label text in a alv table display??
A similar kinda of question was posted previuosly where the requirement was the label text was needed and following below code was given as solution :
<i>* declare column, settings, header object
DATA: lr_column TYPE REF TO cl_salv_wd_column.
DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings.
DATA: lr_column_header type ref to CL_SALV_WD_COLUMN_HEADER.
get column by specifying column name.
lr_column = lr_column_settings->get_column( 'COLUMN_NAME1' ).
set Header Text as null
lr_column_header = lr_column->get_header( ).
lr_column_header->set_text( ' ' ).</i>
My specific requirement is i have an input field on the screen and i want reflect that value as the column label for one of the column in the alv table. I have used he above code with slight modification in the MODIFYVIEW method of the view since it is a process after input. The component gets activated without any errors but while run time i get an error stating
<i>"The following error text was processed in the system CDV : Access via 'NULL' object reference not possible."</i>
i have checked in debugging and the error occured at the statement :
<i>lr_column = lr_column_settings->get_column( 'CURRENT_YEAR' ).</i>Please can you provide me an alternative for my requirement or correct me if i have done it wrong.
Thanks,
SuriI found it myself how to do it. The error says that it is not able to find the reference object i.e it is asking us to refer to the table. The following piece of code will solve this problem. Have to implement this in WDDOMODIFYVIEW method of the view. This thing works comrades enjoy...
DATA : lr_cmp_usage TYPE REF TO if_wd_component_usage,
lr_if_controller TYPE REF TO iwci_salv_wd_table,
lr_cmdl TYPE REF TO cl_salv_wd_config_table,
lr_col TYPE REF TO cl_salv_wd_column.
DATA : node_year TYPE REF TO if_wd_context_node,
elem_year TYPE REF TO if_wd_context_element,
stru_year TYPE if_alv_layout=>element_importing,
item_year LIKE stru_year-i_current_year,
lf_string TYPE char(x),
DATA: lr_column TYPE REF TO cl_salv_wd_column.
DATA: lr_column_header TYPE REF TO cl_salv_wd_column_header.
DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings.
Get the entered value from the input field of the screen
node_year = wd_context->get_child_node( name = 'IMPORTING_NODE' ).
elem_year = node_year->get_element( ).
elem_year->get_attribute(
EXPORTING
name = 'IMPORT_NODE-PARAMETER'
IMPORTING
value = L_IMPORT_PARAM ).
WRITE L_IMPORT_PARAM TO lf_string.
Get the reference of the table
lr_cmp_usage = wd_this->wd_cpuse_alv( ).
IF lr_cmp_usage->has_active_component( ) IS INITIAL.
lr_cmp_usage->create_component( ).
ENDIF.
lr_if_controller = wd_this->wd_cpifc_alv( ).
lr_column_settings = lr_if_controller->get_model( ).
get column by specifying column name.
IF lr_column_settings IS BOUND.
lr_column = lr_column_settings->get_column( 'COLUMN_NAME').
set Header Text as null
lr_column_header = lr_column->get_header( ).
lr_column_header->set_text( lf_string ).
endif. -
Error while trying to change the Column description in Table Control
Hi,
I have created a table control using the wizard in Module Pool.
When i try to change the column description of the table control or adjust any other element which is already available on the screen and not in table control. It gives me an error
Unable to transfer data. End Program?
Any help would be appreciated.
Thanks
Sarves S V KHi.,
Check these [Table Control Change Column Description|Add new columns in table control in custom screen program;
and [Add Columns in Table Control|Re: Table control columns]
else delete and create Table control Again..!!
hope this helps u.,
Thanks & Regards,
Kiran -
Actual GI date mandatory using screen variant SHD0
Hello All,
I have a requirement to make the Actual GI Date as mandatory field in Vl01n.
I am using screen variant in SHD0
TRANSACTION CODE -- VL01N and
SCREEN VARIANT --- BUS2124_DEC_CREATE_1102
PROGRAM -
SAPMV50A
SCREEN ---1102
and click on change mode
This will lead to nex screen where you can find the Field ACTUAL GI DATE against which the field status are available
Check the REQUIRED field and save it.
Here comes the problem when i tested from SHD0 transcation the actual GI date is showing has mandatory field but when i Run VL01n Transaction Actual GI date is not showing has mandatory field. Could you please tell me what may be the problem?
or let me know if any other method to make the Actual GI date has mandatory field in Vl03n.
Thanks in Advance.
SatishYou should've created a transaction variant. (You can attach the screen variant to the trxn variant as well).
In SHD0 there is a tab "Standard Variant", there you've to enter the name of your transaction variant & activate it. This will bind the trxn variant with the trxn & everytime you run the trxn your trxn variant will be executed.
BR,
Suhas -
How can i change the image in portal logon screen
hi guys
pls tel me
how can i change the image in portal logon screen
thanks
regards
kamalHi
Download the par file com.sap.portal.runtime.logon.par.bak from
Go to System Administration -- Support -- Portal Runtime -- Browse Deployment.
The path should ROOT/WEB-INF/deployment/pcd. Now download that file into local system.
Create a Par project and make necessary chenages ..i.e
Open the downloaded par file with WinZip and inside the lib folder three jar files named com.sap.
portal.runtime.logon_api.jar, com.sap.portal.runtime.logon_core.jar and umelogonbase.jar will be there. Copy those files in the folder u2018libu2019 in par project.
Now change a branding Image...i.e
Replace the branding-image. jpg with your company branding image in the same name.
Once modifications are done,then create a par project and upload the par file into portal.
Go to the path System Administration -- Support -- Support Desk -- Portal Runtime -- Administration console.
then browse the file and click on upload.
Connect to server where the Portal WebAS is running and go to:
(drive):\usr\sap\<system id>\<system instance>\j2ee\cluster\server0\apps\sap.com\com.sap.security.core.admin\servlet_jsp\logon\root\layout.
There you will find the images used on logon screen, you can replace them for your
company images, please take care with the width of the images, as usual, to make this
change effective, you must restart the whole WebAS.
Regards,
Raju -
How to change the column postion in Dynamic Table
Folks,
I have an ess application which is creating dynamic table from dynamic node, I need to change one of the column position , please let me know how to do
Thanks,
Manishproblem solved
-
I created an application and in that application if date is changed the application starts from splash screen on re-entering and if date is not changed and u re-enters the application then it open in page where u leaved.It works fine in our side (Timezone,kolkata ,india even for Timezone,slvaniya,USA) but our USA client is telling that on changing the date it not starts from start-up sequence.Can anyone plz suggest the reason for it.
This is the code which we have used.
//////////Return if it is first time for the day or not//////////////
+ (BOOL)isFirstTimeToday {
BOOL result = YES;
NSDate *now = [[NSDate alloc] init]; /// represents the current time
NSCalendar *gregorian = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar];
NSDateComponents *components = [gregorian components:(NSYearCalendarUnit | NSMonthCalendarUnit | NSDayCalendarUnit) fromDate: now];
NSDate *today = [gregorian dateFromComponents:components];
[now release];
[gregorian release];
NSDate *savedDate = [[NSUserDefaults standardUserDefaults] objectForKey:LAST_TIME_VISITED];
if (savedDate) {
if ([today earlierDate:savedDate] == today) {
result = NO;
return result;
////////Stores the date/////////////
+ (void)userDidVisitReenforceScreenToday {
[[NSUserDefaults standardUserDefaults] setObject:[NSDate todayAtMidnight] forKey:LAST_TIME_VISITED];
////////////What [NSDate todayAtMidnight] stores/////////////////////
+ (NSDate *)daysFromNowAtMidnight:(NSInteger)nOfDays {
NSDate *date = [NSDate dateWithTimeIntervalSinceNow: (86400*nOfDays)];
NSCalendar *gregorian = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar];
NSDateComponents *components = [gregorian components:(NSYearCalendarUnit | NSMonthCalendarUnit | NSDayCalendarUnit) fromDate: date];
NSDate *dateAtMidnight = [gregorian dateFromComponents:components];
[gregorian release];
NSLog(@"dateAtMidnight : %@",dateAtMidnight);
return dateAtMidnight;
+ (NSDate *)todayAtMidnight {
return [self daysFromNowAtMidnight:0];
Please Suggest.. -
Is it possible to change the cursor position automatically when changing the language?
For example: when changing from English to Hebrew the cursor will move from the right end to the left?
Thanks,
AmnonI don't think this is possible in general, although some individual apps might do it. Normally you use a direction control from an app menu or at the system level.
http://support.apple.com/kb/PH14203 -
How to change the column name as bold in adf table
Hi,
How can I change the column name with bolder style and blue colour in adf Table?
I changed the color and font weight in af:column properties, but its effecting the data in that column but not with the column Header Text property.(i have given column name in header text).
can any one have any idea how to do this?
and I have taken panel tabbed layout and in that i'm displaying this table.
but this table has scroll beneath of it to show all columns.
but i want to display all columns (for this, page should have scroll at the bottom side).
how can I achieve this???Hi,
Add the following CSS Code to the custom skin css file that is to be created as per the suggestions above.
*af|column::column-header-cell{*
color:Blue;
font-weight:bold;
This would ensure that all the table column headers are blue in color and bolder font style through-out the application.
By the way, what version of JDeveloper are you using?
Thanks,
Navaneeth -
Hi experts,
I have used tableview in BSP . In the output it displays the column name as per the table which i have referred. I want to change the name of the column. How Should i do that.. anyone plz explain me with an example.
Thanks in Advance
Edited by: Vijay Babu Dudla on Apr 28, 2009 12:59 AMHi ,
If you want to change the column name, you can put your code following:
<htmlb:tableViewColumn columnName = " "
*title = " put the cloumn name here"*
</htmlb:tableViewColumn>
Please try.
Any doubt let me know.
Regards,
Chris Gu
Edited by: Gu Chris on Apr 28, 2009 5:26 AM
Edited by: Gu Chris on Apr 28, 2009 5:26 AM
Edited by: Gu Chris on Apr 28, 2009 5:27 AM
Maybe you are looking for
-
Copying Between iTunes on 2 computers with same Apple ID
I use 2 computers with the same apple id for iTunes. My main iTunes acct is on a computer with no cd drive. When I import cds onto the secondary computer, how can I get those albums to iTunes on my main computer? Family Sharing doesn't seem to help s
-
Mac Mini fusion drive churning/thrashing
My new Mac mini, while running quietly for several weeks, now has a fusion drive that is churning/thrashing continuously. It's not Time Machine. It's not Splotligh. It's not anything that reigsters in the Activity Monitor. Disk Utility checks out.
-
Form interface import parameter cannot be used in smartform
Hi, When I try to use the standard parameter HEADER in a routine in a smartform, I get the error: "HEADER" expected, not "...". I have put the HEADER definition in the Input parameters of the routine and I have tried other form interface import param
-
We've been playing around with the different scheduling options. We've bounced between event and time orientated deployments. The time updates seem to be foolproof, but we have a need for immediate deployments in certain cases. Has anyone messed arou
-
Hi, I need to convert an ABAP List that is in the spool to a PDF file, but I want to separate the SPOOL in several pages so that each page is a new PDF file. Is there any way I can do this? Thanks PS: I prove the function <b>CONVERT_ABAPSPOOLJOB_2_P