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

FM to add address attributes to a BP

Hi All,

Is there any function module which can be used to add Address Overview attribs to a BP?

Thanks in advance,

Navitha

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 09:50 AM

    Hi! Navitha

    U can use the following piece of code for adding address overview to the BP.

    CALL FUNCTION 'BAPI_BUPA_ADDRESS_ADD'

    EXPORTING

    BUSINESSPARTNER = business partner number

    ADDRESSDATA = address_data_structrue

    TABLES

    ADDRESSUSAGE = add_type_table

    BAPIADTEL = telephone number

    BAPIADFAX = fax number

    BAPIADTLX = telephone extn

    BAPIADSMTP = email address

    RETURN = return_table.

    Here in address usage u have to pass the address type i.e whether it is a bill to addres , Ship to address or main address (by default) this u can find in table TB009 and in the address structure u have to pass the complete address i.e street city reigon postal code etc. and hwatever u require example telephone number email address fax number and extension.

    Hope u find this helpful.

    Regards

    Mayank

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 18, 2008 at 10:01 AM

    Hi,

    Use the FM:BAPI_BUPA_ADDRESS_ADD.

    Give all the address details to be maintained for a BP in respective fields.

    Regards,

    PePe

    Add a comment
    10|10000 characters needed characters exceeded

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.