Triggering a correspondent letter in SAPconnect

Hello,
I am trying to track down an issue in E-Recruiting 6.0 SP10 where performing a task which would trigger a correspondence letter, i.g. Applicant Acknowledgement Letter, etc., does not reach SAPconnect (scot).  The SMTP service works fine, yet the triggering event never seems to reach SAPconnect to get sent out.
Is there a trace tool that can help us locate where the problem may be?  Is there a transaction that we can look at to see if a configuration step may have been missed somewhere?
Appreciate the help!
Ryan
SAP HR Business Systems Analyst

Hello Ryan,
there is some logging / traces for sure, but the problem you describe appears very often with an easy reason.
Scenario:
- user e.g. recruiter or workflow sends an simpüle correspondence or invitation.
- activity is set to 'done'
- database is fine
- SLG1 is fine
- still no email in SOST / SCOT
Reason:
- user has no printer in his user profile, as smartform rendering for email is processed through the printer driver no printer -> no email
Can you check this, should be faster then digging through traces.
Best Regards
Roman Weise

Similar Messages

  • Internal error after editing a correspondent letter in E-Recruiting

    Hello,
    Running E-Recruiting 6.0 SP10
    As a recruiter whenever I try to prievew a correspondent letter I modified (note, I have no problems editing the letter) using the correspondent letter editor, I recieve an "Internal Error".  Additionally, the following SLG1 error is created:
    Form or text 472FCB84F86804EDE10000000A321A does not exist
    Prior to editing the letter I am able to preview it using the display link just fine.  E-Recruiting should allow me to edit a letter and preview it prior to sending it to a candidate, yet at present it does not.
    Any idea what this could be?
    Thanks, Ryan
    Edited by: Ryan Hubbell on Mar 17, 2008 11:04 PM
    Edited by: Ryan Hubbell on Mar 17, 2008 11:08 PM

    Hello Ryan,
    with release 600 SAP e-recruiting offers 2 different implementations for changing correspondences / invitations. The classical solution uses a web editor. Therefore the complete smartform is rendered and then put in a web editor. As this solution lead to some problems in the printing channel, sap developed another concept of changing. The new solution uses a text edit to change a text block you can assign to the smartform as changable area and only this can be changed ensuring the formating of the smartform is still fine.
    You have to decide which of these 2 options you want to use. You either use the old or the new solution for all correspondences and invitations.
    The solutions differ in the following configuration points:
    - old: T77S0 RECFA INDCO is blank
    - new: T77S0 RECFA INDCO is X
    - old: document category for simple correspondence 1, for invitation 2
    - new: document category for simple correspondence 3, for invitation 4
    (category for confirmation is always 5, there is no other option no matter which concept you use)
    - old: Assign changable letter sections to forms not available
    - new: Assign changable letter sections to forms not available
    - old: reference for SF interface simpl. corr. HRRCF_CS_APPLICANT, invitation HRRCF_CS_APPL_INVITATION
    - new: reference for SF interface simpl. corr. HRRCF_CS_IT_APPLICANT, invitation HRRCF_CS_IT_APPL_INVITATION
    (basically the smartform interfaces differ in the parameter THEAD which is needed for the new but not for the old correspondence change concept)
    Please check if your configuration is consistend for the concept you chose for your project. If not try adjust configuration and check if the error disappears.
    If the error is still existing please give another reply.
    Best Regards
    Roman Weise

  • Output type Requirement triggering

    Hi,
    In my project I have a requirement to stop triggering of an output type if all the items in the sales order have reason for rejection set.
    I have done the condition check in a output requirement routine and if the condition fails then I set SY-SUBRC = 4.
    Problem 1:
    But when I am creating the sales order, the komkbv1 structure does not have the sales order no. (it has other fields) and kompbv1structure is not filled. Then how do I check if all the items have Reason for rejection set or not.
    Problem 2:
    For an existing sales order, I trigger the output type in Header-->Output... , this code is getting executed and sy-subrc is set to 4. But still the output is triggered.
    Please let me know how do I proceed.
    Code:
    w_vbeln = komkbv1-vbeln.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
      EXPORTING
        INPUT         = w_vbeln
    IMPORTING
       OUTPUT        = w_vbeln .
    Atleast one item of the Sales Order does not have
    reason for rejection set.
    select single * from VBAP
    where vbeln = w_vbeln and
          ABGRU eq space.
    if sy-subrc ne 0.
       sy-subrc = 4.
       EXIT.
    endif.
    Thanks in advance,
    Vishnu Priya

    Hi,
    For the first problem,
      Check the standard structures available, but not sure.
    For the Second one,
      You routine include should be included in the standard include RV61BNNN
    for it to get triggered.
    Your routine will not get executed if your routine is not included in this standard include.
    Hope this helps.

  • Sorting emails by columns and moving to specific letter finds letter in different column

    I am running Mail (v 4.5) on a MacBook Pro 2.8 GHz Core 2 Duo with Snow Leopard 10.6.7.
    Issue: In Mail, if I sort the list of emails in the Inbox by Date it goes correctly from Most Recent to oldest. If I press a number to get to the month, the list goes to the first email it finds with that number at the beginning of the Subject line. It doesn't change the sort however. If I click on the From header to sort by that field and type a letter for the first letter of the Sender's name, I likewise go to the first corresponding letter in the Subject field. If I click on the Subject header to sort by that and then type a letter to find subjects beginning with that letter, it goes to the first corresponding letter in the From column. If I press the letter again, it goes to another selection.
    If one sorts by From and press the letter N, then one should move to a point in the list at the beginning of senders beginning with the letter N with the list ordered alphabetically by Sender.
    Is there no resolution planned from Apple to this issue.? I have found posts relating to it (see below) going back several years.
    I have searched for a solution to this issue but only find an archived discussion regarding this at the following url. It has only 6 posts with over 1500 views; but I don't see a resolution.
    https://discussions.apple.com/message/11879483#11879483

    Mail doesn't just search the column you have selected when you type. It searches everywhere. If you want to search for emails from Ned, then type 'ned.'
    If you want to restrict the search to From, To, or Subject, use the search field.
    I don't imagine Apple will change the way this works, but you can provide feedback on Mail in the Mail menu.

  • Controlling workflow triggering

    Hi
    I have a workflow for PO approval release process. It gets triggered whenever a new PO is created and whenever a PO is modified. But I want a control on the workflow, when there is a change in the existing PO. In otherwords if change in the total amount is less than 10% of the original PO total, then workflow need not be triggered, else workflow has to be triggered.
    Please let me know how to control this and where should I do this control.
    Thanks in advance.
    Thanks
    Bhaskar Baddela

    Hi Bhaskar,
    This is just as other custom FMs.
    say ZWF_CHECK_PO. Only special thing about htis FM is its Interface.
    It must have interface as mentioned below only:
    FUNCTION ZWF_CHECK_PO.
    ""Local interface:
    *"  IMPORTING
    *"     REFERENCE(OBJTYPE) LIKE  SWETYPECOU-OBJTYPE
    *"     REFERENCE(OBJKEY) LIKE  SWEINSTCOU-OBJKEY
    *"     REFERENCE(EVENT) LIKE  SWETYPECOU-EVENT
    *"     REFERENCE(RECTYPE) LIKE  SWETYPECOU-RECTYPE
    *"  TABLES
    *"      EVENT_CONTAINER STRUCTURE  SWCONT
    *"  EXCEPTIONS
    *"      NO_DATA_FOUND
    Inside this FM , you will get PO number as OBJKEY.
    As I mentioned earlier From CDHDR and CDPOS , using Object class as EINKBELEG and key as OBJKEY , find records for current and old value.
    If your criteria is not met , raise exception and your WF will not trigger!
    Hope it helps you to start off..
    Regards,
    Akshay Bhagwat
    Note : Some points would be nice if it helps:)

  • Where do you assign the Applicant Acknowledgement letter in E-Recruiting?

    Hi All,
    Where do you go to assign the applicant acknowledgement email correspondent letter in E-Recruiting?  I want to be able to choose which applicant acknowledgment letter I wish to send to an applicant when they apply to a job.
    Additionally, what if you had two applicant acknowledgement letters you wanted to choose between sending when an applicant applies?  i.e. one for applicants wanting to become employees and another for say interns where the working in the letter may be different.
    Thanks!
    Message was edited by:
            Ryan Hubbell

    Not clear with your query....
    why do u want mail merge when you can get letters thru smartforms of E-rec......
    And how does a hr query comes in picture.....why this approach is being followed..
    Regards,
    divya

  • Problem With the Triggers while migrating Forms from 5 to 6i

    When I open the version 5 fmb file in Forms 6i, some of the triggers in the form level triggers and also in data block, are having red arrow marked on them and they seem to have no code in them. So when i compile the form then those triggers are shown as errors and when I close those triggers, they are deleting.
    The error looks like this..
    Error 103 at line 2, column 1
    Encountered the symbol "END" when expecting one of the following:
    begin case declare end exception exit for goto if loop mod null pragma raise
    return select update while with <an identifier>
    <a double-quoted delimited-identifier> <a bind variable> <<
    close current delete fetch lock insert open rollback
    savepoint set sql commit <a single-quoted SQL string>
    And finally the form will compile with out any errors. But when I run the form getting error again saying,
    FRM 10221: Cannot read file

    Hi,
    the forms migration assistant tells you about v2 styles triggers (even if they are not migrated ; ) )
    take a look at :
    [url http://download.oracle.com/docs/cd/E15523_01/doc.1111/e10394/migtool.htm#i100490]Using the Oracle Forms Migration Assistant
    Raises a warning in the Form module's log if V2-style triggers are found.
    There is also a point you must look at.
    In a former project I made a migration from forms 4.5 to 10g and there was foms-level triggers applied at let say the block level or item level (I cant remember exactly) and this is not permitted anymore in 10g.
    Again the forms migration assistant Provides warnings about triggers defined at incorrect levels.
    Hope this helps
    Regards,
    Jean-Yves
    Edited by: JeanYves Bernier on Mar 10, 2011 9:10 PM

  • XML column letter as opposed to column number

    Hi,
    I upload an XML file to and xstring and used a series of IF_IXML* interfaces to capture it's contents.  Thru these, I'm able to get the column count.  But, I can't seem to find a way to get the corresponding letter of the columns, i.e., A B C, etc. Not the cell name as in A1, but just the column letter.
    Is there a way to get the column letter?  This way, the user may enter the letter in an input box on the screen. Using that letter, I'll know which column to get the data from instead of  having the user count the column number and enter it in the input box.
    Thanks,
    Huntr

    Any takers ?

  • How to link idoc with its corresponding documents and vice versa...

    Hello Experts,
    What are the tables, transactions, etc that can link a certain document(e.g. PO, GR, invoice) to its IDoc and
    vice versa.
    Thank you guys and take care!

    Hi,
    The Message Control parameters from the partner profiles must also match the corresponding
    fields in the output type. These parameters include:
    u2212 Application
    u2212 Partner
    u2212 Partner function
    u2212 Output type
    Tcode  - NACE  (Output Control)
    Tables - SRRELROLES  (Object Relationship Service: Roles)
    Message Control is a mechanism by which documents are output based on certain conditions.
    1) The application id, communication structure and o/p determination procedure are responsible for triggering IDocs corresponding to a particular application document. For this to happen message control settings have to be done.
    2) Message Control u2013 also referred to as output control or conditioning technique u2013 is a cross-application component used as a service program in several areas. The basic concept behind Message control is to generate and manage outputs from an application and control their timings and medium of exchange.
    3) Message control settings can be done via transaction NACE or via transaction NACO.
    4) Starting point in message control in the u201COutput Determination Procedureu201D (Procedure within NACE txn.). Depending upon the configuration setting in SPRO this procedure is determined.
    A procedure defines a set of possible outputs for an application. We can define several procedures for an application, but only one can be configured as
    active (i.e. for a particular transaction document within an application only one procedure will be determined based on configuration settings).
    Eg->
    a) For Delivery (txn. VL01NO) the document type setting in configuration (SPRO -> Logistics Execution -> Shipping -> Deliveries -> Define Delivery types) determines the procedure.
    So whenever we save a document of particular application (of particular application id) and of particular document type, the particular o/p determination procedure is triggered.
    b) For sales, SPRO -> Sales and Distribution -> Basic Functions -> Output Control -> Output Determination -> Output Determination Using the Condition Technique.
    5) In the transaction NACE we can see that corresponding to application id (say u2018V2u2019 (shipping)) various procedures are defined:
    6) Before making the entry of the output type corresponding to a particular procedure, we have to define it with its attributes.
    The output type defines the characteristics and attributes of the output itself. We can access the output types on transaction NACE by selecting an application and clicking the Output type button.
    7) Access sequence defines a sequence in which business rules are checked for proposing an output type. It has following attributes:
    - A set of business rules or conditions.
    - A sequence in which the rules or conditions are checked.
    - A requirement that checks for business rules using ABAP programs.
    - An exclusive or inclusive strategy.
    We can access the access sequences on transaction NACE by selecting an application and clicking the Access Sequences button.
    Business rule 1 is based on SOrg./Distrib.Ch/Division/Customer. Business rule 2 is based on Sales Organization/Customer Number. Each business rule is, effectively, a set of fields defined in a condition table.
    8) Condition table specifies the key fields for a business rule. Hence for Business rule 1 the key is Sales Org., Distribution Channel, Division and Customer.
    9) Condition records are inserted in the condition table. The transaction is evaluated with the key (of the condition table based on business rule) and if the transactional data matches with the condition record the output is proposed.
    Condition records are defined at last.
    10) Several programs and tables are part of Message Control. For EDI, the following tables and programs will frequently be dealt with:
    *NAST - This table has an entry for the processing program used for an output type.
    *TNAPR - This table has an entry for the processing program used for an output type.
    *RSNAST00 - This program is used to process entries in the NAST table.
    *RSNASTED - This processing program exists for each output medium. ALE_PROCESSING is the routine in the RSNASTED program to process ALE outputs.
    11) Final overview of the components used in Message control to propose outputs.
    12) After doing all the settings for message control, the partner profile setting for this ALE scenario needs to be accomplished. We need to add the following entry to the outbound parameters of the partner profile:
    13) One important question that arises at this juncture is, how is the partner profile determined from the output type is case of ALE?
    This is information is stored in table EDP12 (Partner Profile: Outbound with Message Control). Based on the Partner type of receiver (RCVPRT), output type (KSCHL) and Application for message conditions - without value table (KAPPL), the Partner number of receiver (RCVPRN), Outbound process code(EVCODA), Message type (MESTYP) and other related values are determined.
    Regards
    Pugazhenthi.P

  • Milestones with different statuses triggering at the same time

    Hi Experts,
    I have created a Project with 1 WBS Element and 1 Network.
    Under Network i have created 1 activity and within that activity there are 2 Milestones.
    1) First Milestone has status 'REL' and a Workflow assigned to it
    2) Second Milestone had a status 'CNF' and a diff Workflow assigned to it.
    i have used BO MLST_NETW as start conditions in both thw workflows.
    I want the 1st milestone to trigger when the Network is release and the second when an activity is confirmed.
    My problem is when i change the status to Release both the milestones/workflows are getting triggered.
    Please let me know where i am going wrong .
    Thank You,
    Radhika.

    Problem solved by using conditions .

  • Supply function in webdynpro for abap

    Hi ,
            I have tree structure as below.
    1.      Node A
                   1.a      Node B
                       1.a.i    Node C
            I have declared method 'Method_A' as supply function for Node A.similarly
            I have declared method 'Method_B' as supply function for Node B.similary
            I have declared method 'Method_C' as supply function for Node C.
            When I am executing in debugging mode both 'Method_A' and 'Method_B' is triggering for initial display of tree. Without expanding Node A ,we are already getting the Node B data and storing in corresponding nodes. This is becoming performance issue as I am hitting database in those 3 methods. My problem is without expanding why that 'Method_B' supply function is
    triggering. Please let me know if you have any idea.
    Thanks,
    Suma

    The supply function is always get triggered even if you do not expand the parent node in tree.
    Reason: It fills the value to the child node based on parent's value.
    To avoid this, you can set teh condition as follows:
    In node B supply function, method_B:
    check the instance of parent node A here, and if that is not initial, then only hit the database for filling node B.
    In node C supply function, method_C:
    Check the instance of parent node B here, and if that is not initial, then only hit the database for filling node C.
    This is the only possible solution one can think of.

  • LDB CMC with LDB_PROCESS FM ?

    Dear All,
    1. I'm calling the Function Module LDB_PROCESS in my Program.
    2. I'm passing CMC LDB to the above FM.
    3. I've built the Necessary params to pass onto the FM.
    4. But my Form is not getting triggered.
    Please let me know the reason !
    Enclosed is the code :
    Data: wa_mastb like mastb.
    SELECT-OPTIONS: s_matnr for wa_mastb-matnr.
    DATA: CALLBACK    TYPE TABLE OF LDBCB,
                CALLBACK_WA LIKE LINE  OF CALLBACK.
    DATA: gt_SELTAB  TYPE TABLE OF RSPARAMS,
                gwa_SELTAB LIKE LINE  OF gt_SELTAB.
    CLEAR CALLBACK_WA.
    CALLBACK_WA-LDBNODE     = 'MASTB'.
    CALLBACK_WA-GET         = 'X'.
    CALLBACK_WA-GET_LATE    = ' '.
    CALLBACK_WA-CB_PROG     = SY-REPID.
    CALLBACK_WA-CB_FORM     = 'CALL_MASTB'.
    APPEND CALLBACK_WA TO CALLBACK.
    gwa_SELTAB-KIND    = 'S'.
    gwa_SELTAB-SELNAME = 'MATNR'.
    Loop at s_matnr.
      MOVE-CORRESPONDING s_matnr to gwa_SELTAB.
      append gwa_SELTAB to gt_seltab.
    endloop.
    START-OF-SELECTION.
    CALL FUNCTION 'LDB_PROCESS'
      EXPORTING
        LDBNAME                           = 'CMC'
    *   VARIANT                           =
    *   EXPRESSIONS                       =
    *   FIELD_SELECTION                   =
    *   DYN_NODE_TYPES                    =
      TABLES
        CALLBACK                          = CALLBACK
        SELECTIONS                        = gt_SELTAB.
    IF SY-SUBRC <> 0.
    Write:/ 'Error in the Call of the LDB FM'.
    ENDIF.
    end-of-SELECTION.
    FORM CALL_MASTB USING PD_NODE LIKE LDBN-LDBNODE
                                                  PD_WORKAREA like mastb
                                                  PD_MODE     TYPE C
                                                  PD_SELECTED TYPE C.
    data: ls_mastb like mastb.
      CASE PD_NODE.
        WHEN 'MASTB'.
          LS_mastb = PD_WORKAREA.
          write:/ ls_mastb-matnr, ls_mastb-werks.
      ENDCASE.
    ENDFORM.
    Regards,
    Deepu.K

    Hi!
    for CMC LDB you must add parameter:
    PARAMETERS :
             datuv LIKE stko-datuv  DEFAULT sy-datum.
    and fill it
    CLEAR gwa_seltab.
    gwa_seltab-kind    = 'P'.
    gwa_seltab-selname = 'DATUV'.
    gwa_seltab-sign    = 'I'.
    gwa_seltab-option  = 'EQ'.
    gwa_seltab-low = datuv .
    APPEND gwa_seltab TO gt_seltab.

  • Purchase order sent as a mail

    CAn anyone please tell me the basic settings for the Purchase order output to be sent as the mail.

    Hi,
    Refer SAPNote 191470 - Purchase order as an e-mail
    Basically there are two mail types: Internet mail (external mail) and SAPOffice mail.
    Mail is sent via the output determination in both cases.
    If you use the external mail, the message for the purchasing document is converted into a corresponding text file which is sent to the vendor via the Internet.
    SAPOffice mail is sent only within the R/3 System and has mainly the function of providing information.
    In particular, it is not possible to attach a message (form) for a purchasing document to a SAPOffice mail.
    When using external mail , the following basic settings are required:
    1. You must maintain an e-mail address in the address in the vendor master.
    2. The same applies to your own user master. You also have to specify an e-mail address there in order to identify the sender.
    o Note that it is not possible to change the e-mail address of the vendor via the SAP purchase order transaction (ME21N, ME22N, and so on).
    o You can only make a permanent change using the vendor master transactions XK02 or MK02.
    o You can use a temporary email address in Transaction ME21N.
    3. For the output type for default values, a communication strategy needs to be maintained in the Customizing that supports the e-mail. You can find the definition of the communication strategy in the Customizing
    via the following path: (SPRO -> IMG -> SAP Web Application Server -> Basic Services -> Message Control -> Define Communication Strategy).
    As a default, communication strategy CS01 is delivered. This already contains the necessary entry for the external communication. Bear in mind that without a suitable communication strategy it is not possible to communicate with a partner via Medium 5 (external sending).
    4. Use the standard SAP environment (program 'SAPFM06P', FORM routine 'ENTRY_NEU' and form 'MEDRUCK') as the processing routines.
    5. In the condition records for the output type (for example, Transaction MN04), use medium '5' (External send).
    6. You can use Transaction SCOT to trigger the output manually. The prerequisite for a correct sending is that the node is set correctly. This is not described here, but it must have already been carried out.
    7. To be able to display, for example, the e-mail in Outlook, enter PDF as the format in the node.
    To use the SAPOffice mail, the following basic settings are required:
    1. For the output type for default values, a communication strategy needs to be maintained in the Customizing that supports the e-mail. You can branch to the maintenance of the communication strategy via the input
    help.
    2. Use the SAP standard environment (program "RSNASTSO" and FORM routine "SAPOFFICE_AUFRUF") as the processing routines.
    3. In the condition records for the output type (for example, Transaction MN04), use medium '7' (SAPOffice) and also partner role 'MP' (mail partner).
    Additional settings:
    Problem:
    How can you both change the mail title and text for the sending of a mail message and maintain a replacement parameter, for example a document number.
    Solution:
    1. The replacement routine is maintained in the Customizing for the output type in the detail screen on the 'General data' tab under 'Replacement of text symbols' (for Release < 4.6B, this can be found on the 'Mail' tab page).
    Program: SAPMM06E
    FORM routine: TEXT_SYMBOL_REPLACE
    2. If you work with the new Enjoy Transaction ME21N, ME22N or ME23N, Notes 370522 and 420066 are required.
    3. Maintain mail title and text.
    o If you want to send a purchase order within an R/3 system using the SAP office, you can maintain both the mail title ('Re:') and also a mail text in the Customizing for the output type To do this, select the directory mail title and text for the corresponding message type.
    o If you want to send a purchase order as (external) mail, for example, to a vendor, you have to maintain the mail title in the condition record for the output type (for example in Transaction MN05) on the 'Communication method' tab page. Enter the mail title in the 'Text for cover page' field. You cannot maintain an additional mail text.
    o Note that the values from the mail title are used to create the description for the attachment.
    4. The replacement parameters must be enclosed by &. Example: You want to enter the title 'PO number 450000001'. For this you have to enter the following in the Document Title field (Message Customizing -> sub-option: Mail title and texts) 'PO number &EKKO-EBELN&'
    o Note that the replacement via TEXT_SYMBOL_REPLACE can only be executed as of Release 4.6B.
    If you also want to use the purchase order number in a release < Release 4.6B, refer to Note 120474 - as an alternative, you have the option of implementing the text replacement functions by Consulting, priced separately
    Problem:
    You send a purchase order by e-mail and want to attach the document as a file type (for example, PDF).
    Solution:
    The file type is maintained in the corresponding node in SAPConnect (Transaction SCOT). If you have any further questions, contact your Basis administration.
    Attaching purchasing documents to e-mails is only possible for external (Internet) mails. This is not possible with SAPOffice mails.
    Problem:
    Although LET (print) for example is still set as the alternative to INT (e-mail) in the communication strategy, a program termination occurs because of a missing e-mail address.
    Solution:
    See Note 310234.
    Problem:
    When you send a mail message for a purchase order, a short dump occurs if the purchase order was created with reference to an outline agreement.
    Solution:
    See Note 502250

  • PO-PDF need to sent vendor

    Hello SAP MM Sappers,
    Please let me know I want sent a PO PDF to vendor mail id.What are all the prerequestie / configuration settings I need to maintain so that I can first try / simulate the same in Q system and then implement in P system.
    Requesting the forum members to give your valuable detailed input so that it help my simulation at earliest.
    Cheers,
    Kumar.S
    Edited by: Csaba Szommer on Aug 22, 2011 12:58 PM

    Hi Kumar,
    Refer the detail explanation of Oss Note as explained below.
    SAP Note Number 191470 - Purchase order as an e-mail
    Note Language: English Version: 27 Validity: Valid from 23.06.2006
    Summary
    Symptom
    As of Release 4.5, the required program logic is implemented that allows
    you to send purchasing documents by e-mail. It is not possible for you to
    'downgrade' to lower releases.
    This note is classified as 'release-independent' to also make this
    information available to customers that use releases < Release 4.5.
    If you use a release < Release 4.5, read Note 357137.
    More Terms
    ME21, ME21N, ME22, ME22N, ME31, ME31L, ME32L, ME31K, ME32K, output
    determination
    Cause and Prerequisites
    Solution
    Basically there are two mail types: Internet mail (external mail) and
    SAPOffice mail.
    Mail is sent via the output determination in both cases.
    If you use the external mail, the message for the purchasing document is
    converted into a corresponding text file which is sent to the vendor via
    the Internet.
    SAPOffice mail is sent only within the R/3 System and has mainly the
    function of providing information.
    In particular, it is not possible to attach a message (form) for a
    purchasing document to a SAPOffice mail.
    When using external mail, the following basic settings are required:
    1. You must maintain an e-mail address in the address in the vendor
    master.
    2. The same applies to your own user master. You also have to specify an
    e-mail address there in order to identify the sender.
    o Note that it is not possible to change the e-mail address of the
    vendor via the SAP purchase order transaction (ME21N, ME22N, and so
    on).
    o You can only make a permanent change using the vendor master
    transactions XK02 or MK02.
    o You can use a temporary email address in Transaction ME21N.
    3. For the output type for default values, a communication strategy needs
    to be maintained in the Customizing that supports the e-mail. You can
    find the definition of the communication strategy in the Customizing
    via the following path: (SPRO -> IMG -> SAP Web Application Server ->
    Basic Services -> Message Control -> Define Communication Strategy).
    As a default, communication strategy CS01 is delivered. This already
    06.04.2007 Page 2 of 4
    SAP Note Number 191470 - Purchase order as an e-mail
    contains the necessary entry for the external communication. Bear in
    mind that without a suitable communication strategy it is not possible
    to communicate with a partner via Medium 5 (external sending).
    4. Use the standard SAP environment (program 'SAPFM06P', FORM routine
    'ENTRY_NEU' and form 'MEDRUCK') as the processing routines.
    5. In the condition records for the output type (for example, Transaction
    MN04), use medium '5' (External send).
    6. You can use Transaction SCOT to trigger the output manually. The
    prerequisite for a correct sending is that the node is set correctly.
    This is not described here, but it must have already been carried out.
    7. To be able to display, for example, the e-mail in Outlook, enter PDF
    as the format in the node.
    To use the SAPOffice mail, the following basic settings are required:
    1. For the output type for default values, a communication strategy needs
    to be maintained in the Customizing that supports the e-mail. You can
    branch to the maintenance of the communication strategy via the input
    help.
    2. Use the SAP standard environment (program "RSNASTSO" and FORM routine
    "SAPOFFICE_AUFRUF") as the processing routines.
    3. In the condition records for the output type (for example, Transaction
    MN04), use medium '7' (SAPOffice) and also partner role 'MP' (mail
    partner).
    Additional settings:
    Problem:
    How can you both change the mail title and text for the sending of a mail
    message and maintain a replacement parameter, for example a document
    number.
    Solution:
    1. The replacement routine is maintained in the Customizing for the
    output type in the detail screen on the 'General data' tab under
    'Replacement of text symbols' (for Release < 4.6B, this can be found
    on the 'Mail' tab page).
    Program: SAPMM06E
    FORM routine: TEXT_SYMBOL_REPLACE
    2. If you work with the new Enjoy Transaction ME21N, ME22N or ME23N,
    Notes 370522 and 420066 are required.
    3. Maintain mail title and text.
    o If you want to send a purchase order within an R/3 system using the
    SAP office, you can maintain both the mail title ('Re:') and also a
    mail text in the Customizing for the output type To do this, select
    the directory mail title and text for the corresponding message
    type.
    o If you want to send a purchase order as (external) mail, for
    example, to a vendor, you have to maintain the mail title in the
    06.04.2007 Page 3 of 4
    SAP Note Number 191470 - Purchase order as an e-mail
    condition record for the output type (for example in Transaction
    MN05) on the 'Communication method' tab page. Enter the mail title
    in the 'Text for cover page' field. You cannot maintain an
    additional mail text.
    o Note that the values from the mail title are used to create the
    description for the attachment.
    4. The replacement parameters must be enclosed by &. Example: You want to
    enter the title 'PO number 450000001'. For this you have to enter the
    following in the Document Title field (Message Customizing ->
    sub-option: Mail title and texts) 'PO number &EKKO-EBELN&'
    o Note that the replacement via TEXT_SYMBOL_REPLACE can
    only be executed as of Release 4.6B. If you also want to use the
    purchase order number in a release < Release 4.6B, refer to Note
    120474 - as an alternative, you have the option of implementing the
    text replacement functions by Remote Consulting, priced separately.
    Problem:
    You send a purchase order by e-mail and want to attach the document as a
    file type (for example, PDF).
    Solution:
    Solution:
    The file type is maintained in the corresponding node in SAPConnect
    (Transaction SCOT). If you have any further questions, contact your Basis
    administration.
    Attaching purchasing documents to e-mails is only possible for external
    (Internet) mails. This is not possible with SAPOffice mails.
    Problem:
    Although LET (print) for example is still set as the alternative to INT
    (e-mail) in the communication strategy, a program termination occurs
    because of a missing e-mail address.
    Solution:
    See Note 310234.
    Problem:
    When you send a mail message for a purchase order, a short dump occurs if
    the purchase order was created with reference to an outline agreement.
    Solution:
    See Note 502250.
    Header Data
    Release Status: Released for Customer
    Released on: 27.06.2006 00:32:09
    06.04.2007 Page 4 of 4
    SAP Note Number 191470 - Purchase order as an e-mail
    Priority: Recommendations/additional info
    Category: Consulting
    Main Component MM-PUR-GF-OC Message determination and printing
    The SAP Note is release-independent
    Related Notes
    Number Short Text
    502250 Update terminate when emailing PO linked to Outline Agreem.
    457497 FAQ: Message processing in purchasing
    432236 Error TD421 for external sending
    420066 No title when sending PO messages externally
    357137 External e-mails from message control
    323720 Communication types in communication strategy
    309685 Error with external sending
    190669 Sending lists via SAPconnect
    171698 SAPconnect: Formats, conversion, device type
    152474 Testing fax and e-mail
    Attributes
    Attribute Value
    Transaction codes HIER
    Transaction codes ME21
    Transaction codes ME22
    Transaction codes ME31
    Transaction codes ME31K
    Transaction codes ME31L
    Transaction codes ME32K
    Transaction codes ME32L
    Transaction codes MN04
    Transaction codes MN05
    Transaction codes SCOT
    Hope this may help you.

  • Thesis on abap

    hi,,
    i am pursuing a course in advance software technologies and have to do a project for four months..
    i want to do a thesis , can you please suggest me some topics on which i can do thesis, considering that i only am familiar with ABAP..
    please oblige me..
    thankyou,
    regards,
    Abbas.
    How about:
    "Comparative system resources required for single row lookups on hashed internal tables vs vs binary searches for single rows in sorted internal tables"
    What's interesting here are the time/space issues required for the overhead of the hashed setup, and whether these negate the performance improvement of the hashed lookup (factoring in the time to sort the non-hashed table, of course.)
    regards
    djh
    However, can any help me how to go about doing this,, r there any documents available for doing this..
    ur tips and hints wouldly surely help me..
    pls reply,
    regards,
    abbas

    This information may help your thesis.
    The programming language like ABAP (Advanced Business Application Programming) is specially created for developing SAP applications. ABAP Objects is a new concept in R/3 System and you can find its two distinct meanings, one stands for the entire ABAP runtime environment and the other represents the new object-oriented generation of this language. 
    by Arindam Ghosh
    Introduction
    Object
    Classes
    Features of Object Orientation
    Uses of Object Orientation
    ABAP Objects
    About Classes
    Attributes
    Methods
    Events
    Features
    Conclusion
    Introduction
    The object orientation can be defined as a problem-solving method in which the software solution reflects objects in the real world. Therefore, a comprehensive introduction to object orientation would go far beyond the limits of this introduction to ABAP Objects as a whole.
    Object
    An object can be defined as a section of source code that contains data and provides services. The attributes of the object are formed by the data. The services are known as methods (also known as operations or functions). Typically, it is seen that the methods operate on private data (the attributes, or state of the object), which is only visible to the methods of the object. Thus, the attributes of an object cannot be changed directly by the user, but by the methods of the object only. This guarantees the internal consistency of the object.
    Classes
    The classes are very important, as they describe the objects. From a technical point of view, the objects are runtime instances of a class. One can create any number of objects based on a single class in theory. Each instance (object) of a class has a unique identity and its own set of values for its attributes.
    Features of Object Orientation
    Encapsulation
    According to this property, objects restrict the visibility of their resources (attributes and methods) to other users. Every object has an interface which plays a very important role. It determines how other objects can interact with it. It is found that the implementation of the object is encapsulated, which means that it is invisible outside the object itself.
    Polymorphism
    According to this property, identical (identically-named) methods behave differently in different classes. Object-oriented programming contains constructions, which are called interfaces. They enable you to address methods with the same name in different objects. The implementation of the method is specific to a particular class, though the form of address is always the same.
    Inheritance
    According to this property, one can use an existing class to derive a new class. The data and methods of the super class are inherited by the derived classes. However, they can overwrite existing methods and add new ones.
    Uses of Object Orientation
    The object-oriented programming is quite useful in many ways. It has various advantages, some of which are mentioned below.
    Since object-oriented structuring provides a closer representation of reality than other programming techniques, complex software systems become easier to understand.
    In object-oriented system, it should be possible to implement changes at class level, without having to make alterations at other points in the system. This reduces the overall amount of maintenance required.
    The object-oriented programming allows reusing individual components through polymorphism and inheritance. 
    In this system, the amount of work involved in revising and maintaining the system is reduced as many problems can be detected and corrected in the design phase.
    To achieve these goals, the followings are required:
    Object-oriented programming languages: The efficiency of object-oriented programming depends directly on how object-oriented language techniques are implemented in the system kernel.
    Object-oriented tools: Object-oriented tools allow you to create object-oriented programs in object Oriented languages. They also allow you to model and store development objects and the Relationships between them.
    Object-oriented modeling: The object-orientation modeling of a software system is the most important, most time-consuming, and most difficult requirement for attaining the above goals. These designs involve more than just object-oriented programming and logical advantages that are independent of the actual implementation are provided by it.
    ABAP Objects
    ABAP Objects is a new concept in R/3 System and you can find its two distinct meanings --- one is for the entire ABAP runtime environment and the other represents the new object-oriented generation of this language.
    The Runtime Environment
    ABAP Objects, for the entire ABAP runtime environment, are an indication of how SAP has, for sometime, been moving towards object orientation. Object-oriented techniques have been used exclusively in system design. The ABAP language did not support these techniques earlier.
    The ABAP Workbench will allow creating R/3 Repository objects in this regard. These objects are programs, authorization objects, lock objects, customizing objects, and so on and so forth. By using function modules, one can also encapsulate functions in separate programs with a defined lnterface. The Business Object Repository (BOR) allows you to create SAP Business Objects for internal and external use.
    The Object-Oriented Language Extension
    ABAP Objects support object-oriented programming. The ABAP Objects is a complete set of object-oriented statements, which has been introduced into the ABAP language. This object-oriented extension of ABAP builds on the existing language and is fully compatible with it.
    The Object Orientation (OO), also known as the object-oriented paradigm, is a programming model that unites data and functions in objects. You can not only use ABAP Objects in existing programs, but also work with and use a conventional ABAP in new ABAP Objects programs. The rest of the ABAP language is primarily intended for structured programming, where data is stored in a structured form in database tables and function-oriented programs access and work with it.
    Moreover, we should know that the object-oriented enhancement of ABAP is based on the models of Java and C++. It is compatible with external object interfaces such as DCOM and CORBA. The implementation of object-oriented elements in the kernel of the ABAP language has considerably increased response times when you work with ABAP Objects. Some other objects, such as SAP Business Objects and GUI objects, which are already object-oriented by themselves, are also benefiting from being incorporated into ABAP Objects.
    About Classes
    The classes are templates for objects. An abstract description of an object is the class. You could say it is a set of instructions for building an object. The attributes of objects are defined by the components of the class, which describe the state and behavior of objects.
    Local and Global Classes
    In ABAP Objects, classes can be declared either globally or locally. You define global classes and interfaces in the Class Builder (Transaction SE24.} in the ABAP Workbench. In the R/3 Repository, they are stored centrally in class pools in the class library. In an R/3 System, all of the ABAP programs can access the global classes. The local classes are defined within an ABAP program. Local classes and interfaces can only be used in the program in which they are defined. When you use a class in an ABAP program, the system first searches for a local class with the specified name. If it does not find one, then it looks for a global class. Apart from the visibility question, there is no difference between using a global class and using a local class.
    However, there is a significant difference in the way that local and global classes are designed. If you are defining a local class that is only used in a single program, then to define the outwardly visible components so that it fits into that program is usually sufficient. On the other hand, global classes must be able to be used anywhere. Since the system must be able to guarantee any program using an object of a global class, it can recognize the data type of each interface parameter and then certain restrictions are applied at the time of defining the interface of a global class.
    Defining Local Classes
    Local classes consist of ABAP source code, where the ABAP statements CLASS...ENDCLASS are enclosed. A complete class definition consists of the following parts, a declaration part and, if required, an implementation part. It is found that the declaration part of a class  IMPLEMENTATION
    ¦
    ENDCLASSThe implementation part of a class actually contains the implementation of all methods of the class because it is observed that the implementation part of a local class is a processing block. Therefore, subsequent coding itself is not a part of a processing block and is not accessible.
    Class Structure
    A class contains components where each component is assigned to a visibility section. Moreover, the classes implement methods. Let us define these components one by one.
    Components
    This is the first component and is declared in the declaration part of the class. The components define the attributes of the objects in a class. When you define a class, each component is assigned to one of the three visibility sections. This defines the external interface of the class and all of the components of a class are visible within the class. All components are in the same namespace. This means that all components of the class must have names that are unique within the class. There are two kinds of components in a class:
    One that exists separately for each object in the class.
    The other consists of those that exist only once for the whole class, regardless of the number of instances.
    Attributes
    It is the instance-specific components, which are known as instance components. The static components are those components that are not instance-specific. The classes can define the following components in ABAP Objects.
    The attributes are internal data fields that can have any ABAP data type within a class. The state of an object is determined by the contents of its attributes. One kind of attribute is the reference variable. The reference variables are also very important as they allow you to create and address objects. Reference variables can be defined in classes, which allow you to access objects from within a class.
    Instance Attributes
    The instance-specific state of an object is defined by the contents of instance attributes. They can be declared by using the DATA statement.
    Static Attributes
    The contents of static attributes define the state of the class that is valid for all instances of the class. The static attributes exist once for each class. It is declared using the CLASSDATA statement. They are accessible for the entire runtime of the class. All of the objects in a class can access its static attributes. If you change a static attribute in an object, then the change is visible in all other objects of the class.
    Methods
    The methods are internal procedures that define the behavior of an object in a class. They can access all the attributes of a class. This allows them to change the data content of an object. They also have a "parameter interface," whose role is to help the users by supplying them with values when calling them and receiving values back from them. The private attributes of a class can only be changed by methods in the same class. The definition and parameter interface of a method is similar to that of function modules. Using the following processing block, you define a method
    ENDMETHODIn the same way as in other ABAP procedures (subroutines and function modules), you can declare local data types and objects in methods. You call the following methods by using the CALL METHOD statement.
    Instance Method
    You can declare instance methods by using the METHODS statement. They play a very important role as they can access all of the attributes of a class and can trigger all of the events of the class.
    Static Methods
    You can declare static methods by using the CLASS-METHODS statement. They are important and can only access static attributes and trigger static events.
    Special Methods
    Apart from normal methods, there are two special methods which you call using CALL METHOD. These are called CONSTRUCTOR and CLASS _CONSTRUCTOR. They are automatically called when you create an object (Constructor) or when you first access the components of a class (CLASS _CONSTRUCTOR).
    Events
    Objects or classes can use events to trigger event handler methods in other objects or classes. One method can be called by any number of users in a normal method call. When an event is triggered, any number of event handler methods can be called. Until runtime, the link between the trigger and the handler is not established. The calling program determines the methods that it wants to call in a normal Method call and it must exist. With events, the handler determines the events to which it wants to react. It is not necessary that for every event there has to be a handler method registered.
    With the help of RAISE EVENT statement, the events of a class can be triggered in the methods of the same class. You can declare a method of the same or a different class as an event handler method for the event . Events have a similar parameter interface to methods, but only have output parameters. These parameters are passed by the trigger (RAISE EVENT statement) to the event handler method, which receives them as input parameters.
    Using the SET HANDLER statement, the link between trigger and handler is established dynamically in a program. The trigger and handlers can be objects or classes, depending on whether you have instance or static events and event handler methods. When an event is triggered, the corresponding event handler methods are executed in all registered handling classes.
    Features
    Encapsulation
    The three visibility areas (public section, protected section, private section) are the basis for one of the important features of object orientation, Encapsulation. You should take great care in designing the public components and try to declare as few public components as possible when you define a class. Once you have released the class, the public components of global classes may not be changed.
    Public attributes are visible externally and form a part of the interface between an object and its users. If you want to encapsulate the state of an object fully, then you cannot declare any public attributes. Apart from defining the visibility of an attribute, you can also protect it from changes using the READ-ONLY addition.
    Inheritance
    Inheritance allows you to derive a new class from an existing class. It is done by using the INHERITING FROM addition in the statement:
    CLASS . The new class is called the subclass of the class from which it is derived. The original class is called the superclass of the new class. It contains the same components as the superclass if you do not add any new declarations to the subclass. However, in the subclass only the public and protected components of the superclass are visible. The private components of the superclass are not visible though they exist in the subclass. You can declare private components in a subclass that have the same names as private components of the superclass. It is seen that each class works with its own private components. The another point that we note is that methods which a subclass inherits from a superclass use the private attributes of the superclass and not any private components of the subclass with the same names.
    The subclass is an exact replica of the superclass if the superclass does not have any private visibility section. However, you can add a new component to the subclass because it allows you to turn the subclass into a specialized version of the superclass. If a subclass is itself the superclass of further classes, then you can introduce a new level of specialization.
    Polymorphism
    Reference variables are defined with reference to a superclass or an interface defined with reference to it can also contain references to any of its subclasses. A reference variable defined with reference to a superclass or an interface implemented by a superclass can contain references to instances of any of its subclasses, since subclasses contain all of the components of all of their superclasses and also convey that the interfaces of methods cannot be changed. In particular, you can define the target variable with reference to the generic class OBJECT.
    Using the CREATE OBJECT statement, when you create an object and a reference variable typed with reference to a subclass then you can use the TY PE addition to which the reference in the reference variable will point.
    A reference variable can be used by a static user to address the components visible to it in the superclass to which the reference variable refers. However, any specialization implemented in the subclass cannot be addressed by it.
    Depending on the position in the inheritance tree at which the referenced object occurs, you can use a single reference variable to call different implementations of the method. This is possible only if you redefine an instance method in one or more subclasses. This concept is called polymorphism, in which different classes can have the same interface and, therefore, be addressed using reference variables with a single type.
    Conclusion
    I have explained object orientation which is such an important aspect in SAP. The discussion began with the features of Object Orientation and includes the runtime environment, the language extension, the classes and the class components. Apart from that I have also discussed for new first time readers event handling, inheritance encapsulation and polymorphism.

Maybe you are looking for