Get Attachs by Code

Dear All,
I don't know if I'm in the right place, but I use the Field Service application, and I need to extract some attachments using
a customized BS.
Is it possible? If yes, how can I achieve this requirement?
Thanks in advance.
Rose
Edited by: user12861955 on 26/03/2010 11:06

Hi Rose,
Yes, it's possible.
At the link below you can find how to use this functionality:
http://download.oracle.com/docs/cd/B31104_02/books/OIRef/OIRefInterfaceRef112.html#wp1011551
Best Regards.

Similar Messages

  • To get the company code and country grouping attached to a position

    Hi everyone,
    I have a position and I need to get the company code and the country grouping that this position is attached to. Could you kindly suggest an FM or a class which would fetch the above data keeping in mind the inheritance tree. That is, if the company code is not maintained in HRP1008, then it should look for the same in the Org Unit that this position belongs to and so on..
    Any help will be greatly appreciated.
    Regards,
    Alpana.

    Hi
    Check the A011 relationship of the position and get the cost center, from cost center you can get the company code and country grouping from Cost Center Master CSKS.
    ~~~Ganesh Kumar K.

  • I ordered mac OS and I got the email for License and I didnt get the attachement for content code. Please help me getting the content code.

    I ordered mac OS and I got the email for License and I didnt get the attachement for content code. Please help me getting the content code.

    It's a two email process, one email has a locked pdf with the redemption code. The second email has the password to unlock the pdf. They come separetly, so you may have to wait for the 2nd to arrive.

  • I try to export my Imovie and I always get the error code"Unable to prepare project for publishing...File already open with write permission"  it even does it when I am just trying to export to my external hard drive to save the file

    I try to export my Imovie and I always get the error code"Unable to prepare project for publishing...File already open with write permission"  it even does it when I am just trying to export to my external hard drive to save the file

    Thanks!!! I had same error (with -49) and the mac had an external hard drive attached.. and it was doing a backup.  Stopped, disconnected and the project exported!

  • SQLite encrypted Database does not get attached Using Adobe Air,Why?

    Hi,
    Any one knows the solution, am trying to attach the encrypted SQLite database adobe air-adobe flex bulder , it does not get attached using sqlconnection.attach throws error, though the given key is correct, but it gets open using sqlconnection.open with the same key, any one knows the solution, how to attach the encrypted data base, since am using two data base one is opened and another must be attached to the existing ,thanks in advance. using adobe air- flex related. i use the following code
                   databaseFile1 = File.applicationStorageDirectory.resolvePath("Sample_1.sqlite");
                   databaseFile2 = File.applicationStorageDirectory.resolvePath("Sample_2.sqlite");
    dbConnection.open(databaseFile1, SQLMode.CREATE, false, 1024, secKey);
    dbConnection.attach("db2",databaseFile2,null,secKey);
    got the following error.
    ERROR #3125 Unable to open the database file.

    And I would say more "this is the issue" !
    It should be possible as it is clearly stated in the doc :
    public function attach(name:String, reference:Object = null, responder:Responder = null, encryptionKey:ByteArray = null):void
    with 
    encryptionKey:ByteArray (default = null) — The encryption key for the database file. If the attach() call creates a database, the database is encrypted and the specified key is used as the encryption key for the database. If the call attaches an existing encrypted database, the value must match the database's encryption key or an error occurs. If the database being attached is not encrypted, or to create an unencrypted database, the value must be null (the default).
    so with a same encryptionkey, I (and this should be the same for FinalTarget) can open the encrypted db but not to attach it... quite strange.

  • Duplicate enties getting attached in the email excel

    HI,
      When am trying to send the details in the excel duplicate entries are getting attached in the excel though the internal table has the correc value.The list is displaying the contents such as 1-255 are correct entries and 256-511 are the duplicate entries.
    Instead of attaching in the excel if am displaying in the contents of email the details are getting displayed correctly.Please help to correct this duplicate entries in the excel.Code is as follows
    TABLES: edidc,somlreci1.
    TYPE-POOLS: slis,sscr.
    TYPES: BEGIN OF gt_edidc,
           docnum TYPE edidc-docnum,
           status TYPE edidc-status,
           credat TYPE edidc-credat,
           idoctp TYPE edidc-idoctp,
           mestyp TYPE edidc-mestyp,
           rcvprn TYPE edidc-rcvprn,
           END OF gt_edidc.
    DATA:gi_edidc       TYPE  STANDARD TABLE OF gt_edidc.
    DATA:gw_edidc      TYPE gt_edidc.
    SELECTION-SCREEN:BEGIN OF BLOCK b01 WITH FRAME TITLE text-001.
    SELECT-OPTIONS:s_credat FOR sy-datum .
    SELECT-OPTIONS: s_mailid FOR somlreci1-receiver OBLIGATORY
                      NO INTERVALS.
    SELECTION-SCREEN:END OF BLOCK b01.
    INITIALIZATION.
      s_credat-low = ' '.
      s_credat-high = sy-datum - 2.
      APPEND s_credat.
    start-of-selection.
    SELECT docnum status idoctp mestyp rcvprn FROM edidc INTO CORRESPONDING
      FIELDS OF TABLE gi_edidc
         WHERE credat IN s_credat AND ( status EQ 64 OR status EQ 30 ).
    IF no idoc selected for the given idoc date give the error message.
      IF sy-subrc <> 0.
        MESSAGE e000 WITH 'No idoc selected for the given input'.
      ENDIF.
    DATA: lv_objpack LIKE sopcklsti1 OCCURS 2 WITH HEADER LINE.
    DATA: lv_objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE.
    DATA: lv_objbin LIKE solisti1 OCCURS 10 WITH HEADER LINE.
    DATA: lv_objtxt LIKE solisti1 OCCURS 10 WITH HEADER LINE.
    DATA: lv_reclist LIKE somlreci1 OCCURS 5 WITH HEADER LINE.
    DATA: lv_doc_chng LIKE sodocchgi1.
    DATA: lv_tab_lines LIKE sy-tabix.
    data: lc_dsn_totals TYPE string.
    DATA: gv_date_mmdd(10) TYPE c.
    DATA: gv_message(50) TYPE c.
    lv_doc_chng-obj_descr = 'IDoc Error Status'.
        lv_objtxt = 'Please Find the Attached IDOC Error List'.
        APPEND lv_objtxt.
        lv_objtxt = 'Have a good day'.
        APPEND lv_objtxt.
    Mail Contents
      DESCRIBE TABLE lv_objtxt LINES lv_tab_lines.
      READ TABLE lv_objtxt INDEX lv_tab_lines.
    *attaching the data excel sheet to be sent as the email.
    CONCATENATE 'IDOCNUMBER'  'STATUS'  'BASIC TYPE'  'MESSAGE TYPE' 'PARTNER'
    cl_abap_char_utilities=>newline INTO lv_objbin-line separated by
         cl_abap_char_utilities=>horizontal_tab.
         append lv_objbin.
      LOOP AT gi_edidc INTO gw_edidc.
        CONCATENATE gw_edidc-docnum gw_edidc-status gw_edidc-idoctp
                      gw_edidc-mestyp gw_edidc-rcvprn
                      cl_abap_char_utilities=>newline INTO lv_objbin-line
         separated by  cl_abap_char_utilities=>horizontal_tab.
        APPEND lv_objbin.
      ENDLOOP.
      APPEND INITIAL LINE TO lv_objbin.
    lv_doc_chng-doc_size = ( lv_tab_lines - 1 ) * 255 + STRLEN( lv_objtxt ).
      CLEAR lv_objpack-transf_bin.
    *OBJPACK-TRANSF_BIN = 'X'.
      lv_objpack-head_start = 1.
      lv_objpack-head_num = 0.
      lv_objpack-body_start = 1.
      lv_objpack-body_num = lv_tab_lines.
    *OBJPACK-BODY_NUM = 1.
      lv_objpack-doc_type = 'RAW'.
      lv_objpack-obj_name = 'Mail'.
      lv_objpack-obj_descr = 'First Mail'.
      lv_objpack-doc_size = lv_tab_lines * 255.
      APPEND lv_objpack.
    Creation of the entry for the compressed document
      DESCRIBE TABLE lv_objbin LINES lv_tab_lines.
    CLEAR lc_dsn_totals.
      IF sy-langu = 'E'.
        CONCATENATE 'IDOC_TOTALS_' sy-datlo '_' sy-timlo INTO lc_dsn_totals.
        endif.
    *CLEAR OBJPACK-TRANSF_BIN.
      lv_objpack-transf_bin = 'X'.
      lv_objpack-head_start = 1.
      lv_objpack-head_num = 0.
      lv_objpack-body_start = 1.
    *OBJPACK-BODY_NUM = TAB_LINES.
      lv_objpack-body_num = lv_tab_lines.
      lv_objpack-doc_type = 'CSV'.
      lv_objpack-obj_name = 'ATTACHMENT'.
      lv_objpack-obj_descr = lc_dsn_totals.
      lv_objpack-doc_size = lv_tab_lines * 255.
      APPEND lv_objpack.
    *Create the list of recipients
    LOOP AT s_mailid.
        lv_reclist-receiver = s_mailid-low.
        lv_reclist-rec_type = 'U'.
        APPEND lv_reclist .
      ENDLOOP.
    Sending the document
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = lv_doc_chng
          put_in_outbox              = 'X'
          commit_work                = 'X'
        TABLES
          packing_list               = lv_objpack
          object_header              = lv_objhead
          contents_bin               = lv_objbin
          contents_txt               = lv_objtxt
          receivers                  = lv_reclist
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          operation_no_authorization = 4
          OTHERS                     = 99.
      IF sy-subrc = 0.
        MESSAGE s000 WITH 'Email succesfully delivered'.
        SUBMIT rsconn01 WITH mode = 'INT'
                          WITH output = 'X'
                          AND RETURN.
      ELSE.
        MESSAGE s000 WITH 'Error while sending email'.
      ENDIF.

    Your code is tough to understand in the way you posted .....
    make sure you are clearing the data in some internal tables.... or make sure you are using the correct table for email body and to excel
    if at all if you are using header line clear: itab[] will clear the whole table..

  • How can I get a verification code for Photoshop Elements 7 ?

    I CAN NOT GET A VERIFICATION CODE FOR PHOTOSHOP ELEMENTS 7
    SO I CAN SEND EMAIL WITH PHOTO.  WOULD SOMEONE TELL ME HOW
    TO GET THE VERIFICATION CODE. I HAVE TRIED REPEATABLY TO
    ADOBE WITH NO RESPONSE.
    CHARLES TODD
    Email:   [email protected]

    I am talking about that when I try to share a Photo from the Organizer of Photoshop Elements 7
    thru the use of Email attachment, It will not transmit.  I get a message that tells me to enter
    a "Verification Code".  I do not have a verification code and have been unable to get one from adobe.
    This is Photoshop Elements 7 which I bought from Adobe. It was a packet of Photoshop Elements 7
    and Photoshop Premiere Elements 7. Any advice would be appreciate.
    Charles Todd....Email:   [email protected]

  • I get an error code 1 from Unflatten From XML

    I'm not quite sure why I'm getting this error code. The code looks fine to me. I hope I'm not missing something obvious. I imagine maybe it's one of the datatypes but I'm not sure. See attached VI (8.6)
    CLD (2014)
    Attachments:
    XML read write.vi ‏10 KB

    How observant of you. I was just going to post the same conclusion. The data type that came off an FPGA "read /write control" node. 
    Neat! Now we have fixed sized arrays in LV! 
    The attached shows it failing a "flattened string to variant" and the different type strings the two have.
    Message Edited by InfiniteNothing on 11-07-2008 02:35 PM
    CLD (2014)
    Attachments:
    Comparison.vi ‏10 KB

  • Purchased music on one iPod Touch gets attached to second iPod Touch.

    I have one account and 6 devices.  iCloud has been disabled... and I do not want it enabled.  I particularly hate it!
    The issue is:
    We have two iPod Touches that are G1 and G2, two iPod Touches that are Gen 5 with the latest updates to iOS, and we also have two iPod Nanos.  There is no issues with the old iPod Touches nor the iPod Nanos. 
    On my iTunes I have separate folders for each iPod, named accordingly.  In those folders are the music that those iPods are to be loaded with.  The issue comes with the 5th Generation iPod Touches where it will sync all of the music in our appropriate folders, however, there is also music that was purchased on one iPod Touch 5th Gen that automatically gets attached to the second iPod Touch 5th Gen.  No matter what I try it remains on both iPods and it is not wanted.
    I took the iPod that doesn't want the music (my husband's) and restored factory settings on it and then when I set it up again... the unwanted music is still there. I did this after syncing the device 2 or 3 times with just syncing the selected folders.  It took me awhile to figure out that all of the music that is deemed "unwanted" is purchases that I made on my iPod Touch Gen 5 and automatically showed up on my husband's. 
    What do I have to do to get rid of the music on his iPod?  Set up his own ID?  If so... that only affects purchases correct?  Meaning, he can still sync with our iTunes folders on our home computer but if he were to purchase a song on his iPod, he would have to submit credit card info etc, otherwise the same thing would happen and both iPods would have the purchased music. 
    I may have answered my own question, but I would like it confirmed before I set up new ID's and delete anymore items from his iPod. 
    Thank you

    Illaass:  I didn't try this... is this on the iPod itself?  I'm just wondering though, where I've already put the device back to factory a couple of times and then tried syncing just his list and those songs still popped up.  If I delete everything and re-sync, wouldn't it do it again?  I'll try it tonight and let you know.
    PS:  Chris CA:  Originally I did have the clouds, but I got rid of them.  It didn't change anything though.  Purchased music still there.  Funny thing... I can purchase off my old iPod and it does not automatically go to mine nor my husband's new iPods, but if I purchase on the new iPods, it'll go to both new ones but not to the old ones.  I'm assuming this has something to do with the iOS.  
    I'll be back tomorrow to let you guys know how I made out with the deleting thing. Thank you so much for all of your help and suggestions.  At least the iPods work.  He's just cranky because he doesn't like some of my music choices so he doesn't want them on his iPod.  LOL

  • How can i get the tax code from Condition record number

    Hi all,
    i have the Condition record number from which i have to get the tax code as i looked inthe KNOP that Condition record number there but no tax code is maintained there.
    so is there any other way to find the tax code for particular Condition record number
    Regards
    suresh

    hi suresh,
    can u tell me the field name for condition record number and in which table it is stored.
    because i knew one condition number which is stored in table EKKO and the field name is
    KNUMV- Number of the document condition.
    from ekko take relevant details and look for  ekpo where u find the tax code
    filed name of the tax code id MWSKZ- Tax on sales/purchases code

  • How can i get the source code from java concurrent program in R12

    Hi 2 all,
    How can i get the source code from java concurrent program in R12? like , "AP Turnover Report" is java concurrent program, i need to get its source code to know its logic. how can i get its source code not the XML template?
    Regards,
    Zulqarnain

    user570667 wrote:
    Hi 2 all,
    How can i get the source code from java concurrent program in R12? like , "AP Turnover Report" is java concurrent program, i need to get its source code to know its logic. how can i get its source code not the XML template?
    Regards,
    ZulqarnainDid you see old threads for similar topic/discussion? -- https://forums.oracle.com/forums/search.jspa?threadID=&q=Java+AND+Concurrent+AND+Source+AND+Code&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • I get this error code when trying to update from an older version of Firefox: The operation can't be completed because you don't have permission to access some of the items.

    While trying to upgrade from a previous version of Firefox, I get this error code: "The operation can’t be completed because you don’t have permission to access some of the items."
    == installing ==
    == User Agent ==
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-us) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7

    I resolved the problem in Snow Leopard by logging out of my (admin) account and logging into my daughter's account on the same machine. She doesn't have admin privileges, so when I tried to install Firefox 4 in her account, I had to authenticate with my admin identity and PW. Installation went smoothly after that. My guess is that you could also simply create a new account on the same machine and install Firefox 4 from that. I have no idea why this works.

  • I purchased and downloaded Adobe Photoshop Elements 13 from Amazon and when I try to open it, it's asking for a "Redemption Code".  Where do I get the that code?

    When I try to open the Adobe software, it asks from the Redemption Code when on an Adobe web site.  The instructions that came in the download say that this is a 24 digit code of numbers and letters.  The only thing I got from Amazon was an Order Key, which is also 24 digits, but only numbers and the software didn't like that code…  I walked through the steps on the Adobe web site to get my redemption code, but the final step before giving me my redemption code is to enter my redemption code…  I have to enter the code for them to give me the code…???  Am I missing something???  Do I get this "Redemption Code" from Amazon, or from Adobe?

    You would get the redemption code, or perhaps even the serial number, from whomever you purchased the software from, apparently Amazon, so talk to them.  This wouldn’t be the first time they’ve sold something that didn’t have all the numbers needed to license it.
    A redemption code is something that is usually on the inner disc packaging if you purchase the media in a box, and there is a barcode on the outside of the packaging that must be scanned at the checkout register to activate the hidden inner code so you can redeem it at home on that website.  This is what happens if you buy PSE from a brick-and-mortar store like Best Buy.  I don’t’ know what happens if you purchase the downloaded version as I have never done that.
    A redemption code is 24-digits of letters and numbers that you enter into a website to get a serial number, once and only once.  The serial number of only 24-digits, no letters, is what you enter into the software during the install or when you run it and it asks if you want to register or run in a trial mode—whatever the exact phrasing is.
    In any case it sounds like you don’t have either a redemption code or serial number—although perhaps something is listed on the purchase confirmation or your account online at Amazon or even in an e-mail from Amazon.

  • Can someone help me with getting ccbill's codes to work with a flash based website?

    I have built a pay per view site entirely in flash. I set up the account with ccbill and they gave me the codes for the gallery buttons. The problem is the codes are 1. html and 2. there not url's. The picture galleries are in the same folder on the server as my html and swf files. Is there actionscript to get the ccbill codes to work? Here is one of the codes ccbill sent:  <A HREF="http://www.lexiefyfe.com/ccbill9001/index.htm"><img src="ccbutton.jpg"></A>
    Thanks for any consideration or help with this matter.
    wstcstkd

    Hi Civilclerk1,
    In order to achieve your requirement, we can try to use the following expression to instead the last_name column and first_name field:
    last_name: =iif(Fields! staff_role.Value="Lead Atty" or Fields! staff_role.Value="BK Mgr" or Fields! staff_role.Value="Partner" ,Fields! last_name.Value,nothing)
    first_name: =iif(Fields! staff_role.Value="Lead Atty" or Fields! staff_role.Value="BK Mgr" or Fields! staff_role.Value="Partner" ,Fields! first_name.Value,nothing)
    Besides, if we don’t want see the blank row in the tablix, we can add a filter as below in the tablix:
    Expression:=iif(Fields! staff_role.Value="Lead Atty" or Fields! staff_role.Value="BK Mgr" or Fields! staff_role.Value="Partner" ,1,0)
    Operator:=
    Value:=1
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • My iPhone 5 will not sync i keep getting an error code (-50)?

    hi,
    my iPhone 5 will not sync i keep getting an error code (-50) all iOS and Itunes are up to date.
    this ***** cause i just spent $$$ on itunes and i want to sync my phone!!
    Cheers

    Read here:
    http://support.apple.com/kb/TS1583

Maybe you are looking for

  • How can I disable a check box in one screen?

    Hi, I need to disable a check box in the screen 1106 on the program of the transaction F110. I can do that with a user exit or what I can use to do that? Thanks!

  • Export a portion of the video WITHOUT the audio

    Hi, I have tried many, many different methods (too many to list) for removing the audio from my mp4 file before exporting, but the flv file continues to have the audio.  Does anyone know of a sure way to get rid of it (yes - I have deleted it! and ha

  • Passing values between forms!  Help please!!!!

    I'm stuck. I don't know how to pass a value from one form to the other, and automate a task. For example, I created form1 and from that form1 I want to pass a value to form2...then I want in form2 to query the form2 so it will bring up the complete r

  • SOLMAN 7.1 Assigning Hana database Technical system to product system

    Hi All, I am trying to assign a HANA database technical system to Product system. I am trying to do it in conventional way (i.e in LMDB TCODE--> Selected Product system-->Assign Technical system--> ). But I am getting below error. No local proposals;

  • The encoding "ISO8859_1" is not supported.

    I am trying to bring up WLS 6.1 for the examples that got shipped by BEA and I am getting this error: Starting WebLogic Server .... <Dec 28, 2001 5:50:46 PM CST> <Notice> <Management> <Loading configuration file .\config\examples\config.xml ...> <Dec