Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Modification in standard Report

Former Member
0 Likes
972

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.

5 REPLIES 5
Read only

Former Member
0 Likes
721

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

Read only

0 Likes
721

yes, i did that, but how can i check whether the modified report is correct or not?

Read only

Former Member
0 Likes
721

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

Read only

Former Member
0 Likes
721

Yes I want to check new storage location, If there is any user exist method please let me know.

Read only

0 Likes
721

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