02-11-2010 9:05 AM
Hi Experts,
We have a requirement to create an RFC to get the Vendor Master details (Used for Searching the Suppliers), where the Input criteria : Vendor Name(First Name & Last Name), City, Purchase Organisation and the corresponding output is Address Data, Central Data, Bank Information, Sales Data of Customer. Is there any standard report or function module we can use for this requirement.?
Thanks & Regards
-Asim
02-11-2010 9:34 AM
Hello,
You may need to write your own RFC with the interface that you want. If all the input parameters are obligatory then you can use the following logic
Select the vendor numbers from table LFA1 based on the name and city.
Us these vendor numbers with the purchase organization from the input parameters and filter them using the table LFM1.
Now the result will be all vendor numbers with the name specified in the city for the specified purchase organization.
That may be multiple vendors so run a loop and inside the call the RFC BAPI_VENDOR_GETDETAIL and pass the vendor numbers to get the other details.
Hope this helps in solving your query.
Regards,
Sachin
02-11-2010 9:34 AM
Hello,
You may need to write your own RFC with the interface that you want. If all the input parameters are obligatory then you can use the following logic
Select the vendor numbers from table LFA1 based on the name and city.
Us these vendor numbers with the purchase organization from the input parameters and filter them using the table LFM1.
Now the result will be all vendor numbers with the name specified in the city for the specified purchase organization.
That may be multiple vendors so run a loop and inside the call the RFC BAPI_VENDOR_GETDETAIL and pass the vendor numbers to get the other details.
Hope this helps in solving your query.
Regards,
Sachin
02-11-2010 10:05 AM
You have to write it of your own
for assistance you can refer fm VENDOR_SEARCH & MM_VENDOR_SEARCH
02-11-2010 10:38 AM
You can try calling BAPI
BAPI_VENDOR_GETDETAIL.
Regards,
Mohaiyuddin