Issue with program - SF_XSF_DEMO_MAIL

Hi Gurus,
I did not get any answer for the previous post on the same topic,but with different subject. Hence posting it again with a straight forward question.
I am tryng to incorporate the functionality explained in the SAP standard and demo program - SF_XSF_DEMO_MAIL. This program sends the attachment in the smartform as email without attachment. meaning the contenet of smartform should go as email body without attachment. It should be sent as HTML body with all the formatting styles, tables, lines, text etc.
I am able to get the formatting right <though not perfect> in the displayed mail in SOST. But once I push the mail out of SAP to external email address the email received is not having right format.
The order of content is not correct, The tables are missing and only contents are sent.
Please let me know has anyone has ever faced such issue? What is the solution for this. Is the DTD file in the following path /bc/bsp/sap/smart_forms/smart_forms_xsf.dtd is causing the trouble?
Please throw some light on ths.
Regards
Ram

Hello Joe,
uncomment the parameter "filename" in these 2 calls in the report, then it should work.
call method lo_mime_helper->set_main_html
EXPORTING
content = lt_soli
* filename = 'sapwebform.htm'
description = 'SAP Web Form'. "#EC NOTEXT
call method lo_mime_helper->add_binary_part
EXPORTING
content = lt_solix
* filename = l_filename
extension = 'BMP'
description = 'Graphic in BMP format' "#EC NOTEXT
content_type = l_content_type
length = l_obj_len
content_id = l_content_id.

Similar Messages

  • Issues with program

    I have already paid for the full year but it won't let me change a PDF to Word because I haven't paid

    Hi Denise Van Meter,
    Thanks for subscribing to Adobe Acrobat Plus (one-year). Here's a snapshot of your order and steps for getting started.
      Subscription order details:
    Re: Issues with program
    Adobe Acrobat Plus (one-year) (Mac/Win,Multiple Languages)
    <removed by admin>
    For complete details, just click your order number <removed by admin>
      Here's how to get started:
    Sign in to your Adobe Acrobat Plus (one-year) <removed by admin> account with your Adobe ID and password.
    If you need support, visit the Help pages<http://www.adobe.com/go/apaphelp>.
    Dear Denise,
    http://www.adobe.com/content/dam/Adobe/email/spacer.gif
    Welcome to Adobe. Your Adobe ID is <removed by admin>
    Your Adobe ID is your access key to any of Adobe's online services, such as:
      Adobe.com<http://www.adobe.com/>. Download free trials, buy products, manage orders and participate in user forms.
      Adobe® Creative Cloud™<https://creative.adobe.com/>. Get all the Creative Suite applications plus online services for a low monthly price.
      Adobe® Document Services<https://www.acrobat.com/welcome/en/home.html>. Create and edit PDF files, distribute and analyze forms, and sign documents electronically.
    Thank you and enjoy,
    The Adobe Team

  • NI SCOPE issues with program

    I originally had a program that used cursors on a pulse signal to calculate the average of two different gates, and find the difference between them. It worked at one point when I was using the NI SCOPE express VI, but when I tried switching to the real NI SCOPE using Multi Record, due to efficiency issues, I ran into some bugs that I need some help with. The main issue is that one of the pair of gates(cursors) is not getting averaged, but the first one is. Because of this, the program will not find the difference.The issue may be because I had to switch from using a signal to using a waveform with the property node. If anyone could provide any sort of assistance, that would be great!
    Attachments:
    NewPulse.vi ‏54 KB

    I think you are simply missing a wire
    Jeff

  • Issues with program not stopping

    I am working on this program and I cant get it to stop when I ask a question. It generates a random number and I am trying to ask the user if they want to play again, but it wont stop....no matter where I put the question. I also need help with when I get it to stop, how do I bring the program back to the beginning of the loop to start again if they want to play again? Please help....
    import java.util.*;
    import java.io.*;
    //Name of program
    public class HIGH_LOW
         //Allowing input to be made
         static Scanner console = new Scanner(System.in);
         //Main method
         public static void main(String[] args)
              //Generating a random number
              int rNum = (int)(Math.random() * 101);
              //Introduction to user
              System.out.println("WELCOME ALL to 'Guess a number between 1 and 100', enter 0 to quit.");
              //Initializing variables
              int guess = -1;
              int count = 0;
              int answer;
              //Initializing loop
              while (guess != rNum)
                   //Prompting user
                   System.out.print("\nGuess: ");     
                   //Reassigning variable
                   guess = console.nextInt();
                   count++;
                   //Conditional statements
                   //If the guess is correct
                   if (guess == rNum)
                        //Output for correct guess
                        System.out.println("CORRECT!!!, the number is: " + rNum + ", and it took " + count +
                                                       " guesses.");
                        //If guess too low
                        else if (guess < rNum)
                             //Output if guess is too low
                             System.out.println("Too low");
                        //If guess too high
                        else
                             //Output if guess is too high
                             System.out.println("Too high");
                   //Sentinel to exit
                   if (guess == 0)
                        //Action to be performed if user chooses
                        System.exit(0);          
              //System.out.println("Would you like to play again?"); I can put it here.....
              //System.out.println("Would you like to play again?"); Or here... and it won't stop.
    }

    I got it, this is what works for me... And I am learning how to write my own methods... You are correct, they are very useful!!!
    if (guess == rNum)
                        //Output for correct guess
                        System.out.println("CORRECT!!!, the number is: " + rNum + ", and it took " + count +
                                                       " guesses.");
                        System.out.println("Would you like to play again? Y/N");
                             //Assgining variable
                             playAgain = console.next().charAt(0);
                        //If they don't want to play again
                        if (playAgain == 'n' || playAgain == 'N')
                                  //Action performed
                                  System.exit(0);
                        //Reassign rNum
                        rNum = (int)(Math.random() * 101);
                        }

  • Issues with Programs Opening

    I recently downloaded Moutain Lion and now my computer is opening iTunes on its own and playing music and then pausing my music when I am listening to it. Also I am using Google Chrome and it keeps telling me that my pages are having issues. It is on multiple websites and I have no idea what it is. I am guessing that there is a bug. Is anyone else having this issue and does anyone know what it is.
    Also now my time machine is not backing up. Does anyone know what can be done to make it work. This is what comes up when I try to back it up.
    Thanks in advance.

    Ignore the part about backing up, it just started to do it again. Must have needed to sort itself out.

  • Issues with program purchased yesterday

    I purchased the exportpdf program yesterday and received the receipt.  I have several pdf docs I received by email that I need to convert to word so I can work in them.  The program keeps asking me to subscribe and I am unable to use the program.  I need to get these converted asap!!!

    I purchased the exportpdf program yesterday and received the receipt.  I have several pdf docs I received by email that I need to convert to word so I can work in them.  The program keeps asking me to subscribe and I am unable to use the program.  I need to get these converted asap!!!

  • Huge problems with Programs crashing on quit!!

    Is anyone else having an issue with programs like Logic Pro 8, Firefox and other widely used programs that crash when you do a command-q to quit?
    Mine does this all the time. I have re-installed Snow Leopard 3 times now. I have re-installed all my programs I use fresh as well, yet almost every program I close locks up the machine or just sits there and does nothing at all.
    I am beginning to think I have a hardware issue on my new iMac.

    UncleMarcus wrote:
    Is anyone else having an issue with programs like Logic Pro 8, Firefox and other widely used programs that crash when you do a command-q to quit?
    no.
    Mine does this all the time. I have re-installed Snow Leopard 3 times now.
    did you do an erase and install or did you install snow leopard on top of your current install? if the latter make a new user account and log into it. do you have the same problem there? if you did do an erase and install then it may be hardware related as you suspect.
    I have re-installed all my programs I use fresh as well, yet almost every program I close locks up the machine or just sits there and does nothing at all.
    I am beginning to think I have a hardware issue on my new iMac.

  • ISSUE WITH SUPPLIER SITE OPEN INTERFACE IMPORT PROGRAM in R12

    I am facing issue while submitting supplier site open interface import program programmatically using fnd_request.
    I am uploading the interface tables with the mandatory data and running the standard Request Set for Suppliers.The program is creating the Suppliers but is unable to create the Supplier Sites.It is getting completed with no rejections as well as imported records.
    It is updating the Supplier Sites Interface table (ap_supplier_sites_int ) with status as rejected with no rejected records in ap_supplier_int_rejections table.
    I am using the following code.
    Step 1 - call set_request_set
    apps.fnd_file.put_line (apps.fnd_file.LOG, 'Calling set_request_set...');
    success := fnd_submit.set_request_set ('SQLAP', 'FNDRSSUB852');--'FNDRSSUB1703');
    IF (NOT success)
    THEN
    RAISE srs_failed;
    ELSE
    apps.fnd_file.put_line (apps.fnd_file.LOG,
    'Calling submit program first time...'
    END IF;
    -- Step 2 - call submit program for each program in the set
    success :=
    fnd_submit.submit_program ('SQLAP',
    'APXSUIMP',
    'STAGE10',
    'ALL',
    1000,
    'N',
    'N',
    'N',
    CHR (0)
    IF (NOT success)
    THEN
    RAISE submitprog_failed;
    END IF;
    apps.fnd_file.put_line (apps.fnd_file.LOG,
    'Calling submit program second time...'
    success :=
    fnd_submit.submit_program ('SQLAP',
    'APXSSIMP',
    'STAGE20',
    'ALL',
    1000,
    'N',
    'N',
    'N',
    CHR (0)
    IF (NOT success)
    THEN
    RAISE submitprog_failed;
    END IF;
    -- Step 3 - call submit_set
    apps.fnd_file.put_line (apps.fnd_file.LOG, 'Calling submit_set...');
    req_id := fnd_submit.submit_set (NULL, TRUE);
    IF (req_id = 0)
    THEN
    RAISE submitset_failed;
    END IF;
    apps.fnd_file.put_line (apps.fnd_file.LOG, 'Finished.');
    And in the interface table the record status is rejected and ther is no corresponding record in ap_supplier_int_rejections.
    but the supplier is getting created succesfully.
    ### Steps to Reproduce ###
    INSERT INTO ap_suppliers_int
    (exclusive_payment_flag,
    vendor_interface_id,
    vendor_name,
    segment1,
    vendor_type_lookup_code,-- set_of_books_id,
    status
    VALUES ('N', --'N',
    ap_suppliers_int_s.NEXTVAL,
    'TEST_REC4',
    4428813,
    'VENDOR', --2041,
    --rec_spl_site_bank_hdr.set_of_books_id,
    'NEW'
    INSERT INTO ap_supplier_sites_int
    (vendor_site_interface_id,
    vendor_interface_id,
    vendor_site_code,
    address_line1,
    city,
    state,
    zip,
    country,
    operating_unit_name,
    status --exclusive_payment_flag
    VALUES (ap_supplier_sites_int_s.NEXTVAL,
    -- VENDOR_SITES_INTERFACE_ID
    ap_suppliers_int_s.CURRVAL,
    -- VENDOR_INTERFACE_ID
    'REC_VDR_SITE4',
    -- VENDOR_SITE_CODE
    'REC_ADDR4',
    -- ADDRESS_LINE1,
    'REC_CITY4', --CITY
    'REC_STATE4', --STATE
    3442121,
    'US', -- COUNTRY,
    ' Test US Operating Unit',
    'NEW'
    );

    Hi
    I have the same issue with ap supplier sites interface program .. Did your problem got solved..I will be thankfull for any help
    Thanks

  • Since I've installed Mountain Lion, I am having lock up issues with multiple programs. MS Outlook has crashed and I've lost all my folders. HELP?

    Since I've installed Mountain Lion, I am having lock up issues with multiple programs. MS Outlook has crashed and I've lost all my folders. HELP?

    okay I've finally been able to get tor and all the other programs to work according to my plan the only thing that's still making problems is that iptables doesn't work as I want it to, when I start chromium without proxy settings privoxy doesn't seem to forward the information to polipo.. do I need to add another rule to iptables.rules in order for the program to know it has to reroute the information again or how can I get this to work? and is there any way to run rtorrent with proxy support?
    anyway, problem 2 and 3 are still to be solved.
    and does anybody know where i can get a good dansguardian blacklist that was not designed for 6 year old children and for which I don't need to subscribe? I'm still getting these partypoker popups -.-
    //e: with iptables it's the same thing as described in the first post. https works, http doesnt. I get the output "Invalid header received from client." on http sites. still no idea why though.. (and the https-version of torcheck.xenubite says i'm tor unprotected while starting the browser with iptables)
    Last edited by deF291 (2011-04-23 16:16:31)

  • Issue with check generation in Automatic Payment Program

    Hi experts,
    I need your inputs for an issue with check generation in Automatic Payment Program. Trying to make a payment to a US vendor with payment method C. The due item is getting picked up and a clearing document is getting generated. But Check is not being generated, niether can I see an entry in PAYR table. However, if I try to generate a check manually in FCH5 for the same clearing document, it is working.

    Have u checked the Variant created in F110 - Printout / data medium, whether the Hose bank details are correctly set or not.
    If yes, check the Printer details
    Let us know the results
    Thanks

  • Issue with XML bursting program

    Hi All,
    We have a Oracle concurrent program which generates PDF output using XML data and RTF template. This output is sent as attachment to a designated user using XML bursting.
    The issue that we are facing is, the mail is sent to the recipients correctly when the program is run from my login. But when the same is run from anyone else’s login, the bursting program fails.
    Suppose the receiver’s email id is [email protected], the error faced is
    [oracle.apps.xdo.batch.DeliveryHelper][EXCEPTION] javax.mail.internet.AddressException: Illegal character in domain in string ``[email protected]@xyz.com''
    On examining the XML bursting program log file for successful and error runs, I could see the below property in the log file-
    For successful run: [SMTP_TO_RECIPIENTS:String] [[email protected]]
    Whereas for unsuccessful run: [SMTP_TO_RECIPIENTS:String] [[email protected]@xyz.com]
    Any pointers in this regard are highly appreciated.
    Regards,
    Kiranmayi.

    Thanks for your quick response.
    I believe the HP printer is an old one and I did have a couple of issues with it while using XML Publisher.However we've overcome those issues.
    We have installed xpdf and have been using the pdf2ps utility.We have PASTA set up and printing works fine when Bursting is not used.
    Is there some change I have to make to the configuration file/Bursting Control file to be able to use this pdf2ps utility to print to this Printer?
    Nevertheless I will also try using ipp on one of our newer printers...
    Thanks,
    Lavina

  • Our software vendor tells to use FF 3.5.1. because of some printer issues with their web based program. How safe is it to work with FF 3.5.1 in 2012?

    Our software vendor tells to use FF 3.5.1. because of some printer issues with their web based program. How safe is it to work with FF 3.5.1 in 2012?

    Thanks for the reply. I'll have a look at your solution.

  • Issue with a "perform in program" call.

    I am trying to do a call to a form in a zprogram. This call is being done inside an enhancement.  The reason for this is because I can't delcare forms in the enhancement.  Below is the issue:
    The parameters I am trying to pass are typed as follows (in the SAP enhancement - SAP code):
    types: begin of mrm_rbkpv.
            include structure rbkp_v.
    types: begin of mmcr_drseg.
            include structure drseg.
    types: mmcr_tdrseg type mmcr_drseg occurs 0.
    I have the following as the call to the form and the form declaration:
    PERFORM cancel_ret IN PROGRAM zcancel_retention USING e_trbkpv e_tdrseg[].
    FORM cancel_ret  USING p_tdrseg TYPE rbkp_v
                          it_tdrseG TYPE J_1IDRSEG.
    I am getting a run-time error saying:
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was
         not caught in
        procedure "EXIT_SAPLMRMP_010" "(FUNCTION)", nor was it propagated by a RAISING
         clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        Call to FORM "CANCEL_RET" is incorrect:
        The actual parameter no. 1 has a different data type in the
        PERFORM than requested for the FORM "CANCEL_RET" in program
         "ZCANCEL_RETENTION".
    This is telling me that the system doesn't see  e_trbkpv being the same type as  p_tdrseg.  However, I can't see why they aren't the same time.  I also assume I will have the issue with the second parameter.  The table type (in my opinion) J_1IDRSEG should be the same type as mmcr_drseg.
    Any ideas?  The enhancement I am using is EXIT_SAPLMRMP_010 (LMR1M001).
    Regards,
    Aaron
    Edited by: Aaron Shover on Apr 11, 2009 7:21 PM

    >
    Aaron Shover wrote:
    > OK, Aditya, I added another type pool to my program and I can now use the same type that SAP is using.
    >
    > Thanks for pointing out the [obvious] solution that I was overlooking!
    >
    > Aaron
    Aaron, I was not aware of the type pools as mentioned I don't have access to the system at the moment. But type pool has type declarations as well, so what I meant was pulling out the 2 declarations that you need into your Z program could have solved the problem :). Which will happen now since you've included the type pools.
    Anyways good to know that you problem is solved.
    Cheers,
    Advait

  • I got the following for Adobe Reader that there was an issue with it. C:\Program Files (x86)\Adobe\Reader 11.0\Reader\NPSWF32.dll file How do I fix this? Thanks.

    How can I fix this problem. I got the following for Adobe Reader that there was an issue with it.  C:\Program Files (x86)\Adobe\Reader 11.0\Reader\NPSWF32.dll file

    Try uninstalling using http://labs.adobe.com/downloads/acrobatcleaner.html then reinstall.

  • Issue with Creative Cloud program itself - Won't launch

    Hi,
    I'm having an issue with CC.
    The app is launched and it opens. I enter the email address and password. It thinks for a while and then disappears from the screen.
    The icon is there in the systray and as soon as you click on it, the applications appears again but is blank and there is a small window on top of the main with the CC logo on it but that's all.
    End task is the option to close it.
    I searched the KM and saw a reference on deleting the OOBE folder in the Users area but all this did was to force it to ask again for login details and then did the same thing.
    I've had this issue previously and I think I uninstalled the CC app and reinstalled it. This forced ALL the installed adobe programs to be redownloaded and installed again, which I'm hoping to avoid that and having to sort out all the plugins again.
    Win 8.1
    i7 quad core
    32GB ram
    Could I please get some advice so I can get my daughter in action again?
    Thanks
    Screenshot attached.

    HollyTAust removing and reinstalling the Creative Cloud Desktop application should not cause you to need to reinstall you already installed Creative Cloud Desktop application.
    If reinstalling resolved your difficulties previously then please try removing and reinstalling the Creative Cloud Desktop application.  If you then face difficulties with your Adobe applications not being listed properly please see CC desktop lists applications as "Up to Date" when not installed - http://helpx.adobe.com/creative-cloud/kb/aam-lists-removed-apps-date.html.

Maybe you are looking for