SO_NEW_DOCUMENT_ATT_SEND_API1, how to save a copy of send item if i use thi

I  am using SO_NEW_DOCUMENT_ATT_SEND_API1 , this FM to send employ details through mail as pdf, but i want a copy of all send details in my computer also, can any one help me for this , to achieve

Hi Kiran,
    You can use transaction 'SOST' to view the sent items.
    Enter your mail id in the 'Sender Tab', Enter the Dates 
    under period tab. Use 'Send status' tab aptly to view the sent
    mails.
    Alternatively, Why dont you give the 'user' email id in the
    mailing list along with other recipients so that the user can
    have the mail in his Inbox. For getting the User email id,
    read PERSNUMBER and ADDRNUMBER from USR21table
    by passing BNAME = Sy-uname.
    Go to ADR6 table, pass the USR21-PERSNUMBER and  
    USR21-ADDRNUMBER and read the SMTP_ADDR which
    will be the users email id. Include this Email id alongwith the
    email recipient list to recieve the same copy into your inbox.
<REMOVED BY MODERATOR>
Regards
Nanda
Edited by: Alvaro Tejada Galindo on Feb 22, 2008 3:50 PM

Similar Messages

  • How to save JPanel in HashMap and then build tree using this HashMap

    Actually I'm not sure I'm on right way... what I need to do is to build a tree of tests.
    I can imagine that this can be done in such way
    1. add all jpanels into hash map HashMap<String, JPanel> or HashMap<Vector, JPanel> ?
    2. build tree from this hash map
    3. each node contains jpanel
    +root
    |
    +suite1
    |
    test1 -------------> jpanel with components
    |
    test2
    |
    +suite2
    |
    test21
    |
    test22
    If somebody has an idea how to cope with this, please help!

    Yes, I've tried, but i didn't find appropriate option. In Easy setup I can only choose presets. I've tried to edit capture presets, but there were no Log and Capture window settings.

  • How to 'save a copy' of a pdf?

    I am trying to change the security of the pdf  in which 'extend features in adobe reader' option is enabled. To change this i have to save a copy of a pdf.
    How to save a copy of a pdf  using acrobat sdk or javascript or batch processing?
    I have tried saveAs method in javascript but it doesnt work.
    Please Advice.

    Im trying to save the document in a location, but it is giving me a "Error 3: Bad parameter".
    Here is my code.
    DURING
              ASFileSysReleasePath(fileSys,pathName);
              ASPathName newPathName = ASFileSysCreatePathName(fileSys, ASAtomFromString("D:\\newPdf.pdf"),NULL,NULL);
              PDDocSave(pdDocForExp, PDSaveFull | PDSaveCopy, newPathName,fileSys, NULL, NULL);
              PDDocClose(pdDocForExp);
    HANDLER
               char  buf[256], errmsg[256];
                sprintf(buf,  "Error %d: %s", ErrGetCode(ERRORCODE),      
                ASGetErrorString( ERRORCODE, errmsg,  sizeof (errmsg) ) );
                AVAlertNote(buf);
    END_HANDLER

  • Copy one list items new list using client side object model

    Hi,
    I have a requirement like i need to copy one list information to new list with createdby and modified by fields.I need to use client side object model code.Can u please send me the code sample.
    Regards,
    Praveen

    Hi,
    According to your post, my understanding is that you want to copy one list items new list using client side object model.
    You can use console application.
    Here is a similar thread for your reference:
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/28a43891-7505-4d34-b513-fdd66773c2a3/copy-list-item-to-another-list-using-client-object-model-in-console-application?forum=sharepointdevelopmentprevious
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How To Save Jpeg Copy As Action

    Hi - how do I create an action that saves my open image as a jpeg copy in the same directory as the original? Rather than save as export I am doing a straight 'Save As...' and then selecting the jpeg option. When you do this the 'save as copy' is greyed out. If I 'Save As..' but before changing to jpeg, whilst it is a PSD file I can select 'save as copy', then select the jpeg option. Whilst the box is greyed out it is still ticked. However it still does not save as a copy, but overwrite the original.
    Any clues? Using CS5.

    Hi.
    You can also use the keyboard shortcut Alt+Ctrl+S (save as copy) when recording the action to add copy to the name.
    There's an obvious one I missed. This solves a problem lurking in the action. Duplicate preserves the original name (plus "copy").  But the Save dialog will open to the spot recorded in the action. Not the source document folder. You might have to navigate to the right folder. So in this statement,
    The file should be saved to the same folder...
    needs a small correction. Change "should" to "probably won't".
    Using "Duplicate" severs the ties between the original document and the copy. Alt+Ctrl+S retains that link and the Save dialog opens the right folder.  If your Save step isn't conditional, the new file will be named Original Name plus "copy.jpg". So the action gets really simple.
    1. Ctrl+Alt+S. With Format set to Jpg.
    Thanks, MTSTUNER.
    Peace,
    Lee

  • How to save ALV list  and send listoutput as email in background process

    Can anyone tell me if an ALV list report could be saved as LIST using 'LIST_TO_MEMORY' and then by using 'LIST_FROM_MEMORY' we need to read the list. If so How?
    I don't want to use 'Submit....exporting list to memory and return' as then I have to trigger my program twice.
    Finally with one program itself i want to get the listoutput and send the list output as an email to the customer in background.
    I have gone through the forums and could see many of them facing the same problem, but could not find the solution in the forums.
    Waiting for a reply
    Santhoshi

    if you want to send mail with the same data as you display in ALV, you can use the same internal table,which you sent to ALV_LIST_DISPLAY function module.
    take the email ids from the user on the selection-screen & use the below code to send mail to them.
    call this FORM F_SEND_MAIL before you called the ALV function module.
    FORM F_SEND_MAIL .
      CLEAR WA_RECLIST.
      REFRESH IT_RECLIST.
    *-popualate email ids
    *--Receipient 1
    this receipient can be select-option from the selection screen. or can be hardcoded as below.
      WA_RECLIST-RECEIVER = '[email protected]'.
      WA_RECLIST-REC_TYPE = C_U.
      WA_RECLIST-EXPRESS  = C_X.
    *--append receiver table
      APPEND WA_RECLIST TO IT_RECLIST.
      CLEAR : WA_RECLIST.
    *--Receipient 2
      WA_RECLIST-RECEIVER = '[email protected]'.
      WA_RECLIST-REC_TYPE = C_U.
      WA_RECLIST-EXPRESS  = C_X.
    *-append receiver table
      APPEND WA_RECLIST TO IT_RECLIST.
      CLEAR : WA_RECLIST.
    *--populate document attributes
      CLEAR: X_DOC_CHNG.
      X_DOC_CHNG-OBJ_NAME = 'HEADING'.
      CONCATENATE 'Japan BOL details for the delivery#'(003)
                  V_VBELN
                  INTO X_DOC_CHNG-OBJ_DESCR SEPARATED BY SPACE.
    *-populate body text
    CONCATENATE 'Japan BOL details for the Delivery#'(003)
      CONCATENATE TEXT-003
                   V_VBELN
                   ',is attached'
                   INTO WA_OBJTXT SEPARATED BY SPACE.
      APPEND WA_OBJTXT TO IT_OBJTXT.
    *---- Append Date and Time into Body of email.
      MOVE 'File is generated on'(004) TO V_INFO.
      V_TIME = SY-UZEIT.
    WRITE : SY-UZEIT TO V_TIME USING EDIT MASK '__:__:__'.
      CONCATENATE V_TIME+0(2)
                  V_TIME+2(2)
                  V_TIME+4(2)
                  INTO
                  V_TIME2 SEPARATED BY ':'.
       WRITE : sy-datum MM/DD/YYYY TO lv_date .
      CONCATENATE SY-DATUM+4(2)
                  SY-DATUM+6(2)
                  SY-DATUM+0(4)
                  INTO V_DATE.
      CONCATENATE V_INFO
                  V_DATE
                  'At'
                  V_TIME2
                  INTO V_INFO
                  SEPARATED BY SPACE.
      WA_OBJTXT = V_INFO.
      APPEND WA_OBJTXT TO IT_OBJTXT.
    *-document size
      CLEAR : V_TABLE_LINES.
      DESCRIBE TABLE IT_OBJTXT LINES V_TABLE_LINES.
      READ TABLE IT_OBJTXT INTO WA_OBJTXT INDEX V_TABLE_LINES.
      X_DOC_CHNG-DOC_SIZE =
                     ( V_TABLE_LINES - 1 ) * 255 + STRLEN( WA_OBJTXT ).
    *-populate packing list for body text
    CLEAR IT_OBJPACK-TRANSF_BIN.
      WA_OBJPACK-HEAD_START = 1.
      WA_OBJPACK-HEAD_NUM = 0.
      WA_OBJPACK-BODY_START = 1.
      WA_OBJPACK-BODY_NUM = V_TABLE_LINES.
      WA_OBJPACK-DOC_TYPE = 'RAW'.
      APPEND WA_OBJPACK TO IT_OBJPACK.
      CLEAR WA_OBJPACK.
    *--for attachment
    *--add Internal table lines here, as attachment.
    *--IT_FINAL IS THE internal table which you used to display the result as ALV output
      loop at IT_FINAL.
        CONCATENATE IT_FINAL-FIELD1
                    IT_FINAL-FIELD2
    *--AND SO ON
             INTO WA_OBJBIN.
      APPEND WA_OBJBIN TO IT_OBJBIN.
      CLEAR  WA_OBJBIN.
    ENDLOOP.
    *-get total no.of lines of Object table(attachment)
      CLEAR : V_TABLE_LINES.
      DESCRIBE TABLE IT_OBJBIN LINES V_TABLE_LINES.
    *-populate object header
      CONCATENATE  'Delivery#'(005)
                     V_VBELN
                     SY-DATUM
                     V_TIME
                     INTO
                     WA_OBJHEAD SEPARATED BY SPACE.
      APPEND WA_OBJHEAD TO IT_OBJHEAD.
      CLEAR  WA_OBJHEAD.
    *-packing list for attachment
      WA_OBJPACK-TRANSF_BIN = C_X.
      WA_OBJPACK-HEAD_START = 1.
      WA_OBJPACK-HEAD_NUM = 1.
      WA_OBJPACK-BODY_START = 1.
      WA_OBJPACK-BODY_NUM = V_TABLE_LINES .
    WA_OBJPACK-DOC_TYPE = 'CSV' .
      WA_OBJPACK-DOC_TYPE = 'RAW' .
      WA_OBJPACK-OBJ_NAME = 'POTR'.
    CONCATENATE 'Delivery details for '(005)
      CONCATENATE TEXT-005
                V_VBELN
                SY-DATUM
                V_TIME
                '.CSV'
                INTO
                WA_OBJPACK-OBJ_DESCR SEPARATED BY SPACE.
      BREAK-POINT.
      WA_OBJPACK-DOC_SIZE = V_TABLE_LINES * 255.
      APPEND WA_OBJPACK TO IT_OBJPACK.
      CLEAR  WA_OBJPACK.
    *-Sending the document
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          DOCUMENT_DATA              = X_DOC_CHNG
          PUT_IN_OUTBOX              = C_X
          COMMIT_WORK                = C_X
        TABLES
          PACKING_LIST               = IT_OBJPACK
          OBJECT_HEADER              = IT_OBJHEAD
          CONTENTS_BIN               = IT_OBJBIN
          CONTENTS_TXT               = IT_OBJTXT
          RECEIVERS                  = IT_RECLIST
        EXCEPTIONS
          TOO_MANY_RECEIVERS         = 1
          DOCUMENT_NOT_SENT          = 2
          DOCUMENT_TYPE_NOT_EXIST    = 3
          OPERATION_NO_AUTHORIZATION = 4
          PARAMETER_ERROR            = 5
          X_ERROR                    = 6
          ENQUEUE_ERROR              = 7
          OTHERS                     = 8.
      IF SY-SUBRC <> 0.
       MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " F_SEND_MAIL
    Regards
    srikanth
    added comments
    Message was edited by: Srikanth Kidambi

  • No Save a Copy icon for Adobe Reader 9, using Win 7, IE or Firefox

    The Save A Copy icon is no longer shown when I bring up my paycheck stub (and I am certainly authorized for that site).  I can view my files but there is no icon to save the PDF to disc.  It does not matter whether I go to that site with IE or with Firefox.  I am using Windows 7.  Thank you anyone that can help me.

    I'm not sure if this is related, but I'm also having problems with save a copy.  In my case the icon is present, but it doesn't work:
    http://forums.adobe.com/message/2468701#2468701

  • How do I add copy/paste feature to websites I use

    I have been trying to copy/paste info onto my Cafe Mom site, Firefox will not allow me to use this feature. It tells me to go to js file and add lines. I find the js folder but am unable to add any line

    http://kb.mozillazine.org/Granting_JavaScript_access_to_the_clipboard <br />
    http://support.mozilla.com/en-US/kb/Granting+JavaScript+access+to+the+clipboard

  • I forgot my Apple ID password and security question. Also the email I'd is not accessible as the organisation has stopped their email service. How can I now update my applications which I downloaded using this Apple ID. Please help

    I forgot the password of my Apple ID that I used for downloading apps when I newly bought my mac book back in 2011 October.
    Now I forgot the password and also the security question.
    Also the email service provider has stopped their email service and hence m not able to use email authentication as well.
    Now I am lost, how will i update the applications that I downloaded using this Apple ID.
    Please help

    Saunakhvshg,
    contact Apple directly.

  • Workflow Question...How to Save as JPEG after Sending to Elements?

    i understand how to export files right from lightroom and save them as jpegs...but i have a related question i haven't found the answer to...
    let's say i do some post processing in lightroom but want to do a couple of things in elements afterwards. i understand how to get the worked on image into elements (photo--edit in), but the file that is now in elements cannot be saved as a jpeg...is there a step i am missing, or do i have to get that image back into lightroom to then export out as a jpeg? if so how do you get the reworked file back into lightroom with the elements changes still intact? thanks.

    You don't give details about "the file that is now in elements cannot be saved as a jpeg", but it's likely what's happening is this:
    You give the Photo > Edit In command, and LR opens the Edit Photo With Photoshop Elements options window. You select one of the Edit A Copy options, and the Copy File Options in that window specify TIFF with a Bit Depth of 16 bits, so a 16-bit TIFF gets opened in PSE.  PSE can't save a 16-bit TIFF as a JPEG, so you don't see JPEG as an option in the File > Save As command.
    Some options:
    1. In PSE, do Image > Mode > 8 Bits to convert the TIFF to 8 bits/pixel.  Then you can do File > Save As to save the image as a JPEG.  You'll then need to import that JPEG into your catalog (or use Synchronize Folder), and you'll probably want to delete the TIFF copy that was created and sent to PSE.
    2. In PSE, just do Save, which will save your changes in the TIFF copy that LR created.  You can export that TIFF as a JPEG and import it back into your catalog in one step by setting the Add To This Catalog option in the Export window (you might want to check the Add To Stack option also).  You could define an Export preset called "Export as JPEG into catalog" that captures these export settings for convenient one-click use.   You'll have to manually delete the TIFF copy that was created and sent to PSE.

  • How to save a copy of a file to different location using jfilechooser

    hi, this is ravikiran,
    In my project there is a situation where when a user clicks on some button, a copy of a file(which is initially in my project folder) must be saved to a location specified by the user.
    I have no idea how to do this using JFileChooser.
    help me,
    thanx in advance

    JFileChooser lets you choose a file. Once it's done you will have to program the copy function with womething like :
         public void copyToDir(String fileSource,String fileDest) {
              try {
                   FileChannel srcChannel = new FileInputStream(fileSource).getChannel();
                   FileChannel dstChannel = new FileOutputStream(fileDest).getChannel();
                   dstChannel.transferFrom(srcChannel, 0, srcChannel.size());
                   srcChannel.close();
                   dstChannel.force(true);
                   dstChannel.close();
              } catch (IOException e) {
                   e.printStackTrace();
         }

  • How to save formatted text in Transparent or cluster table using WDA

    Hi All,
    From WDA application I want to save formatted text in Transparent or cluster table.
    What Datatypes/Data elements should take in Tables? Format should remain as it is.
    How can I achieve above requirement. Please guide step by step.
    Thanks in advance.
    Note : I will use FormattedText UI element in the view
    BR
    CW

    Hi,
    I am not sure may you can try XSTRING also..
    And you can check this for special char.
    http://www.google.co.in/url?q=http://forums.sdn.sap.com/thread.jspa%3FthreadID%3D1342827&sa=U&ei=ynTkTZDvNsbsrAepvIWsBg&ved=0CBYQFjAA&usg=AFQjCNEHLu2lPsOLP0m78AqWKjZPvBB8Yw
    Cheers,
    Kris.

  • How to save an Idoc doc Number on PI to use it later on an ALEUD Idoc

    Hi there i have an Idoc / Soap  Async/Sync Scenario with BPM, i need to update the Idoc status using ALEUD idoc back to R/3, for that im stuck trying to figure out a way to save the Income Idoc number and use it later on the Response to ALEUD Idoc Type Mapping, i've been looking into the xpath thing a bit but im not sure if this is the right way to do it, Thanks in advance for all the help and ill be more than happy to follow any blog on how to do it,
    Roberto.

    Hi there,
    basically what i need is to be able to store the Incoming Idoc Number from R/3, and use it later for another mapping wether would be inside or outside the bpm
    Edited by: Roberto Gomez on Jul 27, 2009 6:59 PM

  • How to save contacts to SIM Card? I am using Iphone 4

    How can i save my contacs from phone memory to Sim card?

    You can't. iPhone stores no data on a sim card.
    Your carrier may be able to do so at one of their stores, but you can't do so using your phone.

  • How to save an existing file into a new file using "save as" method?

    Hai to all,
    if i'm having a file named as "tab.doc"...
    i want to save it as another file as "tab1.doc" by using
    "save as" method....
    Is there any "save as" method available for doing this process....
    thanks in advance..
    senthil..

    Yes.
    See SDKLayoutHelper::SaveDocumentAs in the SDk documentation.

Maybe you are looking for