cancel
Showing results for 
Search instead for 
Did you mean: 

Get Vendor Vat reg number from .net

Former Member
0 Kudos

Hi,

I have to extract the VAT reg number of vendor from a .net application.

I have looked into 'Bapi_Vendor_Getdetail', but this does not return VAT reg. number.

There is a standard BAPI that returns VAT reg number from Vendor Master?

Thanks

Anna

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can try use FM ISIDE_CE_VENDOR_READ which
defined as RFC.

In this FM you can find entire LFA1 data from DB.

Other approach can include use of FM BBP_VENDOR_GET_DATA2.

Keep in mind that in every case where you
can't find FM for data retrieval there is an alternative - use FM BBP_RFC_READ_TABLE
with text for "where clues" .

  • There are two drawbacks to this way:

    1.Direct access to DB is breaking the concept of FM (black box and etc.').

    2. Complex code - you will need to parse data return from FM using delimiter,
    with .NET LINQ it's not so hard but as a developer I try to avoid writing code...

Yarden

Former Member
0 Kudos

Hi,

I took the VAT number from table LFA1 - STCEG by RFC_READ_TABLE.

Thanks, Anna.


Answers (1)

Answers (1)

former_member197445
Contributor
0 Kudos

Sounds like you'll need to create your own custom FM.  Or use a combination of BAP_VENDOR_GETDETAIL followed by LFA1_STCEG_CHECK.