Application Development 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: 

Call Unit of measure view in transaction MM03

Former Member
0 Kudos

Hi,

I want to call 'Unit of measure' view in transaction MM03. I am able to call other views which are difined in the table T133 .

for example , to call Basic data 1 view, i am using the following code, it is working fine.

SET PARAMETER ID 'MXX' FIELD 'K'.

SET PARAMETER ID 'MAT' FIELD itab-matnr.

CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.

But there is no parameter id value for view 'Unit of measure' in table T132.

Can you please any tell me how to call 'Unit of measure View' in transaction 'MM03'.

Thanks in advance.

Regards,

Sankar

5 REPLIES 5

Former Member
0 Kudos

Hi,

You will have to build a BDC recording to navigate to the page and then use this variation of the call transaction

data: ls_opt type ctu_params.

ls_opt-dismode = 'E'.
  ls_opt-nobiend = 'X'.

  call transaction 'MM03' using  gt_bdcdata
                          options from ls_opt.

This will navigate to the screen and then drop out of the BDC and give control back to the user.

Darren

Former Member
0 Kudos

Hello

SET PARAMETER ID 'MXX' FIELD 'E'.

Former Member
0 Kudos

I have used this option but it is not navigating to any screen. If i comment the option 'E', then i am getting the BDC in all screen display mode. but i dont want to see all the screens.

*ls_opt-dismode = 'E'.

ls_opt-nobiend = 'X'.

Former Member
0 Kudos

Hi Maroz,

SET PARAMETER ID 'MXX' field 'E', this gives purchasing view, not unit of measure view.

Former Member
0 Kudos

I have solved this. i have used like this , it call UOM screen directly.

SET PARAMETER ID 'WRK' FIELD wa_zodna_phy_inv_framea-plant.

SET PARAMETER ID 'LAG' FIELD wa_zodna_phy_inv_framea-stge_loc.

SET PARAMETER ID 'MXX' FIELD 'L'.

SET PARAMETER ID 'MAT' FIELD wa_zodna_phy_inv_framea-material.

CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.

Thanks.