How to catch attachment info. in the Business Activity Doc.?

Hi experts,
How to catch attachment info. in the Business Activity Doc.? For example, I want to get how many attachments in the Activity. and the description of attachments.Is there any SAP table or FM for it ? Thank you.
Best regards,
Gavin

Hi,
  Go to the table CRMD_ORDERADM_H give your trnsaction( Activity ) no in the OBJECT_ID field, you will get GUID corresponding to the transaction.
Pass the GUID in the SMOATTACHLNK Table in the PARENTID field, then you will get PHIO_ID.
Pass PHIO_ID in the table CRMORDERPHIO Table in the field PHIO_ID, then you will get LOIO_ID.
Finally pass youe LOIO_ ID into CRMORDERLOIO table in the field LOIO_ID then you will get how many attachments are there for particula transaction
Tables
CRMORDERLOIO
CRMORDERLOIOT
Regards
Srinu

Similar Messages

  • How do I attach a file to a Mail doc without the file being opened in the Mail document?

    How do I attach a file to a Mail doc without the file being opened in the Mail document?

    You will (often) see a preview of the attachment, depending upon the file type.  To get rid of the preview: control click on the attachment select "View as icon".
    (What the recipient of your message sees is dictated by that person's email application.  If you want to make sure the person gets an attachement which is not previewed, you can zip it (control-click, "Compress...") and then attach the zipped file(s).  Or you can try something like Attachment Tamer.)

  • Hi How do we create Methods inside the Business objects of Z

    Hi Abapers,
                        How do we create Methods inside the Business objects (z objects) and how *** an import parameter or export parameter  to be defined for the new Methods.
    Regards
    Bhaskar Rao.M

    Hi Bhaskar,
    that ´s not difficult.
    Open your Bus.Obj. in SWO1 with CHANGE/EDIT
    Click on the "Methods" header line and then use the button for "Create".
    If you want to add the method on basis of a function module, choose next in the next pop up. Then the system will offer you the ex/import parameter from the function module. So this is a really simple way.
    If you don´t have a FM, it is a little bit more difficult.
    Choose No on the quetion about a FM, fill in the next pop up  methode name (no blanks allowed).
    Dialogue is for user related method (call screen...) synchronous for methods which have to give back a result directly in to the workflow.
    After completing the screen the method will be displayed as new method at the end of method list. Now add parameters (first click on the method name, then choose parameter button, same functionality to add program to the method).
    Programm:
    Code snip:
    BEGIN_METHOD ZWFCHECKMIRO CHANGING CONTAINER.
    DATA:
          ZBELNR TYPE RBKP-BELNR,
          ZGJAHR TYPE RBKP-GJAHR,
          RESULT TYPE HRP1001-ISTAT,
          BELNR TYPE BKPF-BELNR,
          GJAHR TYPE BKPF-GJAHR,
          BUKRS TYPE BKPF-BUKRS.
    to import parameter
      SWC_GET_ELEMENT CONTAINER 'Zbelnr' ZBELNR.
      SWC_GET_ELEMENT CONTAINER 'Zgjahr' ZGJAHR.
    *(or SWC_GET_TABLE)
    here add the functionality of your method!
    to export parameter
    SWC_SET_ELEMENT CONTAINER 'Result' RESULT.
      SWC_SET_ELEMENT CONTAINER 'Belnr' BELNR.
    *(or SWC_SET_TABLE)
    !!! Important: naming convention!!! Use same writing of parameter names in
    PARAM area (button PARAMETER) and here in code.
    To use your method, change it to implemented after adding your code.
    -> Edit -> Change release status -> object type component -> into implemented
    (Sorry , have a german screen here, possibly terms are a little bit different.
    Hope this helps a little bit.!
    regards
    Dirk

  • HT4061 how to get full info about the iphone by putting the imei number in pc

    how to get full info about the iphone by putting the imei number in pc

    https://discussions.apple.com/message/23921736#23921736

  • How do I erase info on the hard drive

    how do I erase info on the hard drive

    If you want to give him a really clean new laptop, the best thing to do would be to erase it (or secure erase it, if there's stuff on there you don't want being found if the machine were to get stolen or something) and reinstall the system from scratch
    If you want a simpler method, it's probably easiest to just securely delete anything sensitive (put it in the trash and choose Finder -> Secure Empty Trash) and then create a new user for your son.  Make him an admin user, then log in as him and delete your old user, making sure to tell it to delete your user folder when asked.  Of course, you'll want to make sure your data is safely stored away elsewhere first!
    As far as applications go, if they were bought from the App Store, you can legally use them on multiple machines in your household, but you could also delete them by just dragging them to the trash.  For other apps, if they required an installer, look for an uninstaller provided by the company that made the app.  If not, just drag it to the trash.

  • Error Occured when deleting the Business Activity

    Hi All,
    I try to delete one record of the Business Activity, but there was an error.
    The operation is as follows:
    Business Activity->delete
    After i press Yes, there was an error: At lease one entry could not be found in object buffer, the Message No. is CRM_ORDER_MISC106.
    After pressing Enter, thre was another error: Administration header could not be found DE02500F7FC614F1A6C30017A43C63A4. Message No. CRM_ORDERADM_H004.
    Who konw how to deal with this issue, please kindly to tell me, thanks a lot!
    Bonnie

    Hi Bonnie,
    Check your implementation of ORDER_SAVE BADI and in case if you have CRM_ORDER_READ FM make sure that you have the EXCEPTIOM part of this FM. What I ment is
        EXCEPTIONS
          document_not_found   = 1
          error_occurred       = 2
          document_locked      = 3
          no_change_authority  = 4
          no_display_authority = 5
          no_change_allowed    = 6
          OTHERS               = 7.
    If you have this you should not get the error mentioned.
    Hope this will help.
    Thanks,
    Vikash.

  • How to disable attachment icon in the below code

    Session session = null;
              Properties props = new Properties();
              props.put("mail.smtp.host", mailHost);
              session = Session.getDefaultInstance(props, null);
              log.info("STEP 1");
              try {
                   Calendar currentDate = Calendar.getInstance();
                   currentDate.add(Calendar.DATE, 0);
                   log.info("STEP 2");
                   MimeMessage mesg = new MimeMessage(session);
                   log.info("STEP 3");
                   String mailBody = "RSS Feed link as of"
                             + (currentDate.get(Calendar.MONTH) + 1) + File.separator
                             + currentDate.get(Calendar.DATE) + File.separator
                             + currentDate.get(Calendar.YEAR) + messageText;
                   log.info("THE MAIL BODY IS :" + mailBody);
                   try {
                        mesg.setFrom(new InternetAddress(fromAddress));
                        InternetAddress toAddress = new InternetAddress(destAddr);
                        mesg.addRecipient(Message.RecipientType.TO, toAddress);
                   } catch (Exception x) {
                   mesg.setSubject("Cybermedia Dice Job Portal RSS Feed information link");
                   MimeBodyPart messageBodyPart = new MimeBodyPart();
                   messageBodyPart.setText(mailBody, "us-ascii");
                   Multipart multipart = new MimeMultipart();
                   multipart.addBodyPart(messageBodyPart);
                   mesg.setContent(multipart);
                   Transport.send(mesg);
                   * MimeBodyPart attachmentBodyPart = new MimeBodyPart(); DataSource
                   * source = new FileDataSource(outputFileName);
                   * attachmentBodyPart.setDataHandler(new DataHandler(source));
                   * attachmentBodyPart.setFileName(outputFileName);
                   * multipart.addBodyPart(attachmentBodyPart);
                   log.info("STOP HERE..");
              } catch (Exception ex) {
                   StringWriter writer = new StringWriter();
                   ex.printStackTrace(new PrintWriter(writer));
                   String trace = writer.toString();
                   log.error(trace);
    Can any one help what should be modified so that the attachment icon is disabled in mail
    Presently it shows attachment icon using the above code

    Hi naga,
    1. one option is to retrive the source code of the requried program,
       into internal table using the syntax READ REPORT (just see f1 help on it)
    READ REPORT prog INTO itab [MAXIMUM WIDTH INTO wid].
    2. Then we can loop / search the internal table for the required term.
    regards,
    amit m.

  • How to get Activities  connected to the Business partner .

    Hi Gurus ,
    How can be get all the activities attached to the Business partner .
    Regards,
    Naval Bhatt .

    Hi,
    in tx genil_bol_browser please search for an existing activity with searchobject BTQAct.
    click thru the child relationships (BTOrderHeader / BTOrderPartnerset).
    Here in BTOrder Partnerset you will find all the partners, for example the contact partner in relationship:
    BTPartner_00000009
    Is this what you are looking for? Otherwise please detail your question.
    Best regards
    Manfred

  • How to manage Locale info in the URL path, but not the query string

    We are building an application using Struts 1.1 and Tiles, on Oracle Application Server 10.1.3.3...
    I know this is a strange question... but we have a requirement to represent the locale info in the URL string using one of the following options:
    option 1: /eng/page.do?id=2 for english.../fra/page.do?id=2
    option 2: /page-eng.do?id=2 for english.... and /page-fra.do?id=2 for french
    We need to represent the 3 letter ISO lang code either in the directory structure, or suffix the page name (in our case, the struts action name)... we cannot replicate this using a parameter in the query string. I know this is odd, but that is what we are told to implement.
    Is there any robust way of implementing either option in Struts 1.1, JSP, JSTL etc...?
    Currently, we are looking at using a servlet filter to intercept the HTTP requests, parse the URL string, and extract the ISO lang value, and set locale and forward on the request.
    This poses a few problems... adding additional action mappings (page-eng... page-fra... page) to our struts-xml.config file to handle lang permuations... but the biggest issue is all the embedded html:link action values throughout our code...
    Because all our public facing URLs must comply with the rule, we need to change the html:link action to point to a different action, based on locale.
    Very inefficent, and I'm sure not industry standard best practice... we are using Tiles, and resource bundles for all our labels etc... but fall short in meeting this rule with regards to URLs and locale.
    Any advice or tips etc.. is greatly appreciated.

    The filter option sounds like a good solution. So it can receive the urls and parse them appropriately.
    You just need to take it one step further.
    Additional actionmappings in your struts-config should not be necessary.
    Filter:
    - analyses the url and sets the appropriate locale
    - adjusts the url such that the next level of the chain does not have to know anything about the locale being encoded in the url string.
    Thus your struts classes and mappings can remain unchanged
    /eng/page.do or /fra/page.do once through the filter should just look like /page.do to struts.
    That should get rid of half of your headache.
    Next the issue of generating urls.
    There are two approaches I can see here
    1 - use the filter approach again, this time with some post processing. Gather the generated HTML in a buffer, and do a find/replace on any urls generated, to put the locale encoding into them.
    2 - Customise struts to produce urls in this format. This would involve the html:link tag, and the html:form tag at the least (maybe others?). Get the source code for struts, and grab the html:link tag code. Extend that class to generate urls as you want them to be generated. I think you would need to extend the class org.apache.struts.taglib.html.LinkTag and override the protected method calculateURL. You would then have to edit/modify the struts-html tld to point the link tag at your classes rather than the standard ones.
    Option 1 is architecturally good because it gives you a well defined layer/border between having the locale encoded in the url, and not having it there. However it involves doing a find/replace on every html going out. This would catch all urls, whether generated by html:link tag or not.
    Option 2 requires customising struts for your own requirements, which may be a bit daunting, but has the advantage of generating the urls correctly without the extra overhead involved with option 1. Of course you would have to ensure that ALL urls are generated with the html:link tag.
    On reflection, I think option 1 is preferable, as both easier and quicker to implement, and doing a better separation in the architecture.
    Cheers,
    evnafets

  • Selling Computer - Like to know how to clean all info off the computer

    Hi All
    I am selling a 17 Inch Imac and I'm trying to find out how I wipe all information from the system so there is no personal info for the new user to see.

    The best way is to zero out all the data by ins erting your install disc, then going to Disk Utility, selecting the hard drive you want to erase and then chosing either zero out data,7 or 35 passes. It will take about a minute for each GB of data for each pass, the more passes, the longer it takes, but the more secure your disc is.
    Hope this helps,
    Miriam

  • How do I attach file to the reply mail

    Hello!
    I'm using iPad 3rd generation (ver. 5.1.1) and it's native mail client.
    I've read how to attach file to the email. But it might work only if I create new email.
    My problem is attaching a file to a reply email.
    Is there any solution for this?

    Thanks for help!
    From my experience I can notice that Apple has an excellent support team, but it doesn't listen it's consumers. This is 3rd generation iPad, but this feature still doesn't exist. I've had a better opinion about this company.
    IMHO this feature is a basic function of any other mail program. About 7 years ago I had a simple mobile phone with mail client which supported this function, but costed about 100$. Now I hold in my hands device with price ten times higher but it's native mail client doesn't have this feature.
    Different Android, Windows devices allow to do this, but iPad doesn't.

  • How many days take to install the Business Component Cubes in Realtime

    Hi All,
    How many days to take for to installing the Business Component Cubes, in Real time?
    Suppose my requirement is that i have to install 3 Demo Cubes..
    Regards,
    Kiran Telkar

    It will take arroud 7 days to install all the standard cubes.
    for three cube it may take around 4 hours
    pls assign points if helpful.

  • How to catch an event when the user change values in the project information dialog

    hi,
    i would like to know how to catch an event in my C# code when the user change values in the project information dialog?
    taskChange doesn't catch these changes.
    thanks.
    Thanks, Sharon.

    You need to write save button event handler for project information dialog. Link is having same functionality described. 
    http://blogs.msdn.com/b/husainzgh/archive/2011/08/01/hooking-into-the-project-detail-page-ribbon-save-button-without-overriding-out-of-box-functionality-in-project-web-access-for-project-server-2010.aspx
    http://www.projectserver2010blog.com/2010/01/sharepoint-2010-webpart-client-server.html
    kirtesh

  • How to print Photo Info in the Custom Print Package

    I am  using LR CC, latest version on a Windows7 PC.
    I am trying to print Photo Info in the Custom Print package. I have no trouble selecting Photo Info in the Single Image/Contact Sheet Layout Style, but when I switch to the Custom Print Package, the Photo Info check box in the Page panel, disappears. I can't find any reference to this in the manual as to why this would occur, or not be available.
    Appreciate any help with this matter.
    Best Regards
    Steve

    Hi,
    Have a look at: Lightroom Help | Print module layouts and templates
    Only on the Single Image and Contact Sheet layouts can you " ... print information about photos, such as the filename, title, caption, and keywords ..."

  • Help with How to permanently store info in the MY Ratings field

    Info that I enter into the My Ratings field in iTunes is lost when I remove the songs from the Music Library (iTunes window) or copy my music files to another computer. I don't understand what is going on here or why anyone (at Apple) would design iTunes to work in this way.
    I want to know if there is a way to store the My Ratings info in a way that it will reload into the Music Library (iTunes window) and show up with my music in the same way that the artist, album and track names show up when the music files are reloaded into the music library or copied to another computer.
    If this issue has been previously addressed somewhere else in the forum, I would appreciate a pointer to the discussion topic for it.

    I have found applescripts on the web that I have used to successfully input info into the Category and Description fields....but the data in these fields also disappear once the songs have been removed from the music library
    Applescript makes it possible to edit tags which are not editable using the iTunes GUI. However, Applescript sends commands to iTunes, so the tag information is stored the 'iTunes-way'.
    All information which is not stored in the tags is stored in the 'iTunes Library' file. Some information, like Ratings, is also stored in the 'iTunes Music Library.xml' file and exported song lists.
    This article gives some information about the library files, but isn't specific about which information is saved in either file.
    I know from experience that ratings re-appear when a song is 'added' to the library by importing it from a previously exported song list (stores information like the 'iTunes Music Library'.xml file). The songs in the list that were already in the library, will not have their ratings changed. Also comments re-appear.
    My library is on an external disk and when I switch to another computer, I just copy the 'iTunes Library' file. That retains all information.
    If you copy the entire iTunes folder to the same location at another computer, then it works like Shyguy01 said.
    M
    17' iMac fp 800 MHz 768 MB RAM   Mac OS X (10.3.9)   Several ext. HD (backup and data)

Maybe you are looking for

  • Best consumer color calibration device?

    What is currently the best consumer-based color calibration device available? I need to calibrate (2) Dell IPS monitors and a Brother MFC-9840CDW color laser printer. Thanks!

  • What business event executes when a Party is updated

    Hi, What business event executes when a Party is updated ? I tried with oracle.apps.ar.hz.Organization.update oracle.apps.ar.hz.CustomerProfile.update None of these seems triggering when Party information is updated example: Customer Profile, Custome

  • ORA-06522 - undefined symbol

    I'm getting the following error when i execute external procedure: ORA-06520: PL/SQL: Error loading external library ORA-06522: /oracle/ora10/mm_server/libhello.so: undefined symbol: NfmIsRegistered ORA-06512: at "AOL.VERIFICATION", line 1 ORA-06512:

  • Javabean-Timer to control the whole Forms-Session

    Hello ! I am looking forr a solution to supervise the whole Forms-session with a javabean-Timer. I know the available javabean-timer on [http://forms.pjc.bean.over-blog.com|http://forms.pjc.bean.over-blog.com/]. But i am searching for an answer/solut

  • Safari 6.1.1 (7537.73.11) keeps freezing up on my macbook pro OS 10.7.5, how do I fix this?

    Safari 6.1.1 (7537.73.11) keeps freezing up on my macbook pro 2.4 ghz OS 10.7.5 (11g63), how do I fix this?