Skip to Content
author's profile photo Former Member
Former Member

Creditor details

Hi,

We would like to use the Creditor details from SAP, in non SAP environment, Is it possible? Is there a web service available from SAP?

Inputs / Suggestions are appreciated.

Many thanks,

Dharmi

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Sep 03, 2010 at 07:22 PM

    you can use the bapi BAPI_CREDITOR_GETDETAIL

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 06, 2010 at 10:04 AM

    Hi,

    The FM BAPI_CREDITOR_GETDETAIL uses select * from lfa1 , lfb1 & lfbk tables to fetch vendor data , company code relevant

    data and bank details.

    If you have proper index for the field you want to select with, You can use the same in the program.

    SELECT * FROM LFA1 WHERE NAME1 = p_name1 if you don't have the vendor number.

    Based on the vendor number obtained in the above select, you can get the remaining tables from LFB1 and LFBK.

    Hope it helps.

    Sujay

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      Create a Remote Function module in se37 and add the Pass the Vendor Number and Bank details in Import parameters.

      and

      SELECT SINGLE * FROM LFB1 WHERE LIFNR = vendor

      AND BUKRS = COMPANYCODE.

      MOVE-CORRESPONDING LFB1 TO LM_COMPANY_DETAIL.

      SELECT * FROM LFBK

      INTO CORRESPONDING FIELDS OF LM_BANK_DETAIL

      WHERE LIFNR = vendor.

      APPEND LM_BANK_DETAIL.

      ENDSELECT.

      and Release the Function module then PI team will import the Function module and they do mapping..

      And the ensd user will pass the data on that basis the bank details will be sent to them..

      ABAPer will create the function module and then they will release rest will take care By PI.

      Prabhudas

  • author's profile photo Former Member
    Former Member
    Posted on Sep 06, 2010 at 10:13 AM

    Hi ,

    Us e the Below function module using XI or FTP connection to get connected with non sap systems

    • read the company code level date for the customer number at vendor

    CALL FUNCTION 'BAPI_CREDITOR_GETDETAIL'

    EXPORTING

    CREDITORID = SEL_VENDOR

    COMPANYCODE = GLOBAL-CO_CODE

    IMPORTING

    CREDITOR_COMPANY_DETAIL = BAPI1008_5

    RETURN = BAPIRETURN

    EXCEPTIONS

    OTHERS = 0.

    Prabhudas

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Prabhudas,

      Thank you for your reply. I am looking for FM which searches based on name / bank details... Yes I want to use it via PI but before the interface is made using PI.. this details needs to be available on the sender system. The sender system is non SAP.

      I had an idea of using FM, since it is exposed as Web Service. If you had any other idea, can you kindly elaborate?

      Regards,

      Dharmi

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.