Re: Export Return

HI Guru,
i have purchase the material via import purchase. i found some of the material are defect. now i want to return that material via export to same vendor. in this flow excise part also exsiste.
please give the details about the return flow for this purchase flow.
thanks
by
siva

Hi Guru,
i need information quickly still i am strucling on this issue.
how i shoule return this material to the vendor from the depot plant.
in this flow excise part also is there.
please give me the details about this.
Best Regards
Thanks
Siva kumar

Similar Messages

  • Export Return process

    please any one can tell me the steps to configure export return process, itss urgent.
    Regards
    Chilukri

    Already this topic was discussed so many times and please make a search.
    It is nothing special and as like normal sales returns where you need to create a return sale order referencing the billing document, do post goods receipt if need be and issuing credit note for the value of the returns.  Also in J1IH, you need to make excise adjustments.
    thanks
    G. Lakshmipathi

  • Export Return  process Configuration

    Hi   Consultants,
    Any  one plz help me to configure  Export Return process.
    Early help would be appreciable.
    Thanks in advance,
    Siva

    Already this topic was discussed so many times and please make a search.
    It is nothing special and as like normal sales returns where you need to create a return sale order referencing the billing document, do post goods receipt if need be and issuing credit note for the value of the returns.  Also in J1IH, you need to make excise adjustments.
    thanks
    G. Lakshmipathi

  • Export return sales process

    Hello friends,
    Could any body please give me  the complete export return sales process ?even a vague idea would be helpful.
    Thanx in advance
    rahul.

    Already this topic was discussed so many times and please make a search.
    It is nothing special and as like normal sales returns where you need to create a return sale order referencing the billing document, do post goods receipt if need be and issuing credit note for the value of the returns.  Also in J1IH, you need to make excise adjustments.
    thanks
    G. Lakshmipathi

  • LR4.0 (and 4.1RC) Facebook Exporter Returning Fail

    This has been going on for serveral days now. When I try to export to an existing album, the upload fails. I have tried logging off while uploading, removing and renewing the LR credential, having LR reload the plugin each time, and no luck. The manager reports version 4.1.0.8.20174. I've just upgraded to 4.1RC to see if that would help. No luck.
    If I create a new album, I can upload. Problem only seems to be with uploading to existing albums.

    [quote]
    There seems to be 2 different issues here. The original poster is referring to the image going blurry until releasing the mouse. The other issue is the sharpening being turned off until releasing the mouse/moving off the slider.
    Two of us now have fixed the blurry issue by reinstalling 4.0, then redownloading RC1 and reinstalling it. We were both Mac users, one on 10.7.3 and one on 10.6.8. After doing this we are both no longer seeing the blurry previews until releasing the mouse and sharpening is now immediate, as expected. This is while in the Detail panel, using the sharpening slider.
    Hopefully this may help others.
    [/quote]
    Interesting. I'm a PC user, but when I get time I wil try a resinstall of both version as you describe.

  • Keynote SEND TO and EXPORT returns error message re: problem/space

    When I attempt to either "Send To" or "Export" a recorded Keynote presentation, I receive the error:
    "Your slideshow can't be exported as a movie for an iPod There’s not enough disk space, or there was a problem with the movie file."
    I attempted: Send to iWeb, Send to iTunes. I also attempted to export to Quicktime.
    My system: MacBook Pro 17" 2.16 approx. 10GB free space
    The lecture is just under 60 minutes in duration. No slide transitions or effects (just straight slide, slide, slide).
    Hopefully someone has a fix so that I can record my presentations and send them into iWeb for my students. When I attempted an export to YouTube, Keynote became unresponsive and I had to force-quit and lost this lecture's recording.

    Check the other two posts on this issue as well. We are all clearly having the same problem.
    http://discussions.apple.com/thread.jspa?threadID=1561630&tstart=0
    http://discussions.apple.com/thread.jspa?threadID=1571025&tstart=0
    Having worked in Software QA for quite a few years (including at Apple), I am stunned this one got by. The only explanation would be that there is not a standard protocol for compatibility testing when things like Quicktime get an update. Looks like it's time for a new protocol!
    R

  • XML export returns ORA-06502: PL/SQL: numeric or value error

    We have an application which enables users to download an XML file containing all 198 columns of HR data for a selected group of employees. This had been working under APEX 2.2 but under APEX 3.0 it now fails with ORA-06502: PL/SQL: numeric or value error. I began eliminating columns in my SELECT until I got to about 124 columns, at which point it started working again. So this doesn't appear to be related to the 100 report column limit. Is this a 3.0 bug or was a new limit put in place for 3.0?

    Hi Scott,
    can you remember what the problem was in this case!?
    I got a similar problem right now.
    If my query contains more than approx. 7 rows, I get a "sqlerrm:ORA-06502: PL/SQL: numeric or value error" error.
    Less and equal than 7 rows it works fine and I get a nice formatted xls (xml) file.
    Thanks for your help.
    Johnny

  • Exporting selected contacts from Outlook 2011 for Mac

    I've wanted to easily export a set of selected contacts from Outlook in Microsoft Office for Mac 2011.  I've been through many threads about synching to Address Book and then exporting, but I've found a host of troubles, including duplicate copies of contacts being created.
    So, I finally broke down and wrote an AppleScript script to export all of the currently selected contacts from Outlook to a file in either vcf (vcard) or csv (comma separated value) format.  The best use of this script is to:
    -- Install this as a script in Microsoft Outlook by saving the script below to Documents>Microsoft User Data>Outlook Script Menu Items
    -- Change to your Contacts in Outlook.  Use the Outlook search bar to find the contacts you want to export.  You might search by name, category, company, or anything else that identifies the contacts you want to export.  Or, you might just leave the view showing all contacts.
    -- Select the contacts you want to export
    -- Launch the script
    The script will have you select between vcard and csv and select a destination file.  This hasn't been optimized for speed, so if you're exporting 100's or 1,000's of contacts, be patient.  And there isn't a progress bar at present, so you have to wait.  It will display an alert when it's complete.
    Sorry not to have a download location for you.  You'll just have to copy the script text :-).  Keep in mind there's been some but limited testing.  Read the comments for details.  And enjoy.
    -- jsc
    --  Export Outlook Contacts
    --  (c) 2012 J. Scott Carr.  The script is made available for free use, with no
    --  warranty, under the Creative Commons license agreement.
    --  This script has only been tested on Mac OS X 10.6.8 with Micrsoft Outlook for
    --  Mac 2011 version 14.1.4.
    property byCategory : "By category"
    property byPattern : "Names matching pattern"
    property vcardFormat : "VCard"
    property csvFormat : "CSV"
    --  main
    set contactsToExport to {}
    -- Get the contact selection
    set contactsToExport to get_contacts_to_export()
    if (count of contactsToExport) is 0 then
              display alert "Please select contacts to export and rerun script" as warning
              return
    end if
    -- Shall we export to vcard or CSV?
    set theFormat to vcard_or_csv()
    if theFormat is "" then
              display alert "Error: Must select VCard or CSV format" as warning
              return
    end if
    -- Get and open the output file
    set oFile to open_output_file(theFormat)
    if (oFile is equal to -128) then
    display alert "Canceled"
              return
    else if (oFile < 0) then
              display alert "File open failed (" & oFile & ")" as warning
              return
    end if
    -- Export the contacts
    display dialog "About to export " & (count of contactsToExport) & " contacts in " & theFormat & " format.  Proceed?"
    if button returned of result is not "OK" then
              try
      close access oFile
              end try
              return
    end if
    if theFormat is vcardFormat then
    export_to_vcard(contactsToExport, oFile)
    else if theFormat is csvFormat then
    export_to_csv(contactsToExport, oFile)
    else
              display alert "Invalid format" as warning
    end if
    close access oFile
    display alert "Complete"
    return
    --  get_contacts_to_export()
    --  We're going to export the Contacts currently selected in Outlook.
    --  Check that the current selection is Contacts and not some other Outlook
    --  object.  Snag the selected Contacts and return them as a list.
    --  A side note.  When I started this, I built options to enter a matching
    --  name string or select a category.  And then it hit me that those features
    --  are much more robust in Outlook, and it would be easy to just use the
    --  current selection.
    --  There is some strange behavior that Outlook needs to have recently been
    --  the front, active window.
    on get_contacts_to_export()
              set selectedContacts to {}
              tell application "Microsoft Outlook"
                        set theSelection to selection
                        if class of theSelection is list then
                                  if class of the first item of theSelection is contact then
                                            copy theSelection to selectedContacts
                                  end if
                        else
                                  if class of theSelection is contact then
                                            copy theSelection to selectedContacts
                                  end if
                        end if
                        return selectedContacts
              end tell
    end get_contacts_to_export
    --  vcard_or_csv()
    --  Get the format to use when exporting contacts
    on vcard_or_csv()
              choose from list {vcardFormat, csvFormat} with prompt "Select export file format:"
              if result is false then
                        return ""
              else
                        return first item of result
              end if
    end vcard_or_csv
    --  open_output_file()
    --  Open the destination file for the export, returning the file descriptor or the error number
    --  if the operation fails
    on open_output_file(exportType)
    -- Get the filename, letting "choose file name" deal with existing files.
              set theDate to current date
              set theTime to time of theDate
              if exportType is csvFormat then
                        set fileName to "contacts.csv"
              else
                        set fileName to "contacts.vcf"
              end if
              try
                        set outputFile to choose file name with prompt "Select export destination file" default name fileName
              on error errText number errNum
                        return errNum
              end try
    -- Open the file
              try
      -- Open the file as writable and overwrite contents
                        set oFile to open for access outputFile with write permission
      set eof oFile to 0
              on error errText number errNum
                        display alert "Error opening file: " & errNum & return & errText as warning
                        try
      close access oFile
                        end try
                        return errNum
              end try
              return oFile
    end open_output_file
    --  export_to_vcard()
    --  Export each of theContacts to the open file outFile as a set of vcards.  Note that the
    --  vcard data is from the "vcard data" property of the theContacts.  This routine
    --  doesn't attempt to reformat an Outlook vcard, nor limit the fields included
    --  in the vcard.
    on export_to_vcard(theContacts, outFile)
              set vcards to {}
              tell application "Microsoft Outlook"
                        repeat with aContact in theContacts
                                  copy vcard data of aContact to the end of vcards
                        end repeat
              end tell
              repeat with aCard in vcards
      write (aCard & linefeed) to outFile
              end repeat
    end export_to_vcard
    --  export_to_csv()
    --  Export each of theContacts to the open file outFile in csv format
    on export_to_csv(theContacts, outFile)
              set csvFields to {}
    -- Get the fields of the contact to export
              set csvFields to init_csv()
    -- Write the header row
              set nFields to count csvFields
    write first item of csvFields to outFile
              repeat with i from 2 to nFields
      write "," & item i of csvFields to outFile
              end repeat
    write linefeed to outFile
    -- Export the fields of the contacts in CSV format, one per line
              repeat with aContact in theContacts
      write build_csv_line(csvFields, aContact) & linefeed to outFile
              end repeat
    end export_to_csv
    --  init_csv(): defines the fields to export when csv format is selected
    --  Each of the fields in the list must match a name used in the routine build_csv_line().
    --  The idea is to later create a a pick list so the user can select which contact properties
    --  to export.
    on init_csv()
              set csvFields to {"first name", "last name", "middle name", "title", "nickname", "suffix", "phone", "home phone number", "other home phone number", "home fax number", "business phone number", "other business phone number", "busines fax number", "pager number", "mobile number", "home email", "work email", "other email", "company", "job title", "department", "assistant phone number", "home street address", "home city", "home state", "home country", "home zip", "business street address", "business city", "business state", "business country", "business zip", "home web page", "business web page", "note"}
    end init_csv
    --  build_csv_line(): format one line for the csv file
    --  Parameter csvFields determins which fields to include in the export.
    --  Unfortunately I've not figured out how to use perl-style generation of
    --  indirect references.  If I could, this would have been much more elegant
    --  by simply using the field name to refer to a Contact properly.
    --  Note that email address are a special case as they're a list of objects in
    --  Outlook.  So these are handled specially in the export function and can only
    --  be selected by the column names "home email", "work email", and "other email". 
    --  Outlook allows a contact to have more than one of each type of email address
    --  but not all contact managers are the same.  This script takes the first of
    --  each type.  So if a contact has more than one "home" email address, you will
    --  only be able to export the first to a csv file.  Suggest you clean up your
    --  addresses in Outlook to adapt.  The alternative is to support multiple
    --  columns in the csv like "other email 1" and "other email 2", but that's not
    --  supported in this version.
    --  Another note.  In this version, any embedded "return" or "linefeed" characters
    --  found in a property of a contact are converted to a space.  That means that
    --  notes, in particular, will be reformated.  That said, this gets arond a problem
    --  with embedded carriage returns in address fields that throw off importing
    --  the csv file.
    --  Also note that at this time IM addresses aren't supported, but it's an easy add
    --  following the same logic as email addresses.
    on build_csv_line(csvFields, theContact)
              set aField to ""
              set csvLine to ""
              set homeEmail to ""
              set workEmail to ""
              set otherEmail to ""
              tell application "Microsoft Outlook"
                        set props to get properties of theContact
      -- Extract email addresses from address list of contact
                        set emailAddresses to email addresses of props
                        repeat with anAddress in emailAddresses
                                  if type of anAddress is home then
                                            set homeEmail to address of anAddress
                                  else if type of anAddress is work then
                                            set workEmail to address of anAddress
                                  else if type of anAddress is other then
                                            set otherEmail to address of anAddress
                                  end if
                        end repeat
      -- Export each desired fields of the contact
                        repeat with aFieldItem in csvFields
                                  set aField to aFieldItem as text
                                  set aValue to ""
                                  if aField is "first name" then
                                            set aValue to get first name of props
                                  else if aField is "last name" then
                                            set aValue to last name of props
                                  else if aField is "middle name" then
                                            set aValue to middle name of props
                                  else if aField is "display name" then
                                            set aValue to display name of props
                                  else if aField is "title" then
                                            set aValue to title of props
                                  else if aField is "nickname" then
                                            set aValue to nickname of props
                                  else if aField is "suffix" then
                                            set aValue to suffix of props
                                  else if aField is "phone" then
                                            set aValue to phone of props
                                  else if aField is "home phone number" then
                                            set aValue to home phone number of props
                                  else if aField is "other home phone number" then
                                            set aValue to other home phone number of props
                                  else if aField is "home fax number" then
                                            set aValue to home fax number of props
                                  else if aField is "business phone number" then
                                            set aValue to business phone number of props
                                  else if aField is "other bsiness phone number" then
                                            set aValue to other business phone number of props
                                  else if aField is "bsuiness fax number" then
                                            set aValue to business fax number of props
                                  else if aField is "pager number" then
                                            set aValue to pager number of props
                                  else if aField is "mobile number" then
                                            set aValue to mobile number of props
                                  else if aField is "home email" then
                                            set aValue to homeEmail
                                  else if aField is "work email" then
                                            set aValue to workEmail
                                  else if aField is "other email" then
                                            set aValue to otherEmail
                                  else if aField is "office" then
                                            set aValue to office of props
                                  else if aField is "company" then
                                            set aValue to company of props
                                  else if aField is "job title" then
                                            set aValue to job title of props
                                  else if aField is "department" then
                                            set aValue to department of props
                                  else if aField is "assistant phone number" then
                                            set aValue to assistant phone number of props
                                  else if aField is "age" then
                                            set aValue to age of props
                                  else if aField is "anniversary" then
                                            set aValue to anniversary of props
                                  else if aField is "astrololgy sign" then
                                            set aValue to astrology sign of props
                                  else if aField is "birthday" then
                                            set aValue to birthday of props
                                  else if aField is "blood type" then
                                            set aValue to blood type of props
                                  else if aField is "desription" then
                                            set aValue to description of props
                                  else if aField is "home street address" then
                                            set aValue to home street address of props
                                  else if aField is "home city" then
                                            set aValue to home city of props
                                  else if aField is "home state" then
                                            set aValue to home state of props
                                  else if aField is "home country" then
                                            set aValue to home country of props
                                  else if aField is "home zip" then
                                            set aValue to home zip of props
                                  else if aField is "home web page" then
                                            set aValue to home web page of props
                                  else if aField is "business web page" then
                                            set aValue to business web page of props
                                  else if aField is "spouse" then
                                            set aValue to spouse of props
                                  else if aField is "interests" then
                                            set aValue to interests of props
                                  else if aField is "custom field one" then
                                            set aValue to custom field one of props
                                  else if aField is "custom field two" then
                                            set aValue to custom field two of props
                                  else if aField is "custom field three" then
                                            set aValue to custom field three of props
                                  else if aField is "custom field four" then
                                            set aValue to custom field four of props
                                  else if aField is "custom field five" then
                                            set aValue to custom field five of props
                                  else if aField is "custom field six" then
                                            set aValue to custom field six of props
                                  else if aField is "custom field seven" then
                                            set aValue to custom field seven of props
                                  else if aField is "custom field eight" then
                                            set aValue to custom field eight of props
                                  else if aField is "custom phone 1" then
                                            set aValue to custom phone 1 of props
                                  else if aField is "custom phone 2" then
                                            set aValue to custom phone 2 of props
                                  else if aField is "custom phone 3" then
                                            set aValue to custom phone 3 of props
                                  else if aField is "custom phone 4" then
                                            set aValue to custom phone 4 of props
                                  else if aField is "custom date field one" then
                                            set aValue to custom date field one of props
                                  else if aField is "custom date field two" then
                                            set aValue to custom date field two of props
                                  else if aField is "note" then
                                            set aValue to plain text note of props
                                  end if
                                  if aValue is not false then
                                            if length of csvLine > 0 then
                                                      set csvLine to csvLine & ","
                                            end if
                                            if (aValue as text) is not "missing value" then
                                                      set csvLine to csvLine & "\"" & aValue & "\""
                                            end if
                                  end if
                        end repeat
              end tell
    -- Change all embeded "new lines" to spaces.  Does mess with the formatting
    -- of notes on contacts, but it makes it cleans the file for more reliable
    -- importing.  This could be changed to an option later.
              set csvLine to replace_text(csvLine, return, " ")
              set csvLine to replace_text(csvLine, linefeed, " ")
              return csvLine
    end build_csv_line
    --  replace_text()
    --  Replace all occurances of searchString with replaceString in sourceStr
    on replace_text(sourceStr, searchString, replaceString)
              set searchStr to (searchString as text)
              set replaceStr to (replaceString as text)
              set sourceStr to (sourceStr as text)
              set saveDelims to AppleScript's text item delimiters
              set AppleScript's text item delimiters to (searchString)
              set theList to (every text item of sourceStr)
              set AppleScript's text item delimiters to (replaceString)
              set theString to theList as string
              set AppleScript's text item delimiters to saveDelims
              return theString
    end replace_text

    Thank You, but this is a gong show. Why is something that is so important to us all so very, very difficult to do?

  • Credit Memo to Export Declaration

    Hi,
    For returns we use the billing document type of a credit memo, this is posing us a challenge when it's an export return becuase  GTS  programmed in filter logic that credit billing doc types will not get passed to compliance/customs management.
    Specific doc types being filtered are O – Credit Memo, 4 – Credit memo list, 6 – Intercompany credit memo,  S – Credit memo Cancelation.
    Anyone have expereice/guidance on how to integrate? 2 current options being evaluated are enhancing the logic to allow a credit memeo to create an export declaration or introducing the pro-forma.
    Thanks, Jeff

    Hi Jeff,
    Please explain why it would make sense to create an Export Declaration for a return - thanks.
    Regards,
    Dave

  • "Missing parameter values" error on Export

    Hi,
    I am getting "Missing Parameter Values" error if all required parameter values are not passed in the report through application. Same error is not coming when all the parameters are passed.
    And parameter window also not displaying if all parameters are not passed to the report for export option. (Parameter window displaying on preview option if all the parameters are not supplied).
    I have tried both Report Viewer's ExportReport function & ReportDocument's Export function. But both are results same.
    Software details:
    Crystal Report created in Version: 10.0.0.533
    .Net 2005
    10.2 Crystal component. Crystal Runtime Version - v2.0.50727 and DLL Version - 10.2
    Please help me to resolve this issue.
    Thanks,
    Venkateswaran.P

    Given example is not working as expected.
    1) Calling of  ExportReport() function invokes the file Save As window to save the exported file eventhough exported path & file name supplied in the program.
    2) After accepting the output file name, "Missing parameter values" error coming instead of displaying Crystal's Parameter window.
    Below is the piece of code to export the output. I am calling Export() function if all the parameters are supplied by the application otherwise i am calling Viewer's ExportReport() fuction. Please have a look and let me know if any code change is required.
                   ReportDocument crRepDocument;
                   String m_strExportPath;
                    Boolean bUseRepViewExport = false;
                    if( crRepDocument.ParameterFields.Count > 0 )
                        if (m_Parameters.Count < crRepDocument.ParameterFields.Count)
                                bUseRepViewExport = true ;
                    ExportOptions crExportOptions;
                    DiskFileDestinationOptions crDiskFileDestinationOptions;
                    crDiskFileDestinationOptions = new DiskFileDestinationOptions();
                    crExportOptions = crRepDocument.ExportOptions;
                    if (base.m_ExportFormat == eExportFormat.RTF)
                       crDiskFileDestinationOptions.DiskFileName = base.m_strExportPath + ".rtf";
                        crExportOptions.ExportDestinationType = ExportDestinationType.DiskFile;
                        crExportOptions.ExportFormatType = ExportFormatType.RichText;
                        crExportOptions.DestinationOptions = crDiskFileDestinationOptions;
                    else if (base.m_ExportFormat == eExportFormat.PDF)
                        crDiskFileDestinationOptions.DiskFileName = base.m_strExportPath + ".pdf";
                        crExportOptions.DestinationOptions = crDiskFileDestinationOptions;
                        crExportOptions.ExportDestinationType = ExportDestinationType.DiskFile;
                        crExportOptions.ExportFormatType = ExportFormatType.PortableDocFormat;
                    else if (base.m_ExportFormat == eExportFormat.DOC)
                     if (bUseRepViewExport)  //If all the parameter are not supplied. I calling Viewer
                        FormReportViewer oFormReportViewer = new FormReportViewer();
                        oFormReportViewer.CrystalReportViewer.ReportSource = crRepDocument;
                        oFormReportViewer.CrystalReportViewer.ExportReport();
                        return true;                 
                    else
                        crRepDocument.Export();  //
                        return true;

  • Error exporting reports while viewing the exact same report works fine!

    Greetings,
    We are using Visual Studio 2008 and Crystal Reports 2008 (with the service packs etc. installed). When setting the parameter values of a ReportDocument and then passing docuemtn to the viewer everything works 100%, when calling the ExportToDisk method I keep getting the ParameterFieldCurrentValueException being thrown. We are using a bespoke C# application as a reporting tool. All of the reports run off stored procedures. Please can someone help me?
    I have included teh code for setting the database parameters, the parameter values themselves and the calling of the export function.
    Thanks in advance,
    Robert Lancaster
        private void SetReportLoginInfo(ReportDocument _rdReport)
          try
            // Must set the ConnectionInfo for all the tables in the report
            // Get the ConnectionInfo Object.
            TableLogOnInfo tlTableLogOnInfo = new TableLogOnInfo();
            foreach(Table ReportTable in _rdReport.Database.Tables)
              if(ReportTable.Name == IMAGE_TABLE)  // Do not set login info for this table.
                continue;
              tlTableLogOnInfo = ReportTable.LogOnInfo;
              // Set the Connection parameters.
              tlTableLogOnInfo.ConnectionInfo.ServerName = dmDBManager.ServerName;  // Physical server name
              tlTableLogOnInfo.ConnectionInfo.DatabaseName = dmDBManager.DatabaseName;
              tlTableLogOnInfo.ConnectionInfo.UserID = dmDBManager.UserName;
              tlTableLogOnInfo.ConnectionInfo.Password = dmDBManager.Password;
              ReportTable.ApplyLogOnInfo(tlTableLogOnInfo);
              // Set the location for the report to the correct value.
              string[] sTemp = ReportTable.Location.Split('.');
              int iLength = sTemp.Length;
              if(iLength >= 2)
                // Location will usually be in the form: DBName.Owner.Object
                // E.g. FleetData.dbo.crpt_AlarmsRpt;1
                // Change the name of the database to the correct value
                ReportTable.Location = dmDBManager.DatabaseName + "." + sTemp[iLength - 2] +
                  "." + sTemp[iLength - 1];
              //          // DO NOT delete the following line of code!
              //          // For an explanation see:
              //          // http://support.crystaldecisions.com/forums/message.asp?fid=76&mid=94272
              //          ReportTable.Location = ReportTable.Location;
            }  // End foreach that steps through all the tables in the report
            // Must now check to see if there are any subreports in the report.
            // If there are, must change their login info as well.
            for(int iRptObj = 0; iRptObj <= _rdReport.ReportDefinition.ReportObjects.Count - 1; iRptObj++)
              if(_rdReport.ReportDefinition.ReportObjects[iRptObj].Kind  == ReportObjectKind.SubreportObject)
                string sName = (_rdReport.ReportDefinition.ReportObjects[iRptObj] as SubreportObject).SubreportName;
                // Create a new reportdocument from the subreport
                ReportDocument rdSubReport = _rdReport.OpenSubreport(sName);
                // Call function recursively
                SetReportLoginInfo(rdSubReport);
              }  // End if that checks for subreport object
            }  // End for that steps through all the objects in the report
          catch(Exception ex)
            string cError = "[ReportEngine][SetReportLoginInfo] " + ex.Message;
            Debug.WriteLine(cError);
            EventLogWriter.WriteErrorToEventlog(cError);
        }  // End function SetReportLoginInfo
        private void AssignReportParams(ReportDocument _rdReport)
          ParameterFieldDefinitions pfParameterFieldDefinitions = _rdReport.DataDefinition.ParameterFields;
          ParameterFieldDefinition pfParameterFieldDefinition;
          ParameterDiscreteValue pvParameterDiscreteValue;
          ParameterValues pvParameterValues;
          // Assign the values to all the params
          for (int iParam = 0; iParam < rpParams.Length; iParam++)
            // Get the correct element from the array and clear any existing values
            pfParameterFieldDefinition = pfParameterFieldDefinitions[rpParams[iParam].ParamName]; // ,""];
            pvParameterValues = pfParameterFieldDefinition.CurrentValues;
            pvParameterValues.Clear();
            // Create a new value for the parameter and assign it
            pvParameterDiscreteValue = new ParameterDiscreteValue();
            pvParameterDiscreteValue.Value = rpParams[iParam].ParamValue;
            // Add the new value and apply it
            pvParameterValues.Add(pvParameterDiscreteValue);
            pfParameterFieldDefinition.ApplyCurrentValues(pvParameterValues);
        }  // End function AssignReportParams
        private bool ExportReport(ReportDocument _rdReport,
                                  CrystalDecisions.Shared.ExportFormatType _ftType,
                                  out string _sError)
          try
            string sExpName = rpParameters.ReportExpName;
            DiskFileDestinationOptions diskOpts = ExportOptions.CreateDiskFileDestinationOptions();
            diskOpts.DiskFileName = sExpName;
            ExportOptions exportOpts = new ExportOptions();
            exportOpts.ExportFormatType = _ftType;
            exportOpts.ExportDestinationType = ExportDestinationType.DiskFile;
            exportOpts.ExportDestinationOptions = diskOpts;
            _rdReport.Export(exportOpts);
            //_rdReport.ExportToDisk(_ftType, sExpName);
            _sError = "";
            return true;
          catch (ParameterFieldCurrentValueException)
            _sError = ReportRunParam.sERROR_PARAMCURVALUE;  // THIS ALWAYS FIRES ON EXPORT
            return false;

    Hello, Robert;
    The code to logon, set parameters and export appears fine. Can you send me the code that defines the report, calls these functions and passes the report to the viewer? I would like to see the order in which it is happening.
    Does the application have rights to the folder you are exporting to?
    Can you export from the viewer successfully?
    Elaine

  • Export internal table to excel...

    Hello everyone!
    I have an ALV with one column like this:
    netwr LIKE vbrp-netwr
    In the ALV Catalog, i allready tried this options:
      CLEAR fieldcat_linha.
      fieldcat_linha-fieldname = 'NETWR'.
    *  fieldcat_linha-ref_tabname = 'VBRP'.
    *  fieldcat_linha-ref_fieldname = 'NETWR'.
      fieldcat_linha-reptext_ddic = text-126.
      fieldcat_linha-decimals_out = '2'.
      APPEND fieldcat_linha TO fieldcat_tab.
    The problem is, when i export this to an excel file, i get 2 decimals only in values like this: '1.000,00'
    If the value is '200,00' the export returns only '200' in the excel file. Does anyone know how to round this problem?
    Thank you.
    Message was edited by: Nuno Santos

    I dont think this is the problem with ABAP. Try changing the customising settings for excel from control panel.
    Ankur Bhandari
    p.s Rewqard appropriate points if the answer helped
    Message was edited by: Ankur Bhandari

  • How to export results of explain plan?

    A colleague tells me that in an older version of SQLDeveloper (1.2.1, perhaps?), he was able to export the results of the explain plan operation (I don't know what export forms were available). In the current version (1.5.1), it generates a tree component with information I can look at, but there's no way to write out these results in any form. Am I missing something?

    HOW TO TRANSPORT A SQL TUNING SET [ID 456019.1]
    Modified 08-SEP-2008 Type HOWTO Status PUBLISHED
    In this Document
    Goal
    Solution
    Applies to:
    Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 11.1.0.6
    Information in this document applies to any platform.
    10.2.X,11.1.X
    Goal
    The Purpose of This Note is to Show the Steps needed to Transport a Sql Tuning Set from
    One Database server to another Database Server.
    Solution
    The Sql Tuning Set name is small_sh_sts_4.It is on 10.2.0.2.0 Database server.
    It has 4 sqls .
    select sql_id, substr(sql_text,1, 15) text
    from dba_sqlset_statements
    where sqlset_name = 'small_sh_sts_4'
    order by sql_id;
    SQL_ID TEXT
    4qdz7j26mdwzb SELECT /*+ my_q
    6y289t15dqj9r SELECT /*+ my_q
    ckm14c67njf0q SELECT /*+ my_q
    g37muqb81wjau SELECT /*+ my_q
    1) Create the Staging Table ON THE SOURCE SYSTEM ( IN this case 10.2.0.2.0 ) .
    execute DBMS_SQLTUNE.CREATE_STGTAB_SQLSET(table_name =>'TEST');
    PL/SQL procedure successfully completed.
    SQL> select count(*) from test;
    COUNT(*)
    0
    2) Popluate the table TEST using DBMS_SQLTUNE.PACK_STGTAB_SQLSET THE SOURCE SYSTEM (IN this case 10.2.0.2.0 )
    execute DBMS_SQLTUNE.PACK_STGTAB_SQLSET(sqlset_name => 'small_sh_sts_4',staging_table_name => 'TEST');
    PL/SQL procedure successfully completed.
    select count(*) from test;
    SQL> select count(*) from test;
    COUNT(*)
    4
    3) Export the table table test on THE SOURCE SYSTEM ( IN this case 10.2.0.2.0 )
    and move the table to the Destination Server
    and Import it . The staging table TEST can also be moved using
    the mechanism of choice such as datapump or database link.
    While exporting the table you will see something like
    About to export specified tables via Conventional Path ...
    Table(T) or Partition(T:P) to be exported: (RETURN to quit) > TEST
    . . exporting table TEST 4 rows exported
    . . exporting table TEST_CBINDS 0 rows exported
    . . exporting table TEST_CPLANS 34 rows exported
    Import on the Destination system ( IN this CASE it was 11.1.0.6.0 )
    While Importing the table you will see something like
    . importing SH's objects into SH
    . importing SH's objects into SH
    . . importing table "TEST" 4 rows imported
    . . importing table "TEST_CBINDS" 0 rows imported
    . . importing table "TEST_CPLANS" 34 rows imported
    Import terminated successfully without warnings.
    SQL> select count(*) from test;
    COUNT(*)
    4
    Verify the contents of DBA_SQLSET or USER_SQLSET on the Destination system
    Select NAME,CREATED,STATEMENT_COUNT FROM DBA_SQLSET;
    4) Unpack the table using DBMS_SQLTUNE.UNPACK_STGTAB_SQLSET on the Destination system ( IN this CASE it was 11.1.0.6.0 )
    execute DBMS_SQLTUNE.UNPACK_STGTAB_SQLSET( sqlset_name => '%',-
    replace => TRUE,-
    staging_table_name => 'TEST');
    Select NAME,OWNER,CREATED,STATEMENT_COUNT FROM DBA_SQLSET;
    NAME CREATED STATEMENT_COUNT
    small_sh_sts_4 24-AUG-07 4
    Related
    Products
    •Oracle Database Products > Oracle Database > Oracle Database > Oracle Server - Enterprise Edition

  • Using MAPI Outlook 2007 on Windows 7 Errors Invalid export options

    O.S : Windows 7
    Email Client: Outlook 2007
    Crystal Reports 2008 Dev Environment
    Use MAPI ExportDestinationType and invoke Export() returns Invalid export options
                     pRpt.ExportOptions.ExportDestinationOptions = MailOptions
                     pRpt.ExportOptions.ExportFormatOptions = CrystalDecisions.Shared.ExportOptions.CreatePdfFormatOptions()
                     pRpt.ExportOptions.ExportFormatType = CrystalDecisions.Shared.ExportFormatType.PortableDocFormat
                     pRpt.ExportOptions.ExportDestinationType = CrystalDecisions.Shared.ExportDestinationType.MicrosoftMail
                     pRpt.Export()
    Seems to be interface compatibility issue between Crystal Export API and Outlook 2007 MAPI API
    This thread explains more
    Windows 7 - Exporting to Mapi problem
    Edited by: Aumil Manzoor on Dec 16, 2009 1:24 AM

    Essentially you've posted the same issue twice. Once in this thread and once here;
    Windows 7 - Exporting to Mapi problem
    One post is good enough. Let's continue on the other thread and close this one.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Error in Export User

    Hi Folks,
    I am using Oracle 9.2.0.6. when i am trying to export a user following errors are occuring. Please advice.
    User to be exported: (RETURN to quit) >
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user CBACKCONNECT
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions for user CBACKCONNECT
    About to export CBACKCONNECT's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    EXP-00056: ORACLE error 19206 encountered
    ORA-19206: Invalid value for query or REF CURSOR parameter
    ORA-06512: at "SYS.DBMS_XMLGEN", line 83
    ORA-06512: at "SYS.DBMS_METADATA", line 345
    ORA-06512: at "SYS.DBMS_METADATA", line 410
    ORA-06512: at "SYS.DBMS_METADATA", line 449
    ORA-06512: at "SYS.DBMS_METADATA", line 1156
    ORA-06512: at "SYS.DBMS_METADATA", line 1141
    ORA-06512: at line 1
    EXP-00000: Export terminated unsuccessfully

    Re: Error 19206 during database export

Maybe you are looking for

  • How do I find a serial number if my iWork came pre-installed?

    I bought iWork preinstalled on my computer, through a discount service from my office. I tried using Pages for the first time and its asking me for a serial number. How do I get one? Why do I need one if this was supposed to have been installed at th

  • How do I create a 3D rotating picture?

    For example, like this: http://www.gsmarena.com/samsung_i9100_galaxy_s_ii-3d-spin-3621.php A 3D rotating picture wherein you can manually interact with it. I believe you have to take pictures of different angles of an object, then compile them in som

  • How to attach database in sql server 2005 restricted mode

    hi i have a database i want once i have attach database in sql server 2005, anyone cannot do detach, script and delete my database except myself. I mean i want to secure my database to avoid unauthorized persons access how it is possible in sql serve

  • How does one create age restricted articles inside DPS?

    Hello all, I need to know how to create an article that is age restricted. Are there any setting within InDesign etc. that can do this, or shall I use HTML in a web overlay? Thoughts or example etc., greatly received and much appreciated. Cheers, Bil

  • Pattern to gain abstraction over assembly with no abstraction

    I'm interacting with a large code base (in a single assembly) written by another department (let's call it BusinessAssembly). Precious few of the objects we need to use in that assembly use interfaces. As a result, LOTS of our projects need to refere