MB51 - layout
Hello all,
Good Morning!!!
Tx = MB51
When we execute MB51
The Material Document List is displayed as all SAP LAYOUT reports.
When I click button LIST DETAIL (Ctrl + Shift + F12), the list is displayed as EXCEL FORMAT.
The user wants:
- When he executes the MB51 he wants the List (report) is displayed straight as Excel Format.
Is that possible as STANDARD? Or to get that we have to develop?
This is Urgent.
Thanks,
Amanda
Hello!
This cannot be performed with the standard MB51 list.
But you can modify the standard or copy it to a Z one.
In your Z program, right before the list appears, you can give an OK-CODE, what the detail list is requesting, and this will made the program to show the detail list instead of the standard one.
Of coourse with this case you have to program the BACK button also, to skip the normal report.
Regards
Tamá
Similar Messages
-
MB51- list output and layout question
Dear experts,
I have a quick question about MB51 layout. When I run the report the output by default is not ALV list output. In order to get that I have to click the "detail" view button. I am trying to set this job in the background and send the "list" output ( or excel format) to the user automatically. Creating new layout doesn't allow me to choose the desired list output. I found couple old threads related to this however I am not sure which is one is more accurate and up to date.
Option1: Spro Reporting setting under Inventory managment and physical inventory - I didn't find any setting here to achieve this. Is there any?
Option 2: Creating ZMB51 and update the routine output_list in order to replace the fm REUSE_ALV_HIERSEQ_LIST_DISPLAY with REUSE_ALV_GRID_DISPLAY.
Can you please suggest is there any easier way? Option 1 sounds reasonable.Or only option 2 is possible.
thanks,
DuhitaHi,
This feature to default to "Detail List" ("Flat List") from the selection screen in SAP transaction code MB51 has been created in SAP note 1870531. Latest support package may be required.
"The output list of transaction MR51 has a hierarchical structure. You can branch to the flat list from the output list. Previously, you could not call the flat list directly from the selection screen."
Regards,
James -
MB51 - report layout and detail list
We are running jobs with MB51 with a specific layout. when the report displays, we click the detail box to convert it to a one line report.
Is it possible t execute MB51 and have the detail list display - so this could be run in the background and the one line list display would be the spool file.
OR - Can I create a one line report with MAterial number oand vendor on each line with quantities, values etc.
thanks
AltheaI finally had a chance to look into this -
All report layouts are using a "header" line and a "Position" line
It is this Header and Position that are making it "not useful" as a download file at this level. As I said - if I click "details" - I get the report I'd really like to see for back ground process spool file or export file.
Any ideas how to create a report layout without the header and position line? or just no header line would work. When I try modifying an existing report - Material and Plant are always on the header line and not available on the position line.
Any and all help will be rewarded - thank you -
F4 help in Layout field (as in MB51)
Hello Experts,
I have to give F4 help in layout field(as in MB51) in my selection screen
For F4 help, I want that list of values get automatically populated as user saves his variant .
Is this possible or I need to harcode list of values in my code.
Best Regards ,
AasthaHi,
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_layoutfiled.
SELECT layoutfield
FROM (table)
INTO TABLE i_layoutfield.
IF sy-subrc EQ 0.
SORT i_layoutfield.
DELETE ADJACENT DUPLICATES FROM i_layoutfield.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = `TABLE` (from which table u retrive the above select query)
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = `P_LAYOUTFIELD`
value_org = 'S'
TABLES
value_tab =i_layoutfield
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
ELSE.
MESSAGE i002 WITH text-106.
ENDIF.
I hope it will help ful u
Regards,
Bhupal. -
I've saved a layout in ALV for MB51, but I'm not able to enter it in the "Layout" field in the MB51 selection screen.
How do I get my ALV layouts to display after execution of MB51 (not passing through the standard SAP Output of 2 lines)...
Appreciate any help.Thanks Jürgen... no ehancements (aside from developing a new report) available for this?
-
Hi experts,
In T-Code MB51(Material Doc list) i want to restrict user do not save the layout.
How can i achieve this. because in mb51 the object S_ALV_LAYO ALV Standard Layout check is incative.
How can i achive this via user parameter.
Regards,
vivekS_ALV_LAYO is the authorization object that controls whether you can create/change global layouts or only personal layouts (
if S_ALV_LAYO is not assigned to you) -
Dear all,
In MB51 report, sale order value is not showing values even though it actually has.
What could be the reason?
If the answer is User-exits or BADI, can u suggest me the correct user-exit or BADI.
I have already tried the following user-exits by placing BREAK-POINT in the includes. But no where the execution is breaking.
MBCF0002 Customer function exit: Segment text in material doc. ite
MBCF0005 Material document item for goods receipt/issue slip
MBCF0006 Customer function for WBS element
MBCF0007 Customer function exit: Updating a reservation
MBCF0009 Filling the storage location field
MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_CREATE
MBCF0011 Read from RESB and RKPF for print list in MB26
MB_CF001 Customer Function Exit in the Case of Updating a Mat. Doc
Plz give some suggestions.
Regards,
PremHi ,
U need to change the layout of MB51 in order to get the SO no.
goto MB51---> give some inputs ---> in the o/p screen ->click on the variant button-> on the pop screen u, top of it u will get 2 options
1.Header
2.Position
click Position Button ---> here u will get all Fields avail. for this Report O/P , so u can add SO field and save the variant.
regards
Prabhu -
Dear All
In the report MB51 Vendor and customer numbers are displaying. But my client wants the description along with the number. I have checked the layout .But description is not their. Kindly kind me to achieve.
ShobanaHi,
MB51 report gets the fields from MKPF & MSEG tabke where there is no Vendor name .Hence it will not get the vendor name. Better to develop a custom report taking the vendor name field.
Dhruba -
NO MATERIAL VALUE DISPLAY IN MB51 . PL HELP ?
Dear All ,
user is using MB51, for seeing the data for stock transfer material here in this t.code user is giving plant , strg. loc., mvmt. type, posting date, & executing it so now the report is having -
> MAT. CODE , STRG. LOC, MVMT.TYPE, GRN NO., POSTING DATE, & TONNEGE OF MATERIAL BUT amount is not displaying , as user is sel;ected amount inlocal curr from layout but the amount comingas zero, as user is looking in S.T. ORDER here the value is coming under purchase order history in front of the docu generated during goods issue ( 641) .pl help how to see the value in this MB51.
Regards
sap11Go to MB51 & Enter all the details including Mvt type 641
and execute..in the next screen use Ctrl + Shift + F12
It will take you to next screen..
in that screen use Ctrl + F8
you will get field Column selection Popup..
in that Choose " Amount in LC" -
Allowing a User to choose the ALV layout format on selection-screen
Hi all,
I would like to know how i can add a parameter to my selection-screen which would allow the User to choose a saved ALV layout format before pressing F8 rather than after. As used in CO15 or MB51.
Thanks femi.yes , You can check the program BCALV_TEST_FULLSCREEN_LAYOUT to check how F4 help is to be used .
to check existene of variant is pretty simple.
Pass the variant name in the ALV display FM . -
MB51, download to excel works different for online and background.
Hi,
Have a question regarding excel download of MB51 in online mode against background.
If I run MB51 online, I can download it to an excel sheet that is easy to read and work with. Each column in the report in seperate column in excel.
If I run it in the background, try to download the spool to excel, I don't get the columns the same way as online report.
Ive tried changing the layout, downloading to excel, downloading to text and then dropping to excel, etc.
Why wont the download from a batch job work the same as online?
Any ideas or anyway to fix?Hi All,
I am also facing the same problem. When I download to Powerpoint, its getting downloaded properly and whn I download to excel, I am not able to download properly. I have 2 charts of the same report being displayd sde-by-side and under them I have a pivot table displayed in compound view. When downloaded to excel, the first chart is overlapping on top of the report in the excel.
Can anyone suggest if we have any options?
Thanks Shravan -
Currency in Yen is ot appearing in MB51
Hi All,
My client is a dealer of trading goods.They procure the goods in currency Yen. And their all the transactions are in Yen only. But in MB51 it is appearing in INR by proper conversion. Client want it to appear in Yen. Do help me.Hi,
If you go to the details screen of MB51 and then select settings > Layout > current from the menu. There is a field in the list on the right called something like "Value in local currency". click on this then click on the arrow in the centre pointing to the left and this will add that field to the list.
If this is the field that you want then save the layout as the default.
Steve B -
Add vendor name column in MB51
Dear Expert,
Do we possible to add one column of vendor name in MB51? because current layout we only can display vendor number. if possible, can you guide me how to add the vendor name column?
Thanks
pauline kurniawanSorry, there is no other way to add a field to MB51 that I know of. Ask you ABAPer to copy program RM07DOCS to say ZRM07DOCS and modify to add the extra field, then create a new transaction ZMB51 that will run ZRM07DOCS.
-
Hello Experts,
I m using one parameter for layout like in std report MB51 & put F4 help for that.
My problem is when user select from layout it is working fine but when user ENTER FROM KEYBOARD it is not accepting the layout..
My code is
PARAMETERS :p_layout LIKE disvariant-variant.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_layout.
PERFORM alv_f4 USING sy-repid p_layout.
FORM alv_f4 USING p_report CHANGING p_layout.
l_layout-report = sy-repid .
dynfields-fieldname = 'P_LAYOUT'.
append dynfields.
call function 'DYNP_VALUES_READ'
exporting
dyname = sy-cprog
dynumb = sy-dynnr
translate_to_upper = 'X'
tables
dynpfields = dynfields
exceptions
invalid_abapworkarea = 1
invalid_dynprofield = 2
invalid_dynproname = 3
invalid_dynpronummer = 4
invalid_request = 5
no_fielddescription = 6
invalid_parameter = 7
undefind_error = 8
double_conversion = 9
stepl_not_found = 10
others = 11.
read table dynfields with key fieldname = 'P_LAYOUT'.
p_layout = dynfields-fieldvalue.
CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
EXPORTING
is_variant = l_layout
i_save = 'A'
IMPORTING
es_variant = l_layout
EXCEPTIONS
not_found = 2.
IF sy-subrc = 2.
MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
p_layout = l_layout-variant.
ENDIF.
ENDFORM.
Plz suggest where i m wrong.
RaviHi,
Refer this code. It will definitely help you.
https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/learn%252bto%252bdisplay%252bdata%252bin%252balv%252bgrid
Check the use of variant in ALV.
Regards,
Tarun -
MB51 - Add a field in output list
We changed the layout of MB51 to add, in the output screen (ALV list), the fields: MSEG-ANLN1 (main asset number), MSEG-ANLN2 (asset subnumber).
The customer also wants to have the field ANLA-MCOA1 (asset description).
How do we add? Maybe there are a BADI or UserExit for customize the program RM07DOCS. Perhaps it is better to write a custom program Z_RM07DOCS (changing the standard program), or change the view V_MMIM_REP_CUST, adding the missing field.
Please help: which path to take and how?
SerenaHi
See SAP Note 357187 - MB51: Fields in field catalog / selection screen
Regards
Eduardo
Maybe you are looking for
-
Email keeps going to spam folder
I am having problem with email.. I will receive messages that mail puts in the spam folder that is not spam. I drag it into my inbox and reply to it, but the reply from the sender continues to go into spam.. How can I stop this?
-
Error Message After Using OnyX
Hi: I just ran the maintenance utility, OnyX and got the following error message when it completed: Can't get <<class bhit>>of1 (-1728) Would know what this means, and is it significant? Also, could this be why I occasionally get a Blue Screen when I
-
Walking Dead Season 4 second half now missing
Hi, Earlier I had downloaded Season 4 episode 9 (the first episode of the second half) and watched it without issue. The following week I tried to download episode 10 but ran into Duplicate Transaction issues and eventually submitted refund applicat
-
Issue with ACS 4.2 in Authentication
Hey guys. I ve got a problem with the ACS 4.2 just in authentication I have a 3750 Catalyst and installed an ACS 4.2 both in 1 zone. They can ping each other and there is no problem in their connectivity. I ve created a user called “test” in ACS loca
-
Z10 microphone not working in normal mode - but works with speakerphone
Hello. So when I make a call or receive a call, the other side cannot hear me. I can hear them just fine. However, if I hit the speakerphone button, then the other side CAN hear me (and bluetooth works fine as well). So what gives? Obviously, there i