Finding source codes and page rankings

I have just got the new upgraded Firefox, and I would like to know how to find two things in this browser:
(1) the source codes for any site I visit, and
(2) the page rankings for any site I visit,
Or aren't these available on Firefox?
Roger

@pkgrace, what happens when you try to view source -- no window, blank window??
It's possible to change the source viewer in preferences, so if you have been running Firefox for a while, it might be worth checking that.
(1) Type or paste '''about:config''' in the address bar and press Enter (click the button promising to be careful, and please do be careful!)
(2) In the filter box, type or paste '''view_''' and pause until the preferences are filtered
(3) If '''view_source.editor.external''' appears bold (set to true), double-click it to reset it to false. You're done, you can close about:config now.
If that isn't it, perhaps it's related to an add-on?? Please start a new question and use the feature to include a list of add-ons and customized settings with your question.

Similar Messages

  • Ask again:  Where can I find source code for CPRM algorithm?

    Hi, everyone.
    Where can I find reference implementation or some sample codes for CPRM(content protection for recordable media) algorithm? Can anyone help?
    Information about CPRM can be find here,
    http://www.4centity.com/
    JAVA version is preferred and C/C++ implementation is also OK.
    Thanks in advance,
    Geo

    Thanks, edsonw buddy!
    I only found C2 cipher source code and some other documents dealing with CPRM algorithm. And what I want is total CPRM implementation reference source code (C2 is only a basic module of CPRM algorithm).
    So can you provide me some useful information dealing with how to get total CPRM implementation reference source code? Both JAVA and C/C++ will be OK.
    Have a wonderful weekend,
    George

  • Finding Source Codes where a Particular Message Is Used??

    Hi All,
    Is there a good way to find out the Programs, FM, BAPIs, etc where a particular message number is used?
    I am trying to find source codes where the mesage TD 463 is used. I am getting this error by RSNAST00 program. It is used somewhere either in an include or some FM or BAPI called within those includes included in RSNAST00.
    I have tried to search for it in RSNAST00 but couldn't find it.
    Any idea how I can find the places where this message is used globally or at least in RSNAST00 and it's sub sources.
    Any suggestions will be greatly appreciated.
    Thanks

    hi,
      Goto SE91, give ur message class <b>TD</b> and your message no <b>463</b>, click on Display button. Place the cursor on the message no 463 and click on Where used list (CTRLSHIFTF3). A popup opens and click ok.
      This gives the list of programs, transactions in which message no is used.
      In that list, check for your program RSNAST00. Click display button.
    Regards,
    Sailaja.

  • How to get source code and build files for Eudora 7, and price?

    Looking for source code and build/make files for Eudora 7 to port to Win7 and Ubuntu 14. Where is a source for this and what is the cost?

    You best ask qualcomm. It is their intellectual property.
    Eudora OSE was based on Thunderbird and the source code for the Penelope add-on is open source (that is what made Thunderbird over to OSE)

  • Item Finder Source Code

    I am looking to create a page with the same functionality as the 'Item Finder" with in the HTMLDB design tool. It is used on pages like region definitions or any where you need to search for existing items with in your application like on page branching where you can set the item and the value. Does any one have the source code for that page or an example of how to search all of the objects with in the application?

    <html lang="en-us" xmlns="http://www.w3.org/1999/xhtml" xmlns:htmldb="http://htmldb.oracle.com">
    <head>
    <script src="/i/javascript/htmldb_html_elements.js" type="text/javascript"></script>
    <script src="/i/javascript/htmldb_get.js" type="text/javascript"></script>
    <script language="JavaScript" type="text/javascript">
    <!--
    /*Global JS Variables*/
    var htmldb_Img_Dir = "/i/";
    //-->
    </script>
    <link rel="stylesheet" href="/i/css/core.css" type="text/css" />
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <link rel="stylesheet" href="/i/css/htmldb_V2.css" type="text/css" />
    <title>Item Finder</title>
    </head>
    <body style="margin:5px;">
    <form action="wwv_flow.accept" method="post" name="wwv_flow" id="wwvFlowForm" >
    <input type="hidden" name="p_flow_id" value="4000" id="pFlowId" />
    <input type="hidden" name="p_flow_step_id" value="273" id="pFlowStepId" />
    <input type="hidden" name="p_instance" value="17091739936304412237" id="pInstance" />
    <input type="hidden" name="p_page_submission_id" value="62324" id="pPageSubmissionId" />
    <input type="hidden" name="p_request" value="" id="pRequest" /><a name="PAGETOP"></a>
    <div id="htmldbMessageHolder"></div>
    <div><table summary="" ><tr>
    <td nowrap="nowrap" align="right"><label for="F4000_P273_SEARCH"><a class="htmldbGALabel" href="javascript:popupFieldHelp('17538524240255101','17091739936304412237','Close')" tabindex="999">Search</a></label></td>
    <td colspan="1" rowspan="1" align="left"><input type="hidden" name="p_arg_names" value="17538524240255101" />
    <INPUT TYPE="text" NAME="p_t01" SIZE="15" MAXLENGTH="2000" id="F4000_P273_SEARCH" ></td>
    <td nowrap="nowrap" align="right"><label for="F4000_P273_PAGE"><a class="htmldbGALabel" href="javascript:popupFieldHelp('17561408257292898','17091739936304412237','Close')" tabindex="999">Page</a></label></td>
    <td nowrap="nowrap" colspan="1" rowspan="1" align="left"><input type="hidden" name="p_arg_names" value="17561408257292898" />
    <noscript>
    JavaScript not supported
    </noscript>
    <script language="JavaScript1.1" type="text/javascript">
    <!-- Comment out script for old browsers
    function filter_escape(in_value) {
    out_value = in_value;
    out_value = out_value.replace( /%/g, '%25');
    out_value = out_value.replace( /\?/g, '%3F');
    out_value = out_value.replace( /&/g, '%26');
    out_value = out_value.replace( / /g, '%20');
    out_value = out_value.replace( /;/g, '%3B');
    out_value = out_value.replace( /\//g, '%2F');
    out_value = out_value.replace( /:/g, '%3A');
    out_value = out_value.replace( /@/g, '%40');
    out_value = out_value.replace( /=/g, '%3D');
    out_value = out_value.replace( /\+/g, '%2B');
    out_value = out_value.replace( /\$/g, '%24');
    out_value = out_value.replace( /,/g, '%2C');
    out_value = out_value.replace( /#/g, '%23');
    return out_value;
    function genList0_p_t02_2()
    w = open("wwv_flow_utilities.gen_popup_list" +
    "?p_filter=" +
    "&p_name=" + escape('p_t02') +
    "&p_element_index=" + escape('2') +
    "&p_form_index=" + escape('0') +
    "&p_max_elements=" + escape('') +
    "&p_escape_html=" + escape('') +
    "&p_ok_to_query=" + escape('YES') +
    "&p_flow_id=" + escape('4000') +
    "&p_page_id=" + escape('273') +
    "&p_session_id=" + escape('17091739936304412237') +
    "&p_eval_value=" + escape('') +
    "&p_translation=" + escape('N') +
    "&p_lov=" + filter_escape('select id||\' \'||name n, id from wwv_flow_steps where flow_id = :FB_FLOW_ID and security_group_id = :flow_security_group_id order by 2') +
    "&p_lov_checksum=361EF0E5FBE4F62F2941F94F08F82C22",
    "winLovList",
    "Scrollbars=1,resizable=1,width=400,height=500");
    if (w.opener == null)
    w.opener = self;
    w.focus();
    }//-->
    </script>
    <INPUT TYPE="text" NAME="p_t02" SIZE="8" MAXLENGTH="2000" VALUE="800" id="F4000_P273_PAGE" ><IMG SRC="/i/htmldb/icons/view_small.gif" width="18" height="18" alt="List" border="0" align="bottom"></td>
    <td nowrap="nowrap" align="right"><label for="F4000_P273_MAX_ROWS"><a class="htmldbGALabel" href="javascript:popupFieldHelp('17569726576299523','17091739936304412237','Close')" tabindex="999">Display</a></label></td>
    <td colspan="1" rowspan="1" align="left"><input type="hidden" name="p_arg_names" value="17569726576299523" />
    <select name="p_t03" size="1" id="F4000_P273_MAX_ROWS" >
    <option value="5">5</option>
    <option value="10">10</option>
    <option value="15">15</option>
    <option value="20">20</option>
    <option value="25">25</option>
    <option value="50">50</option>
    <option value="75">75</option>
    <option value="100">100</option>
    <option selected="selected" value="500">500</option>
    <option value="1000">1000</option>
    <option value="5000">5000</option>
    </select></td>
    <td nowrap="nowrap" align="left"></td>
    <td colspan="1" rowspan="1" align="left"><input type="button" onclick="javascript:doSubmit('GO');" value="Go" class="htmldbButton" /></td>
    </tr>
    </table>
    <span class="nodatafound"><span></div>
    <div style="text-align:middle;"></div>
    <input type="hidden" name="p_md5_checksum" value="" /></form>
    <script language="JavaScript1.1" type="text/javascript">
    first_field('F4000_P273_SEARCH');
    </script>
    </body>
    </html>

  • Cannot find source code for Employee Benefit application

    Hello,
    I am trying to find the Employee Benefit Sample Application which used to be provided by Oracle at http://otn.oracle.com/sample_code/products/ias/content.html. Unfortunately I couldn’t find the source code anywhere, neither by searching through oracle sites, nor through the internet.
    Could someone please help me get it, since I just started working on applications based on this model and it is really important for me to have a complete example that works.
    Thanks in advance,
    Stefanos

    Hello,
    This sample application used to work on older versions which is no longer supported. This is the reason, it has been removed.
    Thanks.

  • Best way to print source code and relationsh​ips

    I am the IT director for a medical technology company - we use Labview for our proprietary software.
    We have need to print all of our VIs, source code/block diagrams and the relationships between the modules. I know how to do this and the options which are available (for complete documentation, using as a sub vi, etc).
     I have found that printing to PDF is great for an electronic copy as everything can be zoomed in on and read; but I need paper printouts as well.  When printing from windows onto paper many of the diagrams are printed so small it is hard to read notations, etc.but my question is as follows:
    I am wondering how other people/companies have tackled this when there is a need to document everything within labview on paper?  Ideally we could end up with a book which has enlarged sections and could relate one page to another with metadata (sort of like those guide book maps - EG on the edges of the pages other pages are referenced for a continuation of the view). 
    I am open to other suggestions though. I guess I am wondering if there is a better way because the way I am considering doing this will be quite time consuming.

    When I was in the Air Force tech orders (manuals) typically had drawings that were too large to fit on a single page. The way they handled it was to have pages that folded out. Obviously you couldn't print these pages on a standard printer, but you could show diagrams without a lot of rescaling.
    Of course no printing scheme will work if the code is written badly (i.e. in adequate modularization, using sequence structures, wires running every which way, bad layout, etc.).
    Mike...
    Message Edited by mikeporter on 07-13-2007 08:07 PM
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • XCode wont find source code during debug

    My XCode project (an exernal target initially generated using GNU autotools, and imported into XCode) won't find the source code during debug.
    I'm sure this is a project setup issue, but i can't seem to figure out which setting i need to change.
    Any help is appreciated.
    Thanks

    Hi,
    make sure Debug symbols are generated! If you for example choose to debug while the project is set to "Release" mode (Project->Set Active Build Configuration), you will not get your code displayed and instead have to use the asm output of the debugger.
    If set to "Debug", XCode switches all necessary gcc... parameters for debugging.
    Volker

  • Why does debugger not find source code when compiler output has been directed to the root directory, but the source is in a sub-directory, using Forte for JAVA community edition V3.0

    I have configured Forte to put compiler output, i.e. my classes, in the root directory of the project. I now find that the debugger does not find the source code when it is in a sub-directory. However, if I temporarily copy a classes' source code to the root directory the debugger will display it.
    To direct compiler output to the root directory I selected Project >Settings>Compiler types, then External Compiler ( which is the default compiler in my case ) and set Target to be the root project directory. This is the only directory it will allow.

    This Forum is for Forte 4GL or UDS as its called today. I am not sure if anybody is going to be able to answer your question here. Sorry.
    ka

  • Utilities to compile package source code and move into different instances

    Is there a native oracle utility that will take a source code for a package, compile it and then move it to a specific instances?

    The source for the current package is: \\PrimarySiteServer<FQDN>\SMS_PHC\Client
    To me, it looks like it's saying that it can't find the package at all, therefore no hash ID to evaluate.
    I dug around and found the following query under Monitoring: System Status, Status Message Queries, All Status Messages for a Specific Package at a Specific Site.
    After narrowing it to Package ID: PHC00002, it looks like around the time that it disappeared from all OSD TS, it started reporting the following:
    "Distribution Manager failed to process package "Configuration Manager Client Package" (package ID = PHC00002)."
    It would then retry, succeed, fail, retry, succeed, fail, etc. It did this for 24 hours before stopping all together.
    Here is the last entry, about 3 weeks ago: "Distribution Manager successfully processed package "" (package ID = PHC00002)."
    Since then it only evaluates the package on each DP every weekend on Saturday and it shows that it successfully verified each time.
    ...so it looks like its still stored on the DP's, but not otherwise available in the console.

  • Where to find source code for PDK

    for example, source code for AbstractPortalComponent.

    Hi Han,
    To get the source code of the PDK, first download the pdk either from SDN or portal from java developer> PDK download>jar files  and save netweaverlib.zip.
    Unzip it and you will find more jar file.
    Now if you rename the .jar file to .zip and open you will find .class file. Use a decomplier to get the java classes. For abstract portal component rename and unzip prtapi.jar.
    PS: If helpful award points
    --Deepak

  • Could not find source code for Storefront application of CRS in ATG 10.0.1

    Hi All,
    I am trying to find the source code of Storefront application of CRS in ATG 10.0.1. This is needed to try all the multi-site features in the default website first before doing the same on our application. I want to create a similar setup like MotorpriseJSP application on ATG 10.0.1.
    Let me know if there are any options to get the source code for storefront app.
    Thanks,
    Kishore Kumar.

    Hi
    You can find the source code for the CRS applicaiton under
    ATG10.0.1\CommerceReferenceStore\Store\EStore\src
    Thanks
    GS

  • Source codes and jframes

    Hello ,
    I am trying to make it so that I can somehow place this source code,
    *Hi_LoGame.java*
    Peter Hadlaw
    *2009/10/12*
    *This is a simple guessing game that tells the user if they got the number right or if the are too low or too high, and then asks if they wish to continue. It then prints the results, and the best score.*
    import java.util.*;
    public class Hi_LoGame {
        public static void main(String[] args) {
           Scanner userInput = new Scanner (System.in);
           int userC, userG=0, bestGNum=0, currentGNum=0, gamesP = 0, gNum = 0, cpuNum;
           Random cpuRandNumGen = new Random();
           System.out.println("Welcome to the Hi - Lo game showdown!!!\nWould you like to play: (1)Yes or (2)No?");
           userC = userInput.nextInt();
           while(userC<=0||userC>=3){
                System.out.println("Please enter a valid choice of 1 or 2.");
                userC = userInput.nextInt();
           cpuNum = cpuRandNumGen.nextInt(100)+1;+
    +       while(userC==1){+
    +                 currentGNum++;
                     System.out.print("Please enter a number from 1-100 for you guess: ");
                     userG=userInput.nextInt();
                     while(userG<=0||userG>100){
                          System.out.println("Please enter a valid guess:");
                          userG = userInput.nextInt();
                     if(userG==cpuNum){
                          System.out.println("Congradulations you got it right!");
                          System.out.println("You got it right in "  +currentGNum+  " guesses.");
                          System.out.println("Do you want to play (1)again or do you want to (2)stop");
                          userC = userInput.nextInt();
                          while(userC<=0||userC>=3){
                               System.out.println("Please enter a valid choice of 1 or 2.");
                               userC = userInput.nextInt();
                          if(gamesP==0)
                               bestGNum = currentGNum;
                          if(gamesP>1&&currentGNum<bestGNum){
                               bestGNum = currentGNum;
                          else{//nothing
                          gamesP++;
                          cpuNum = cpuRandNumGen.nextInt(100)+1;+
    +                      if(userC==1){+
    +                           currentGNum=0;+
    +                      }+
    +                      else{+
    +                      }+
    +                 }+
    +                else if(userG>cpuNum){+
    +                     System.out.println("Sorry but you are to high!");+
    +                     System.out.println("Do you want to guess (1)again or do you want to (2)give up");+
    +                      userC = userInput.nextInt();+
    +                      while(userC<=0||userC>=3){+
    +                           System.out.println("Please enter a valid choice of 1 or 2.");+
    +                           userC = userInput.nextInt();+
    +                      }+
    +                      if(userC==2){+
    +                           gamesP++;
                               System.out.println("You gave up ,your guess count was: "  +currentGNum);+
    +                      }+
    +                      else{+
    +                      }+
    +                }+
    +                else{+
    +                     System.out.println("Sorry but you are too low!");+
    +                     System.out.println("Do you want to guess (1)again or do you want to (2)give up");+
    +                      userC = userInput.nextInt();+
    +                      while(userC<=0||userC>=3){+
    +                           System.out.println("Please enter a valid choice of 1 or 2.");+
    +                           userC = userInput.nextInt();+
    +                      }+
    +                      if(userC==2){+
    +                           gamesP++;
                               System.out.println("You gave up ,your guess count was: "  +currentGNum);+
    +                      }+
    +                      else{+
    +                      }+
    +                }+
    +       }+
    +       if(gamesP==0){+
    +            System.out.println("Thanks anyways, please come again.");+
    +       }+
    +       else{+
    +            System.out.println("Thanks for playing, you last score is: "+  currentGNum  +" but your best guess number was in "+  bestGNum + " guesses.");
    }into a jframe, I heard something about text panes or textareas maybe being able to print this, but i just want one simple jframe with the above, and the user can input stuff right then and their.
    Thank You

    What you currently have is a non-OOP class, one that is nothing but a big main method without methods, constructors, etc.
    If this is your code, it suggests that you still have a bit to learn before tackling Java GUI such as writing classes, methods, constructors, etc. I mean feel free to read up on how to create a Swing GUI here [http://java.sun.com/docs/books/tutorial/uiswing/index.html] and jump right in, but just be forewarned that if you're jumping too early, it'll be a frustrating swim. Much luck.

  • How to find bar codes and mails to send clients in smartforms

    HI friends,
        How to find bar codes in smartforms and also how to send mail to the client. I have developed one object in smartforms, but i don't know how to send maill to the client. Pls help me........................
    Thanks in Advance.
    Saradhi.

    Hi!
    Here is the code to send the Smartform to mail as PDF attachment.
    *& Report ZTEST_PDF_MAIL
    REPORT ZTEST_PDF_MAIL.
    Internal Table declarations
    DATA: I_OTF TYPE ITCOO OCCURS 0 WITH HEADER LINE,
    I_TLINE TYPE TABLE OF TLINE WITH HEADER LINE,
    I_RECEIVERS TYPE TABLE OF SOMLRECI1 WITH HEADER LINE,
    I_RECORD LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
    Objects to send mail.
    I_OBJPACK LIKE SOPCKLSTI1 OCCURS 0 WITH HEADER LINE,
    I_OBJTXT LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
    I_OBJBIN LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
    I_RECLIST LIKE SOMLRECI1 OCCURS 0 WITH HEADER LINE,
    Work Area declarations
    WA_OBJHEAD TYPE SOLI_TAB,
    W_CTRLOP TYPE SSFCTRLOP,
    W_COMPOP TYPE SSFCOMPOP,
    W_RETURN TYPE SSFCRESCL,
    WA_DOC_CHNG TYPE SODOCCHGI1,
    W_DATA TYPE SODOCCHGI1,
    WA_BUFFER TYPE STRING, "To convert from 132 to 255
    Variables declarations
    V_FORM_NAME TYPE RS38L_FNAM,
    V_LEN_IN LIKE SOOD-OBJLEN,
    V_LEN_OUT LIKE SOOD-OBJLEN,
    V_LEN_OUTN TYPE I,
    V_LINES_TXT TYPE I,
    V_LINES_BIN TYPE I.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    FORMNAME = 'ZTEST'
    IMPORTING
    FM_NAME = V_FORM_NAME
    EXCEPTIONS
    NO_FORM = 1
    NO_FUNCTION_MODULE = 2
    OTHERS = 3.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    W_CTRLOP-GETOTF = 'X'.
    W_CTRLOP-NO_DIALOG = 'X'.
    W_COMPOP-TDNOPREV = 'X'.
    CALL FUNCTION V_FORM_NAME
    EXPORTING
    CONTROL_PARAMETERS = W_CTRLOP
    OUTPUT_OPTIONS = W_COMPOP
    USER_SETTINGS = 'X'
    IMPORTING
    JOB_OUTPUT_INFO = W_RETURN
    EXCEPTIONS
    FORMATTING_ERROR = 1
    INTERNAL_ERROR = 2
    SEND_ERROR = 3
    USER_CANCELED = 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.
    I_OTF[] = W_RETURN-OTFDATA[].
    CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
    FORMAT = 'PDF'
    MAX_LINEWIDTH = 132
    IMPORTING
    BIN_FILESIZE = V_LEN_IN
    TABLES
    OTF = I_OTF
    LINES = I_TLINE
    EXCEPTIONS
    ERR_MAX_LINEWIDTH = 1
    ERR_FORMAT = 2
    ERR_CONV_NOT_POSSIBLE = 3
    OTHERS = 4.
    IF SY-SUBRC <> 0.
    ENDIF.
    LOOP AT I_TLINE.
    TRANSLATE I_TLINE USING '~'.
    CONCATENATE WA_BUFFER I_TLINE INTO WA_BUFFER.
    ENDLOOP.
    TRANSLATE WA_BUFFER USING '~'.
    DO.
    I_RECORD = WA_BUFFER.
    APPEND I_RECORD.
    SHIFT WA_BUFFER LEFT BY 255 PLACES.
    IF WA_BUFFER IS INITIAL.
    EXIT.
    ENDIF.
    ENDDO.
    Attachment
    REFRESH: I_RECLIST,
    I_OBJTXT,
    I_OBJBIN,
    I_OBJPACK.
    CLEAR WA_OBJHEAD.
    I_OBJBIN[] = I_RECORD[].
    Create Message Body Title and Description
    I_OBJTXT = 'test with pdf-Attachment!'.
    APPEND I_OBJTXT.
    DESCRIBE TABLE I_OBJTXT LINES V_LINES_TXT.
    READ TABLE I_OBJTXT INDEX V_LINES_TXT.
    WA_DOC_CHNG-OBJ_NAME = 'smartform'.
    WA_DOC_CHNG-EXPIRY_DAT = SY-DATUM + 10.
    WA_DOC_CHNG-OBJ_DESCR = 'smartform'.
    WA_DOC_CHNG-SENSITIVTY = 'F'.
    WA_DOC_CHNG-DOC_SIZE = V_LINES_TXT * 255.
    Main Text
    CLEAR I_OBJPACK-TRANSF_BIN.
    I_OBJPACK-HEAD_START = 1.
    I_OBJPACK-HEAD_NUM = 0.
    I_OBJPACK-BODY_START = 1.
    I_OBJPACK-BODY_NUM = V_LINES_TXT.
    I_OBJPACK-DOC_TYPE = 'RAW'.
    APPEND I_OBJPACK.
    Attachment (pdf-Attachment)
    I_OBJPACK-TRANSF_BIN = 'X'.
    I_OBJPACK-HEAD_START = 1.
    I_OBJPACK-HEAD_NUM = 0.
    I_OBJPACK-BODY_START = 1.
    DESCRIBE TABLE I_OBJBIN LINES V_LINES_BIN.
    READ TABLE I_OBJBIN INDEX V_LINES_BIN.
    I_OBJPACK-DOC_SIZE = V_LINES_BIN * 255 .
    I_OBJPACK-BODY_NUM = V_LINES_BIN.
    I_OBJPACK-DOC_TYPE = 'PDF'.
    I_OBJPACK-OBJ_NAME = 'smart'.
    I_OBJPACK-OBJ_DESCR = 'test'.
    APPEND I_OBJPACK.
    CLEAR I_RECLIST.
    I_RECLIST-RECEIVER = '[email protected]'.
    I_RECLIST-REC_TYPE = 'U'.
    APPEND I_RECLIST.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    DOCUMENT_DATA = WA_DOC_CHNG
    PUT_IN_OUTBOX = 'X'
    COMMIT_WORK = 'X'
    TABLES
    PACKING_LIST = I_OBJPACK
    OBJECT_HEADER = WA_OBJHEAD
    CONTENTS_BIN = I_OBJBIN
    CONTENTS_TXT = I_OBJTXT
    RECEIVERS = I_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.
    IF SY-SUBRC <> 0.
    WRITE:/ 'Error When Sending the File', SY-SUBRC.
    ELSE.
    WRITE:/ 'Mail sent'.
    ENDIF.
    If you want to send some text as Body of the Mail then follow this once
    when u r callin the FM'SO_NEW_DOCUMENT_ATT_SEND_API1'.. points to remember
    1.u have to pass the body of content in table CONTENTS_TXT(ia m using I_OBJBIN) (each line a record) then. suppose i have appended 11 records to the table CONTENTS_TXT .
    2.PACKING_LIST(iam usign I_OBJPACK) table u ahve to append a redord as follows
    I_OBJPACK-TRANSF_BIN = ' '.
    I_OBJPACK-HEAD_START = 000000000000001.
    I_OBJPACK-HEAD_NUM = 000000000000001.
    I_OBJPACK-BODY_START = 000000000000002
    I_OBJPACK-BODY_NUM = 000000000000010.
    I_OBJPACK-DOC_TYPE = 'RAW'.
    append I_OBJPACK-.
    by the above code system treat the first line in table I_OBJBIN as header and the 2nd line to 10 lines tread as body.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    DOCUMENT_DATA = WA_DOC_CHNG
    PUT_IN_OUTBOX = 'X'
    TABLES
    PACKING_LIST = I_OBJPACK
    OBJECT_HEADER = WA_OBJHEAD
    CONTENTS_BIN = I_OBJBIN
    CONTENTS_TXT = I_OBJTXT
    RECEIVERS = I_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.
    Regards
    Tamá

  • How to find company code and its org unit?

    Hi All,
    For a given company code, i need to find its org unit. Please let me know the info type table or any FM.
    Thanks,
    SKJ

    Hi Ravi,
    Yes, i just came to know about that. I clicked on account assignment features button in PPOS_OLD and specified pers area, pers sub area and company code and found that an entry was created in HRP1008 for the company code with org unit.
    Thank you very much.
    SKJ

Maybe you are looking for