Application Development 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: 

RFC to get the Vendor Master details

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

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

kesavadas_thekkillath
Active Contributor
0 Kudos

You have to write it of your own

for assistance you can refer fm VENDOR_SEARCH & MM_VENDOR_SEARCH

Former Member
0 Kudos

You can try calling BAPI

BAPI_VENDOR_GETDETAIL.

Regards,

Mohaiyuddin