How to send local e-Invoicing format as Idoc

Dear sirs,
I would like to ask you about a translation of a local e-inv format into the Idoc.
What are the problems:
- this standard was published by a local government and probably is not compatible in any other format used by "ordinary" (adn sane) SAP people
- this standard appears in two version: I can get the invoice as XML file or as a ZIP archive which consist of the XML file and the attachments
- the processing should be asynchronous and we´re expected to use IDocs
I wonder:
- how can I send the Idoc with attachments? I am not aware of anything like this
- if that is not possible (most likely) how would you solve the requirement with as little effort as possible? Would you send the ZIP into ABAP and process it in the ERP system? Some proxies? Or can you come up with some way how to achieve the same? Because I don´t understand how can I send&attach the attachments to the backend where the Idoc didn´t have to be processed yet and I don´t have a document number to associate the files with.
Hope I don´t ask a crazy question:))
thank you for your time and effort, regards Otto

Otto Gold wrote:
> The attachments are like pictures, PDF files etc. (invoice originals before converting into this local e-inv standard). How can I convert the file into an Idoc? I didn´t know that is possible. Thank you, Otto
in case your landscape has PI then go for an ABAP proxy
some inputs can be found here - /people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments
also regarding conversion of a file to IDoc etc, specific tools (middleware, ESBs) are used to do such transformations and routing

Similar Messages

  • How to send mail in html format in jsp???

    Hello everybody,
    I have two jsp pages.In one page I have the heading like Date,Transaction.I am retriving data from my second jsp page.And I hae included the second jsp page to my first jsp page.How to send mail this content in html format.
    Thanks
    Srikant

    MimeMessage m = new MimeMessage(session);
    BodyPart messageBodyPart = new MimeBodyPart();
    messageBodyPart.setContent(content, "text/html");this if u need to send a mail content as html

  • How to send mail in  HTML  format using SMTP

    I want to send mail in HTML format using SMTP.Can anybody please suggest how to do it.Can anybody send me the code.
    Thnx.

    If you don't know how to send a message using JavaMail see here : http://developer.java.sun.com/developer/onlineTraining/JavaMail/contents.html#JavaMailSending
    To send a html format mail you need to set the content type like this (msg is a javax.mail.internet.MimeMessage) :
    String subject = "An Email 4 U";
    String message = "<HTML><BODY>Here is a link<br><a href='http://javasoft.com'>Java</a></BODY></HTML>";
    msg.setSubject(subject);
    msg.setContent(message, "text/html");p.s This isn't really an advanced topic

  • How to send photo to PI system using IDOC

    Hi All,
    We have uploaded employee photos in our HR system and we can see them in pa20.We would like to send them to PI system using IDOC.Please let me know how we can do that
    Thanks
    Bala Duvvuri

    Hi,
    there is no possibility of sending images in Idoc to any other system.
    your requirement might be sending the photos of employee to some some other ssytem Via PI.
    PI can pick the images from your R3 Via FTP and can route it to the target system.
    Suresh

  • How to send mails in HTML format from the send mail step of workflow?

    Hi,
    I have a requirement where I need to send mails in the html format from the send mail step of the workflows.
    But what I found out that the html tags are not renderd and as such the output is in plain text.
    I know that there is an alternative of using an activity step and use my own custom code from within there,But due to certain business constraints, I need to use the send mail step only.
    My SCOT settings are all right.
    Please let me know how it can be done.
    Thanks,
    Samrat.

    Samrat,
    It can't be done, you have to use your own activity step.
    What are these constraints that refrain you from doing that?
    Rgds,
    Patrick

  • How to send mail using HTML format using tags

    Hello experts,
    I am currently using FM SO_NEW_DOCUMENT_SEND_API1 to send e-mails to our users' Outlook accounts. Now, I converted its document type from 'RAW' to 'HTM'. I enclosed my texts in HTML tags. But the problem is, I cannot see a thing when I check my message in SCOT. It just opens internet explorer and thats it. Anyway, Below is my code:
    get e-mail addresses of controllers in table ZSHIPTO_EMAIL
      SELECT * FROM zshipto_email
      INTO TABLE it_zshipto_email
      WHERE zevent = '2'.
      IF sy-dbcnt > 0.
        IF NOT it_del_entries[] IS INITIAL.
          CLEAR lv_contents.
          maildata-obj_name  = 'Record Deleted in table ZTS0001'.
          maildata-obj_descr = 'Record Deleted in table ZTS0001'.
          maildata-obj_langu = sy-langu.
       records deleted in ZTS0001 and ZTS_STPGEOLOC
          CLEAR: lv_flag, lv_counter.
          LOOP AT it_zshipto_email.
            CLEAR: it_del_entries, mailtxt.
            LOOP AT it_del_entries ASSIGNING <fs_del_entries>.
            get name of dealer
              SELECT SINGLE name1 FROM kna1
              INTO <fs_del_entries>-name1
              WHERE kunnr = <fs_del_entries>-kunnr.
              IF lv_counter IS INITIAL.
                CONCATENATE: '<p>'
                             'FYI: The ff record/s were deleted in tables'
                             'ZTS0001 and ZTS_STPGEOLOC by user' sy-uname
                             '</p>'
                             INTO lv_contents
                             SEPARATED BY space.
                mailtxt-line = lv_contents.
                APPEND mailtxt.
                CLEAR: mailtxt, lv_contents.
              ENDIF.
              APPEND mailtxt.
              CONCATENATE: '<p>'
                           'Dealer :' <fs_del_entries>-kunnr '-'
                           <fs_del_entries>-name1 '</p>'
                           INTO lv_contents
                           SEPARATED BY space.
              mailtxt-line = lv_contents.
              APPEND mailtxt.
              CLEAR: mailtxt, lv_contents.
              CONCATENATE: '<p>'
                           'Ship-To:' <fs_del_entries>-cdseq '</p>'
                           INTO lv_contents
                           SEPARATED BY space.
              mailtxt-line = lv_contents.
              APPEND mailtxt.
              CLEAR: mailtxt, lv_contents.
              CONCATENATE: '<p>'
                           'Address:' <fs_del_entries>-zaddress '</p>'
                           INTO lv_contents
                           SEPARATED BY space.
              mailtxt-line = lv_contents.
              APPEND mailtxt.
              CLEAR: mailtxt, lv_contents.
              CONCATENATE: '<p>'
                           'Contact person:' <fs_del_entries>-zcperson
                           '</p>'
                           INTO lv_contents
                           SEPARATED BY space.
              mailtxt-line = lv_contents.
              APPEND mailtxt.
              CLEAR: mailtxt, lv_contents.
              CONCATENATE: '<p>'
                           'Contact number:' <fs_del_entries>-zcnumber
                           '</p>'
                           INTO lv_contents
                           SEPARATED BY space.
              mailtxt-line = lv_contents.
              APPEND mailtxt.
              CLEAR: mailtxt, lv_contents.
              lv_counter = 1.
            ENDLOOP.
            APPEND mailtxt.
            mailrec-receiver = it_zshipto_email-zemail.
            mailrec-rec_type  = 'U'.
            APPEND mailrec.
            CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
                 EXPORTING
                      document_data              = maildata
                      document_type              = 'HTM'
                      put_in_outbox              = 'X'
                      commit_work                = 'X'
                 TABLES
                     object_header              = mailtxt
                      object_content             = mailtxt
                      receivers                  = mailrec
                 EXCEPTIONS
                      too_many_receivers         = 1
                      document_not_sent          = 2
                      document_type_not_exist    = 3
                      operation_no_authorization = 4
                      parameter_error            = 5
                      x_error                    = 6
                      enqueue_error              = 7
                      OTHERS                     = 8.
            IF sy-subrc <> 0.
              MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
            ENDIF.
            CLEAR:    mailtxt, mailrec, lv_counter.
            REFRESH:  mailtxt, mailrec.
          ENDLOOP.
        ENDIF.
    Message was edited by: viraylab

    Hi,
    Check this...
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5931ff64-0a01-0010-2bb7-ff2f9a6165a0
    Regards
    vijay

  • How to send sap generated invoice numbers using rffoedi1 program

    Hi all
    we are generating PEXR2002 IDocs using RFFOEDI1 program . The program is populating the invoice number field in IDoc with the value from reference number field in MIRO screen. Is there any way that we can populate the SAP generated invoice number also in the IDoc.

    Hi Steve,
    Have you tried the user-exits or BADi available.
    Regards,
    Atish

  • How to send status message in SOAP to IDOC scenerio without BPM

    Hi,
    I have a SOAP to IDOC scenerio in which we require to send the status message back to user from XI that " IDOC has been sent successfully to SAP system"
    We do not want to use BPM bacause of performance issues.
    Can you please help me how to achieve this synchronous response without BPM.
    Note: We require the status message from XI that the IDOC has been successfully posted to WESAP system

    Idoc only support async behaviour. U can't get the Idoc response as per ur requirement without BPM.
    Better to go for abap proxy or RFC.
    Or u may get the ack till XI.
    Regards,
    Prateek

  • How to send back the stauts of inbound idoc to outbound system

    Hi  all.
    Idocs are scheduled to send from outbound to inboud.In inbound I have many idocs with status 51.(application document not posted).I need to report back the details of all the  idocs with status 51.(application document not posted) .ie I need to send the idoc no, error message,error data  from inbound to outbound on daily basis. Can any one let me know how to achieve this.i.e  How to trap the details of idoc with status 51 in inbound & send this details back to inbound.
    Can it be done by audit reporting of idocs? Or do I need to write a program?If so pls guide me.
    Thanks in advance.
    kind regards,
    Samiulla.

    You will have to setup the acknowledgements in this case. Message type ALEAUD.
    This will be setup in the WE20 of the receiving system to be sent to the sending system.
    regards,
    Advait

  • How to send single person-records with HRMD_A Idoc and change Idoc header?

    Hello group,
    we have different companies in our SAP system (BUKRS). Now when an infotype is changed the changepointers are activated and using program RBDMIDOC we can send Idocs of type HRMD_A to f.i. files. In order to have these files distributed to different parties depending on BUKRS of the person we would like to have HRMD_A to deliver single records, an Idoc for each person and the Idoc header fields for variant and function should be filled so that the partner profile would distribute the Idoc to the partie.
    Is this possible? And if yes how?
    Regards, Léon Hoeneveld The Netherlands

    Transaction PFAL lets me trigger the Idoc manually, but with a job for RBDMIDOC this is automatically.
    I found fm RH_HRMD_BLOCK_SIZE in wich you can enhance the code to set the block size for an Idoc-type to 1.
    But now I still have to change the Idoc header with an enhancement of user-exit.
    HRALE00OUTBOUND_IDOC BADi does not have the functionallity.
    Regards, Léon Hoeneveld

  • HT2500 How to send photos as jpegs.

    How to send photos in jpeg formats?  Read info which suggested exporting files to folder on desktop and attaching to email.  files still open to photo instead of sending file name.jpeg.
    Help

    All images will appear inline in Mail. How they appear on the recipient's side is up to that software.

  • WAK1  ----    How to send Free Goods details  to POS

    Gurus,
      I have created the free goods data and everything works fine.
    When I create a whole sales order , I am getting the free goods.
    Now I want to send the information to POS . Can anyone help me how to send this
    I tried WPMA , but nothing is working.
    What are the IDoc configuration for this . and how to send the free goods information as Idoc.
    Hope I have explained my query in a understable manner .
    Kindly help in this regard
    Regards
    Raj

    Hi Raj,
    Basically, I agree with Christian.
    Here's my points:
    1. IDoc type WPDBBY is the only standard message type for free goods for POS outbound.
        The detail info about free goods is on segement E1WPBB06 : POS Interface: Condition Scale.
    2. Assortment list does have condition type of article sales price (in standard IS-Retail it's VKP0 & VKA0), E1WBB07 : Assortment list IDoc: Conditions per unit of measure & E1WBB08 : Assortment list IDoc: Condition value per unit of meas.
        But it doesn't contain any data for free goods.
    3. You could maintain SD free goods condition in a Promotion, but this data is not included in IDoc of promotion WPDREB.
        SD free goods condition is applied for sales order processing only.
    Regards,
    Steven

  • [SOLVED]How to send email to a local user?

    I have installed Mutt, msmtp, procmail and I can send and receive emails to/from remote hosts and I'd like to send email locally also (to the recipients on the same machine as the sender).
    When I try to send email to a local user from the root account -
    echo "Test message" | mail -s "Test subject" localuser
    then I get an error that connection to the port 25 is refused. Because the /etc/msmtprc file contains the 'localhost' as the default account's host, and on the local host I don't have a mail server listening on 25 port running.
    When I try to send email from a non-root account which has in /$HOME/.msmtprc file a real email account on a remote server, then of course there is an error that the domain for the email address 'localuser' is not recognized.
    How can sending email to local users be enabled?
    Last edited by nbd (2014-09-30 22:33:37)

    If I understand correctly, postfix it's a constantly running daemon. Seems to be an overhead for delivering only from time to time sent messages.
    ewaller wrote:
    > Out of the box, sendmail should be safe, but I think you have to enable local mail.
    Currently I have msmtp-mta installed, which is described as having sendmail functionality. If I install sendmail - will it be possible to send local email without running email daemons?

  • How to send a mail in pdf format file in sbwp??

    how to send a mail in pdf format file in sbwp?? and how to read the content of the mail?

    Refer the following link for Sample Program:
    http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm

  • How to  send ALV output data into Excel sheet format via Mail to the user?

    Hi friends,
    I have a doubt ie,
    How to  send ALV output data into Excel sheet format via Mail to the user?
    regards
    Moosa

    Hi,
    Provide the output internal table to the objbin in the below FM
    Send Message
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           EXPORTING
                document_data              = i_docdata
                put_in_outbox              = c_x
           TABLES
                packing_list               = i_objpack
                object_header              = i_objhead
                contents_bin               = i_objbin
                contents_txt               = i_objtxt
                receivers                  = i_reclist
    and specify the document type
      i_objpack-doc_type   = 'XLS'.
    and try.
    Regards,
    Nandha

Maybe you are looking for

  • New ipad mini (iOS 6.1.3) won't register on macbook (10.6.8). It does charge, but will not connect to itunes (11.0.1)

    Hi, I bought an iPad mini the other day. I registered it through wifi and have been using it fine on its own. I am trying to sync it with my macbook (model early 2009, but running snow leopard 10.6.8) but it will no show up on either the macbook or i

  • Best method to sync 2 iPhones, access same library, but different apps

    My wife and I just got 2 iPhones 16GB 3GS. We currently have just 1 iTunes account (don't want a second one) and store all music on our desktop computer. Most of the music is files from CD's that I've had on the computer for way longer than we've had

  • Time Machine Backup hangs on both USB and Time Capsule

    Hello! I have some problems with Time Machine backing up my MacBook Pro Retina 15" Late 2013 running Yosemite 10.10.2. I am using the MacBook both in the office and at home attached to a USB hub with KeyBord and external screen. The MacBook is usuall

  • MacBook Won't recognize cameras

    I just upgraded to a MacBook Pro Retina 15 with Mavericks 10.9.5. Everything is freshly updated and no other performance issues with the new machine. The computer won't recognize either of my cameras, neither a Nikon Coolpix S8100 nor my new Nikon D8

  • Smart Object Image Replace Error

    Im trying to replace a picture in a smart object and It wont let me do it for some reason, it says it cannot replace it because of a program error. I am running CC 2014 on a 2012 Macbook Pro running OSX Yosemite