Global ALV Layouts for Costing report
For T code S_P99_41000111 ie Analyse / compare material cost estimate , I want to create a global ALV layout .
When I am trying to create the layout option for user specific layout comes with tick greyed out .System does not allow to remove the tick so that I can create global layout .
With this option I cannot create a Global layout .
Can anybody help me with this so that I can create global layout .
I checked with security team & they gave me SAP_ALL authrisation but still it does not work .
Is it that SAP has allowed only user specific layouts for this T code S_P99_41000111 ie Analyse / compare material cost estimate .
Or is this authorisation issue .
Thanks
Manoj
Hi Manoj,
Have you already tried configuration transaction OKN0? There is a
field called 'shared' in Layout Visibility. Do an F1 over this field for more info.
Regards,Declan
Similar Messages
-
How to restrict the user to change ALV layout for Standard Report Output
Dear All,
How can i restict the Users to change Output layout of Standard ALV reports,
kindly suggest to solve the issue.
Regards,
Niranjan.GHi NIranjan,
In the ALV function module , the i_save can have the below paramater values.
You can add based on your requirement.
I_SAVE = SPACE Layouts cannot be saved.
I_SAVE = 'U' Only user-defined layouts can be saved.
I_SAVE = 'X' Only global layouts can be saved.
I_SAVE = 'A' Both user-defined and global layouts can be saved.
Check the Authorization Object - S_ALV_LAYO in SUIM (Objects by Complex Search)
Activity -23.
Edited by: Raj on Jul 13, 2010 3:05 PM -
Hi Guys,
Any ideas how can I set the specific ALV layout fo FBL1N report in the way, that special group of users see only one/few specific document types (not all of them) for the certain supplier. I don't want to do that in ABAP.
Regards
Adamhi Adam,
you can assign authorization to each single document type in transaction OBA7. You also have to maintain the user profiles as well (the respective auth object is F_BKPF_BLA). Of course this will be valid in the whole system, but it does not make much sense that users have limited authorization in one specific transaction only.
hope this helps
ec -
How generate a crystal reports layout for Batch Report
Dear Experts,
I want to create a crystal reports layout for Batch Report that appears when printing Delivery Note.
I've tried using DocKey@ token but it only works in the delivery note layout itself. The following code at the select expert for this crystal layout doesn't work:
{ODLN.DocEntry} = {?DocKey@}
Kindly guide me in the above issue. Thanks.I am using version 8.8 SP.00 PL.10
It is very strange that I cannot get the layout connected to the database as I have followed the same steps for all layouts. It all works fine until I get to the invoice stage and then I cannot make the connection.
(I dont need to worry about the sales invoice as this was provided at installation point by our vendor) -
Default ALV format for MB5T Report
Dear Experts ,
I want to have a defalut selection of ALV format for MB5T report .
How can I do this .
Regards
AnisHi Chakrapani ,
Please suggest if there is any other way to tackle it without the intervention of ABAPer .
Regards
Anis -
Create a Global Layout for Embargo Report
Hi,
Kindly advise on the below.
I am attempting to create a Global Layout for the "Export Embargo Report for BP" .
However, while attempting to save the same , the "user-specific" checkbox is turned on and grayed out.
Kindly advise on how to go about to save a Global Layout.
Thanks
JasmitThanks Sameer , your understanding is correct.
However, even if I save the layout as a default one ( Default checkbox set) , it will be applicable only for my id.. I am looking to create a layout, which everyone will be able to access the layout as well..
Thanks
Jasmit Kohli -
Is ALV possible for this report layout?
Hi,
I'd like to know if I can create this layout in ALV (layout as seen below):
......................|..........Column Header1............|.......Column Header2..........| ...
......................|.Col Header3..|..Col Header4.....|..Col Header5.|.Col Header6.| ...
Row header1...|.....data..........|......data............|.......data........|......data.......| ...
Row header2...|.....data..........|......data............|.......data........|......data.......| ...
Row header3...|.....data..........|......data............|.......data........|......data.......| ...
If this is possible, can you give me an idea how can this be done?
Thank you so much for taking time to read my post.
Best regards,
Jen
Message was edited by:
Jen Abapi will suggest you to go for classical report because it will be more easier ... but in alv list display you can achieve this kind of thing... just check this prog whether it suits you or not....
type-pools : slis.
tables : mara,marc,mard,makt.
data : begin of imara occurs 0,
matnr like mara-matnr,
mtart like mara-mtart,
end of imara.
data : begin of imarc occurs 0,
matnr like mara-matnr,
werks like marc-werks,
end of imarc.
data : begin of imard occurs 0,
matnr like mara-matnr,
lgort like mard-lgort,
end of imard.
data : begin of imakt occurs 0,
matnr like mara-matnr,
maktx like makt-maktx,
end of imakt.
data : begin of itab occurs 0,
rowheading(16),
matnr like mara-matnr,
mtart like mara-mtart,
werks like marc-werks,
lgort like mard-lgort,
maktx like makt-maktx,
end of itab.
data : ifieldcat type slis_t_fieldcat_alv,
wfieldcat type slis_fieldcat_alv,
ilayout type slis_layout_alv,
IEVENT TYPE SLIS_T_EVENT,
WEVENT TYPE SLIS_ALV_EVENT.
data : tabix(3).
select-options : s_matnr for mara-matnr obligatory.
start-of-selection.
perform get_data.
perform build_finaltab.
perform build_fieldcat.
perform build_layout.
perform build_eventtab.
perform displaydata.
*& Form get_data
* text
* --> p1 text
* <-- p2 text
FORM get_data .
select matnr mtart into table imara from mara where matnr in s_matnr.
if not imara[] is initial.
select matnr werks from marc into table imarc for all entries in imara
where matnr = imara-matnr.
select matnr lgort from mard into table imard for all entries in imara
where matnr = imara-matnr.
select matnr maktx from makt into table imakt for all entries in imara
where matnr = imara-matnr.
endif.
ENDFORM. " get_data
*& Form build_finaltab
* text
* --> p1 text
* <-- p2 text
FORM build_finaltab .
loop at imara.
tabix = sy-tabix.
move-corresponding imara to itab.
read table imarc with key matnr = imara-matnr.
itab-werks = imarc-werks.
read table imard with key matnr = imara-matnr.
itab-lgort = imard-lgort.
read table imakt with key matnr = imara-matnr.
itab-maktx = imakt-maktx.
concatenate 'Row no' tabix into itab-rowheading separated by space.
append itab.
endloop.
ENDFORM. " build_finaltab
*& Form build_fieldcat
* text
* --> p1 text
* <-- p2 text
FORM build_fieldcat .
wfieldcat-fieldname = 'ROWHEADING'.
wfieldcat-col_pos = 1.
wfieldcat-outputlen = 15.
wfieldcat-seltext_l = ''.
append wfieldcat to ifieldcat.
clear wfieldcat.
wfieldcat-fieldname = 'MATNR'.
wfieldcat-col_pos = 2.
wfieldcat-outputlen = 18.
wfieldcat-seltext_l = 'Material no'.
append wfieldcat to ifieldcat.
clear wfieldcat.
wfieldcat-fieldname = 'MTART'.
wfieldcat-col_pos = 3.
wfieldcat-outputlen = 10.
wfieldcat-seltext_l = 'Mat gr'.
append wfieldcat to ifieldcat.
clear wfieldcat.
wfieldcat-fieldname = 'WERKS'.
wfieldcat-col_pos = 4.
wfieldcat-outputlen = 10.
wfieldcat-seltext_l = 'Plant'.
append wfieldcat to ifieldcat.
clear wfieldcat.
wfieldcat-fieldname = 'LGORT'.
wfieldcat-col_pos = 5.
wfieldcat-outputlen = 10.
wfieldcat-seltext_l = 'Stor loc'.
append wfieldcat to ifieldcat.
clear wfieldcat.
wfieldcat-fieldname = 'MAKTX'.
wfieldcat-col_pos = 6.
wfieldcat-outputlen = 30.
wfieldcat-seltext_l = 'Material desc'.
append wfieldcat to ifieldcat.
clear wfieldcat.
ENDFORM. " build_fieldcat
*& Form build_layout
* text
* --> p1 text
* <-- p2 text
FORM build_layout .
ilayout-no_colhead = 'X'.
ENDFORM. " build_layout
*& Form build_eventtab
* text
* --> p1 text
* <-- p2 text
FORM build_eventtab .
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
I_LIST_TYPE = 0
IMPORTING
ET_EVENTS = IEVENT
* EXCEPTIONS
* LIST_TYPE_WRONG = 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.
READ TABLE IEVENT INTO WEVENT WITH KEY NAME = 'TOP_OF_PAGE'.
IF SY-SUBRC = 0.
WEVENT-FORM = 'TOPOFPAGE'.
MODIFY IEVENT FROM WEVENT INDEX SY-TABIX.
ENDIF.
ENDFORM. " build_eventtab
*& Form displaydata
* text
* --> p1 text
* <-- p2 text
FORM displaydata .
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
* I_INTERFACE_CHECK = ' '
* I_BYPASSING_BUFFER =
* I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = sy-repid
* I_CALLBACK_PF_STATUS_SET = ' '
* I_CALLBACK_USER_COMMAND = ' '
* I_STRUCTURE_NAME =
IS_LAYOUT = ilayout
IT_FIELDCAT = ifieldcat
* IT_EXCLUDING =
* IT_SPECIAL_GROUPS =
* IT_SORT =
* IT_FILTER =
* IS_SEL_HIDE =
* I_DEFAULT = 'X'
* I_SAVE = ' '
* IS_VARIANT =
IT_EVENTS = ievent
* IT_EVENT_EXIT =
* IS_PRINT =
* IS_REPREP_ID =
* I_SCREEN_START_COLUMN = 0
* I_SCREEN_START_LINE = 0
* I_SCREEN_END_COLUMN = 0
* I_SCREEN_END_LINE = 0
* IMPORTING
* E_EXIT_CAUSED_BY_CALLER =
* ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = itab
* EXCEPTIONS
* PROGRAM_ERROR = 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.
ENDFORM. " displaydata
form topofpage.
write : / sy-uline.
write : /17 sy-vline,28 'Contents from MARA',47 sy-vline,
50 'plant & strg loc',69 sy-vline, 78 'Matrl desc'.
write : / sy-uline.
write : /17 sy-vline,22 'Material no',36 sy-vline, 39 'Mat gr',47 sy-vline, 48 'Plant',58 sy-vline,
60 'strg loc',69 sy-vline.
endform.
this is a test prog just change as per your requirement.
regards
shiba dutta -
Dear friends,
How can I set a ALV Grid layout for the MB5M report? I get the data in two rows when I download the report. Instead I want it in a single row. I tried to change the layout but without success. Please help.Hi,
Wtih the help of ABAPer you can use your own report with your requirement.
Regards,
MBKM -
How can i pull alv layouts for selection screen ?
hello ,
i search way to give the user option to choose his layout,
i sow here examples that look good , but
all of tham talk about function :
"REUSE_ALV_VARIANT_DEFAULT_GET"
i run it in 'se37' and no data is pull ,
i know that there is layouts for my alv report ,
i use it like this in my report and in 'se37' :
CLEAR ls_variant.
ls_variant-report = sy-repid.
ls_variant-handle = 'LIST'.
MOVE ls_variant TO def_variante.
MOVE vari TO def_variante-variant.
CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
EXPORTING
i_save = 'A'
CHANGING
cs_variant = def_variante
EXCEPTIONS
not_found = 2.
IF sy-subrc = 0.
p_vari = def_variante-variant.
ENDIF.
thanksHi,
Try this.
INITIALIZATION.
Get Default display variant
PERFORM f200_display_default_variants.
Enable variant saving
data w_variant TYPE disvariant.
FORM f200_display_default_variants.
*initialize to default layout if one exist.
w_variant-report = sy-repid.
CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
EXPORTING
i_save = 'A'
CHANGING
cs_variant = w_variant
EXCEPTIONS
wrong_input = 1
not_found = 2
program_error = 3
OTHERS = 4.
IF sy-subrc EQ 0.
p_layout = w_variant-variant.
ENDIF.
ENDFORM.
Try this and reward points by clicking the star on the left of reply,if it helps. -
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..... -
Editing new crystal layouts for financial reports in 8.8
After upgrading to 8.8 PL10 I decided to investigate the new financial layouts for Crystal. When I opened the layout however I couldn't make much sense of how it is structured or even functions, it seems to reference a PLD table that I couldn't find under tables, views, or stored procedures. Any advice on how to better manipulate this report would be great.
They are all structured similarly so lets use the new balance sheet as a reference.
-John-MichaelHello!
Here are my findings ...
- The new Crystal Reports Layouts base deeply on the "old" PLD Layouts.
- The table "PLD__ITEMS" is an XML-file with the data of the report.
- If you want to show same additional fields of PLD__ITEMS on the report, it is not enough to drag the field on the report. You also have to format the field and add additional info to the CSS-Class like: FileName="OINV";FieldNum="CardName";
The workflow I used to edit the new CR Layouts:
1. Edit the old PLD Layout as needed
2. Use the Crystal Reports Converter to get a CR from the PLD [Download|/docs/DOC-8768#section16 [original link is broken]]
(The PDF included gives some basic hints about the structure of the CR Layout)
3. Edit the SAP CR with the informations of the converted CR (from PLD)
Hope this helps a bit ...
Martin Samlaus -
ALV output for Purchase reports
Hi Friends,
How can I have ALV output for my Purchase reports like ME2L, ME2N, ME2M. My scope of Lists do not have ALV output as yet. How do we configure it..?
Thanks in advance.
Sarveshwhich ECC version are you working on? I think versions below 4.7 didnt have ALV (im not sure though)
Try this path :
SPRO->Materials mgmt->purchasing->Reportng->Maintain Purchasing lists->Scope of lists->Define scope of list.
check if ALV is maintained here. if not , create ZALV by Copying from ALLES or make your own new one ZALV , and inside ZALV , make sure to Tick the "Use ALV grid Control" in the last tab "settings for ALV grid control" -
Customize standard PDF layout for PO Report
Hi,
I need to customize the layout of standard PO report in R12 instance.
Navigation Path:Purchasing Vision Operations (USA) -->Buyer Work Center -->Orders
Under view : My open orders,click on a specific PO number.
At the detail level,on the top right side Actions seleceted as 'View PDF' and then click on GO button.
The PO report output opened in a PDF format.Here I need to do some modifications for the customization report.
So could you please tell me where do I start from.The changes that I did should be shown in the PDF PO report Output.
One more query is : How can I indentify this PDF PO report output belongs to which concurrent program?
Appreciate your help.
Thanks,
Radhika
Edited by: user10491126 on Dec 21, 2009 10:27 PMHi,
Welcome to forum !!!
Your buyer work center form basically points to standard PO functionality and bring all info in 1 page for buyer. Please check PO Output for Communication process for details.
One more query is : How can I indentify this PDF PO report output belongs to which concurrent program?
Ans : I believe "PO Output for Communication" ( it's a request in POXPOPDF module) which generate the PDF, its a Java concurrent program.*
Hoep this will help.
Regards :)
S.P DASH -
What should be needed for cost reports to be activated in Business Content?
Hi experts,
I am completely new to Business Content so sorry if I ask a silly question. Currently we are trying to migrate custom fixed queries to queries from Cubes in Business Content, because the company has growed in the past years.
Our first stage is to have the new queries that report costs for the company.
The reports should consider manufacturing costs such as
- maintenance
- outsourced special services (providers)
- new machinery
(not energy or service costs)
This reports should include country, plant, date, amount, etc.
I have been searching for the modules or cubes that should be activated for this requirement. So far i found that in MM there is a cube 0SRV_C01 that includes external services.
The data from the InfoCube External Services enables you to carry out analyses of services. Using this data, you can obtain answers to questions such as the following: "How much of each service was ordered from a certain vendor?" "What was the order value per service for a certain plant?"
However there should be another information where manufacturing costs could be exploited.
¿Can anyone give me some advice on how to resolve this requirement? ¿ does anyobody know which cube(s) include the information I am looking for?
Thanks,
help wilHi David,
Check here...........
BI Content
http://help.sap.com/saphelp_nw70/helpdata/en/3d/5fb13cd0500255e10000000a114084/frameset.htm
SCM BI Content
http://help.sap.com/saphelp_nw70/helpdata/en/29/79eb3cad744026e10000000a11405a/frameset.htm
Procurement
http://help.sap.com/saphelp_nw70/helpdata/en/e9/62073c44564d59e10000000a114084/content.htm
Invntory
http://help.sap.com/saphelp_nw70/helpdata/en/fb/64073c52619459e10000000a114084/frameset.htm
Regrads,
Vijay. -
Change Standard ALV layout for KKBC_ORD
Hi,
I would like to know how to change the standard layouts I can see in ALV of transaction KKBC_ORD; 1SAP01, 1SAP02, 1SAP03.
Thanks.
Alfonso.Thanks Sridhar for your interest...
Right, the field is already in the layout, (but hidden), I just want to pick up it and save the standard layout 1SAP01. But when I do that I get this message: "Standard layouts must start with the special character /"...
I know that ... but if I put a "/" I create a new layout... and that's what I don't want... At the end I want layout 1SAP01 with new field saved.
Maybe you are looking for
-
Disable duplicate check for customer address on sales order creation
I am using the following tables to create sales order as well as customer and addresses together. All data are coming from third party system through dblink. OE_HEADERS_IFACE_ALL OE_LINES_IFACE_ALL OE_CUSTOMER_INFO_IFACE_ALL however, whenever the add
-
How to delcare decimal value in selection screen
hi all, in my selection screen, how to declare parameter type decimal value of 2 places default value 99.00 % points will be rewarded thanks in advance
-
Query takes time to execute. Review this query and give me a possible quere
SELECT DISTINCT A.REFERENCE_NUMBER FROM A,B,C WHERE DF_N_GET_CONTRACT_STATUS (A.REFERENCE_NUMBER, TRUNC (SYSDATE)) = 1 AND ( B.CHQ_RTN_INDICATOR IS NULL AND B.CHALLAN_NUMBER IS NULL AND C.INSTRUMENT_TYPE IN (1, 2) AND C.MODULE_CODE = 5 ) AND ( A.HEAD
-
Hello, I have to select NetBeans over Flexbuilder for an IDE. What I do not know is how to make Flex SDK 2.0 framework (which is available as free download) work with NetBeans. 1) Will I be able to open MXML files, and get same visual level of experi
-
LabView task priority and concurrent tasks on Win2K
When doing some number crunching with LabVIEW, my program is using all CPU time on my Win2K desktop. Even when I have some other programs running in the background (like setiathome...) with the same taskpriority as LabVIEW, LabVIEW is using all the C