Problem in uploading Vendor Email through FK01/FK02

Hello,
I have to upload vendor master. Everything gets uploaded except the email of the vendor. I have tried several ways: Bapi's, Recording, LSMW etc but nothing seems to be working. Please let me know how to upload the email address of the vendor.
Regards
Ritesh

Dear,
Solved the problem. Below is a sample code.
REPORT  z_vendor_email_upload LINE-SIZE 170.
PARAMETERS: obj_id LIKE bapi4001_1-objkey DEFAULT '0000101625'.
PARAMETERS: e_mail LIKE bapiadsmtp-e_mail.
DATA: iad1vl TYPE bapiad1vl OCCURS 0 WITH HEADER LINE.
DATA: iadsmtp TYPE bapiadsmtp OCCURS 0 WITH HEADER LINE.
DATA: ret TYPE bapiret2 OCCURS 0 WITH HEADER LINE.
DATA: adrnr LIKE bapi4001_1-addr_no.
START-OF-SELECTION.
  IF e_mail CA '@'.
    REFRESH iad1vl. CLEAR iad1vl.
    iad1vl-name = 'XYZ'.
    iad1vl-name_2 = ABC'.
    iad1vl-sort1 = 'XZ'.
    iad1vl-country = 'SG'.
    iad1vl-langu = 'EN'.
    APPEND iad1vl. CLEAR iad1vl.
    REFRESH iadsmtp. CLEAR iadsmtp.
    iadsmtp-e_mail = e_mail.
    APPEND iadsmtp. CLEAR iadsmtp.
    REFRESH ret. CLEAR ret.
    CALL FUNCTION 'BAPI_ADDRESSORG_SAVEREPLICA'
      EXPORTING
        obj_type                          = 'LFA1'
        obj_id                            = obj_id
      OBJ_ID_EXT                        = ' '
        context                           = '0001'
      IV_CHECK_ADDRESS                  = 'X'
      IV_TIME_DEPENDENT_COMM_DATA       = ' '
     IMPORTING
       return                            = ret
       address_number                    = adrnr
      TABLES
        bapiad1vl                         = iad1vl
      BAPIADTEL                         =
      BAPIADFAX                         =
      BAPIADTTX                         =
      BAPIADTLX                         =
        bapiadsmtp                        = iadsmtp.
      BAPIADRML                         =
      BAPIADX400                        =
      BAPIADRFC                         =
      BAPIADPRT                         =
      BAPIADSSF                         =
      BAPIADURI                         =
      BAPIADPAG                         =
      BAPIAD_REM                        =
      BAPICOMREM                        =
      BAPIADUSE                         =
    IF ret-type NE 'E'.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          wait = 'X'.
      IF sy-subrc = 0.
        WRITE: /'Email Updated'.
      ENDIF.
    ELSE.
      WRITE: / ret-type, ret-message, ret-message_v1, ret-message_v2.
    ENDIF.
  ELSE.
    WRITE: /'Check Email Address. It is not correct'.
  ENDIF.

Similar Messages

  • Hi - I cannot upload my emails through the mail icon.  The first time I tried it only loaded very old emails, I then tried the whole process again and it has not imported a single email.  I use hotmail, and have had no problems with my iPhone or iPad.

    Hi - I cannot upload my emails through the mail icon.  The first time I tried it only loaded very old emails, I then tried the whole process again and it has not imported a single email.  I use hotmail, and have had no problems with my iPhone or iPad.  So the only way I can check my emails on my mac is to go through the internet.  Can anyone help?

    Hello, do you mean Download?
    In Mail's Window Menu, choose Connection Doctor, any red dots for status, if so what is the message?
    Then click the Show Details button & Check again.

  • Long text problem while uploading Inspection plan through BDC.

    Hi,
    I am facing some problem while uploading the inspection plan. There are few MICs for which we are having long text, while uploading the inspection plan through BDC - some other long text is getting copied into the MIC's long text. After checking I came to know that in function module, read_text - some text which is stored in ABAP memory is getting copied into the inspection plan.
    I am working in SAP release 4.7. I have checked with SAP notes: 97419, but it is also not satisfying.
    Waiting for quick solution.
    Thanks in advance.
    Fahié

    Hi a®s,
    Thanks a lot for your kind reply.
    My requirement is I want to maintain long text for few MICs (which are not having long texts at MIC level) in inspection plan (QP01).
    When I am trying to manually assign the MIC's to inspection plan (QP01), long text is copied whereas I am not clicking the long text icon in (QP01). Long text is not maintained in MIC level, still some long text is copied to this MIC. This was also happening while uploading the inspection plan thro' BDC.
    I believe what you have mentioned about function module SAVE_TEXT cannot be used here since long text is already copied before we pass the long text. Also if we pass some long text, still apart from the long text what we have passed there is some other long text copied (extra long text).
    Waiting for quick solution.
    Thanks in advance.
    Fahié

  • BDC Upload Vendor email address

    Hi experts,
    Could you tell me how I can upload the vendor email address information with BDC.
    Best regards.
    Tks a million!
    David.

    Hi
    Use the transaction code MK02 to change the vendor details. For that first you have to do the recording in SHDB. Then generate a program from the recording and then pass your values to it.
    Regards,
    Vishwa.

  • Want to upload vendor masters thru FK01

    < MODERATOR:  All points have been UNASSIGNED and the message locked.  Please do not share email addresses, documents, or links to copyrighted or company confidential information on these forums.  If you have some information, please consider posting it to the [Wiki|https://wiki.sdn.sap.com/wiki/display/ERPFI/Home] rather than sharing via email.>
    Is there any standard program, to upload vendor masters.
    I have , vendor name, address, reco a/c, payment terms ....
    I have tried thru BDC, but while recording, i am not getting all the address lines. Ony first address line is coming,
    what is to be done ??
    Thanks
    amit

    Use lsmw
    Take direct input method with object 0040 with Method Standard 0001.
    You can select the feilds that you wanted and upload directly.
    Alternatively, Check the Feild status group settings of the Vendor group for teh suppression of Address details. You enable and record teh BDC.
    reward if useful.
    sarma

  • Problem while uploading text file through portal into WebDAV repository .

    Hi all...
    I am not able to upload any file through portal onto my webDav repository for remote server however reverse is possible i.e. any document created at remote server is reflected in portal.
    Everytime when i try to upload file though portal , i get the following error::
    The item could not be created because an exception occurred in the framework.
    Kindly suggest what to do....
    ThankS

    Hi Chetna,
    Have you specified any user information in the webdav repository....Like always connect through this user, in the webdav repsository tab....This user may not have write permission in the windows.
    Also are you sure that the user you logged in portal by which you failed to create new files or folders and the user that was able to create file in the windows are one and the same.....
    Regards,
    Ganesh N

  • Problem while uploading master data through two files

    Hi all,
    When i try to upload master data of CUSTOMER with two files , Attribute and Text.
    Text gets uploaded perfectly.
    for Attribute, the data upload is done and psa i can see the exact data. But when i check the CUSTOMER object, i am not able to find the actually Attributs data. Instead those colmns are filed with 'E'.
    Can anybdy please explain me wheret the problem is.
    Thanks..

    Hi Sun,
    First check the data in PSA whether the records are fine or any discrepancy in them. Also check the properties of the COSTUMER object into which you are loading. The properties "type" or the "size" of the object may not be matching with the same in the file.
    Check them and try to load once again.
    Hope this helps u...
    Regards,
    Koundinya Karanam.
    Edited by: koundinya karanam on Jan 15, 2008 12:05 AM

  • Problem in uploading attachment files through automation scripts using Oracle Application Testing Suite(OATS)

    I am using OATS tool for writing automation scripts to test a web-based application . But I am facing problem when the requirement is to upload any file from the system to that web application .
    Actually the behavior of the script or I guess of OATS is inconsistent as the attachment file is getting upload sometime and
    fails to do so at the other time .
    I have observed a strange case also ,i.e whenever i am executing the scripts while sharing my system screen on webex meeting
    then the attachment upload results in failure . What can be the proper solution for doing file upload using automation script ??

    Can you please check whether the sync has been taken care before performing the upload operation. If the sync is taken care then the upload should work always

  • Problems when sending an email through a servlet

    Hi I have a servlet trying to send an email to an address given.. but the servlet does not respond at all, it doesn's throw any exception nor displays any message, anything I hope you can help, this is the DoGet method I have in the servlet:
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    System.out.println("In doGet method");
    StringBuffer body=null;
    try {           
    body = setBodyMessage(request);
    sendmail(body);
    out.println("<table align=center cols= 2 border=0 width=100% height=100% >");
    out.println("<tr><td>");
    out.println("<div align=center><b><font face=Arial, Helvetica, align=center sans-serif size=4 color='red'> The Change request was sent </font></b></div></td></tr></table>");
    catch(NullPointerException e){
    e.printStackTrace();
    out.println(e.toString());
    out.println(e.getMessage());
    catch (Exception e) {
    e.printStackTrace();
    System.err.println(e.toString());
    System.out.println(e.toString());
    finally{
    out.close();
    The function setBodyMessage, sets a properly e-mail body message to be sent by the parameters that come from a previous form page.
    I have this sendmail method defined as follow:
    public void sendmail(StringBuffer mailBody){
    String email = "[email protected]";
    try{
    PrintStream outmail;
    SmtpClient send = new SmtpClient("nyschx06psge.sch.ge.com");
    send.from("[email protected]");
    send.to(email);
    outmail = send.startMessage();
    outmail.println("From: [email protected]");
    outmail.println("To: " + email);
    outmail.println("Subject: Welcome");
    outmail.println(mailBody.toString());
    outmail.flush();
    outmail.close();
    send.closeServer();
    catch (Exception e) {
    System.out.println(e.toString());
    e.printStackTrace();
    I try it out in a jsp page and the code works but I need it running in a servlet. Can anyone help me please?, thanks in advance.
    Regards.

    Are you able to print the value of StringBuffer body before calling the sendmail method?

  • Upload Vendor Invoices (Miro)

    Hi Gurus,
    How can we upload vendor invoices through MIRO??
    Please revert me asap.
    Thank You

    Hi
    Data needs to be there in SAP database before doing invoice posting in background. Try to upload invoice data first  using LSMW .then proceed.
    Dear experts please suggest if there is better way )
    Edited by: ppkk on Oct 24, 2008 4:50 AM

  • FK01 - Unable to upload few details through recording Issue with BINPT

    Hi Expersts,
    I am using FK01 transaction to upload Vendors. My issues is if I do the recording without checking the check box "Not a batch Input session" then its not displaying all the fields in the recording. Then I did the recording by checking the check box "Not a batch Input Session". When I use this recording in my program by passing the paramere NOBINPT = X in CTUPARAMS to the FM, I am getting an error message "No batch input data for screen SAPMF02K 0110". This screen I am getting when I do the recording without checking the check box but not by checking the checkbox.
    Can any body suggest how can I upload the vendor using FK01? with all the fields?
    Thanks in Advance.
    Regards,
    Ranganadh.

    Hi Can anybody please suggest on this?
    I need to update Vendor Email ID, street2,3, through BDC I could not found it in recording. when I check the checkbox"Not a batch input session" these fields are appearing in the recording, but I am unable to use this recording in my program, its giving me the error as I posted previously.
    I did search in the forums I found the note "653536" but I am unable to get these fields in the recording.
    Can anybocy please help me to resolve the issue?
    Thanks,
    Ranganadh.

  • I can no longer receive my email through firefox. Also my facebook account doesn't show some of the profile pictures show a different person on someone's name. It appears this is a firefox issues as when I go to explorer it is not a problem at all.

    It seems that through firefox I cannot receive my emails through charter.net and have always been able to before. Also, on my facebook page, profile pictures aren't showing up on some people and on some people a totally different person is showing up. It seems to be a firefox issue because when I get on internet explorer everything is fine? How can I get this problem taken care of? Can my 8.0 be updated.

    This issue can be caused by corrupted cookies or cookies that are blocked.
    *check the permissions on the about:permissions page and in "Tools > Page Info > Permissions"
    Clear the cache and remove cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Issue in BDC while uploading vendors in FK01 when processing mode is N

    Hello all,
    Created a BDC program for uploading vendors using FK01 and it was working fine in both the modes ( A and N). A new requirement came for which few postal codes will have tax mandatory jurisdiction code. After entering the adderss details in screen    'SAPMF02K' '0110' , a pop up box appers with the list of jurisdiction code for few postal codes. We need to select the first record and proceed (     'SAPMSSY0' '0120'.) .  This works perfectly in foreground.
    And I know that these pop up diaglog boxes will not appear in background mode.
    Can anyone help me in solving this. The pop up box displays the jurisdiction code from the structure TAX_TXJCD_POPUP_ADDRESS .
    below is the code sinnipet.
        PERFORM bdc_dynpro      USING 'SAPMSSY0' '0120'.
        PERFORM bdc_field       USING 'BDC_CURSOR' '04/96'.
        PERFORM bdc_field       USING 'BDC_OKCODE' '=ENTR'.
        PERFORM bdc_dynpro      USING 'SAPMF02K' '0120'.
        PERFORM bdc_field       USING 'BDC_CURSOR' 'LFA1-KUNNR'.
        PERFORM bdc_field       USING 'BDC_OKCODE' '/00'.
    Thanks & Regards,
    Sinthu

    Hi,
    I used the FM  "TAX_TXJCD_DETERMINE_TABLE" to get the tax jurisdiction code for a postal code and i passed it accordingly. Still I get the same error. Here is the code before and after the change.
    Before:
              PERFORM bdc_dynpro      USING 'SAPMSSY0' '0120'.
           PERFORM bdc_field       USING 'BDC_CURSOR' '04/03'.   "  for F4
            PERFORM bdc_field       USING 'BDC_OKCODE' '=ENTR'.
            PERFORM bdc_dynpro      USING 'SAPMF02K' '0120'.
            PERFORM bdc_field       USING 'BDC_CURSOR' 'LFA1-KUNNR'.
            PERFORM bdc_field       USING 'BDC_OKCODE' '/00'.
    After using the FM:
          CALL FUNCTION 'TAX_TXJCD_DETERMINE_TABLE'
          EXPORTING
            im_country                   =  gw_data-land1
            im_region                    =  gw_data-regio
            im_zipcode                   =  gw_data-pstlz
    *   IM_CITY                      = ' '
    *   IM_COUNTY                    = ' '
          TABLES
            t_jurtab                     =  gi_taxcode
    * EXCEPTIONS
    *   INPUT_INCOMPLETE             = 1
    *   NO_TAX_PROCEDURE             = 2
    *   NO_TAXJURCODE_REQUIRED       = 3
    *   RFCDEST_NOT_FOUND            = 4
    *   TAXJURCODE_NOT_FOUND         = 5
    *   OTHER_ERROR                  = 6
    *   OTHERS                       = 7
        clear gw_taxcode.
        IF gi_taxcode IS NOT INITIAL.
          READ TABLE gi_taxcode INTO gw_taxcode INDEX 1.
          IF sy-subrc IS INITIAL.
            PERFORM bdc_dynpro      USING 'SAPMF02K' '0120'.
            PERFORM bdc_field       USING 'BDC_CURSOR' 'LFA1-KUNNR'.
            PERFORM bdc_field       USING 'BDC_OKCODE' '/00'.
            PERFORM bdc_field       USING 'LFA1-TXJCD' gw_taxcode-txjcd.
          endif.
    endif.
    Where am I going wrong? I am getting the value for txjcd.

  • TS3276 I receive a pop up from ICal saying the server does not recognize me user name and password.  This started yesterday.  I have no problems with receiving or sending emails through Mail

    I receive a pop-up from ICal saying the server does not recognize my user name and password for my me.com email address.  This started yesterday and occurs about every 5 minutes or so.  There are no problems with receiving or sending email through Mail.  I did change me email password several days ago but have no problems sending/receiving since then.

    I fixed the problem.  I opened Preferences in ICal and entered my new password.  No more pop-ups

  • I have problems with uploading images to my printing company have the images have been manipulated through CS6 i have saved images as jpeg but the printer company tell me they are not j peg, they will not upload images save from a camera are fine

    I have problems with uploading images to my internet printing company when  the images have been manipulated through CS6 and  i have saved images as jpeg  the printer company tell me they are not j peg,
    but images saved from my phone or camera images that have not been manipulated upload fine, What am i doing wrong?

    Save/Export them as JPG. Photoshop defaults to PSD, so make sure you select JPG and not just rename the file to .jpg.
    There are two ways to save them as JPG: Regular Save as option or Save for Web & Devices
    Take your pick.

Maybe you are looking for

  • How to import external table, which exist in export dump file.

    My export dump file has one external table. While i stated importing into my developement instance , I am getting the error "ORA-00911: invalid character". The original definition of the extenal table is as given below CREATE TABLE EXT_TABLE_EV02_PRI

  • Delivery schedule confirmed by vendor

    Hi experts, Business  scenario:  " For material planning purpose, The SAP PO would require delivery schedule confirmation from supplier to be used as a PO firm items when the PO is released. The PO items are critical since they will be used as materi

  • How do I use iPhoto vs. Pictures folder for organization and viewing?

    I have a high level question as to how to use, in general not specific functions, iPhoto on my new iMac.  I imported all of my PC files from an external drive into the appropriate Folders (Pictures, Documents, Music, Movies) successfully.    So my la

  • Get ID from selected row in data table

    Hi! Does someone know how to get ID from row on which I click a button or link? getRowData() doesnt work! Or any other method in jsp or just something to get the ID from selected row? Thanks!!!

  • How do I install Paper Profiles (.icc)?

    I am trying to install a paper profile I downloaded from Hahnemuhler .(PhotoRag) ... .icc profile selected that matches the printer and paper I copied the .icc profile to what I think is the right place: C:\windows\System32\spool\drivers\color I righ