Import of Profitcenter not possible

Hello experts,
I would like to import some profitcenter after updating of SAP from 8.8 to 8.81 PL05.
Since 8.81 there are some more fields by profitcenter like the field EffectivFrom. This field need a date format.
Normally DTW needs alwayss the follwing date format: yyyymmtt
I have tried different formats, but nothiing worked. DTW says always that I have a wrong date format.
Can any body help me in this issue???
This is an example which I would like to import:
CenterCode     CenterName     GroupCode     InWhichDimension     CostCenterType     EffectiveFrom     EffectiveTo     Active
CenterCode     CenterName     GroupCode     InWhichDimension     CostCenterType     EffectiveFrom     EffectiveTo     Active
10000     allgemein     10               20110101          Y
Best regards,
Vural

Hi Vural,
Good day!  here is a tip on how to determine the format of date in Profit center.
1. add a sample profit center in your SAP make sure to encode a value for effective date from and to.
2. after adding the profit center create a query.
SELECT T0.[ValidFrom], T0.[ValidTo], T0.[PrcCode], T0.[PrcName] FROM OPRC T0
3. look for your effective 'FROM' and 'TO' field.
4. copy the format in this field and put it in your dtw template.
hope this will help you.
Regards,
Darius

Similar Messages

  • Importing Some CDs not Possible?

    I have trouble importing some CDs. While usually Itunes picks up my CD and asks to import when I put it in the drive (on my toshiba laptop), sometimes, it simply does not react, or a player pops up and starts playing the CD, but itunes, doen't act on it. I've tried going to file, and importing, but i cant seem to get that to work either. Thoughts, help, etc
    daniel in buenos aires

    This is usually because of some copy protection added to the disk by the manufacturer. Have you tried ripping the CD using another program then importing the files to iTunes?

  • Import of Playlist not possible

    Hi,
    since iTunes 8.1 it's impossible to import and sync prepared playlists (format: m3u). The playlist are listed, but they are empty. The music library is empty too.
    If I use an older version (i.e. 8.0.2), everything works fine.
    Looks like bug in iTunes 8.1.x
    Kind regards
    sunny2k1 aka Sven Janssen

    Does anyone know of a work-around for this issue?
    I have over 1,000 tracks in a music library on a file server. I have used iTunes to build a library locally on a Mac Mini, but I can't create iTunes playlists from the existing m3u playlists in the original library on the server.
    The existing playlists group the various tracks into their original albums so I can play each album all the way through in track sequence by playing the playlist on my network media player (Roku Soundbridge.) I want to do the same on the Mini using iTunes without having to hand-convert all the existing m3u playlists. Any suggestions?
    Thanks.

  • Import FAQ's not possible..

    As far as i can see there is no way of importing data for the built in FAQ module outside of building your own as a web app..
    Is that correct?

    Correct. Use web apps to mimic faq functionality and you'll get imports.

  • Error importing *.SCA file into NWDS:  Import (into source SC) not possible

    All,
    When attempting to import an SCA into a new project in NWDS, an "Import (into source SC) not possible: SCA doesn't contain DC sources" occurs.  Any assistance to fix this issue appreciated.
    Thanks,
    Lee

    You can indeed import SCAs into local development configurations in NWDS (Eclipse). You have to have a pre-existing software component of the same name and vendor which may or may not be empty.
    In the Development Infrastructure perspective in NWDS 7.1, just right-click on the software component you want to overwrite with the import and choose "Import".
    To import SCAs into a CMS track in the NWDI, you have to go to http://<NWDI server>:5<nn instance no>00/devinf/ and import the SCAs from the transport inbox directory of the NWDI server. Don't forget to maintain the SLD if necessary.
    Cheers,
    Thorsten

  • MFL: The dependency is not configured in schema resource. Possible reason one or more import/include is not set   correctly.

    HI Friends,
    I have a created a MFL to transform XML to Non XML format. When am generating a XSD out of this MFL am getting this Error:
    The dependency is not configured in schema resource. Possible reason one or more import/include is not set
    correctly.
    Here is the snippet of the XSD:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
              xmlns="http://www.w3.org/2001/XMLSchema"
              targetNamespace=""
              xmlns:mfl="http://www.bea.com/mfl"
              elementFormDefault="qualified">
        <xsd:import namespace="http://www.bea.com/mfl"/>........
    Later Part i have searched for mfl.xsd in com.bea.wli.core.mflengine_1.x.x.x.jar in my.........../Oracle_OSB1/modules  and imorted this XSD into my eclipse workspace.
    Then i added the schemalocation attribute to the Import element. which looks something like below:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
              xmlns="http://www.w3.org/2001/XMLSchema"
              targetNamespace=""
              xmlns:mfl="http://www.bea.com/mfl"
              elementFormDefault="qualified">
        <xsd:import namespace="http://www.bea.com/mfl" schemaLocation="../../mfl.xsd" />......
    After doing these changes also am getting the same error... can anyone help me out of this????

    Hi Arun,
    Also in SB console we can refer xsds from other projects but again OEPE doesnt seem to support that we will have to make duplicate copies of the resources in each project.It is not like that if you are using OEPE then you can not refer resources from other projects. Just what you need to do is that give relative path of the resource which is there in the file system. It does not matter that to which project it belongs. Yes, now with OEPE, you have to do this manually.
    Regards,
    Anuj

  • Premiere Pro cc 2014 do not import After Effects composition. Inside Premiere Pro CC 2014 is not possible call back After Effects, is not possible to work with After Effects. Thank you

    Premiere Pro cc 2014 do not import After Effects composition. Inside Premiere Pro CC 2014 is not possible call back After Effects, is not possible to work with After Effects. Thank you

    You haven't given us much to go on here.  What exactly are you doing and what exactly happens when you try?  Which specific version of each program are you using?  (Go to Help>About...)
    On a side note, a simple, brief thread title is all that's needed.  Something like "After Effects Issue" would be fine.  You don't need the full question there.

  • Import of material groups into hierarchy not possible (note 432339)

    Dear All,
    I am trying to replicate material groups (DNL_CUST_PROD1) from R3 system.  Prior to this our SRM system configured as standalone and Material Hierarchy is already defined.  When I am trying to replicate the material groups in SMQ2 I am receiving status as "sysfail" and further I am getting above message.  In the message the OSS note also mentioned.  In the OSS note they have given following solution
    Error message "Import of material groups into hierarchy &1 not possible":
    In transaction COMM_PRAPPLCAT, you specify that the hierarchy specified in the error message is to be used for application 'Purchasing' (02). This means that the material groups would be created in this hierarchy. Delete this setting in Transaction COMM_PRAPPLCAT. If hierarchy R3MATCLASS already exists, assign 
    hierarchy R3MATCLASS to application 'Purchasing'. Then the material  groups are created in hierarchy R3MATCLASS. If you want to import the material groups into the hierarchy specified in the error message, you can also keep this hierarchy
    assigned to application 'Purchasing' and deactivate the error message. Error message "Import of material types into hierarchy &1 not possible". You can do this in Customizing under 'Customer Relationship Management -> Master data -> Basic settings -> Define system message characteristics'.
    My problem is I am not able to find out the path given in the  OSS note ( i.e, Customer Relationship Management u2013 Master data) . Any one can help me in this regard ?
    with regards
    Ram

    Hi ram
    one upon a time supplier relation ship management and customer relation ship management comes under EBP node i.e ebp 3.5 versions.
    /people/marcin.gajewski/blog/2007/02/05/how-to-replicate-material-master-from-r3-to-srm
    plz visit Marchin blog to.o
    since u r aleady in standalone but now you may try push material group from ecc to srm .
    so you need to do set up all crm middleware settings in ecc and srm.
    br
    muthu

  • Lightroom 5.6 Win8 64 import of some photos are not possible

    Lightroom 5.6 Win8 64 import of some photos are not possible: the photos are grey, the file name of the photos are already excisting in the catalog, older different photos, don’t Import Suspected Duplicates is not selected. There is no difference selected or not, the photos (Import are not possible) are always grey with the notice: These photos would be already imported! All other photos could be imported and gets grey.

    my-wedding-foto.de wrote:
    Lightroom 5.6 Win8 64 import of some photos are not possible: the photos are grey, the file name of the photos are already excisting in the catalog, older different photos, don’t Import Suspected Duplicates is not selected. There is no difference selected or not, the photos (Import are not possible) are always grey with the notice: These photos would be already imported! All other photos could be imported and gets grey.
    When Lightroom greys out a photo in the Import dialog box, it means the photo is already in the catalog. It doesn't mean that it is matched with an older photo with the same name ... in order for there to be a match, the file name and capture date and file size must be identical.
    So Lightroom thinks you have already imported the photos, and you think the photos have not been imported. Now I'm sure you are a very nice person, but I believe Lightroom. What you need to do is to find the photos in your Library Module and use them there. The photos can be found by searching for them by file name, after turning off all filters, and after clicking on All PHotographs in the Library Module.

  • IMovie 11 import camera/archive not displaying movies, import not possible

    Guys,
    hope anyone can help me with this one:
    I had some issues with my iMac lately crashing with kernel panics. It crashed (kernel panic) while i was importing some HD material into iMovie 11. ever since, I cannot see any movie thumbnails in the import view (the actual movies are still on the camera/SD card. Also importing from iSight is not possible. The green light next or the camera is on, while no window or an empty import window is visible.
    I did delete the whole iLife 11 suit, incl. all references to iMovies (preferences,...) and then a complete reinstall and updated all again.
    Unfortunately no luck so far.
    Any tips or thoughts what I could do next as I really don't want wipe and reinstall all on my mac again?
    Cheers from DownUnder
    Le Jones

    Hi,
    My problem is very similar. I am able to choose the Archive folder and import the footage that way.  However, I am only able to do that once.  If I try again, it states the file is not a camera archive format file. 
    The only way I can get it to work again is to completely close out iMovie and restart.  Then I can import an archived file.  But then again, only once before I have to restart iMovie to get it to work again.
    Anyone have any workarounds?
    Thanks

  • Lightroom 5.7 file import not possible.

    After upgrading to Lightroom 5.7 file import is no longer possible, neither jpg nor raw, neither files from panasonic, nikon or fuji. Error: "files cannot be imported, because they cannot be read". Same error, no matter of using the card-slot or trying to import from hard-disk. So the card-slot is ok, because I can use it for every other operation. Im running a macbookpro with OS X 10.8.5. With LR 5.6 last week everything works very well. What the hell is it?
    Best regards
    Rabenschleuder

    Thanks a lot! That´s it!
    It took me a while to understand what you had meant and to find out, where and how to change the default setting. I did not change the preset intentionally before and I´m quite sure that LR 5.7 did not do so. There is a faint suspicion that it was done by an OS X update. Perfectly horrible!
    Thankful regards
    Rabenschleuder

  • Update for CC 2014 not possible, i need a quick solution. I also cant import anything

    Creative Cloud update is not possible, i also can import only once in AE CC 2014.
    I`m on Mac Yosemite 10.10.2 the Cloud Manager also shows he cant finish the Update.

    Quit Creative Cloud desktop application .
    Step 1:
    1) Right click on Finder icon and  select "Go-To" Folder option.
    2) You will get a text box, type-in below command and then hit 'Return' key.( Do not miss ~ symbol)
    ~/library
    3)Then navigate to Application Support>Adobe.
    Open Adobe folder and rename AAMUpdater and AAMUpdater-old.
    Step 2:
    1) Right click on Finder icon and  select "Go-To" Folder option.
    2) You will get a text box, type-in below command and then hit 'Return' key.
    /library
    3)Then navigate to Application Support>Adobe.
    Open Adobe folder and rename AAMUpdater and AAMUpdater-old.
    Then launch Creative Cloud application and check.
    Let me know whether it gives blue update button  for After Effects CC 2014 ?

  • HT1399 Why cant I create a playlist for my music/song videos? Continuous play is also not possible in the video app on the phone!!!! previously, prior to IOS 6, it was possible to have both music videos & songs mixed in the same playlist in the music app

    Why cant I create a playlist for my music/song videos? Continuous play is also not possible in the video app on the phone!!!! previously, prior to IOS 6, it was possible to have both music videos & songs mixed in the same playlist in the music app

    I am back with an update. I turned off Match on both the ipad and the iphone 5. By doing so I was able to sync my Iphone and ipad to itunes and store the music on my devices rather than the slow streaming.  So far this has fixed my problems with the iphone I have all my music, playlist, most of the album art and so on.  But the ipad is a different story.  I have the music and artist but not one playlist  I am sure Apple will have an upgrade soon that will address these issues they are usually very good about this. 
    Now have any of you experienced another problem that has existed as long as I have used faces in Aperture.
    I have over 200 faces and they are organized a-z problem is I have this going on A-Z folowed by a few that start over A-Z followed by another few A-Z and again a 4th time A-Z.  Imagine how difficult it is while I am showing someone the great features of my iphone, ipad and imac.  Which I do talk highly of all the time.  But how do I explain that even though their name starts with a or b or what ever they are not important enough to me to be in the first list of A-Z or even the 2nd or 3rd list of A-Z someohow they are in the 4th section of the list!!!!
    I have managed to get the Imac to fix this but for some reason the IOS devices do not.   Any ideas?
    Thanks Al

  • SSFCOMPOSER - 154 - No output request open. End not possible.

    Hi Experts,
    I'm trying to print multiple smartforms using FMs SSF_OPEN and SSF_CLOSE. Inside the main program RBDAPP01 (Inbound processing for IDOCS) there is a loop at the IDOCS to be processed. Deep within the processing, we have a custom FM being called which prints smartforms. Since there is a loop at the calling main program, I have organized the code in the custom FM such that the first IDOC calls SSF_OPEN and the last IDOC calls SSF_CLOSE, so that all IDOCS in between will be able to print their smartforms. Here is the call stack:
    8
    SAPLZCUSTOM                   
    ZCUSTOMPROGRAM                             
    113
    FUNCTION                     
    ZCUSTOMPROGRAM                                         
    7
    SAPLPPC1                               
    ZCUSTOMPROGRAM     
    136
    FUNCTION                     
    KK2A_GET_DATA_FROM_IDOC                                     
    7
    SAPLPPC1                               
    LPPC1U01                               
    1
    FUNCTION                     
    KK2A_GET_DATA_FROM_IDOC                                     
    6
    SAPLBD20                               
    LBD20F0A                               
    454
    FORM                         
    IDOCS_PASS_TO_APPLICATION                                   
    5
    SAPLBD20                               
    LBD20F0B                               
    69
    FORM                         
    IDOCS_PROCESS                                               
    4
    SAPLBD20                               
    LBD20U05                               
    260
    FUNCTION                     
    IDOC_INPUT                                                  
    3
    SAPLEDIR                               
    LEDIRU02                               
    182
    FUNCTION                     
    IDOC_START_INBOUND                                          
    2
    SAPLBD12                               
    LBD12U04                               
    37
    FUNCTION                     
    APPLICATION_IDOC_POST_IMMEDIAT                              
    1
    RBDAPP01                               
    RBDAPP01                               
    388
    EVENT                        
    START-OF-SELECTION                                          
    The problem is:
    1. When I only have 1 IDOC being processed, SSF_OPEN and SSF_CLOSE happens in the custom FM at the same time. This creates a successful spool.
    2. Whereas, when I have 2 or more IDOCS, SSF_OPEN happens in the first IDOC, but then it goes back to the calling program, and then when the last IDOC is encountered SSF_CLOSE is called. The FM SSF_CLOSE in this scenario calls the exception INTERNAL_ERROR (sy-subrc = 2).
    The system message is SSFCOMPOSER - 154 - No output request open. End not possible.
    Why is this happening? Is it because that other programs (calling programs) may have affected the status of SSF_OPEN? It seems that the SSF_OPEN is no longer open.
    Thanks in Advanced,
    Jack

    No, it will not hold the smartform open, but you don't need to hold it open in order for printout to be accumulated in one spool. Spool system does the accumulation automatically, provided the spool requests that are to be added to an existing spool request are:
    - generated in the same transaction and
    - have the same attributes (such as user, title, output device, client from which the request was issued, number of copies, priority, cover sheet setting, archive mode, and ABAP session number).
    Important is: where do OUTPUT_OPTIONS like printer come from currently? Is print parameters popup displayed on first Idoc for user to choose printer and options? Or do you use USER_SETTINGS = 'X' to simply take over defaults from user master? If the print options dialog is displayed, it needs to be controlled as well so it's displayed only once.
    Assuming print options come from the user in dialog, the logic without explicit open/close could look somewhat like this:
    On first idoc:
    - call SSF_OPEN  importing  JOB_OUTPUT_OPTIONS to display print options dialog; move-corresponding JOB_OUTPUT_OPTIONS to global OUTPUT_OPTIONS;
    - set OUTPUT_OPTIONS-TDNEWID = 'X' and clear  OUTPUT_OPTIONS-TDFINAL, to ensure new spool will be started (overriding user choices for these parameters!);
    - if the user has set OUTPUT_OPTIONS-TDIMMED = 'X' save it globally and clear it;
    - set CONTROL_PARAMETERS-NO_OPEN = 'X';
    On subsequent idoc:
    - clear OUTPUT_OPTIONS-TDNEWID;
    - clear CONTROL_PARAMETERS-NO_OPEN;
    On last idoc:
    - set OUTPUT_OPTIONS-TDFINAL = 'X' (this is not absolutely necessary, but prevents further appending to the spool);
    - restore OUTPUT_OPTIONS-TDIMMED from the value saved on first idoc;
    Calling Smartform:
    - set CONTROL_PARAMETERS-NO_DIALOG = 'X';
    - call smartform passing OUTPUT_OPTIONS and CONTROL_PARAMETERS;
    The logic is somewhat complicated; I'd wrap it in a class (singleton, which would be de-instantiated after last idoc) to avoid global data and code other than simple method call(s) in FM.
    Even if you decide to refactor the logic, it would still be important to understand, I think, why the current logic does not work (where and why smartform gets closed)... Maybe there are some nasty "surprises" somewhere, and your current algorithm should work.
    cheers
    Janis

  • Dump - Access using NULL object reference is not possible!!!

    Hi,
    I'm using the BCS class for sending HTM format email so i use the below code for that its working,
    DATA: gr_document      TYPE REF TO cl_document_bcs,
    gr_document = cl_document_bcs=>create_document(
                          i_type    = 'HTM'
                           i_text    = t_html
                           i_importance = '5'
                           i_subject = gc_subject ).
    Next task is to send the image so i'm creating an another object to the same class, below code
    *Image from MIME
    DATA: o_mr_api         TYPE REF TO if_mr_api.
    DATA is_folder TYPE boole_d.
    DATA l_img1 TYPE xstring.
    DATA l_img2 TYPE xstring.
    DATA l_loio TYPE skwf_io.
    DATA: lo_document   TYPE REF TO cl_document_bcs.
    IF o_mr_api IS INITIAL.
       o_mr_api = cl_mime_repository_api=>if_mr_api~get_api( ).
    ENDIF.
    CALL METHOD o_mr_api->get
       EXPORTING
         i_url              = '/SAP/PUBLIC/ZDEMO/tick.png'
       IMPORTING
         e_is_folder        = is_folder
         e_content          = l_img1
         e_loio             = l_loio
       EXCEPTIONS
         parameter_missing  = 1
         error_occured      = 2
         not_found          = 3
         permission_failure = 4
         OTHERS             = 5.
    CALL METHOD o_mr_api->get
       EXPORTING
         i_url              = '/SAP/PUBLIC/ZDEMO/Delete.png'
       IMPORTING
         e_is_folder        = is_folder
         e_content          = l_img2
         e_loio             = l_loio
       EXCEPTIONS
         parameter_missing  = 1
         error_occured      = 2
         not_found          = 3
         permission_failure = 4
         OTHERS             = 5.
    *Convert XSTRING to ITAB
    DATA :lt_hex1 TYPE solix_tab,
           lt_hex2 TYPE solix_tab,
           ls_hex LIKE LINE OF lt_hex1,
           lv_img1_size TYPE sood-objlen,
           lv_img2_size TYPE sood-objlen.
    CLEAR : lt_hex1, lt_hex2, ls_hex, lv_img1_size, lv_img2_size.
    WHILE l_img1 IS NOT INITIAL.
       ls_hex-line = l_img1.
       APPEND ls_hex TO lt_hex1.
       SHIFT l_img1 LEFT BY 255 PLACES IN BYTE MODE.
    ENDWHILE.
    WHILE l_img2 IS NOT INITIAL.
       ls_hex-line = l_img2.
       APPEND ls_hex TO lt_hex2.
       SHIFT l_img2 LEFT BY 255 PLACES IN BYTE MODE.
    ENDWHILE.
    *Findthe Size of the image
    DESCRIBE TABLE lt_hex1 LINES lv_img1_size.
    DESCRIBE TABLE lt_hex2 LINES lv_img2_size.
    lv_img1_size = lv_img1_size * 255.
    lv_img2_size = lv_img2_size * 255.
    *Attach Images
    clear: lo_document.
    lo_document->add_attachment(
       EXPORTING
         i_attachment_type     =  'png'                  " Document Class for Attachment
         i_attachment_subject  =  'img1'                " Attachment Title
         i_attachment_size     =  lv_img1_size           " Size of Document Content
         i_att_content_hex     =  lt_hex1  " Content (Binary)
    lo_document->add_attachment(
       EXPORTING
         i_attachment_type     =  'png'                  " Document Class for Attachment
         i_attachment_subject  =  'img2'                " Attachment Title
         i_attachment_size     =  lv_img2_size           " Size of Document Content
         i_att_content_hex     =  lt_hex2  " Content (Binary)
    but it throws the dump " Access using NULL object reference is not possible"  when i tries to access for method add_attachment...
    Thanks,
    Siva

    Yes there is commit work after that, Below code
          gr_document = cl_document_bcs=>create_document(
                           i_type    = 'HTM'
                            i_text    = t_html
                            i_importance = '5'
                            i_subject = gc_subject ).
    *Image from MIME
    DATA: o_mr_api         TYPE REF TO if_mr_api.
    DATA is_folder TYPE boole_d.
    DATA l_img1 TYPE xstring.
    DATA l_img2 TYPE xstring.
    DATA l_loio TYPE skwf_io.
    DATA: lo_document   TYPE REF TO cl_document_bcs.
    IF o_mr_api IS INITIAL.
       o_mr_api = cl_mime_repository_api=>if_mr_api~get_api( ).
    ENDIF.
    CALL METHOD o_mr_api->get
       EXPORTING
         i_url              = '/SAP/PUBLIC/ZDEMO/tick.png'
       IMPORTING
         e_is_folder        = is_folder
         e_content          = l_img1
         e_loio             = l_loio
       EXCEPTIONS
         parameter_missing  = 1
         error_occured      = 2
         not_found          = 3
         permission_failure = 4
         OTHERS             = 5.
    CALL METHOD o_mr_api->get
       EXPORTING
         i_url              = '/SAP/PUBLIC/ZDEMO/Delete.png'
       IMPORTING
         e_is_folder        = is_folder
         e_content          = l_img2
         e_loio             = l_loio
       EXCEPTIONS
         parameter_missing  = 1
         error_occured      = 2
         not_found          = 3
         permission_failure = 4
         OTHERS             = 5.
    *Convert XSTRING to ITAB
    DATA :lt_hex1 TYPE solix_tab,
           lt_hex2 TYPE solix_tab,
           ls_hex LIKE LINE OF lt_hex1,
           lv_img1_size TYPE sood-objlen,
           lv_img2_size TYPE sood-objlen.
    CLEAR : lt_hex1, lt_hex2, ls_hex, lv_img1_size, lv_img2_size.
    WHILE l_img1 IS NOT INITIAL.
       ls_hex-line = l_img1.
       APPEND ls_hex TO lt_hex1.
       SHIFT l_img1 LEFT BY 255 PLACES IN BYTE MODE.
    ENDWHILE.
    WHILE l_img2 IS NOT INITIAL.
       ls_hex-line = l_img2.
       APPEND ls_hex TO lt_hex2.
       SHIFT l_img2 LEFT BY 255 PLACES IN BYTE MODE.
    ENDWHILE.
    *Findthe Size of the image
    DESCRIBE TABLE lt_hex1 LINES lv_img1_size.
    DESCRIBE TABLE lt_hex2 LINES lv_img2_size.
    lv_img1_size = lv_img1_size * 255.
    lv_img2_size = lv_img2_size * 255.
    *Attach Images
    create object lo_document type cl_document_bcs.
    lo_document->add_attachment(
       EXPORTING
         i_attachment_type     =  'png'                  " Document Class for Attachment
         i_attachment_subject  =  'img1'                " Attachment Title
         i_attachment_size     =  lv_img1_size           " Size of Document Content
         i_att_content_hex     =  lt_hex1  " Content (Binary)
    lo_document->add_attachment(
       EXPORTING
         i_attachment_type     =  'png'                  " Document Class for Attachment
         i_attachment_subject  =  'img2'                " Attachment Title
         i_attachment_size     =  lv_img2_size           " Size of Document Content
         i_att_content_hex     =  lt_hex2  " Content (Binary)
           "Add document to send request
           CALL METHOD gr_send_request->set_document( gr_document ).
           TRY.
             CALL METHOD gr_send_request->SET_SEND_IMMEDIATELY
               EXPORTING
                 I_SEND_IMMEDIATELY = 'X'.
    *    CATCH CX_SEND_REQ_BCS INTO BCS_EXCEPTION .
    **Catch exception here
           ENDTRY.
           DATA: LO_SENDER TYPE REF TO IF_SENDER_BCS VALUE IS INITIAL.
           TRY.
             LO_SENDER = CL_SAPUSER_BCS=>CREATE( SY-UNAME ). "sender is the logged in user
    * Set sender to send request
             gr_send_request->SET_SENDER(
             EXPORTING
             I_SENDER = LO_SENDER ).
    *    CATCH CX_ADDRESS_BCS.
    ****Catch exception here
           ENDTRY.
           "Send email
           CALL METHOD gr_send_request->send(
             EXPORTING
               i_with_error_screen = 'X'
             RECEIVING
               result              = gv_sent_to_all ).
           IF gv_sent_to_all = 'X'.
             WRITE 'Email sent!'.
           ENDIF.
           "Commit to send email
           COMMIT WORK.
           "Exception handling
         CATCH cx_bcs INTO gr_bcs_exception.
           WRITE:
             'Error!',
             'Error type:',
             gr_bcs_exception->error_type.
       ENDTRY.

Maybe you are looking for

  • HP Photosmart C4585 - can't print test pages + copies are all reduced in size

    I have 2 problems with an HP Photosmart C4585 All-in-one printer. Firstly, I cannot print test prints ie 'Network Configuration Page' and the 'Run Wireless Network Test' page. It sounds as though it's printing but it produces blank sheets. Secondly,

  • Problem in setting axis(x and y) in line graph

    Hi All, I have a database table student with two column score(number data type) and "no of student"(number data type). With this table I want a jsp line graph which will describe the student table.Score col would be in X axis and the other one in y a

  • Is 2 GB Ram really necessary?

    Looking to upgrade my gf's Macbook. 1 GB = $99 2 GB = $225 Given OSX's good memory management quality, and the fact that she will mainly do web design and LogicPro 7 work on the Macbook, is the 2 GB really necessary or will it be more like overkill?

  • How can I reset my defaults in Logic Express 9 on an iMac?

    How do you restore your default settings for Logic Express 9 on iMac?  I had my keyboard working fine through a Fast Track Pro until I tried setting up an aggregated device due to my mic not working. Now I can hear my keyboard again but can't control

  • Converting FLA files to FLV and/or F4V

    Hi there, Novice Q. I'm using the trial version of elearning suite and am unable to import flash video into Captivate. I'm assuming the FLA files need to be converted to FLV or F4V, but I can only generate SMV files, and these do not import into Capt