Customer Master - Internet Email Address

Can anyone advise the following?
I am trying to send output for 'BA00' Order Confirmation via email based on the Sold-to party in IDES.   But i couldn't find the email address field in the customer master, general view.  Is there some settings somewhere missed?
Currently in SCOT, i can only see transmiemail addressing to a IDES email account.
Thanks
Peter

Hi
Scroll down you can find
In customer master, general data in that communication area where u can find Email address
regards
sar
Edited by: datla Sarves on Jun 13, 2008 9:25 AM
Edited by: datla Sarves on Jun 13, 2008 9:27 AM

Similar Messages

  • F.27(Statement should be emailed if customer master contains email address)

    Hi All,
    I am working for the tcode f.27. A standard form F140_ACC_STAT_01 is assigned to tcode. Here my requirement is i need to do some changes in the form and output should be in pdf format and statement should be emailed if customer master contains email address.
    Can any body please help me how to send the email if the customer master contains email address.
    Please reply.
    Thanks,
    Nagendra

    Hi Nagendra
    change the customer email address on home and bussiness email field first and then make following changes to function module 'Z_CORR_PROCESS_00002310' or whatever name you  have got , this is working for us, let me know if y ou have any problem, You might have to tweak a code a bit , here we are decide whether to send customer statements to two email or not based on customer group selection
    data: w_output_type(10).  "Output type
       data: w_kunnr like i_kna1-kunnr.
       data: w_ktokd like i_kna1-ktokd.
       data: l_addressdtls type zaddressdtls.
       data: l_atype(1).  " Address type
    DATA: w_mailtxt TYPE finaa-namep VALUE 'ZCITY_STATEMENT_MAIL_BODY'.
    * Variables are imported - set in ZFKORD10_STUD
    * Import variable w_output_type from memory
       clear: w_output_type.
       IMPORT w_output_type FROM MEMORY ID 'ZOUTPUT_TYPE'.
       move 'B' to  l_atype.      "Business e-mail
       if w_output_type = 'EMAIL'. "Email option chosen
         c_finaa-nacha = 'I'.
         c_finaa-tdfaxuser = sy-uname.
          c_finaa-namep = w_mailtxt.
    * Get the Relevant e-mail address
         move I_KNA1-KUNNR to w_kunnr.
         clear: l_addressdtls, c_finaa-intad.
         call function 'Z_GET_CUSTOMER_ADDRESS'
              EXPORTING
                   kunnr                   = w_kunnr
                   atype                   = l_atype  "B Business H Home
              IMPORTING
                   addressdtls             = l_addressdtls
              EXCEPTIONS
                   invalid_customer_number = 1
                   no_customer_partner     = 2
                   invalid_address_type    = 3
                   others                  = 4.
         if sy-subrc eq 0.
           if l_atype = 'H'.  "Home e-mail address
             c_finaa-namep = w_mailtxt.
             c_finaa-intad = l_addressdtls-home_email.
           else.
             c_finaa-namep = w_mailtxt.
             c_finaa-intad = l_addressdtls-business_email.
           endif.
         endif.
         concatenate i_kna1-kunnr
                     'Account statement from City University'
                      into c_itcpo-tdtitle separated by space.
         c_itcpo-tdfaxuser = sy-uname.
         if ( c_finaa-intad is initial            " No email address
              and c_itcpo-tdpreview is initial ). " and not print preview
           c_finaa-nacha = '1'.        "Print output type
           c_itcpo-tdgetotf = 'X'.     "Do not print
           c_itcpo-tdpreview = space.  "No print preview
           c_itcpo-tdnoprev = 'X'.     "No print preview
         endif.
       endif.
    if w_ktokd = 'stud'.
        move 'H' to  l_atype.      "Business e-mail
       if w_output_type = 'EMAIL'. "Email option chosen
         c_finaa-nacha = 'I'.
         c_finaa-tdfaxuser = sy-uname.
         c_finaa-namep = w_mailtxt.
      "Get the Relevant e-mail address
         move I_KNA1-KUNNR to w_kunnr.
         clear: l_addressdtls, c_finaa-intad.
         call function 'Z_GET_CUSTOMER_ADDRESS'
              EXPORTING
                   kunnr                   = w_kunnr
                   atype                   = l_atype  "B Business H Home
              IMPORTING
                   addressdtls             = l_addressdtls
              EXCEPTIONS
                   invalid_customer_number = 1
                   no_customer_partner     = 2
                   invalid_address_type    = 3
                   others                  = 4.
         if sy-subrc eq 0.
           if l_atype = 'H'.  "Home e-mail address
             c_finaa-namep = w_mailtxt.
             c_finaa-intad = l_addressdtls-home_email.
           else.
             c_finaa-namep = w_mailtxt.
             c_finaa-intad = l_addressdtls-business_email.
           endif.
         endif.
         concatenate i_kna1-kunnr
                     'Account statement from City University'
                      into c_itcpo-tdtitle separated by space.
         c_itcpo-tdfaxuser = sy-uname.
         if ( c_finaa-intad is initial            " No email address
              and c_itcpo-tdpreview is initial ). " and not print preview
           c_finaa-nacha = '1'.        "Print output type
           c_itcpo-tdgetotf = 'X'.     "Do not print
           c_itcpo-tdpreview = space.  "No print preview
           c_itcpo-tdnoprev = 'X'.     "No print preview
         endif.
    endif.
    endif.

  • Is it possible to create a customer master with different address

    Hi Gurus,
    Is it possible to create a customer master with different address as we maintain in SAP CRM.
    Kindly help me onthis issue \
    Regards
    Kannan

    Hi Kannan,
    There are no multiple addresses but you can use multiple unloading ponts for the same address for the ship to Party.
    So when you create a Sales order the system will give a pop up with the unloading points allowing you to select the desired one.
    I hope I understand your query correctly.
    Regards
    Yogesh

  • ERROR: Your web form must capture customer name and email address.

    Hi,
    I keep receiving this error message when trying to checkout and submit a payment.
    ERROR: An error occurred. Your web form must capture customer name and email address. Please fix this issue and re-insert your web form on your web page.
    The strange thing is it's only happening in chrome. It works perfectly in IE and firefox, the form submits and takes me to the order confirmation page. I've tested it on multiple PCs so it's definitely a chrome issue. Does anyone have any advice as to what could be causing this issue with chrome?
    Thanks,
    Pete

    Check your eCommerce web form in the admin has the ID - 211729
    This is what the form ID is, if you have deleted it and made a new one it will not Marry up
    The things you normally look for with this error is The first name and last name along with email fields have the right ID and name parameters on the input. The javascript is picking those up so it looks like that is working.
    So next is the form in the admin marrying up with the form on the page or in this case the Registration Buy layout.

  • How do i fix the "web form must capture customer name and email address" error?

    Hi all,
    I have a webform that is submitting securely to the bc servers. I get the response:
    {"SystemMessage": { "success": False, "message": "ERROR: An error occurred. Your web form must capture customer name and email address. Please fix this issue and re-insert your web form on your web page." }}
    I have verified that the "FirstName","LastName","EmailAddress" are actually gettting sent with their corresponding values. I can't seem to figure out why i keep getting this error. Can someone please lend a helping hand?!? Thanks guys... here's my code:
    var rAction = 'https://site.worldsecuresystems.com/FormProcessv2.aspx?WebFormID=85886&OID={module_oid}&OTYPE={module_otype}&EID={module_eid}&CID={module_cid}&CC={module_urlcountryc ode}&Referrer={module_siteurl,true,true}&JSON=1';
    var rData = 'FirstName='+escape(fName.val())+'&LastName='+escape(lName.val())+'&EmailAddress='+escape (email.val())+'&Username='+escape(username.val())+'&Password='+escape(passwd.val())+'&Pass wordConfirm='+escape(passwd2.val())+'&BillingAddress='+escape(baddress.val())+'&BillingCit y='+escape(bcity.val())+'&BillingState='+escape(bstate.val())+'&BillingZip='+escape(bzip.v al())+'&PaymentMethodType='+escape(paymentMethodType)+'&CardName='+escape(cName.val())+'&C ardNumber='+escape(cNum.val())+'&CardExpiryMonth='+escape(expMonth)+'&CardExpiryYear='+esc ape(expYear)+'&CardType='+escape(cType)+'&CardCCV='+escape(ccv.val())
    $.ajax({
    type: 'POST',
    url: rAction,
    data: rData,
    success: function(msg){
    console.log('success');
    $('#result').html(msg);
    error: function(msg){
    console.log('error');
    $('#result').html(msg);

    Ok -- after testing this out a little on my own I think it must have to do with not properly serialzing the data you are passing in the ajax function.  In the example I linked to earlier they are just serialzing the form data and it works because it converts the data in the form's input fields to URL encoded notation.
    If you aren't using an actual form on your site to mimick the example I linked to then when building your "rData" string instead of using the "escape" function for each of the parameter values, you should be using the "encodeURIComponent" function instead which instead of escaping characters will convert it to URL encoded notation.  That's probably your issue. Here's more about encodeURIComponent(): http://www.w3schools.com/jsref/jsref_encodeURIComponent.asp
    Try this with the rData variable instead:
    var rData = 'FirstName='+encodeURIComponent(fName.val())+'&LastName='+encodeURIComponent(lName.val()) +'&EmailAddress='+encodeURIComponent(email.val())+'&Username='+encodeURIComponent(username .val())+'&Password='+encodeURIComponent(passwd.val())+'&PasswordConfirm='+encodeURICompone nt(passwd2.val())+'&BillingAddress='+encodeURIComponent(baddress.val())+'&BillingCity='+en codeURIComponent(bcity.val())+'&BillingState='+encodeURIComponent(bstate.val())+'&BillingZ ip='+encodeURIComponent(bzip.val())+'&PaymentMethodType='+encodeURIComponent(paymentMethod Type)+'&CardName='+encodeURIComponent(cName.val())+'&CardNumber='+encodeURIComponent(cNum. val())+'&CardExpiryMonth='+encodeURIComponent(expMonth)+'&CardExpiryYear='+encodeURICompon ent(expYear)+'&CardType='+encodeURIComponent(cType)+'&CardCCV='+encodeURIComponent(ccv.val ())

  • Configuring Internet Email Address in SCM

    Dear friends ,
    Would appreciate your support in giving me the process for configuring the mail in scm . I prepared a macro in the SNP Planning Book to get the planning results sent on email but I guess the mail configuration has to be set so that the address can be located post macro run .
    Thanks
    Prashant Kumar

    Hi Prashanth,
    Config interent email address.
    In order to send PO by email, your Basis team must configure the system first so that external email can be send out from SAP.  If it is not configured, no settings you do on MM will work.
    1. You must maintain email address in vendor master data.
    2. The same applies to your user master data.  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).
    3. Use the standard SAP environment (program 'SAPFM06P', FORM routine 'ENTRY_NEU' and form 'MEDRUCK') as the processing routines.
    4. In the condition records for the output type (for example, Transaction MN04), use medium '5' (External send).
    5. 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.
    6. To be able to display, for example, the e-mail in Outlook, enter PDF as the format in the node.
    Cheers

  • Vendor Master IDOC - Email address

    HI,
    Requirement is to include email id in outbound vendor master IDOC CREMAS, IDOC only have address number :-(
    Any pointers how it can be achieved? preferably without coding
    Also how can I include email address in the change pointers as well (BD52)?
    Regards,
    Manoj Aggarwal

    Hi Manoj,
    Please go through SAP note 384462 - Master data and addresses
    Regards,
    Tomek

  • Another Verizon customer used my email address

    Starting Feb 19th I began getting email for another account. I followed the link on the bottom of the page to tell Verizon this wasn't the correct email. Since then I have received 6 more emails including data usage alerts and important information.
    Today I called verizon and navigated their frustrating automated phone system. Finally got through, explained the situation, and got promptly dropped while being transferred to tech support. Second try I got through repeated the drill and was successfully transferred to tech support.
    Now here is the "fun" part":
    She verified that it was my email address I have been using on my account for years.
    She seemed at a loss in what to do.
    I helped her out by giving her the phone number of the other account holder "from one of the emails". She didn't even seem to have access to that through the email data base.
    She verified that they are a new account and have the same email address.
    She said there was nothing they could do until they contacted the other account.
    She put me on hold and tried to call them.
    No answer.
    She said they could not remove their use of my email address until she was able to contact them.
    Here is the "not so fun" part:
    I asked her how someone could open a new account with an email address already in use. She said it may have been entered manually by a verizon rep.
    I asked her, if she knew it has been mine for years then why can't they eliminate it on their account right now. She said they have to contact the other account holder first.
    I said if you are concerned about not being able to contact them through email if you eliminate it---you can't even do that now because it comes to me!
    I suggested that she text the other customer if she needed to contact them if they aren't answering their phone.
    I told her I am now concerned about their account security - now that their email comes to me I have all the info I need to reset their password and hack their account. She said there is nothing she can do until she contacts the other customer.
    I said this is frustrating, I am wasting my time trying to fix their error and I will just send all verizon email to my spam folder and when my contract is up in April I will no longer be a verizon customer. She explained how she understood my frustration, but there is nothing they can do until they contact the other customer.
    Question....Why in the hell do they need to contact the other customer to get permission to remove MY email address from their account? What if they say no? It is verified that this is my email address on my account for years and my area code is Oregon...theirs is Missouri.

    They should not have been able to use my email in the first place. So if they deny verizon permission does that mean I continue to get their email from verizon? The problem is obvious, just fix it verizon.
    BTW: One of the emails was a "Data Usage Alert" which said, "Your account has used approximately 50% of your data allowance for this month. Your monthly data allowance will reset on the 22nd."
    So he has had the account for 3 days and has already used up 50% of his data plan. The longer Verizon waits to correct this the more money they will make with data overage charges.
    Also I am not intentionally looking at his private email. It is all addressed [email protected], I have no way to know if it is for me or him until I open it. Maybe I will just do him a favor and reset his password, go into his account, and change his data plan to save him some money...J/K

  • Customer master workflow - email

    Hi WF Consultants,
    I am New to WF, I did Practice on Examples which  is available on net.
    Now i am going to do my Objects....
    I have requirement like ..
    1)  USER's are informed by de way of e-mail (MS-OUTLOOK) to other users  whenever customer/vendor masters are created.
    Please help me  there are any standard T-code is there  OR what are the <b>steps</b> i have to follow in this Object...
    Points will be rewarded.
    Thanks in advance...
    Naresh Kumar

    Hi Naresh,
    Check  this info.
    Developing a simple application using steps "User Decision" and "Mail"
    Basic terminology used in the workflow:
    The workflow definition is the set of rules that determine the path that the process takes. For example, how a purchase requisition is processed, from the initial request to the creation of the purchase order
    A Workflow Instance, which is often simply referred to as the workflow, is a single workflow run. For example, the processing of a single purchase requisition for computers.
    The Tasks are the steps in the process, which have to be performed either by people or automatically by the software. For example, to check for the availability of the spare computers in the company.
    A Work item is the task instance that is performed as a single workflow step. For example, check that there are no spare computers available in the company.
    Agents are the people who process the tasks (via the work items). For example, requisitioner and a member of the purchasing department.
    Container is the place where all the data used in the workflow is collected.
    Binding is the set of rules that define which data is passed to which part of the process.
    Building a simple workflow application
    The central tool for creating, displaying and processing a workflow is the workflow builder (Transaction SWDD). Within the workflow builder you can create all components of a workflow, including all the containers you need for getting the data from one step to another.
    Generally, most of the workflows are started by an event (for example, when a material is created or when a new purchase requisition arrives). You define which data from this event needs to be passed to the workflow via binding.
    However you can also start any workflow directly. Let us create a simple workflow and start the workflow directly, using the testing tools.
    Call transaction SWDD. When the workflow builder is called for the first time, a newly created initial workflow definition appears or else last created workflow appears. In such cases you can opt to create a new workflow by pressing “Create New Workflow”(ctrl + shft + F5). The following screen appears.
    The initial workflow screen has the following parts:
    a. The start of the workflow definition, indicated by .
    b. The end of the workflow definition, indicated by .
    c. The area in which you insert the new workflow definition is indicated by .
    Now select the undefined step and select Create step or double click the undefined step. Now among the different steps chose the User Decision by double clicking on it.
    Developing a simple application using steps "User Decision" and "Mail"
    Previous
    Now enter the title for the user decision “ Please make a decision”. Also enter the decision texts as Approve and Reject. On pressing enter, the outcome values default to the Decision texts but you can specify your own names, if desired. Now we need to select the agent. Agent is the person to whom the work item needs to be sent.. Since this is just a beginning, we would hardcode the user name. Select the User from the drop down list and enter the user name to whom the work item needs to be sent. In general, this type of agent assignment is not done. Agents are generally assigned using the expression, agent assignment rule or organization object (job, position etc.).
    Now select Transfer and to graphic button. Following screen appears:
    Now we need to include a mail step to be sent to the requestor. Now select the line “Approve” and do a right click. Different options on shown on the context menu. Select Create.
    Now select the step “Send Mail” from the list.
    Developing a simple application using steps "User Decision" and "Mail"
    ...Previous
    Now enter the subject and the body of the message for the mail to be sent.
    Do not change the recipients. Our mail is intended for the persons who triggered this workflow. &_WF_INITIATOR& contains the value who executed the workflow. Since this is a test object, we are using &_WF_INITIATOR&. But we wouldn’t be using this variable in real time scenarios. We would discuss about this in the coming documents.
    Now select Transfer and to graphic button.
    A popup appears requesting for the abbreviation and the name for this task. Enter the same and press enter.
    Now enter the package as local object and press enter.
    Follow the steps 5 through 9 for the step “Reject”. The following screen appears:
    Press SAVE to save the workflow application. You need to enter an abbreviation and name for your workflow as shown below. You can change any of these at any later point. After saving, a number is assigned to your workflow starting with WS, as shown below.
    Developing a simple application using steps "User Decision" and "Mail"
    ...Previous
    To execute the workflow, activate it by choosing the activate button.
    Test the workflow by choosing Test. The following screen appears.
    Now choose Execute to start the workflow.
    Now the recipient would receive a work item in his SAP® inbox (Transaction SBWP).
    Now execute the work item by pressing “Execute”. The following screen appears:
    Choose one among Approve or Reject as part of the user decision. He can select the third option to retain the work item in his inbox and make the decision later. Now suppose that the recipient has chosen one of the first options. Now a mail would be sent to the requestor with the status of his request.
    Creating a Container element
    This document details about creation of a container element in workflow and using it in the step "Mail".
    Pre-requisites:
    It is assumed that the reader of this Tutorial is aware of creating a workflow definition with the step “Mail”. If not, please go through the document on creating the same available, by clicking here.
    Steps:
    1. Create a workflow definition using the transaction SWDD.
    2. Let’s create a container element for Carrier id. Click on the “Workflow Container” on the left side of the screen (as shown in the screenshot below):
    3. Now double-click on “Double-Click to Create”
    4. Enter the details pertaining to CARRID here.
    5. Click on tab “Properties” and select “Import”.
    6. Click on “Confirm (Enter)”.
    7. Now the element created could be seen on the left side, below the “Workflow Container”.
    Creating a Container element
    Previous
    1. Create a “Mail” step by double-clicking on “Undefined” step in the workflow.
    2. Enter the recipient details in the “Recipients” box.
    3. In the subject line, enter “Carrid value entered is:” and click on “Insert Expression”.
    4. Select the element “Carrid” from the list.
    5. Similarly enter the content in the “Body” area.
    6. Save and activate the application.
    Testing the Workflow application:
    7. Test the workflow by clicking F8.
    8. Enter the value of the Carrid as shown above and press execute.
    9. A mail would be sent to the recipient mentioned earlier with the carrid value entered.
    Condition Step
    Agenda:
    This document details about the steps “Condition”.
    Pre-requisites: It is assumed that the reader of this document has a preliminary understanding of workflow and has worked with the container elements earlier. If not, please go through the first two Tutorials of workflow available in this site. (More details)
    Procedure:
    1. Create a new workflow definition.
    2. Create a container element, CARRID (as demonstrated in tutorial 2).
    3. Now click on undefined step and create the step “Condition”.
    4. Enter the step name of your choice.
    5. We would have the following condition here:
    If carrid = ‘AA’.
    Do this.
    Else.
    Do this.
    Click on “Click here to create a new condition”. Following screen appears.
    Double click on “Carrid”. Next click on “=” and enter the value “AA” in the constant field and press ENTER.
    Enter the outcome names of your choice as shown above.
    Click on “Transfer and go to graphic”.
    As shown above, there are two branches here. One navigates to true, if CARRID = ‘AA’ else the control takes the branch “False”.
    Test the above scenario by inserting mail steps in the above 2 branches and by passing different CARRID values.
    Condition Step
    Agenda:
    This document details about the steps “Multiple Condition”.
    Pre-requisites: It is assumed that the reader of this document has a preliminary understanding of workflow and has worked with the container elements earlier. If not, please go through the first two Tutorials of workflow available in this site. (More details)
    Procedure:
    1. Create a new workflow definition.
    2. Create a container element, CARRID (as demonstrated in tutorial 2).
    3. Now click on undefined step and create the step “Multiple Condition”.
    4. Enter the step name of your choice.
    5. We would have the following condition here:
    If carrid = ‘AA’.
    Do this.
    Elseif carrid = ‘AH’
    DO this.
    Elseif carrid = ‘SQ’
    Do this.
    Else.
    Do this.
    Select the “CARRID” using the F4 help for the comparison basis field.
    Enter the values of the carrid under the Comparison values with the corresponding outcome name (of your choice)
    Double click on “Carrid”. Next click on “=” and enter the value “AA” in the constant field and press ENTER.
    Click on “Transfer and go to graphic”.
    As observed above, there are different branches for each value of CARRID mentioned above.
    Test the above scenario by inserting mail steps in all the branches and by passing different CARRID values.
    Using "Container Operation" step
    Agenda: Usage of step “Container Operation”.
    Pre-requisites: It is assumed that the reader of this tutorial has worked in the concepts that are dealt in earlier tutorials. (click here for more details)
    Scenario: In this tutorial, we would deal about how to work with the step “Container Operation” with an example of calculating the available seats by subtracting occupied seats from the maximum seats at the workflow level.
    Procedure:
    1. Create a new workflow definition using the transaction SWDD.
    2. Create two container elements MaxSeats, Occ_Seats with the “import” property set. You can use the reference fields sflight-seatsmax, sflight-seatsocc for this.
    3. Create another container element AvailableSeats without setting either import or export property as this is calculated within the workflow and used within the workflow. You might use any of the above reference fields as data types.
    4. Define a new step “Container Operation” in the workflow definition by double-clicking on the “Undefined step”.
    5. In this step, we would calculate the available seats from the max seats and seats occupied.
    I would recommend entering all the container elements from the F4 help instead of typing them manually.
    6. Return to the main screen.
    7. Create a mail step after this to send the available seats information.
    8. Test the above functionality by passing some values to the maximum and the seats occupied.
    9. Result would be as follows:
    Triggering Events Programmatically
    Purpose: This document details the procedure in triggering the business object events programmatically.
    Pre-requisites: It is assumed that the reader of this document is aware of the business object concepts and good in ABAP.
    Procedure:
    In this document, we would take an example of the business object BUS1001006 (Material) and the event CREATED. In general, this event is triggered whenever a material is created using a standard procedure like MM01 or any others. Now we would trigger this event from our own programs.
    Following are the screenshots of the business object BUS1001006 and the event CREATED. Go to transaction SWO1 for more information of the business object.
    Double-clicking on the key field parameter gives you technical information of the field.
    In order to trigger an event programmatically, we would use the function module SWE_EVENT_CREATE.
    Following is the sample code to trigger the events programmatically:
    REPORT ZDEMO_TRIGGER_EVENT.
    DATA: KEY LIKE SWEINSTCOU-OBJKEY.
    KEY = '1163'. “ Material Number (hard-coded)
    CALL FUNCTION 'SWE_EVENT_CREATE'
    EXPORTING
    objtype = 'BUS1001006'
    objkey = KEY
    event = 'CREATED'
    CREATOR = ' '
    TAKE_WORKITEM_REQUESTER = ' '
    START_WITH_DELAY = ' '
    START_RECFB_SYNCHRON = ' '
    NO_COMMIT_FOR_QUEUE = ' '
    DEBUG_FLAG = ' '
    NO_LOGGING = ' '
    IDENT =
    IMPORTING
    EVENT_ID =
    TABLES
    EVENT_CONTAINER =
    EXCEPTIONS
    OBJTYPE_NOT_FOUND = 1
    OTHERS = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ELSE.
    WRITE 'Event Triggered'.
    ENDIF.
    COMMIT WORK.
    In order to test whether the event is getting triggered or not, we can make use of Event Trace. Switch on the event trace using the transaction SWELS.
    Press ‘Switch On”.
    Now execute the program developed earlier. Now switch-off the event trace using the same transaction SWELS.
    Now go to transaction SWEL. Here you can list out the events triggered in the particular period of time. Here is the event-trace list:
    Deadline Monitoring in SAP Workflow
    A major advantage of workflow is the ability to monitor the workflow steps according to a predefined schedule. Following are different deadlines that can be monitored against each workflow step:
    • Requested Start
    • Latest Start
    • Requested End
    • Latest End
    In this example, we will define a deadline to the User Decision example created earlier (click here). Following is the screenshot of the application developed using the User Decision example:
    We would extend this example to the deadline monitoring.
    In the User Decision step, click on the “latest end” tab.
    By default, No deadline monitoring is active (as seen in the above screenshot).
    Choose the “Work Item Creation” from the list box.
    After selecting “Work Item Creation”, chose an offset of 5 minutes. This means that the work item must be executed within 5 minutes of the creation, if not this would trigger.
    Deadline Monitoring in SAP Workflow
    Enter recipient details to whom the message to be escalated, if the work item is not executed with in 5 minutes after work item creation.
    Save and activate the workflow definition.
    Testing the workflow application:
    • Execute your workflow.
    • Check for the work item in the SAP Inbox. This time do NOT execute the work item.
    • Wait for the deadline to be triggered. After that, a deadline message is delivered to the recipient mentioned in the “Latest End” tab. See the screenshot below.
    Don’t worry if the deadline message doesn’t appear immediately after 5 minutes. This depends on various factors including how the deadline monitoring program is scheduled and also on the availability of the background processors.
    Use SWWA to check how the deadline monitoring program is scheduled in program.
    For example, assume that our work item has been created at 09:10 hrs and the deadline message is expected to trigger at 09:15 hrs. From the above screenshot, it is understood that the background program is scheduled to execute for every 3 minutes. Assume that the last run of the program is at 09:14hrs and the next run is expected at 09:17hrs. So even our deadline expires at 09:15, the deadline message would appear only at 09:17hrs after execution of the background program.
    Some more points
    In our above example, we have used the deadline on the “Work Item” creation time. i.e., 5 minutes after creation time, the deadline message would be sent. Now we would check the other option “Expression”. Here we can mention the date and time, when the deadline message should appear irrespective of the work item creation date/time.
    As seen in the above screenshot, we can provide the target date and time by which the task should be finished. Container elements could be used in this case. Please refer to our example on creation of container elements (click here).
    Personal Substitute in Workflow
    Requirement: Need to have at least one substitute who can act upon work items in your absence.
    Important: The appointed substitute would be able to see all your work items. A substitute cannot be assigned for only particular area of organization or any other item. So need to ensure that the substitute have the necessary authorizations to act upon the work items.
    Procedure:
    1. Go to SAP Business Work Place (TCode: SBWP)
    2. Now from the menu bar, select Settings à Workflow settings à Maintain Substitute
    3. Highlight/Select the name on the window, in this case SAPDEV02 and click on “Create Substitute”.
    4. List of users available in the system are displayed.
    5. Select the required substitute user name. Following screen appears.
    Validity field describes about the period in which the setting would be active. Note that the dates on the screen would range from the current date to 31st Dec 9999.
    Regarding the checkbox “Substitution active”, it is advised to leave this checkbox unchecked for system performance reasons. A check in this box indicates that the substitution is “permanent” and if left unchecked it is treated as “as-needed”. A permanent substitute will automatically receive the primary users work items in their own box. In the case of “as-needed”, substitute must manually adopt the work items from the primary user’s inbox.
    6. Save the entries
    7. Click Enter to leave the screen.
    Adopting a Substitute in Workflow
    If you have been designated as an “as-needed” substitute, you must manually adopt the substitution. If you are designated as a “permanent” substitute, the work items would automatically appear in the inbox.
    Before adopting a substitution, there are 19 work items in the inbox. See the screenshot below:
    To adopt a substitution, select Settings à Workflow settings à adopt substitution.
    Select the corresponding User-id (if you have been assigned as a substitute for multiple people, then this option would allow you to select the user name of whom you would to check the work items)
    The corresponding user’s work items would appear in our inbox now.
    You can end the substitution, by selecting settings à Workflow settings à End substitution.
    Note: Substitutes can only adopt work items that are directly routed to the person for whom they are a substitute. If you are a substitute for a user (SAPDEV02) who has been made a substitute for another user (SAPDEV01), you will only see work items for user SAPDEV02 and not of the user SAPDEV01.
    Notification of Work Items via e-Mail
    SAP provides us with a facility of notifying the user via the email address of your choice when there are any pending work items in the SAP Inbox..
    1. Go to Transaction SO13.
    2. Click on Automatic Forwarding tab.
    3. Click on Create icon .
    4. Enter the details in the above screen.
    5. Click ENTER to complete the entries.
    6. Now the notification would be received at the provided email address if there are any pending work items in the inbox.
    Filtering the Work Items in the SAP Inbox using BADI
    This document details about the procedure in filtering some of the work items from the SAP inbox using a BADi.
    Following is the screenshot of the SAP inbox, before implementing BADi:
    The BADi that is used in filtering the work items is WF_BWP_SELECT_FILTER. To implement the BADi, go to transaction SE18. From the menu, select Implementation à Create. (See the screenshot below)
    Enter the implementation name and press ENTER
    Enter any meaningful short text for the implementation and click on the tab “Interface”
    The implementing class, ZCL_IM_BWP_SELECT_FILTER, is automatically proposed. Double click on the implementing class name.
    You are now navigated to the class builder. Now double-click on the method name shown on the screen (see the snapshot below)
    Now let us filter out the work items belonging to the task TS2000066. See the code below:
    Activate the method and also the implementation. In the state of active, you wouldn’t be able to make any changes. To make any changes, we need to deactivate it and then make the changes.
    Now check the inbox and would notice that the work items related to that task are no more appearing.
    To notice the differences, try activating and deactivating the BADi implementation.
    Hope this resolves your query.
    Reward all the helpful answers.
    Regards

  • Transferring bt internet email address

    I have recently closed my BT account as I have moved in with my girlfriend, who already has an account with BT.  I am concerned that I will shortly lose my btinternet email address.  Through another post on this forum and a conversation with BT about month ago I was told once my account was closed I could ring up and they would transfer my exisiting email address onto my girlfriend's BT account so it would remain active.  I spoke to someone from BT last night and they said this was not possible and my email would disappear soon, which would be disastrous.  It then occured to me that my email address may have been a sub-address on my parent's account set up some years ago, but I'm unsure of this and the lady on the helpline could not tell me.  My questions are:
    1) How can I tell which account my email address is regsitered to?
    2) If it is registered to my old account which has now closed how do I get it transferred?  My experience of BT call centres is you get different information depending on who you talk to so I'm unconvinced it's not possible to transfer.
    Thanks for your help

    If the email account is a sub-account of your parents, the main account holder should be able to see it as a sub-account.
    If it is a sub-account and you are happy to leave it there then just do that.
    If it is not a sub-account and you want it moved to your girlfriends account you need to post back and a moderator should be able to assist with that.
    This link is about setting up sub-accounts but it shows you how to access it and it will show any sub accounts that have been set up.in BTYahoo. There is also info about keeping your email address on a new account.
    http://bt.custhelp.com/app/answers/detail/a_id/1148/related/1/session/L2F2LzEvdGltZS8xNDE3NTEyNzI0L3...

  • Customizing the crashreporter email address?

    CS5, OSX. Is it possible to customize the address to which the Adobe Crash Reporter emails crash reports?
    Most people around here are reluctant to submit crash reports to Adobe, I guess mostly because they don't want to write them carefully. It might be nice to have them configured to send their crash reports to a local address, where we'd corral them a bit, enhance the writeup, and then forward them on to Adobe.
    Is there some way to do this? Info.plist for Adobe InDesign CS5.app has an entry for "AdobeCrashReporterEmail," but changing it from it's default adobe.com address to something local doesn't seem to do anything.
    And it appears that the string "AdobeCrashReporterEmail" doesn't appear anywhere in the app bundle:
    Adobe InDesign CS5.app $ find . -type f -print0 | \
    xargs -0 grep -i adobecrashreporteremail /dev/null
    Binary file ./Contents/Info.plist matches
    Adobe InDesign CS5.app $
    I don't really want to reinvent the wheel...I realize that we can (and probably should) have some automation that runs through ~/Library/Logs/CrashReporter and hunts for InDesign crashes, and perhaps I could write a wrapper script around Adobe Crash Reporter.app (or maybe something with AdobeCrashDaemon.app and/or AdobeCrashRealTimeNotification.app; not clear exactly how these pieces fit together).
    (Can you tell we've been seeing too many CS5 crashes?)
    Also, I have this feeling that I can't quite substantiate that not every crash that produces the Apple CrashReporter and the Adobe Crashreporter produces a file in ~/Library/Logs -- has anyone else noticed this? Maybe I'm just imagining things?

    You may need to Remove Web Services and then enable Web Services to get a new code for your email address and then register that email address at ePrintcenter.
    I am an HP employee

  • Sending a SAP Office Attachment as a PDF to Internet email Address

    We are using SO_NEW_DOCUMENT_ATT_SEND_API1 and SO_DOCUMENT_SEND_API1 to create e-mails with attachments from SAP and sending them to e-mail addresses which are outside of SAP. Today we tell these function modules that the attachments are "RAW" datatype which, somewhere in the process, creates the attachment with a file type of TXT. What I want to do is have that same attachment sent as a PDF file. I can change the file type in the "packing list" of these functions and the get delivered with the PDF file type to the external recipient. However, when you try to open the attached file, Adobe tells you that the file is corrupted or not decoded properly. Any ideas how I can convert the attachment's data properly so it can be read by Adobe on the recipient's side? I know how to convert spool files using CONVERT_ABAPSPOOLJOB_2_PDF but couldn't find any technique for attachments.
    Thanks,
    Kevin

    Hi,
    Try out following code:
    Convert PDF file into binary format
    i_tline comes from your CONVERT_ABAPSPOOLJOB_2_PDF
      LOOP AT i_tline.
        TRANSLATE i_tline USING ' ~'.
        CONCATENATE pdfbuf i_tline INTO pdfbuf.
      ENDLOOP.
      TRANSLATE pdfbuf USING '~ '.
      DO.
        objbin = pdfbuf.
        APPEND objbin.
        SHIFT pdfbuf LEFT BY 255 PLACES.
        IF pdfbuf IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
    Create the e-mail body
      docdata-obj_name  = 'File_Name'.
      CONCATENATE 'My' 'PDF File' INTO docdata-obj_descr.
      objtxt = 'Here is your file'.
      APPEND objtxt.
    Other parameters
      DESCRIBE TABLE objtxt LINES tab_lines.
      READ TABLE objtxt INDEX tab_lines.
      docdata-doc_size = ( tab_lines - 1 ) * 255 + strlen( objtxt ).
      CLEAR objpack-transf_bin.
      objpack-head_start = 1.
      objpack-head_num   = 0.
      objpack-body_start = 1.
      objpack-body_num   = tab_lines.
      objpack-doc_type   = 'RAW'.
      APPEND objpack.
    Create e-mail attachment
      DESCRIBE TABLE objbin LINES tab_lines.
      READ TABLE objbin INDEX tab_lines.
      objpack-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objbin ).
      objpack-transf_bin = 'X'.
      objpack-head_start = 1.
      objpack-head_num   = 0.
      objpack-body_start = 1.
      objpack-body_num   = tab_lines.
      objpack-doc_type   = 'PDF'.
      CONCATENATE 'My' 'File' INTO docdata-obj_name.
      objpack-obj_descr  = 'PDF File'.
      APPEND objpack.
    Create the list of recipients
      reclist-receiver = SY-UNAME.
      reclist-rec_type = 'B'.
      reclist-express  = 'X'.
      APPEND reclist.
    Send the e-mail
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data                    = docdata
          put_in_outbox                    = 'X'
          commit_work                      = ' '
        TABLES
          packing_list                     = objpack
          contents_bin                     = objbin
          contents_txt                     = objtxt
          receivers                        = 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.

  • 0Employee/Vendor/Customer Email Address

    Hello,
    Does anyone know how to get the email address into BW for an employee, vendor, or customer?  The email address resides in the R/3 table ADR6, however, the email address is not referenced by the employee/vendor/customer number.  So I'm not sure how to make the link from employee/vendor/customer master data to the corresponding email address.  Any suggesstions would be greatly appreciated.  Thanks!

    Hi Shelly,
    Create a generic funciton module on tables KNA1,.LFA1..with ADRC..
    Example:-
    For customers go to KNA1 table..for a customer number..and get the field <b>ADRNR</b>.. Retrieve the email info from table ADRC field <b>FLAGCOMM6</b> based on the address number <b>ADDRNUMBER</b>. Check if the SMTP info is populated in this field for given address number..
    Same is the case with vendors..
    Go to KNA1 get the addressnumber and retrive the mail info from ADRC table based on address number
    Regards
    Manga(Assign points if it helps!!)

  • Customer Master Address and Outputs

    I have maintained two address es in my customer master, The Street address and a PO box. I want the delivery Note out put to print the street address on it and the Invoice out put to print the PO BOX.
    Currently my Delivery Note is showing the PO BOX which is a problem since my client can not ship to a PO BOX, and we do not want to maintain another ship to partner with the same customer number.
    Is there a way to fix this or an OSS note on this?

    Hello,
    As i understood correctly, The delivery Output now should print the STREET instead of POBOX number , This is a change in the Logic.
    Just  Pick the customer Number from the Customer of delivery from LIKP-KUNNR and fetch the STREET from KNA1-KUNNR
    In the KNA1 table you will get the ADRNR, then goto ADRC to get the STREET details
    In the same way fetch the POBOX from Payer of Billing document
    Hope it is clear,
    regards,
    santosh

  • Customer master - address

    hi
    when i create customer master, the standard address format is start from street/house no. If i want to input more data, I have to click "display detail" button which next to address field. I dont want to click this button everytimes, any method to display all this address field without click the button. thanks

    Dear Jj,
        Instead of clicking on the + sign to expand you have a option on the same screen left top below the Address tab and next to preview tab, ie expand all. click that and start entering the addresses.
    And if you are running BDC you can make the option to expand all the field automatically while uploading the Master data.
    regards,
    Sudhir

Maybe you are looking for

  • Absence days caliculation based on working days  HR ABAP

    Hi experts, I am developing one report that is for Variable Bonus report. We are evaluating the data based on the Variable Bonus period  based on Selection-screen. for ex: 01.04.2007 to 31.03.2008 There is one record in the IT2001 with begin date 26.

  • Automation support dll

    Hi I am adding 3rd party DLL in my program using ActiveX controller option. In some computer my exe file is working properly and in some computer it is giving me error. I checked that in debug mode and I found that it is saying like " Function CA_Cst

  • ObjectInputStream with large files?

    I write two arrays to their own separate files using: FileOutputStream fos = new FileOutputStream("C:/location"); ObjectOutputStream oos = new ObjectOutputStream(fos); oos.writeObject(array); oos.close(); One file is 2MB and the other is 600MB. When

  • Scratch Questions

    With the recent migration to my new Mac Pro, necessitated by the death of my G5, the installation to the new boot drive of FCS fresh from the install disks and then updating, resulted in all existing projects being immediately found and available. Th

  • SQL Loader help requested

    Have a sqlloader job that is loading date columns into a table. Then the source of the data sends the wrong data '11000000' in the YYYYMMDD format and the load fails. Does anyone know how to make Oracle assume the null value in all cases when there i