Skip to Content
avatar image
Former Member

vendor details update with ISIDE_SM_VENDOR_DETAILS_UPDATE

Dear all,

I am using BAPI --> ISIDE_SM_VENDOR_DETAILS_UPDATE to update the details of vendor for transaction XK02.

I have used total 5 tables.

IT_VENDOR-- vendor no and name.

IT_BAPIAD1VL-- contact per name, street, address (str_suppl1,2,3), postal code, city, country, region.

IT_BAPIADTEL-- telephone

IT_BAPIADFAX -- fax

IT_BAPIADSMTP -- email.

ET_BAPIAD1VL }

ET_BAPIADTEL } same details as above.

ET_BAPIADFAX }

ET_BAPIADSMTP }

ETX_BAPIAD1VL }

ETX_BAPIADTEL } 'X' wherever there are values for above fields in the tabs.

ETX_BAPIADFAX }

ETX_BAPIADSMTP }

After testing the FM, it gives this message in return tab

T ID NUM MESSAGE

E AM 164 Specify address object type and key

Regards,

Sumit Nene.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jul 13, 2009 at 05:39 AM

    Please let me know if I have to add any other fields.

    Regards,

    Sumit Nene

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      ha sumit,

      declare a variable of type ISI_SM_SEL_RECORD and in it pass the vendor number and then pass this paramter to funciton module , i guess u r passing vednor number in qoutes ,

      data : wa_vendr type ISI_SM_SEL_RECORD.

      wa_vendr-lifnr = '0000000001'.

      ans pass this wa_cndr to function module parameter

      regards

      m.a

  • Jul 13, 2009 at 08:47 AM

    Hi Sumit,

    Try BDC its very easy to update.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member
      DATA: WA_ISL_VENDOR TYPE ISI_SM_SEL_RECORD. 
      
      CALL FUNCTION 'ISIDE_SM_VENDOR_DETAILS_UPDATE'
          EXPORTING
      *    IT_RETURN           =
          IS_SEL_VENDOR       =  IT_ISL_VENDOR
            IS_VMDATA            = IT_VMDATA
       IMPORTING
         ET_RETURN           =   it_return
      *   ES_VMDATA           =
                  .

      this is my code.

      IT_ISL_VENDOR --> im passing vendor no in lifnr field of this tab.

      IT_VMDATA--> all the vendor related data that i wish to update.

      Regards,

      Sumit Nene.