‎2007 Sep 06 10:42 AM
hi i have a problem with selection screen.
i have two input parameters.
say pr_matnr
pr_maktx
i need to get automatically text for that material .some one can help me regardingf this
‎2007 Sep 06 10:47 AM
What made you post this question in this thread?
Please read the forum guidlines: <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/fe6cf0c7-0501-0010-dda5-f3a89106ee84">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/fe6cf0c7-0501-0010-dda5-f3a89106ee84</a>
‎2007 Sep 25 3:46 PM
Thread have been branched and move to the correct forum...
Greetings,
Blag.
‎2007 Sep 25 3:54 PM
AT SELECTION-SCREEN ON p_matnr.
SELECT SINGLE maktx
INTO pr_maktx
FROM MAKT
WHERE matnr = pr_matnr
AND spras = sy-langu.Edited because I forgot to add the language, thanks Sriram Ponna for remember it
Message was edited by:
Vicenç Lozano
‎2007 Sep 25 3:56 PM
At selection screen on pr_matnr.
>select the text from appropriate table and
assign to pr_maktx table>
‎2007 Sep 25 4:03 PM
Hi,
You can use the below code :
parameter : matnr like mara-matnr,
maktx like mara-maktx.
at selection on maktc.
call function 'HAZMAT_MATNR_GET_TEXT'
exporting
I_MATNR = matnr
I_LANGU = 'EN'.
IMPORTING
E_MAKTX = maktx.
Thanks,
Sriram Ponna.