‎2007 Jul 23 9:33 PM
Hi,
I got an assignment of MBLB tcode.
where in selection screen, I want to add lgort(storage location) How can I do that?
Please suggest me. If its user exist please tell me the step-by-step procedure.
Thanks in advance.
‎2007 Jul 23 9:37 PM
Hi,
You may need to copy standard program of transaction MBLB into custom program. Then you can add storage location into custom program selection screen and add logic to handle it.
Regards,
Ferry Lianto
‎2007 Jul 23 9:40 PM
yes, i did that, but how can i check whether the modified report is correct or not?
‎2007 Jul 23 9:43 PM
Hi,
What do you mean by "how can i check whether the modified report is correct or not "? Do you mean how to test with the new storage location selection screen?
Regards,
Ferry Lianto
‎2007 Jul 25 8:01 PM
Yes I want to check new storage location, If there is any user exist method please let me know.
‎2007 Jul 25 8:11 PM
Hello Anil,
There is no user exit to add selection-screen like storage location.
it is report program and simple copy that one to zprogram.
SELECTION-SCREEN BEGIN OF BLOCK data WITH FRAME TITLE text-001.
SELECT-OPTIONS: lifnr FOR mslb-lifnr MATCHCODE OBJECT kred.
SELECT-OPTIONS: matnr FOR mslb-matnr MATCHCODE OBJECT mat1.
SELECT-OPTIONS: werks FOR mslb-werks.
SELECT-OPTIONS: bukrs FOR t001-bukrs.
<b>here add storage location field.</b>
SELECTION-SCREEN END OF BLOCK data.
SELECTION-SCREEN BEGIN OF BLOCK var WITH FRAME TITLE text-002.
PARAMETERS: alv_def LIKE disvariant-variant.
PARAMETERS: nulls LIKE am07m-senul.
SELECTION-SCREEN END OF BLOCK var.
and you need to keep the where condition in select query.
Let me know if you need any other information.
Thanks
Seshu