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

Problem in Double clicking a tree node & navigating to MM03.

Former Member
0 Likes
928

Hi all,

I am using the Function Modules :

1- RS_TREE_CONSTRUCT ,

2- RS_TREE_LIST_DISPLAY ,

to construct a tree structure.

I am displaying Material No > Plant > Storage Location hierarchy. So when I click on any Material no, I want to navigate to MM03 (skipping first two screens), to get details of that Material No, by passing it.

As I want to skip first two screens of MM03 , ie Component one and the Select Views screen, I wrote a BDC . Now, the problem is, I am not able to get user-command control in my program when I double click on a node in tree, say Material No.

Plz help, with getting control of user-command event in my program . Is there any argument or parameter in the function itself, which I need to specify ?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
827

Use this -

  • Neue Get/Set Parameter setzen

SET PARAMETER ID 'MAT' FIELD MATNR_IMP.

SET PARAMETER ID 'WRK' FIELD WERKS_IMP.

SET PARAMETER ID 'MXX' FIELD MTSTA_IMP.

  • Ausflug in Arbeitsplatz

CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.

or you can try with FM - CP_08_MATERIAL_SHOW for directly taking to MM tabs. FM - SELECTION_VIEWS_FIND will give the probable values of MXX.

Hope it solves ur problem.

4 REPLIES 4
Read only

Former Member
0 Likes
828

Use this -

  • Neue Get/Set Parameter setzen

SET PARAMETER ID 'MAT' FIELD MATNR_IMP.

SET PARAMETER ID 'WRK' FIELD WERKS_IMP.

SET PARAMETER ID 'MXX' FIELD MTSTA_IMP.

  • Ausflug in Arbeitsplatz

CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.

or you can try with FM - CP_08_MATERIAL_SHOW for directly taking to MM tabs. FM - SELECTION_VIEWS_FIND will give the probable values of MXX.

Hope it solves ur problem.

Read only

Former Member
0 Likes
827

Thanks a lot.....

I tried that way previously....

But still my problem remains unsolved.

I want to catch the control at User-command event, in my program. The skip of first two screens is already done through BDC. How do I handle the event ? Do I have to use another function or is there any other way to get it done ?

Regards,

Neha.

Read only

0 Likes
827

Hello Neha,

Could you find some solution to tapping the tree nodes while recording a BDC on tree control? Would really appreciate your advice on the same.

Thanks a lot.

Regards

Priyanka

Read only

Former Member
0 Likes
827

Hi Neha.

This post was from long back..

And today i have same requirement.. So could you tell me that what you have done for this...

Thanks in Advace