How to make Default ALV layout
Hi,
I want to make 'STANDARD view' as a default ALV Layout...If anybody execute my ALV Report STARD Layout variant should display by default. Other variant layouts they can select from drill down..
I know class and method but i don't know how to write code for this with paremeters..Can anybody help on code please..
CLASS : CL_SALV_WD_C_TABLE
METHOD : IF_SALV_WD_COMP_TABLE_PERS~SET_STANDARD_VIEW
My current ALV CODE
DATA: l_ref_interfacecontroller TYPE REF TO iwci_salv_wd_table .
DATA: l_value TYPE REF TO cl_salv_wd_config_table.
l_ref_interfacecontroller = wd_this->wd_cpifc_alv( ).
l_value = l_ref_interfacecontroller->get_model( ).
Thanks.,
Subba
Hi sarbjeet singh,
Thanks for your reply...
I didn't understand your answer...Already this view gone to production system and every USER created his own view..
Now how can make default standard view to all users..
If i keep Standard view as Intial view and release transport to production is it effected to all users and display standard view as initial view?
Thanks,
Subba
Similar Messages
-
How to make default values in selection field?
hi,
i have selection field date , using data element 'QENTST' using following code in view INIT Method. i get the input selection field when i test application.
DATA: LT_RANGE_TABLE TYPE REF TO DATA.
CALL METHOD WD_THIS->M_HANDLER->CREATE_RANGE_TABLE
EXPORTING
I_TYPENAME = 'QENTST'
RECEIVING
RT_RANGE_TABLE = LT_RANGE_TABLE.
CALL METHOD WD_THIS->M_HANDLER->ADD_SELECTION_FIELD
EXPORTING
I_ID = 'QENTST'
IT_RESULT = LT_RANGE_TABLE
I_OBLIGATORY = ABAP_TRUE.
What i need now , to make default value in this selection field( low = sy-datum and high = sy-datum + 10 ) . I have checked , i found one method called... SET_RANGE_TABLE_OF_SEL_FIELD. Bt i m not able to understand how to assign values to input table parameter in this method?
Thanks In Advance.
Saurin ShahHi,
Refer this Article by Thomas on how to make default values in Select Options:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60474842-91ca-2b10-3390-d2fd30f335fd
I hope it would solve your problem. -
How to make Default the Higher-Level Manager of the employee
Dear experts,
how to make Default the Higher-Level Manager of the employee as Further Participant in performance management ?
Regards,
TVSHi,
The delivered BAdI below defaults in both the appraiser and appraisee as part-appraisers//Default Further Participants.
BAdI Area: Appraisal Enhancements
BAdI Definition: HRHAP00_DOC_DEF_DO (Appraisal - Default Further Participants)
App. Enhn.: DEFAULT_ALL_MANAGERS
Implementation: HRTMC_DEF_OTHERS
Implementation short text: Determine All Managers
Implement this BADI in SE18/SE19 and write the desired code in the BADI methods
Hope this will help u out.....
Regards
Lakhan -
How to make default Currency depending upon plant in table entries
Hi,,
How to make default Currency depending upon plant in table entries?
I am making entries in SM30.
I have the following fields in z table.
plaant , material,month.year,PFvalue,Currency.
Can some body throw light for this issue,please?\
I am familiar with modification-events.
With Regards,
JaheerHi,
In PBO, within a LOOP, table control is filled via a Structure/Work Area.
In that module, code as follows,
LOOP AT SCREEN.
IF WA-FIELD1 = C_1 AND SCREEN-GROUP1 = C_G1.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Here, WA is a strcture & FIELD1 is its field, like that...
I already did this.
Check it out & Reply.
Yours,
R.Nagarajan
We can -
How to make default account assignment category in planned order?
Scneario Description:
1. Sales order for a configurable parent item is created in ERP & order BOM is changed & transferred to APO. In APO MRP run takes place for that parent item, which creates a planned order with account assignment category "M" (M:Individual Customer w/o KD-CO.
2. Now based on the dependant requirement generated for parent item, MRP takes place for one of the child item in ERP & purchase requisition gets created for child item.
Question:
1. Can anybody help me how i can make default account assignment as "F" (F:Order) in the planned order of parent item?
2. PR created for child item also has default account assignment category as "M". we wish to change that to "F".
Thanks & best regards
Hemchandra & Sandeep MandhanaHi V. Suresh,
The account assignment category maintained in the requirement class for parent item is 'M'.
No account assignment category maintained has been maintained in the requirement class Semi-finished component (this component is sent for subcontracting).
The business process is as follows:
1. Create Sales Order for Parent say ME_PARENT.
2. Order BOM for ME_PARENT is created and subsequently cifed to APO.
3. PP/DS heuristic is run for ME_PARENT.
4. MRP for component ME_COMP is run in ERP.
It can be seen that purchase requistion for ME_COMP has a/c assgn category as 'M'. It seems that the ME_COMP has inherited 'M' from ME_PARENT.
We would like to have no a/c assgn category for ME_COMP.
Any pointers?
Regards,
Sandeep -
How to Make a Keyboard Layout for X11/OpenOffice
While OpenOffice has a setting to use standard OS X keyboard layouts, you may find that some of these do not work correctly, especially if deadkeys are involved. In that case you will need to create a new layout in the form of a keymap file, which you place in your home folder and invoke when needed via the command "xmodmap mykeymap" in an xterm (or by putting the same line in some config file).
You keymap file should just contain the minimum necessary modifications of the default X11 map, which you can see by doing the command "xmodmap -pke | less" in an xterm (after making sure the preference item for using OS X layouts is turned off).
Some fiddling with the entries of your file may be necessary, as both X11 and apps that use it have quirks and bugs of various sorts. Below is the file I made to do Vietnamese in OpenOffice as an example:
keycode 26 = abreve
keycode 27 = 0x00E2
keycode 28 = 0x00EA
keycode 29 = 0x00F4
keycode 30 = dead_hook
keycode 31 = dead_grave
keycode 33 = dead_belowdot
keycode 34 = dead_tilde
keycode 36 = dead_acute
keycode 37 = U0111
keycode 38 = U01A1
keycode 41 = U01B0This is a feature Apple should definitely add customization to on OS X.
You can make custom keyboard layouts that include any characters you want using Ukelele.
http://scripts.sil.org/cms/scripts/page.php?siteid=nrsi&itemid=ukelele
I doubt Apple is going to incorporate this into OS X, but you can suggest it here:
http://www.apple.com/feedback/macosx.html -
How to make default personalization options for users
Hi all,
How can I make default personalization options for users, so that those will the default options when the user opens the portal BSP applications. Those will be the standard, at later point of time if they want they can personlalize some other fields, but earlier fields will be the default fields and user cant be able to change them.
Thanks
MurthyHi Murthy,
If you use IMG (crmc_blueprint_c) to customize PCUI appl than you can use the personalization feature. If you select 'Not in List' in the IMG for the field in the fieldgroup structure, than this field by default will not be viewable in the List View and will not be checked as 'Visible' in the Personilzation link. So by not selecting 'Not in List' you are giving that field to be viewable and all other fields are available for users to personalize by default.
If you have maintained the 'List View' using the CRM Designer, than most likely you would lose the above feature, as SAP Standard code considers the CRM Designer as high level of customization.
Thanks
Harsh -
How to make default value for region based on city?
Dear Experts,
When city is selected in TRIP or PR05, how to make the default value of city based on region?
The standard search help givenfot citydoesnt contain any enhancement point?
Pls suggest how to resolve this!!!
Thanks In Advance
Rgrds,
SravanHello Sahil
Account and CC/PC are 2 different entity types. For PC and CC there is dependency. First you have to load Cost centers and then load PC.
For CC - load CC master data first. Then load hierarchy file then group file and finally assignment file.
Follow same process for PC.
GL you can load independently but you have first load group GL then operational GL and then GL at company code level,
Kiran -
How to make default selected "Set to Null" option in Prompt screen?
Hi,
I have created Report using Bex Query. It has around 20 Optional variables.
In the Prompt screen for Optional variables it is showing "Set to Null" Check box.
I want to make this Check box selected by default when we preview. Kindly help me to make this option.
Thanks for your support in advance.
Thanks & Regards,
ShivaHi.
If you mean on how to set default to date between dashboard prompt there is a Default to part in the prompt.
Example - SQL Results:
SELECT min(TIMES.TIME_ID) FROM "Presentation folder"
SELECT max(TIMES.TIME_ID) FROM "Presentation folder"
Or you can add repository variable as default for each date (from and to), etc.
Regards
Goran
http://108obiee.blogspot.com -
How to make default event on Droid calendar an "appointment"?
Does anyone know how to make the default new event on the Droid calendar an "appointment" instead of a "meeting?" When I enter a new event on the Droid calendar it assumes a meeting, asking for attendees and for attendance confirmation. That's also how it syncs to my Google calendar, as a "meeting." I only want to create simple appointments on the phone calendar. Right now I have to go up to the Google calendar, delete the event as a "meeting" and re-enter it as an appointment, at which point it flows down to the phone correctly. Help!
Thank you for your inquiry! I can definitely understand the need for being able to increase the font size in your email. At this time, there is no option in Android phones to increase the font size for email. This issue has been lifted up to Google in the past, but at this time there is no information on whether this will be available in the future. There are different mail applications in the Market that may have the ability to increase the font size.
-
Hi,
I've a selection screen field to select the output ALV layout. Instead of someone manually saving a default layout, i need to write coding to create this default layout and display this default layout name in the selection-screen layout field. Can somebody help me with this? Helpful answers will be honestly rewarded
thanks,
VenkyCALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = g_repid
I_STRUCTURE_NAME = 'sflight'
IT_FIELDCAT = gt_fieldcat
I_DEFAULT = 'X'
I_SAVE = 'A'
IS_VARIANT = GX_VARIANT "<<<< pass variant
TABLES
T_OUTTAB = lt_sflight
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
FORM DOWNLOAD_FILE TABLES P_T_LISTE STRUCTURE G_T_LISTE.
G_R_DISP_VARIANT-REPORT = SY-REPID.
G_R_DISP_VARIANT-VARIANT = PA_VAR.
CALL FUNCTION 'REUSE_ALV_VARIANT_SELECT'
EXPORTING
I_DIALOG = 'N'
I_USER_SPECIFIC = 'A'
I_DEFAULT = 'X'
IT_DEFAULT_FIELDCAT = G_T_FIELDCAT
I_LAYOUT = G_R_LAYOUT
IMPORTING
ET_FIELDCAT = G_T_FIELDCAT
ES_LAYOUT = G_R_LAYOUT
CHANGING
CS_VARIANT = G_R_DISP_VARIANT
EXCEPTIONS
ERROR_MESSAGE = 4
OTHERS = 4.
LOOP AT G_T_FIELDCAT INTO G_R_FIELDCAT WHERE NO_OUT NE 'X'
AND TECH IS INITIAL
AND FIELDNAME NE 'ICON'.
MOVE-CORRESPONDING G_R_FIELDCAT TO IS_FIELDCAT.
IS_FIELDCAT-FIELDNAME = G_R_FIELDCAT-FIELDNAME.
IS_FIELDCAT-INTTYPE = G_R_FIELDCAT-INTTYPE.
IS_FIELDCAT-OUTPUTLEN = G_R_FIELDCAT-OUTPUTLEN.
IS_FIELDCAT-REF_FIELD = G_R_FIELDCAT-FIELDNAME.
IS_FIELDCAT-REF_TABLE = G_R_FIELDCAT-REF_TABNAME.
APPEND IS_FIELDCAT TO IT_FIELDCAT.
ENDLOOP.
DATA: WA_LISTE LIKE P_T_LISTE.
CLEAR:IT_OUTTAB.
REFRESH: IT_OUTTAB.
LOOP AT P_T_LISTE INTO WA_LISTE.
WA_OUTTAB-PSPID = WA_LISTE-PSPID .
WA_OUTTAB-POSID = WA_LISTE-POSID.
WA_OUTTAB-POST1 = WA_LISTE-POST1.
WA_OUTTAB-STTXT_INT = WA_LISTE-STTXT_INT.
WA_OUTTAB-STTXT_EXT = WA_LISTE-STTXT_EXT.
APPEND WA_OUTTAB TO IT_OUTTAB.
ENDLOOP.
**dynamic table creation for data
ASSIGN LT_DATA TO <FS_DATA>.
Create a new Table
CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
EXPORTING
IT_FIELDCATALOG = IT_FIELDCAT
IMPORTING
EP_TABLE = <FS_DATA>
EXCEPTIONS
GENERATE_SUBPOOL_DIR_FULL = 1
OTHERS = 2.
IF SY-SUBRC = 0.
ASSIGN <FS_DATA>->* TO <FS_1>.
CREATE DATA NEW_LINE LIKE LINE OF <FS_1>.
A field-symbol to access that work area
ASSIGN NEW_LINE->* TO <FS_2>.
**MOVE DATA
LOOP AT IT_OUTTAB INTO WA_OUTTAB.
CALL FUNCTION 'CONVERSION_EXIT_ABPSN_OUTPUT'
EXPORTING
INPUT = WA_OUTTAB-PSPID
IMPORTING
OUTPUT = WA_OUTTAB-PSPID.
CALL FUNCTION 'CONVERSION_EXIT_ABPSN_OUTPUT'
EXPORTING
INPUT = WA_OUTTAB-POSID
IMPORTING
OUTPUT = WA_OUTTAB-POSID.
LOOP AT G_T_FIELDCAT INTO G_R_FIELDCAT
WHERE NO_OUT IS INITIAL
AND TECH IS INITIAL.
ASSIGN COMPONENT G_R_FIELDCAT-FIELDNAME OF STRUCTURE
WA_OUTTAB TO <FS_5>.
ASSIGN COMPONENT G_R_FIELDCAT-FIELDNAME OF STRUCTURE
<FS_2> TO <FS_3>.
<FS_3> = <FS_5>.
ENDLOOP.
INSERT <FS_2> INTO TABLE <FS_1>.
ENDLOOP.
ELSE.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
OPEN DATASET P_FILE FOR OUTPUT IN TEXT MODE.
IF SY-SUBRC EQ 0.
LOOP AT <FS_1> ASSIGNING <FS_2>.
TRANSFER <FS_2> TO P_FILE.
ENDLOOP.
ELSE.
MESSAGE E041(S9) WITH P_FILE.
ENDIF.
CLOSE DATASET P_FILE.
ENDFORM. " download_file
002 vsm1kor 13.06.06 - en -
How to set default Print layout in SDK!
Hi All
In Form Delivery (ID=140) I want to Add Button to set default print layout by Addon.
Please let me know the interface and the table to do it. ThanksHi Tao,
there's a vb6 sample in the DIAPI documentation
Sets the specified report layout as default
Dim oCmpSrv As SAPbobsCOM.CompanyService
Dim oReportLayoutService As ReportLayoutsService
Dim oDefaultReportParams As DefaultReportParams
'get company service
oCmpSrv = oCompany.GetCompanyService
'get report layout service
oReportLayoutService = oCmpSrv.GetBusinessService(ServiceTypes.ReportLayoutsService)
'get report layout params
oDefaultReportParams = oReportLayoutService.GetDataInterface(ReportLayoutsServiceDataInterfaces.rlsdiDefaultReportParams)
'set the report layout code
oDefaultReportParams.LayoutCode = "POR20005"
'set the report code
'the report code is the document type code (e.g. POR2=PurchaseOrder)
oDefaultReportParams.ReportCode = "POR2"
'set the user code
oDefaultReportParams.UserID = 1
'delete the report layout
oReportLayoutService.SetDefaultReport(oDefaultReportParams)
i hope it helps you
regards
David -
How to make default value for controlling area for MDG-F 7.0
how do we default certain pre-defined values for few fields? e.g. controlling area or company code for MDG finance?
Thank you in advance.
SPHello Sahil
Account and CC/PC are 2 different entity types. For PC and CC there is dependency. First you have to load Cost centers and then load PC.
For CC - load CC master data first. Then load hierarchy file then group file and finally assignment file.
Follow same process for PC.
GL you can load independently but you have first load group GL then operational GL and then GL at company code level,
Kiran -
How to make WD ALV Editable Fields (Cell) Mandatory (Obligatory) ?
Hello Friends,
I have requirement where I need to make WD ALV editable inputfield as Mandatory fields. I found out that there is no method available to do this.
If anybody has any solution then please reply to this thread.
Thanks,
ChandraHello Friends,
Thanks for your reply. I just wanted to elaborate more on this so that others will benefit from this thread.
I used method SET_STATE from class CL_SALV_WD_UIE_A_INPUT which is super class for class CL_SALV_WD_UIE_INPUT_FIELD.
The code looks as below,
Data: lr_input_field TYPE REF TO cl_salv_wd_uie_input_field.
CALL METHOD lr_input_field->set_state
EXPORTING
value = cl_wd_abstract_input_field=>e_state-required.
well, I just forgot to check super class and its available methods...But got clear hint from Tulasi.
Thanks to all.
Chandra -
How to make display variant layout as default ?
Hi All,
I have created display variant for VA05 layout as per user requirement.
Now whenever I execute VA05, I want that display variant layout should get defaulted. Currently SAP default one is executing and everytime I have to select manually my own display variant layout.
Please suggest.
Thanks.
Swarup.Hi,
you can set your layout as default.
Goto VA05, enter necessary info. press enter. system will give list of sales order
Goto settings, select layout and choose administration.
click on default setting for your layout ( you get right symbol for your layout) and save it.
Regards,
Chandra
Maybe you are looking for
-
Is there a way to make the User Interface bigger?
I have an ongoing discussion about this related to other Apps, and there is a fix which sort of work in Photoshop. But I have not seen anything for Premier Pro. Many of the icons are quite easy to use and see anyhow, but the text shrinks down to almo
-
Need Help! iTunes will not load podcast!
Hi Everyone, I'm close to killing myself here! I would really appreciate some help! I created an Audio-Podcast (Fileformat: M4a) and wrote the xml file. Both files are on my public server! When I open the xml file with Safari, the feed works! I can r
-
When Oracle Forms 11 ?
-
File system cache on APO for ATP
Hi, aces, Do you have any recommendation percentage of file system cache on AIX for APO/ATP environment? My system was configured to be 20% min -80% max. But I am not sure if this is good for APO/ATP. I suspect the file system cache takes a lot of
-
GUI is not dispose/hide on my ActionListener
Hi all, I have add a JEditorPane, a JLable, a JButton on a JPanel. Then I add that JPanel to a JDialog to avoid displaying the title bar on the system-tray. On a cation event I want to hide whole of them. Not to exit the system. Here are the componen