Default Layout for Z.transaction codes
hi,
we copied the FAGLL03 progamre and we made ZFAGLL03 becz there is a some reqirement from client.
we want set the defalut layout for this T.Code ZFAGLL03,
For this we save the layout and assign in FB00, then also when we excute the programe , it is not comeing the defalut layout .
what is process to set the defalut layout for Z T.Codes.
Regards,
Balu.K
Hi,
The default layout for the report cannot be done through FB00. You need to take help of an abaper. Similar to FAGLL03, you should have an icon to change and save layout for the report. If the icon is not present, an ABAPer can include it. Once the icon is available, you can change the layout and set it as default or user specific.
Hope this helps.
Thanksa and Regards,
Anit
Similar Messages
-
Set the default field value to transaction code field, when calling from WD
Hi all,
Can we pass the value in a input field of a standard transaction calling from WD application. Suppose we are calling a transaction VA03 in an external window, then how will be pass the value in the VBAK_VBELN screen field.
Is there any way to pass the value to this transaction field. I have also tried out to set the parameter ID 'AUN' for VA03 transaction VBELN field. But it did not work for me.
Is there any way to set the default field value to transaction code field, when calling from WD?
Please suggest, if anyone have any idea.
Thanks
SanketHi,
I am using the below code to open a standard transaction. It will help you to explain my point more easily.
DATA: url TYPE string,
host TYPE string,
port TYPE string.
*Call below method to get host and port
cl_http_server=>if_http_server~get_location(
IMPORTING host = host
port = port ).
*create URL
CONCATENATE 'http'
'://' host ':' port
'/sap/bc/gui/sap/its/webgui/?sap-client=&~transaction=' 'VA03'
INTO url.
*get the window manager as we are opening t code in external window.
DATA lo_window_manager TYPE REF TO if_wd_window_manager.
DATA lo_api_component TYPE REF TO if_wd_component.
DATA lo_window TYPE REF TO if_wd_window.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
call the url which we created above
lo_window_manager->create_external_window(
EXPORTING
url = url
RECEIVING
window = lo_window ).
lo_window->open( ).
Note*
One more query I want to add to this thread, that is there any possibility to call a custom transaction as well? -
Problem to set the custom layout as the default layout in std. transaction
Hi all,
I want to change the standard layout that is displayed in a standard transaction (EL31) as default. I want few more fields of the structure also to be displayed in the default layout of the standard transaction. I have made a custom layout that i want to be displayed but cant make that layout as the default layout for all users. Please suggest me some way to make the custom layout as the default layout for a standard transaction. -
Config line item layouts for Clear transaction
hi all,
can anyone tell me how I can config these codes
Current line item layouts for Clear transaction F-32, menu Settings/ line layout:
A1 Allocation / document number
K1 Document number
K2 Reference no.
K3 Account number
K4 Account number / company code
K5 Company code
K6 Payment order
K7 Bill of exchange payment request
SA Order
SB Purchasing document
SP Project
T1 Original document number
Z01 Account / Allocation
Z02 A/P - Open invoices
Z03 WBS Element
Z04 Network
ZK2 Ref. / Alloc. / Document / Reason C
thanks alot!
Tram NguyenHi,
In IMG (transaction SPRO) under
Financial Accounting -> Accounts Receivable and Accounts Payable -> Business Transactions -> Incoming Payments -> Manual Incoming Payments -> Make Settings for Processing Open Items -> Define Line Layout
Here you determine which information is to be made available on the screen when processing line items (for example, document type, document number, account number, company code).
Regards,
Srilatha. -
Default Layout for a report running in background
Dear Friends,
I have created a layout for report ME2L and set as default layout (for every user)....
Foreground execution picked the DEFAULT layout but when am trying to execute the same report in background, default layout is not picked but the STANDARD layout is shown in the spool
Could you please suggest me how can i use same report layout for foreground as well as background
Thanks in Advance
AnaAtanu dey,
If you wnat to download excel in back ground
You have to download in application server only.
EX:
DATA : v_filepath(80) VALUE '/data/sapdata/inc/error_log/pme_br/',
c_coma VALUE ',' .
OPEN DATASET v_filepath FOR OUTPUT IN TEXT MODE.
IF sy-subrc EQ 0.
LOOP AT i_errors_bat.
CONCATENATE i_errors_bat-plant c_coma
i_errors_bat-zzvendor c_coma
INTO v_string.
TRANSFER v_string TO v_filepath.
ENDLOOP.
CLOSE DATASET v_filepath.
Note : you can download in presentation server also.
but it requires lot of authorizations and have to use
FTP commands.
Reason is Apllication server in back ground has to
recognize the from which system request came.
Better go for OPEN DATA sets.
Don't forget to reward if useful..... -
Reg : Enhacement for the transaction code MD04
Hi experts,
I have implemented an user exit for the transaction code MD04 where in the stock/requirement list I am supposed to add a new column for the exception number which displays the exception description for the corresponding exception number.
The coding part for fetching the exception description for the corresponding exception number is done in the include 'ZXM61U03'.
The problem is in the importing parameter IMDEZEXIT in which all the screen data will be present basing on which the data fetching is done .The AUSKT(Exception number) value is not getting populated . All the other data in the row is getting populated.
Please suggest e a solution for this.
Regards,
Ramkishore.Hi
Hope it will help you.
reward if help.
Please use FM MD_STOCK_REQUIREMENTS_LIST_API to get all information for transaction MD04/MD05.
You might also want to check out the function module API.
MD_MRP_LIST_API
and also
check this link for extracting data from MRP tables:
http://www.sap-img.com/pp001.htm -
Find active user exit for a transaction code
Hi All,
Please help to find the active user exit for a transaction code.
for Ex. below is the list of user exits for package VA ( for creation of sales order and changing sales order). Let me know which user exit is active and which is not active.
Exit name Short text
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0001 Determine alternative materials for product selection
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
Thanks & Regards,
SabuGoto TADIR table give program id as R3TR ,Objec type as CMOD and execute.
You will get all active exits in system.
Exits related to SD may be in ZSD package. -
FI-STANDARD SCRIPT FOR FBCJ TRANSACTION CODE
Hi All,
I need to change the standard script for FBCJ transaction code, Can some one help to get the standard Script name.
Actually i need to remove IDES and place logo.Where to configure the Custom Script.
Thanks in Advance.this is the path to assign customized Sapscript for cash journal
Financial Accounting Bank accounting Business transaction Bill of exchange transaction Bill of exchange receivable Bill of exchange receivable Failed payment transactionMake and check settings for correspondence Define form name for cores pending Printing
please try this i hope that this will be useful to All.
assign Customized Sapscript in place of the standard one for CASH JOURNAL
Edited by: NareshBD on May 12, 2011 3:13 PM -
Restrict the badi for particular transaction code
hi, i have implemented BADI_FDCB_SUBBAS01 and in the subscreen area 10 i attatched my own module pool program and screen number. my requirement is for FB60 only. and it is working for FB60 fine. the problem is also working for FV60.
Is there any possibility to restrict for particular transaction code say for FB60.
Please reply me soon....Hi Praveen,
Since this is a single use badi you have the option to create a new filetr of your own. You can create a filter of type sy-tcode and in your implementation assign it a value of your transaction. Thus if someone else also wants to use it for some other transaction can have a implementation of his own for some other transaction.
The other way which is though not the recommended way buy easy to use is to put a check before your code on SY_TCODE = your transaction.
revert for more clarifications if required.
<b>Always reward points to useful suggestions.</b>
regards,
Vikas
Message was edited by:
Vikas Taneja -
Authorization for a Transaction code
Hi,
In ECC 5.0, how can we get an authorization for a transaction code by debugging the code?
Actually in 4.6C, we used to debug the code & change SY-SUBRC code to '0' & get the authorization for a perticular transaction code.
Similarly how can we do this in ECC 5.0?
I tried, but I am not getting where to change the sy-subrc code to '0'.
Any help or clue is greatly appreciated.
Thanks,
Sarika.Hi Sarika,
You can try out this workaround. In function module 'RS_TRANSACTION_TEST' put a breakpoint at statement ' call function 'AUTHORITY_CHECK_TCODE''. Execute the required transaction using tcode SE93.If you don't have the authorization then sy-subrc will be 4 after the above statement. In debugging mode change it to 0. Hope this helps.
Thanks,
Roshan Gujaran. -
Default Layout for Multiple ALV displays
Hello All,
I have a requirement where I am displaying multiple ALV grid displays on different tabs of a screen.
Now I have to set a default layout for each of the grids separately as they have different fields.
Please let me know how to do it, I am using OO ALV display.
Thanks a lot
RuchiHi,
According to your grid called pass the variant name
gs_variant-report = sy-repid.
gs_variant-username = sy-uname.
gs_variant-variant = v_vari. " Your variant Name
call method grid1->set_table_for_first_display
exporting
is_layout = gs_layout
is_variant = gs_variant "<<<<<<<<<
i_save = 'A'
it_toolbar_excluding = i_exclude[]
changing
it_outtab = i_output[]
it_fieldcatalog = i_fieldcat[]
exceptions
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
others = 4.
a® -
GRC Default Layout for Controllers
Hi Gurus,
We have a requirement to set the default layout for the Firefighter Controllers. Currently the log report doesn't show some fields like Old Value and New value and change type.
How can we set this as global and default for all users ?
Regards,
Salmanthank you Alessandro and Katrice. I found that package but not sure what should I mention in the path to open the approver screen as it says page cannot be displayed. I tried to use object id as GRAC_UI_SPM_AUDIT_WF but doesn't open
http://------------------/sap/bc/webdynpro/sap/grac_ui_spm_audit_wf?sap-language=EN&sap-config-mode=X
We need to go to path Web dynpro Applications and test the object -
Default layout for T code FAGLL03
Hi,
I have created a layout for T code FAGLL03. I want to make this layout as default layout only for me i.e user specific so that whenever I execute this T code, I get the report in that layout.
Is it possible to create user specific layout which wil be defaulted when that T code is executed.
Regards..Hi:
Yes you can easily make default user layout that will be set as default for your own log in only. Please execute FAGLL03 ...once report is executed, set you layout as per your desire and in order to make it user default please go to Menu...Settings...save....there you will have to specif name starting with / and on the same screen you will find the user default check box . Just check and save it. Now exit from report now every time you will execute the report you will get the customized layout you saved.
Regards -
Wrong default layout for a new customer
Hi all,
I hope somebody can share inputs with regards to this issue.
I'm assigning a default layout to one customer group (layout1 for all Group1). When this was done, a list of customer codes were included in the list and each were ticked from that list.
Second layout called layout2 for the setting 'Set &as Default for all BPs (for Whom a Default Layout Has Not Been Assigned).
Scenario: A new customer code is created belonging to Group1.
Issues:
a. This new customer code does not automatically follow the setting on default layout which is layout1. When the layout1 default setting was double
checked, the new customer code was part of the list, but it was not ticked.
b. When document was previewed, it uses the wrong layout2.
c. The user still has to update the layout1 default setting, ticking the tick box from the list for the new customer code, then clicking update in then
layout designer window.
Question: Is this a normal behaviour of the system? I thought that setting it as default for certain customer group will be applicable even to newly created ones under that group.
Regards,
CathyHi,
I am afraid that it is your SAP B1 version current behavior but you may check using demo database. What is your SAP B1 version anyway ? what is your database localization ?
You may try the solution part from one of these notes below:
993486 - 'Set as Default for All BPs' doesn't affect specific BP
Version 5 Validity: 21.01.2011 - active
Language English (Master)
Portuguese
Content: Summary | Header Data | References | Validity
Symptom
Specific printing template for Business Partner can not be changed in attempt to define printing template as a default template for all Business Partners.
Cause
Functionality description
Solution
In order to change a specific default printing template for Business Partner follow the steps below:
1. Choose the required template and press on the 'Set as Default' button.
2. Choose the 'Set as Default for Specified BP' and 'Set as Default for Current User' option.
3. Uncheck the box near the BP name and press on the 'Update' button.
4. Choose the required default template (new template) and press on the 'Set as Default' button.
5. Choose the 'Set as Default for all BP' option.
Other terms
Print Layout Designer, Default Template, Set as Default for All Users,
Set as Default for Current User, Set as Default for All BPs, Set as Default for Specific BP
Header Data
Released On
24.02.2011 20:52:30
Release Status
Released for Customer
Component
SBO-GEN-PLD Print Layout Designer
Other Components
SBO-SH-PLD-A2 Tips and tricks for building PLD templates
Priority
Recommendations/additional info
Category
Consulting
References
This document refers to: SAP Business One Notes
861088
Cannot set a template as default for all users
This document is referenced by: SAP Business One Notes (1)
861088
Cannot set a template as default for all users
Validity
Software Component
Version
SAP BUSINESS ONE
2005 A
2005 A SP01
2005 B
2007 A
2007 B
8.8
2nd note:
861088 - Cannot set a template as default for all users
Version 4 Validity: 04.08.2009 - active
Language English
Content: Summary | Header Data | References | Validity
Symptom
When print previewing,the template used is not default template.
Cause
A template has been defined as default for all users, when previewing this it is not the template which has been set as default for document.
Solution
In order to change to a different default template for all users and all business partners please do the following:
a) "Set as default for specified Business Partner" and "set as default for current user"
b) Add tick for this Business Partner
c) Update by ticking again the specific Business Partner
d) Change set as default for all users and all Business Partner's
Other terms
Print Layout Designer, Default Template, All users, Set as Default template, SAP Business One
Header Data
Released On
04.08.2009 11:28:58
Release Status
Released for Customer
Component
SBO-GEN-PLD Print Layout Designer
Other Components
SBO-SH-PLD-A1 Print Layout Designer known Issues
Priority
Recommendations/additional info
Category
Consulting
References
This document refers to: SAP Business One Notes
993486
'Set as Default for All BPs' doesn't affect specific BP
This document is referenced by: SAP Business One Notes (1)
993486
'Set as Default for All BPs' doesn't affect specific BP
Validity
Software Component
Version
SAP BUSINESS ONE
2004 A
2005 A
2005 A SP01
2005 B
2007 A
2007 B
JM -
Set a default layout for all users via DIAPI
Hello everyone,
I am attempting to set a default report for all users/business partners using the DI-API.
I can accomplish this in the B1 application via Tools> Layout Designer...>Set as Default
If there are entries in the RDFL table for this layout, I am prompted to delete these entries and set this layout as the default for all users/BP's
Based on the SDK Documentation, the following code should accomplish the same thing via the DI-API
(stripped down for clarity)
Dim oDefaultReportParams As DefaultReportParams
oDefaultReportParams = oLayoutService.GetDataInterface(ReportLayoutsServiceDataInterfaces.rlsdiDefaultReportParams)
oDefaultReportParams.LayoutCode = sMyLayoutCode
oDefaultReportParams.ReportCode = sMyReportCode
Me.oLayoutService.SetDefaultReport(oDefaultReportParams)
Code executes fine, but it doesn't have the expected impact on settings. The above code adds an entry to the RDFL table rather than changing the DfltReport field in the RTYP table like I expected, so instead of setting the default report globally for all bps/users, its adding an entry to the RDFL table to set the value for a specific user/bp
I experimented by including and setting the following properties to every combination I could think of with the same results
oDefaultReportParams.UserID = 'tried 1, 0, -1
oDefaultReportParams.CardCode = 'tried "", "0", "-1"
Am I misunderstanding the API, or using the wrong objects/calls...? If all else fails I could accomplish this via the UI-API instead, but the application was intended to be a stand alone app that didn't rely on SAP B1 application running, so any help or suggestions would be much appreciated.
Thanks!Hi,
Please repost at SDK forum to get quick response. Close this thread here with helpful answer.
Thanks.
Maybe you are looking for
-
Import, package util does not exist
Hi all, I installed Tomcat 5.0 for Java WSDP and after Java Web Services Developer Pack 2.0. Hence I created a directory "SAMLTestTool" into the folder "tomcat50-jwsdp/webapps/ROOT/" and I put inside some JSP files and some other directory (WEB-INF,
-
Dictionary App will not scroll or display scroll bars.
This usually happens when I have Wikipedia search enabled because there is more text but not always. Scroll bars do not show. When I resize the window the scroll bars will sometimes show but I cannot scroll DOWN. Whatever type existed in the window a
-
What should i do to print o/p in bold in character mode ?
Hi I am using report 6i , in the priewer it shows bold but not in printout sheet what should i do to get bold? Thanks in advance...
-
Why don't some iPads offer "open in another app" in Pages?
My students use Pages and want to save their work in Dropbox. They have set-up Dropbox accounts. However, some students do not have the menu for "open in another app" and therefore cannot access Dropbox. For those students who do have the menu option
-
For debugging purposes, I would like to be able to describe a REF CURSOR returned by a function in a package, using pl/sql. Can you help me ?