10-02-2008 8:22 AM
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
10-02-2008 8:26 AM
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
10-02-2008 8:54 AM
10-02-2008 8:56 AM
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'.
10-02-2008 9:00 AM
Hi Maroz,
SET PARAMETER ID 'MXX' field 'E', this gives purchasing view, not unit of measure view.
10-05-2008 3:04 PM
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.