SRM Standalone : PO send to external without BC and XI

Hello,
We are <b>SRM 4.0 Standalone</b>, <b>no</b> XI, <b>no</b> BC.
<u>Question</u>: How to send POs to external non-SAP systems (EAI in our case) without XI and BC??
Using <b>BBP_PO_SEND_XML</b>, at the point where System Type("<i>iv_system_type</i>") is determined, we unfortunately don't have <b>BCEBPXML1</b> or <b>XISAPXML1</b> available.
At this point can we define an <u>RFC Destination</u> maybe?
And then set <i>lv_system_type</i> equal to this <u>RFC Dest.</u> ??
Then when we execute <b>CALL FUNCTION 'BBP_PO_SEND'</b>... question is will this work using the <u>System Type</u> as an <u>RFC Dest</u>...
All ideas are welcome...
Sincerely,
Tim

Hi Timothy,
It looks like we are on the same scenario. Our scenario:
1)PO Request flow:
   Web application --> XI --> SRM
2)PO Confirmation flow:
   SRM--> XI -->Web application.
We are able to get the PO request into SRM via inboud XML interface, but not able to generate PO number and PO document to XI.
I have a couple of questions:
1) Is SRM standalone scenior enough for this scenario?
2) What are the steps we need to do in order for SRM to generate a PO number, and then send the PO document to XI as XML?
3) What are the steps to define an external business partner, and send the purchasing document to the business partner?
Your help will be greatly appreciated.
Thanks,
Karma

Similar Messages

  • Why cant my iphone 5 send text messages without getting and not delivered message?

    Whenever you send a text message it comes up non-deliverable. Is there a solution for that?

    Have you turned on SMS in settings >> messages?

  • How to send soap attachment without SAAJ

    I have to send XML or text file as an attachment in the web service, just like email attachment. Currently I am intercepting the SOAP message (sent from web service client) and then adding an attachment using SAAJ. Can we send an attachment without intercepting and SAAJ in netbeans just like how we send other data (with basic datatypes ) as parameters to the web service operation ?
    TIA.

    Soap is a protocol that runs over TCP (sockets.) You can build the entire soap message by hand if you want to.
    That said adding something is dependent on the fact that the other side will consume it.

  • CPPR error  Wrong status: Send to external sourcing - pending

    Hi experts,
    we are on SRM 7.0 ehp 1 u2013 backend ECC 6.0 EHP 5.
    Iu2019ve activated the process to create SRM RFx with reference to Backend purchase requisitions without PI.
    In CPPR I select the backend purchase requisition and start collective processing.
    In the collective processing screen I u201CShift to external Sourcingu201D
    The status of the backend purchase requisition changes to Send to external sourcing: pending.
    The system automatically creates a SC in SRM and a RFx in status u201CSavedu201D.
    The status of the backend purchase requisition is still the same.
    Also when I publish the RFx the status of the backend purchase requisition doesnu2019t change.
    The following services have been customized for peer to peer connection:
    RFQRequestSUITEAllowedBiddersByIdentifyingElementsQueryResponse_In
    PurchaseOrderSRMPricingSimulateQueryResponse_In
    PurchasingContractSRMArchivingCheckQueryResponse_in
    QueryCodeList
    PurchaseOrderERPConfirmation_In
    PurchaseOrderERPContractReleaseNotification_In
    PurchaseRequestERPSourcingRequest_In
    PurchasingContractERPConfirmation_In
    PurchasingContractSRMReplicationConfirmation_In
    RFQRequestSUITERequest_In
    SupplierInvoiceSUITEContractReleaseNotification_In
    PurchaseOrderERPRequest_In_V1
    PurchaseRequestERPSourcingConfirmation_IN
    RFQRequestSUITEConfirmation_IN
    PurchaseOrderERPRequest_IN_V1
    PurchasingContractERPRequest_IN_V1
    In SXI_Monitor is just one XML: PurchaseRequestERPSourcingRequest_In.
    Shouldnu2019t there be an outgoing XML to update the status of the backend purchase requisition?
    What I need to do to get the purchase requisition updated?
    Thanks for all your inputs!
    Kind Regards
    Stefan

    Hello Stefan,
    I hope you have cross checked the CPPR configuration as per the note 1263876.
    For the logic of the Badi ME_REQ_SOURCING_CUST in ERP system. Please find some relevant details of the way i have configured it.
    method IF_EX_ME_REQ_SOURCE_CUST~ACTIVE.
    setting cv_aut_sourcing makes the external sourcing functionality active
    either manually or automatically.
    setting cv_ext_rfx_ind makes RFx creation in SRM available
    setting cv_ext_sc_ind makes SC creation in SRM available
      cv_aut_sourcing = cl_mmpur_constants=>yes.   " ext sourcing active at all
      cv_ext_rfx_ind  = cl_mmpur_constants=>yes.   " RFX creation in SRM, not in ERP
      cv_ext_sc_ind   = cl_mmpur_constants=>yes.   " SC creation in SRM possible
    endmethod.
    method IF_EX_ME_REQ_SOURCE_CUST~CHECK_EXTERNAL_SOURCE.
    example Implementation:
    Purchase requisitions are send automatically to external sourcing based on the criteria
    implemented here. Thus, if you want to send PRs automatically, code your selection
    criteria in this method.
      IF is_req_item-ekgrp = 'SRM'.
        cv_ext_sourcing = cl_mmpur_constants=>yes.
      ENDIF.
    endmethod.
    Also for the issue XML not getting triggered with the interface PurchaseRequestERPSourcingConfirmation_Out , first the XML PurchaseRequestERPSourcingRequest_IN to srm should be successfully processed. Once this done then srm sends the sourcing confirmation out xml to erp.
    Is the in xml to srm processed here successfully ?
    If yes kindly crosscheck the config as per the details above and also aksed your XI consultant to check the configurations for the Integration scenario used here.
    Thanks & Best Regards,
    Rahul

  • Send Workitem to external mail ID and Execute?

    Hi all,
    I have requirement to send a WorkItem to Approvers External Mail ID and executes there.I have tried to send text mail to Approver's external mail id using Fm SO_NEW_DOCUMENT_SEND_API1.
    It is working fine but how to send WI to external mail id?
    Is there any way?
    Regards,
    Arpita

    Hi AC,
    there is a way out for the problem which you have where the user doesnt want to put his SAP userid and pwd and wants him to take directly to the SAP screen.
    For this you need to create a shortcut in your SAP logon pad for the transaction.
    and since you want him/her to go directly to the tcode, you need to put an entry in your sapshortcut.ini
    -pw "password"
    So what this entry does is the moment user clicks the workitem in Outlook, it would directly take him to the t-code for which you have created the shortcut, without asking him/her credentials.
    For your second issue, yes if 2 users get workitem, if any one reserves or executes the workitem, it automatically deletes from the other users SAP inbox.
    Hope it helps.
    Aditya

  • Can some please provide instructions on how to import an iPhoto library from an old Mac to a new Mac without getting a bunch of duplicates?  I tried transferring my pictures using an external hard drive and then copying it to the Pictures folder on my Mac

    Can someone please provide instructions on how to import an iPhoto library from an old Mac to a new Mac without getting a bunch of duplicates?  I tried transferring my pictures using an external hard drive and then copying it to the Pictures folder on my new Mac.  I ended up getting a bunch of duplicates. My old Mac has an older version of iPhoto while the new Mac has iPhoto '11.  Is that the cause of the problem?  Please advise.  Thanks.

    Simply copy the iPhoto Library from the Pictures Folder on the old Machine to the Pictures Folder on the new Machine.
    Then launch iPhoto. That's it.
    This moves photos, events, albums, books, keywords, slideshows and everything else.
    Regards
    TD

  • HT1751 if i back up my itunes library to an external hard drive and then add subsequent music and want to back that up a few days later, can i backup the only newly added music without backing up the entire library again?

    hello,
    if i back up my itunes library to an external hard drive and then add subsequent music and want to back up the newly added music a few days later, can i do it without backing up the entire library again? or do i need to back up the entire library each and every time i back up to the external hard drive?

    Just copy Users/yourusername/Music/iTunes (containing your library-files) to your external drive as well as that (extaernal) folder that contains all your audio-tracks.

  • Moving photos off of my mac's hard drive & onto an external without affecting my imported LR2 pics

    HI! A little info first...
    I am a photog so I have thousands of photos that i work with from my Mac's Internal Hard Drive.
    First, I upload photos from my camera to the Pictures folder on my Mac.
    Then, I upload the photos LR where I choose the ones I want to keep and edit. I, then, export my edited photos back to the original folder they were in.
    I backup daily using Time Machine, so I am good there, but my HD is about completely full so I need to MOVE the folders of Pics OFF of my computer's HD.
    I know that if I move the photos off of my HD and onto an external, all of my photos will in LR will be lost (broken links?).
    So, I have two questions...
    How can I do this big move and still keep my LR folders in tact? Is this possible?
    and,
    Should I start a new catalog to begin my new batch of incoming photos? I have so many folders in LR now, that I sometimes have a hard time finding the folder that I need.
    **I am using LR2
    Thank you so much, in advance, for any help or suggestion!!!
    Heidi

    Hi Heidi!
       Okay, let's see...
    i ADD photos to catalog without moving. and when i export...i export them back to their original folder.
    So basically, you are elminating most of the functions of using LR in the first place.  So, let me explain a bit..
    LR is designed to do a couple of things for your;  manage large collections of images, and edit images without destruction of the original image.
    Let's take the last one first:  without destruction.   You are pointing LR at an original image (using the Add import).   You then use LR to do all the edits you like to it.  Then you Export back into the same directory, _overwriting_ your original.  This means that all of the history that LR keeps track of, such as your color edits, etc, gets wiped out.   That neatly negates LR's ability to do non-destructive editing.   Because you can't go back to your original, having overwritten it.
    Do you have a reason why you shoot in jpg mode?  Or is it just because you haven't understood or tried raw mode?  The difference shooting in raw makes is quite dramatic in LR compared to shooting in jpg.  (And, it makes it almost impossible to overwrite the original!)  But that can come as a later refinement, if you wish.  Let's work on your current problem.
    on the left side, under folders...i have about 200 folders from the last
    year and i have about 60,000 photos total in my catalog. obviously, it
    is getting hard for me to find folders when i need them even though i do
    label each folder with the year/month/brief desciption (2010 december
    xmas)
    I think we have a different description of how you create folders.  If you have 200 hundred folders, you are not doing what you claim;  year/month/... Becuase that would mean you have been taking photos for 200 years!
    Here is what I meant by folder structures.  I keep all of my images in a sub-folder called MainCatalog.  That way, when I do backups, I only have to grab that one folder, and everything below it is backed up.
    Top level is major project, it's the one farthest left, below my parent folder:
    MainCatalog
       family_farm
       rugby
       wedding
    Under those catagories, each one has a year folder.
    MainCatalog
       family_farm
                2010
                2011
    And each folder under the year has month
    MainCatalog
      family_farm
               2010
                     2010-01
                     2010-05
    And each folder with month under it has the day,
    MainCatalog
      family_farm
              2010
                    2010-05
                             2010-05-03
                             2010-05-06
    You could, for example, replace the bottom folder with a description appended to it.  You can see that this decreases the number of folders you have to scan to find what you are looking for;  by knowing the year and month, it's down to at most 31 folders.  This can be changed around; you could remove the top level project, and just use the rest of it, or move the project to the bottom... many ways of doing it.  One reason I chose this method is that LR will create all of the folders for me, I just create the top level major project folder.  Then in the import dialog, I point to the major project folder, and tell LR to import via the date format, and choose the year->year-mon->year-mon-day format.  Easy.
    Now, as to moving your images to an external disk...
    First, I would promote a parent folder.  This is done from within LR.  Bring up LR, and right-click on any of the folders you currently have, and select "promote parent folder".  This will have the effect of moving all of your folders into a sub-folder, and you'll now see the sub-folder at the very top in your list.  This is good.
    And by finder, we meant the normal operating system's finder, not from within LR.  Some people move from within LR, some don't.  I find that if I use the operating system to move my files and later tell LR to reconnect them, I don't have problems with LR not being able to see the drive, as some people say they do.  Works both ways, but I obviously like my way better.
    Now, as to moving your images... yep, it's easy, as someone else pointed out.  Just drag (move, not copy) and drop onto your new hard drive from your operating system.  Then when you bring up LR, you'll see '?' on the folder pane, saying LR doesn't know where these are anymore.  Right-click on the  top-level (parent) folder that you promoted, and browse to the new location and LR will connect them again.  The reason for doing the promote parent is that you only have to do this once; LR will connect all of the folders below it if they are in the same structure.
    You don't need to upgrade to LR 3.3 if you don't need to yet;  I would recommend downloading Lr 2.7, however, as it fixed a few bugs in 2.6.  And it's a free upgrade.  With your current worfflow, there isn't a dramatic improvement in using 3.3.  The improvements are mostly for raw files, and many people have found that 3.3 is slower in regards to 2.6/2.7.
    Does that make sense now?
    Cheers!

  • How to send an external mail from workflow.

    Hi,
    I have created a send mail in my workflow but it isnot sending the external mail
    Any guesses?

    Check the status in SOST . If not ask ur BASIS guys to work on SCOT.
    Richard A

  • E-Mails in IPad and iPhone without content and sender "This E-Mail has no content"

    Often I get E-Mails listet without content and no sender "This E-Mail hasn't got any content" I can't get rid of the ghost, only by  total restarts. . Why does this happen and how can Iavoid this?  Klaus

    Move them out of the trash and back into the Inbox.
    Open the Trash, tap Edit, tap the email to select it, then tap Move.

  • I use an Apple bluetooth keyboard with my iPad. In messages I can't find a way to "send" a message without tapping on Send on the iPad's screen. I've tried every key and key combo that I can think of. Am I missing something?

    I use an Apple bluetooth keyboard with my iPad. In messages I can't find a way to "send" a message without tapping on Send on the iPad's screen. I've tried every key and key combo that I can think of. Am I missing something?

    I already have multiple devices and by far I like my iPad the most over laptops and the iPad. That including checking out my friends MacBook Air.
    The difference for me is the touch interface on the screen itself for things that do not require a lot of typing. For me, the iPad is more "magical" than anything else I've used.
    Again, I do appreciate your answers but you don't know my situation. Not everything is as it is perceived without knowing me and what I have to go through.

  • Why is it, after all the years with this service, my wife can't get service, send a text without a long delay from the high school she works at 4 miles away??? The phone works great in the middle of corn fields but in the dead center of town, at the high

    I have been with Verizon since they started in Peoria, IL and yet to this day I don't understand why when my wife goes to work at a high school, dead in the middle of town, she has no service, can't send a text without a huge delay and can't receive phone calls?  I can be out of Peoria in the middle of a corn field and I get calls without a problem, yet but within the city no service at Peoria High School or very limited.  This causes the phone to drop from LTE and then eats the battery.

    Service isn't guaranteed inside of buildings especially buildings filled with steel, concrete and electrical wiring. High School buildings definitely have all three.

  • HT1541 It doesn't appear the send gift window, it pops up the card selection. How can I send a gift without entering card information if I have credit in my coconut?

    Can't send a gift even if I have credit in my account, it asks me to enter a visa o MasterCard number, how can I send a gift without giving this info.

    You cannot gift with a gift balance.  You must use cc to gift

  • Sending a mail without spool in abap

    hi all,
    how to send a mail without going to spool request?
    please tell me any function modules to get the functionality?
    thanks in advance.

    Please try out this code. Here we send the pdf that we have converted from smartform. If this is not your case please inform me. But the logic is permanent - simply pass the string which holds the pdf data.
    *some data
    *please check which You need there is some thing that is not *usefull
    data lv_string type string.
    data main_text      type bcsy_text.
    data binary_content type solix_tab.
    data size           type so_obj_len.
    * event handler for data retrieval
    data: l_devtype              type rspoptype,
          l_function_module_name type rs38l_fnam.
    data: ls_output_options     type ssfcompop,
          ls_control_parameters type ssfctrlop.
    data: ls_output_data type ssfcrescl.
    * generated result: HTML with embedded CSS
    data: ls_xmloutput type ssfxmlout,
          lt_html_raw  type tsfixml.
    data: l_xstring    type xstring,    "needed for HTTP response
          l_xlength    type i,
          l_html_xstring   type xstring.
    data: l_pdf_xstring  type xstring,
          lt_lines       type table of tline,
          ls_line        type tline,
          l_pdf_len      type i.
    data:
          solix TYPE solix,
          soli type soli.
    DATA  send_request       TYPE REF TO cl_bcs.
    DATA  text               TYPE bcsy_text.
    DATA  document           TYPE REF TO cl_document_bcs.
    DATA  recipient          TYPE REF TO if_recipient_bcs.
    DATA  sent_to_all        TYPE os_boolean.
    DATA  pdf_content        TYPE solix_tab.
    DATA  lp_pdf_size        TYPE so_obj_len.
    *here we make the smartform and convert it to pdf
        ls_control_parameters-no_dialog = 'X'.
        ls_control_parameters-getotf    = 'X'.
        CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
          EXPORTING
            i_language                   = sy-langu
    *       i_application                = 'SAPDEFAULT'
          IMPORTING
            e_devtype                    = l_devtype
          EXCEPTIONS
            no_language                  = 1
            language_not_installed       = 2
            no_devtype_found             = 3
            system_error                 = 4
            others                       = 5.
        IF sy-subrc NE 0.
          MESSAGE ID sy-msgid type sy-msgty number sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        ls_output_options-tdprinter = l_devtype.
        CALL FUNCTION l_function_module_name
             EXPORTING
    *                 archive_index        =
    *                 archive_parameters   =
                      control_parameters   = ls_control_parameters
    *                  mail_appl_obj        = APPL_OBJECT_ID
    *                  mail_recipient       = RECIPIENT_ID
    *                  mail_sender          = SENDER_ID
                      output_options       = ls_output_options
                      user_settings        = space
                      iv_werks              = i_werks
                      iv_datum              = i_date
             IMPORTING
    *                 document_output_info =
                        job_output_info      = ls_output_data
    *                 job_output_options   =
             TABLES
                        im_matnr          = application->IT_MATERIAL
             EXCEPTIONS
                        formatting_error     = 1
                        internal_error       = 2
                        send_error           = 3
                        user_canceled        = 4
                        others               = 5.
        IF sy-subrc NE 0.
          MESSAGE ID sy-msgid type sy-msgty number sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        CALL FUNCTION 'CONVERT_OTF'
             EXPORTING
               format                      = 'PDF'
    *            MAX_LINEWIDTH               = 132
    *            ARCHIVE_INDEX               = ' '
    *            COPYNUMBER                  = 0
             IMPORTING
               bin_filesize                = l_pdf_len
               bin_file                    = l_pdf_xstring       " binary file
             TABLES
               otf                         = ls_output_data-otfdata
               lines                       = lt_lines
             EXCEPTIONS
               err_max_linewidth           = 1
               err_format                  = 2
               err_conv_not_possible       = 3
               err_bad_otf                 = 4
               others                      = 5.
        IF sy-subrc NE 0.
          MESSAGE ID sy-msgid type sy-msgty number sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    *and here we mail it
          send_request = cl_bcs=>create_persistent( ).
          lp_pdf_size = XSTRLEN( l_pdf_xstring ).
          pdf_content = cl_document_bcs=>xstring_to_solix( ip_xstring = l_pdf_xstring ).
          document = cl_document_bcs=>create_document( i_type    = 'PDF'
                                                       i_hex     = pdf_content
                                                       i_length  = lp_pdf_size
                                                       i_subject = 'Test Message' ).
          send_request->set_document( document ).
          recipient = cl_cam_address_bcs=>create_internet_address(
                  i_address_string = 'YOUR-EMAIL-HERE' ).
          send_request->add_recipient( i_recipient = recipient ).
          sent_to_all = send_request->send( i_with_error_screen = 'X' ).
          COMMIT WORK.

  • Alv result send to External email adreess

    hi,
    i want to send Alv grid result send to External email adreess.n e body help me how can i do this

    use the code:
    FORM docu_send_email USING pv_otfdata  TYPE tsfotf
                               pv_emailid  TYPE any
                               pv_formname TYPE any.
      DATA: lv_filesize    TYPE i,
            lv_buffer      TYPE string,
            lv_attachment  TYPE i,
            lv_testo       TYPE i.
      DATA: li_pdfdata  TYPE STANDARD TABLE OF tline,
            li_mess_att TYPE STANDARD TABLE OF solisti1,
            li_mtab_pdf TYPE STANDARD TABLE OF tline,
            li_objpack  TYPE STANDARD TABLE OF sopcklsti1,
            li_objtxt   TYPE STANDARD TABLE OF solisti1,
            li_objbin   TYPE STANDARD TABLE OF solisti1,
            li_reclist  TYPE STANDARD TABLE OF somlreci1,
            li_objhead  TYPE soli_tab.
      DATA: lwa_pdfdata  TYPE tline,
            lwa_objpack  TYPE sopcklsti1,
            lwa_mess_att TYPE solisti1,
            lwa_objtxt   TYPE solisti1,
            lwa_objbin   TYPE solisti1,
            lwa_reclist  TYPE somlreci1,
            lwa_doc_chng TYPE  sodocchgi1.
      CONSTANTS: lc_u           TYPE char1  VALUE 'U',
                 lc_0           TYPE char1  VALUE '0',
                 lc_1           TYPE char1  VALUE '1',
                 lc_pdf         TYPE char3  VALUE 'PDF',
                 lc_raw         TYPE char3  VALUE 'RAW',
                 lc_ordform     TYPE char15 VALUE 'ZORDCONFIRM_01',
                 lc_attachment  TYPE char10 VALUE 'ATTACHMENT'.
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = lc_pdf
          max_linewidth         = 132
        IMPORTING
          bin_filesize          = lv_filesize
        TABLES
          otf                   = pv_otfdata
          lines                 = li_pdfdata
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          err_bad_otf           = 4
          OTHERS                = 5.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      LOOP AT li_pdfdata INTO lwa_pdfdata.
        TRANSLATE lwa_pdfdata USING ' ~'.
        CONCATENATE lv_buffer lwa_pdfdata INTO lv_buffer.
        CLEAR lwa_pdfdata.
      ENDLOOP.
      TRANSLATE lv_buffer USING '~ '.
      DO.
        lwa_mess_att = lv_buffer.
        APPEND lwa_mess_att TO li_mess_att.
        CLEAR lwa_mess_att.
        SHIFT lv_buffer LEFT BY 255 PLACES.
        IF lv_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
    Object with PDF.
      REFRESH li_objbin.
      li_objbin[] = li_mess_att[].
      DESCRIBE TABLE li_objbin LINES lv_attachment.
    Object with main text of the mail.
      lwa_objtxt = space.
      APPEND lwa_objtxt TO li_objtxt.
      CLEAR lwa_objtxt.
      DESCRIBE TABLE li_objtxt LINES lv_testo.
    Create the document which is to be sent
      lwa_doc_chng-obj_name  = text-008.
      lwa_doc_chng-obj_descr = text-008.
      lwa_doc_chng-sensitivty = lc_0.
      lwa_doc_chng-obj_prio = lc_1.
      lwa_doc_chng-doc_size = lv_testo * 225.
    Pack to main body.
      CLEAR lwa_objpack-transf_bin.
    header
      lwa_objpack-head_start = 1.
    The document needs no header (head_num = 0)
      lwa_objpack-head_num   = 0.
    body
      lwa_objpack-body_start = 1.
      lwa_objpack-body_num   = lv_testo.
      lwa_objpack-doc_type   = lc_raw.
      APPEND lwa_objpack TO li_objpack.
      CLEAR lwa_objpack.
    Create the attachment.
    Fill the fields of the packing_list for the attachment:
      lwa_objpack-transf_bin = gc_x .
    header
      lwa_objpack-head_start = 1.
      lwa_objpack-head_num   = 1.
    body
      lwa_objpack-body_start = 1.
      lwa_objpack-body_num   = lv_attachment.
      lwa_objpack-doc_type   = lc_pdf.
      lwa_objpack-obj_name   = lc_attachment.
      lwa_objpack-obj_descr  = text-008.
      lwa_objpack-doc_size =  lv_attachment * 255.
      APPEND lwa_objpack TO li_objpack.
      CLEAR lwa_objpack.
      lwa_reclist-receiver   = pv_emailid.
      lwa_reclist-rec_type   = lc_u.
      lwa_reclist-notif_del  = gc_x.
      lwa_reclist-notif_ndel = gc_x.
      APPEND lwa_reclist TO li_reclist.
      IF li_reclist IS NOT INITIAL.
        CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
          EXPORTING
            document_data              = lwa_doc_chng
            put_in_outbox              = gc_x
          TABLES
            packing_list               = li_objpack
            object_header              = li_objhead
            contents_bin               = li_objbin
            contents_txt               = li_objtxt
            receivers                  = li_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.

Maybe you are looking for

  • Special character issue in JSP

    How to handle the special characters like %,(Option+' in Mac),(Option+" in Mac),+,& etc entered within a string and passed on to another page through AJAX, where it is retrieved using request.getParameter(). It comes as '?' character or empty space.

  • Excise Invoice:Duty difference while calculating ECS & SECS

    Hi All, There is a difference in duty calculations in excise Invoice, (1) which is generated automatically while creating billing doc manually ) &  (2) generating billing doc & excise invoice in PRG.In PRG Billing doc is getting generated by BAPI 'BA

  • Is there a way to retrieve an older email on my Ipad?

    Is there a way to retrieve an old email on my Ipad?

  • Indesign CS4 crashing on save

    My Indesign is crashing whenever I try to save an existing or new file. Same for exporting. I have uninstalled and reinstalled it, and also deleted the system preference files after finding that often solves problems like this. But I still have the p

  • IDOC WPDTAX and external tax system

    Has anyone used the IDOC WPDTAX with an external tax system (vertex) before? Does it work?