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

Question reg. interactive report

Former Member
0 Likes
463

Reg. the below code, if the user clicks on sales order, its going to VA02 transaction.

SET PARAMETER ID 'AUN' FIELD itab-vbeln.

CALL TRANSACTION 'VA02' AND SKIP FIRST SCREEN.

Can you tell me what parameter id should I set for customer master (XD02) and material master (MM02).

The user will check a record on alv display output and clicks a 'material' icon on application toolbar. If a particular field in the internal table has material master, clicking should take him to material master (MM02) for that material. If that field is empty, checking the record and clicking on 'material' icon should take the user just to MM02 transaction.

Can you give me a sample code here please?

Thanks,

Krishen

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
429

Hi Krishen,

You can do the same way as done for VA02. ONly thing is the Parameter ID and Tcode needs to be changed.

XD02 - parameter id = KUN

MM02 - parameter id = MAT

To find the parameter ID for any transaction.

Go to transactionn first-> keep your cursor on the field for which you want para ID-> F1-> tectchnical detail->check the Parameter ID given.

Reward points if this helps.

Manish

3 REPLIES 3
Read only

Former Member
0 Likes
429

Hi,

For MM02 use the ID MAT

For XD02 use the ID KUN

Thanks,

Naren

Read only

Former Member
0 Likes
429

Try if this works.

For Customer master

SET PARAMETER ID 'KUN' FIELD itab-kunnr.

For Material master

SET PARAMETER ID 'MAT' FIELD itab-matnr.

award points if it was useful

Thanks and regards.

Read only

Former Member
0 Likes
430

Hi Krishen,

You can do the same way as done for VA02. ONly thing is the Parameter ID and Tcode needs to be changed.

XD02 - parameter id = KUN

MM02 - parameter id = MAT

To find the parameter ID for any transaction.

Go to transactionn first-> keep your cursor on the field for which you want para ID-> F1-> tectchnical detail->check the Parameter ID given.

Reward points if this helps.

Manish