2010 Jan 14 6:00 AM
Hi experts,
I have a req. in which there is 1 report, and 1 FM that is called in this report.
Now the FM has some parameters like customer name (kna1-name1), host name.
The report needs to have the customer number (kna1-kunnr) and host name as the select options.
My problem is how to map the customer number of the report with the customer name of the FM i.e.
how will the FM come to know that the customer number being passed by the report corresponds to
the customer name in the FM.
Thanks,
Ajay.
2010 Jan 14 6:19 AM
Dear Ajay,
your reports selection screen gets the customer number.
Then inside the report you fetch customer name from the table kna1 based on the customer number.
then you pass this customer name to your function module parameters in the report.
Regards
Sajid
Hi experts,
I have a req. in which there is 1 report, and 1 FM that is called in this report.
Now the FM has some parameters like customer name (kna1-name1), host name.
The report needs to have the customer number (kna1-kunnr) and host name as the select options.
My problem is how to map the customer number of the report with the customer name of the FM i.e.
how will the FM come to know that the customer number being passed by the report corresponds to
the customer name in the FM.
Thanks,
Ajay.
2010 Jan 14 6:11 AM
Hi Ajay,
The requirement is not clear. However, how @ retrieving KNA1-NAME1 - customer name based on KNA1-KUNNR & then comparing the report customer name with FM customer name ?
Thanks,
Best regards,
Prashant
2010 Jan 14 6:14 AM
Hi Ajay,
If i am understanding your issue correctly, then in report you will fetch customer data based on the data entered in a selection screen. Means, based on customer number, you can retrieve customer name from database table. You can ask your functional consultant for the table to be used. Then you can pass this customer name to your FM.
Thanks,
Archana
2010 Jan 14 6:19 AM
Dear Ajay,
your reports selection screen gets the customer number.
Then inside the report you fetch customer name from the table kna1 based on the customer number.
then you pass this customer name to your function module parameters in the report.
Regards
Sajid
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |