‎2006 Nov 08 5:23 PM
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
‎2006 Nov 08 5:31 PM
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
‎2006 Nov 08 5:26 PM
‎2006 Nov 08 5:31 PM
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.
‎2006 Nov 08 5:31 PM
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