Additonal SAP-User as a receiver of an express-mail (EXIT_SAPLFCIM_280)

Hi all!
I want to add a SAP-user as a receiver of an express-mail by using function module "EXIT_SAPLFCIM_280". Does anybody has experience in the configuration/programming of this function module? The goal is to add an additional SAP-user in the internal table CT-RECEIVERS.
Thanks for a response.
Regards,
Bernd

hi!
programming for include ZXC01U17 in EXIT_SAPLFCIM_280:
*&  Include           ZXC01U17                               *
DATA: zis_receivers LIKE ct_receivers.
LOOP AT ct_receivers.
  IF sy-subrc EQ 0.
    zis_receivers = ct_receivers.
    IF sy-uname NE 'USER1'.
      zis_receivers-receiver = 'USER1'.
      APPEND zis_receivers TO ct_receivers.
      EXIT.
    ENDIF.
ENDIF.
ENDLOOP.
Regards,
Bernd

Similar Messages

  • Valid SAP user for XI Receiver adapter

    Hi PI Gurus,
    I have a server proxy scenario. I was using my SAP user_ID & PW in the receiver CC (XI adapter). Its working absolutely okey,
    but what user_ID should be used in production or quality.
    Shall I use 'pirfcuser' user with my current roles.
    Thanks,
    Krishna

    Hi All,
    Thanks all for your inputs, our BASIS team used
    'pirfcuse' .
    Thanks,
    Krishna

  • Receiving so many e-mails for the workflow mailer

    Hi,
    One of the user received thousands of e-mails(same emails) from the Workflow Mailer. Do you know why is this happening?
    We changed the statuses from 'null' to 'sent' and entered an end date. The user has stopped receiving the duplicated e-mails.
    Please let me know if there was a problem with that user or anything else?
    it's urgent.
    Regards,
    Prasad

    Prasad,
    Does this user have any end-dated responsibilities?
    I suspect that the user-responsibilities related data is corrupted, so I would suggest you refer to the following note and try the suggested solution outlined there.
    Note: 406892.1 - Missing/Corrupted User-Role Responsibilities
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=406892.1

  • RFC Adapter Receiver - change SAP User for each call

    Hi guys,
    I need to create one connection between PI and SAP, all right, i can use RFC Adapter Receiver, no problem.
    But, for each call i need to use User and Password different, then, I would pass SAP User and Password in my XML Payload.
    Can anybody help me, please?

    hi,
    >>But, for each call i need to use User and Password different, then, I would pass SAP User and Password in my XML Payload.
    sure we can help you but no in this way:)
    it is possible to change the user for RFC adapter but using
    principal propagation:
    /people/alexander.bundschuh/blog/2007/01/16/principal-propagation-in-sap-xi
    this is the way you need to go and not send password in XML payload
    (this is certainly not the way and no client will approve it)
    why use a password is anyone can see it ?
    Regards,
    Michal Krawczyk

  • How to receive replies back to SAP user's inbox from external domain.

    We are facing a scenario where an email should be sent from SAP to any external domain ( ie: abc.com ) and  I know that we can trigger outgoing mail from SAP but not sure about receiving emails to a specific SAP User id's inbox (SBWP). I was searching some information from SAP notes and found one (SAP Note:- 455140) but not sure whether it's possible in our current version(R/3 release 4.6C). Please confirm ASAP since we have to decide a key functionality based on this.

    I have tried SCON -> Settings -> Inbound distribution.
    But my question is how does the system receive the reply from the external domain. We can execute the send process in the transaction SCOT. But how do we initiate the receive process ? When we send a email from SAP to some external domain eg. yahoo.com, the recepient of that mail would see the mail as coming from the address that is configured in the SAP user master record (Internet mail) of the sender. So when a reply to the original mail is sent, it would go to the email address of the sender that is mentioned in the "Internet Mail" field of the SAP user master record and not to the SAP User Inbox of the original sender.

  • This is regarding CBMA in SAP PI 7.3.1. I have set up the alert mail using default java mail client.I do receive the alerts via mail. But my requirement is to direct all the mails to Business workplace inbox in ECC.

    This is regarding CBMA in single stack SAP PI 7.3.1. I have set up the alert mail using default java mail client.I do receive the alerts via mail. But my requirement is to direct all the alert mails to Business workplace inbox in ECC.
    So I need to set up PI to redirect mails to ECC Business workplace user inbox (sbwp). From here rules are set up & routed per distribution list.
    Please guide me how I can achieve this requirement.

    Hi,
    yes, it is a little bit different. This is the issue.....  
    But I am not sure if your links will help:
    1) /people/william.li/blog/2008/02/13/sap-pi-71-mapping-enhancements-series-using-graphical-variable
    is about a different solution. I do not need to count the number of lines of the source message.
    And the second variable is about concat line by line from unbound node to unbound node.
    My issue is:
    Souce:
    Message line (0...unbound) ! ! ! ! ! ! ! !
    .    ResultLine   (1..1)
    Mapping:
    =>   ResultLine1
           ResultLine2
           ResultLine........          => into UDF to an element  (1..1) in one mapping operation.
    So that all "ResultLine"s are included.
    The result is explained in the given link for Mail attachment with UDF.
    So I am not sure how to use this thread for my issue.
    In the comments of that blog Christoph Gerber writes that the new variable feature can only handle single values.
    So it is not suitable for my purposes as I have a list of values here that needs to be moved into the target message field.
    2) http://wiki.sdn.sap.com/wiki/display/Java/UsingEditJavaSectioninMessageMapping
    shows where to find the button "Java section" which is not available here in 7.1
    3) /people/sap.user72/blog/2005/10/01/xi-new-features-in-sp14
    too is about the nice little button for Java Section that is no longer existing on PI 7.1 screen for mappings.  
    So my issue is: How to replace the Java section function with global variables in PI 7.1?
    Best regards
    Dirk

  • How to send an email with from address not as a SAP user id

    Hi,
    sender = cl_sapuser_bcs=>create ( pv_user ).
    I am using the above piece of code to send an email.
    In the method "CREATE" , I CAN PASS ONLY THE SAP USER ID.
    But i want to pass the email address (user) which does not  a SAP user id?
    how to do this.

    Hi Brad Bohn,
    I have coded  like below. I could see the mail in SOST, in that from address is as 'myname'.
    But the mail does not reaches to the recipient.
    Can you tell me where the problem is?
          DAta:: from_addr TYPE REF TO CL_CAM_ADDRESS_BCS,
                     lo_bcs_recipient  TYPE REF TO if_sender_bcs,
                     send_request TYPE REF TO cl_bcs.
          CALL METHOD cl_cam_address_bcs=>create_internet_address
            EXPORTING
              i_address_string   = 'myname at the rate of domain'
              i_address_name   = 'myname'
            RECEIVING
              result                    = from_addr.
                CALL METHOD send_request->set_sender
                  EXPORTING
                    i_sender = from_addr.
              CATCH cx_send_req_bcs .
                IF sy-subrc <> 0.
                  CLEAR sy-subrc.   " added to hide warnings.
                ENDIF.

  • To send an email from outlook to SAP user in SAP

    Hi,
    Is it possible to send an email from outlook to SAP user in SAP?
    Regards,
    Mizan

    Hi Mizan......
    Yes off course it is possible.
    Generally how we put the CC to our ionternal users like you have to put their email address while sending mail through SAP viq outlook.
    The mail will go from SAP but via. outlook and user will receive the mail in Outlook Integration and not inside B1.......
    If you want it in B1 then instead of sending mail you can send the same by choosing option Int......
    Regards,
    Rahul

  • SAP user assigned with roles from HR-ORG incorrectly

    Hi All
    I have an issue where a SAP user appears to be receiving role assignments from some HR-ORG object erroneously.
    I have checked the user's HR positions and organisational assignments and they do not have any roles assigned.
    I also checked the job and no roles are assigned there as well.
    Where could these roles be coming from if they are not coming from the position or org unit?
    User currently has direct role assignments in SU01 except for 3 roles which appear as indirect assignments (HR assignments) in SU01.
    Is this is a bug and is there a note to fix it?
    Please could someone let me know why this is happening.
    Thanks
    Ran

    Hi Colleen.... Thanks for your email.
    Please see below screenshot, it is an Org assignment but single roles also belong to composite roles.
    PBS is not meant to be active and PFUD is scheduled as a daily job. CUA is not active here.
    User is assigned to a position and org unit but roles are not provisioned via the Org/position. So there is a 0105 mapping, I have checked those positions and org units but no roles are assigned there.
    Basis release 731 and level 0005, SP - SAPKB73105.

  • Class cl_bcs there's a way to set sender by dummy e-mail not by sap user ?

    Someone know if there's any possibilty to do this ?

    Hi,
    you can change the sender from SAP user to some other external mail id.......but that mail id must be a valid one.........
    check the below code
    DATA: send_request       TYPE REF TO cl_bcs,
          text               TYPE bcsy_text,
          document           TYPE REF TO cl_document_bcs,
          sender             TYPE REF TO cl_cam_address_bcs,
          recipient          TYPE REF TO cl_cam_address_bcs,
          bcs_exception      TYPE REF TO cx_bcs,
          sent_to_all        TYPE os_boolean.
    TRY.
        send_request = cl_bcs=>create_persistent( ).
        APPEND 'Hi test' TO text.
        document = cl_document_bcs=>create_document(
                                              i_type    = 'RAW'
                                              i_text    = text
                                              i_length  = '7'
                                              i_subject = 'test' ).
        send_request->set_document( document ).
        sender    = cl_cam_address_bcs=>create_internet_address(
                                          'test at abcd.com' ).
        recipient = cl_cam_address_bcs=>create_internet_address(
                                          'test at abcd.com' ).
        send_request->set_sender( sender ).
        send_request->add_recipient(
                           EXPORTING
                              i_recipient = recipient
                              i_express   = 'X' ).
        send_request->send(
                        EXPORTING
                           i_with_error_screen = 'X'
                        RECEIVING
                           result              = sent_to_all ).
        COMMIT WORK.
      CATCH cx_bcs INTO bcs_exception.
        EXIT.
    ENDTRY.
    i hav replaced @ with 'at'
    Cheers,
    jose.

  • Send ALV output to SAP user unbox..

    Hi Friends..
    I want to send the ALV output to the SAP users inbox.
    So plz anyone give the sample code for that..
    With regards
    Gowrishankar

    Hi
    Check this sample report
    *& Report  ZTESTMAIL                                                   *
    REPORT  ZTESTMAIL                               .
    tables: ekko.
    parameters: p_email type somlreci1-receiver default
    '[email protected]'.
    types: begin of t_ekpo,
    ebeln type ekpo-ebeln,
    ebelp type ekpo-ebelp,
    aedat type ekpo-aedat,
    matnr type ekpo-matnr,
    end of t_ekpo.
    data: it_ekpo type standard table of t_ekpo initial size 0,
    wa_ekpo type t_ekpo.
    types: begin of t_charekpo,
    ebeln(10) type c,
    ebelp(5) type c,
    aedat(8) type c,
    matnr(18) type c,
    end of t_charekpo.
    data: wa_charekpo type t_charekpo.
    data: it_message type standard table of solisti1 initial size 0
    with header line.
    data: it_attach type standard table of solisti1 initial size 0
    with header line.
    data: t_packing_list like sopcklsti1 occurs 0 with header line,
    t_contents like solisti1 occurs 0 with header line,
    t_receivers like somlreci1 occurs 0 with header line,
    t_attachment like solisti1 occurs 0 with header line,
    t_object_header like solisti1 occurs 0 with header line,
    w_cnt type i,
    w_sent_all(1) type c,
    w_doc_data like sodocchgi1,
    gd_error type sy-subrc,
    gd_reciever type sy-subrc.
    t_object_header = 'Text.xls'. append t_object_header.
    *START_OF_SELECTION
    start-of-selection.
    * Retrieve sample data from table ekpo
    perform data_retrieval.
    * Populate table with detaisl to be entered into .xls file
    perform build_xls_data_table.
    *END-OF-SELECTION
    end-of-selection.
    * Populate message body text
    perform populate_email_message_body.
    * Send file by email as .xls speadsheet
    perform send_file_as_email_attachment
    tables it_message
    it_attach
    using p_email
    'Example .xls documnet attachment'
    'XLS'
    'filename'
    changing gd_error
    gd_reciever.
    * Instructs mail send program for SAPCONNECT to send email(rsconn01)
    perform initiate_mail_execute_program.
    *& Form DATA_RETRIEVAL
    * Retrieve data form EKPO table and populate itab it_ekko
    form data_retrieval.
    select ebeln ebelp aedat matnr
    up to 10 rows
    from ekpo
    into table it_ekpo.
    endform. " DATA_RETRIEVAL
    *& Form BUILD_XLS_DATA_TABLE
    * Build data table for .xls document
    form build_xls_data_table.
    *CONSTANTS: con_cret TYPE x VALUE '0D', "OK for non Unicode
    *con_tab TYPE x VALUE '09'. "OK for non Unicode
    *If you have Unicode check active in program attributes thnen you will
    *need to declare constants as follows
    *class cl_abap_char_utilities definition load.
    constants:
    con_tab type c value cl_abap_char_utilities=>horizontal_tab,
    con_cret type c value cl_abap_char_utilities=>cr_lf.
    concatenate 'EBELN' 'EBELP' 'AEDAT' 'MATNR'
    into it_attach separated by con_tab.
    concatenate con_cret it_attach into it_attach.
    append it_attach.
    loop at it_ekpo into wa_charekpo.
    concatenate wa_charekpo-ebeln wa_charekpo-ebelp
    wa_charekpo-aedat wa_charekpo-matnr
    into it_attach separated by con_tab.
    concatenate con_cret it_attach into it_attach.
    append it_attach.
    endloop.
    endform. " BUILD_XLS_DATA_TABLE
    *& Form SEND_FILE_AS_EMAIL_ATTACHMENT
    * Send email
    form send_file_as_email_attachment tables pit_message
    pit_attach
    using p_email
    p_mtitle
    p_format
    p_filename
    p_attdescription
    p_sender_address
    p_sender_addres_type
    changing p_error
    p_reciever.
    data: ld_error type sy-subrc,
    ld_reciever type sy-subrc,
    ld_mtitle like sodocchgi1-obj_descr,
    ld_email like somlreci1-receiver,
    ld_format type so_obj_tp ,
    ld_attdescription type so_obj_nam ,
    ld_attfilename type so_obj_des ,
    ld_sender_address like soextreci1-receiver,
    ld_sender_address_type like soextreci1-adr_typ,
    ld_receiver like sy-subrc.
    ld_email = p_email.
    ld_mtitle = p_mtitle.
    ld_format = p_format.
    ld_attdescription = p_attdescription.
    ld_attfilename = p_filename.
    ld_sender_address = p_sender_address.
    ld_sender_address_type = p_sender_addres_type.
    * Fill the document data.
    w_doc_data-doc_size = 1.
    * Populate the subject/generic message attributes
    w_doc_data-obj_langu = sy-langu.
    w_doc_data-obj_name = 'SAPRPT'.
    w_doc_data-obj_descr = ld_mtitle .
    w_doc_data-sensitivty = 'F'.
    * Fill the document data and get size of attachment
    clear w_doc_data.
    read table it_attach index w_cnt.
    w_doc_data-doc_size =
    ( w_cnt - 1 ) * 255 + strlen( it_attach ).
    w_doc_data-obj_langu = sy-langu.
    w_doc_data-obj_name = 'SAPRPT'.
    w_doc_data-obj_descr = ld_mtitle.
    w_doc_data-sensitivty = 'F'.
    clear t_attachment.
    refresh t_attachment.
    t_attachment[] = pit_attach[].
    * Describe the body of the message
    clear t_packing_list.
    refresh t_packing_list.
    t_packing_list-transf_bin = space.
    t_packing_list-head_start = 1.
    t_packing_list-head_num = 0.
    t_packing_list-body_start = 1.
    describe table it_message lines t_packing_list-body_num.
    t_packing_list-doc_type = 'RAW'.
    append t_packing_list.
    * Create attachment notification
    t_packing_list-transf_bin = 'X'.
    t_packing_list-head_start = 1.
    t_packing_list-head_num = 1.
    t_packing_list-body_start = 1.
    describe table t_attachment lines t_packing_list-body_num.
    t_packing_list-doc_type = ld_format.
    t_packing_list-obj_descr = ld_attdescription.
    t_packing_list-obj_name = ld_attfilename.
    t_packing_list-doc_size = t_packing_list-body_num * 255.
    append t_packing_list.
    * Add the recipients email address
    clear t_receivers.
    refresh t_receivers.
    t_receivers-receiver = ld_email.
    t_receivers-rec_type = 'U'.
    t_receivers-com_type = 'INT'.
    t_receivers-notif_del = 'X'.
    t_receivers-notif_ndel = 'X'.
    append t_receivers.
    call function 'SO_DOCUMENT_SEND_API1'
    exporting
    document_data = w_doc_data
    put_in_outbox = 'X'
    sender_address = ld_sender_address
    sender_address_type = ld_sender_address_type
    commit_work = 'X'
    importing
    sent_to_all = w_sent_all
    tables
    object_header = t_object_header
    packing_list = t_packing_list
    contents_bin = t_attachment
    contents_txt = it_message
    receivers = t_receivers
    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.
    * Populate zerror return code
    ld_error = sy-subrc.
    * Populate zreceiver return code
    loop at t_receivers.
    ld_receiver = t_receivers-retrn_code.
    endloop.
    endform.
    *& Form INITIATE_MAIL_EXECUTE_PROGRAM
    * Instructs mail send program for SAPCONNECT to send email.
    form initiate_mail_execute_program.
    wait up to 2 seconds.
    submit rsconn01 with mode = 'INT'
    with output = 'X'
    and return.
    endform. " INITIATE_MAIL_EXECUTE_PROGRAM
    *& Form POPULATE_EMAIL_MESSAGE_BODY
    * Populate message body text
    form populate_email_message_body.
    refresh it_message.
    it_message = 'Please find attached a list test ekpo records'.
    append it_message.
    endform. " POPULATE_EMAIL_MESSAGE_BODY
    *PARAMETERS: psubject(40) type c default 'Testing',
    *p_email(40) type c default '[email protected]'. "use ur email id
    *data: it_packing_list like sopcklsti1 occurs 0 with header line,
    *it_contents like solisti1 occurs 0 with header line,
    *it_receivers like somlreci1 occurs 0 with header line,
    *it_attachment like solisti1 occurs 0 with header line,
    *gd_cnt type i,
    *gd_sent_all(1) type c,
    *gd_doc_data like sodocchgi1,
    *gd_error type sy-subrc.
    *data: it_message type standard table of SOLISTI1 initial size 0
    *with header line.
    **START-OF-SELECTION.
    *START-OF-SELECTION.
    *Perform populate_message_table.
    **Send email message, although is not sent from SAP until mail send
    **program has been executed(rsconn01)
    *PERFORM send_email_message.
    **Instructs mail send program for SAPCONNECT to send email(rsconn01)
    *perform initiate_mail_execute_program.
    **& Form POPULATE_MESSAGE_TABLE
    ** Adds text to email text table
    *form populate_message_table.
    *Append 'Line1' to it_message.
    *Append 'Line2' to it_message.
    *Append 'Line3' to it_message.
    *Append 'Test- 1' to it_message.
    *endform. " POPULATE_MESSAGE_TABLE
    **& Form SEND_EMAIL_MESSAGE
    ** Send email message
    *form send_email_message.
    ** Fill the document data.
    *gd_doc_data-doc_size = 1.
    ** DATA: TAB_LINES LIKE sy-tabix.
    ** DESCRIBE TABLE it_message LINES TAB_LINES.
    ** READ TABLE it_message INDEX TAB_LINES.
    ** gd_doc_data-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( it_message )
    ** Populate the subject/generic message attributes
    *gd_doc_data-obj_langu = sy-langu.
    *gd_doc_data-obj_name = 'SAPRPT'.
    *gd_doc_data-obj_descr = psubject.
    *gd_doc_data-sensitivty = 'F'.
    ** Describe the body of the message
    ** Information about structure of data tables
    *clear it_packing_list.
    *refresh it_packing_list.
    *it_packing_list-transf_bin = space.
    *it_packing_list-head_start = 1.
    *it_packing_list-head_num = 0.
    *it_packing_list-body_start = 1.
    *describe table it_message lines it_packing_list-body_num.
    *it_packing_list-doc_type = 'RAW'.
    *append it_packing_list.
    ** Add the recipients email address
    *clear it_receivers.
    *refresh it_receivers.
    *it_receivers-receiver = p_email.
    *it_receivers-rec_type = 'U'.
    ** it_receivers-com_type = 'INT'.
    ** it_receivers-notif_del = 'X'.
    ** it_receivers-notif_ndel = 'X'.
    *append it_receivers.
    ** Call the FM to post the message to SAPMAIL
    *call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    *exporting
    *document_data = gd_doc_data
    *put_in_outbox = 'X'
    *importing
    *sent_to_all = gd_sent_all
    *tables
    *packing_list = it_packing_list
    *contents_txt = it_message
    *receivers = it_receivers
    *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.
    ** Store function module return code
    *gd_error = sy-subrc.
    ** Get it_receivers return code
    *loop at it_receivers.
    *endloop.
    *endform. " SEND_EMAIL_MESSAGE
    **& Form INITIATE_MAIL_EXECUTE_PROGRAM
    ** Instructs mail send program for SAPCONNECT to send email.
    *form initiate_mail_execute_program.
    *wait up to 2 seconds.
    *if gd_error eq 0.
    *submit rsconn01 with mode = 'INT'
    *with output = 'X'
    *and return.
    *endif.
    *endform. " INITIATE_MAIL_EXECUTE_PROGRAM
    Check this link
    ALV Output in PDF format
    Re: Send ALV Grid output as PDF attachment to external mail id?
    Reward all helpfull answers
    Regards
    Pavan
    Message was edited by:
            Pavan praveen

  • Usage of SAP* user in OOSB

    Hi Gurus,
    I'll be implementing Structural Authorization for my current project.
    I received requirement to restrict ESS and MSS display access specific to Qualification/Qualification Group (by object ID).
    General Authorization cannot specify the restriction by Object ID, thus I'm considering to restrict it using authorization profiles.
    Restriction for MSS view has successfully tested since MSS users will be assigned with MSS Authorization Profile in OOSB. The issue that I'm facing at the moment is how to apply the same restriction to ESS without assigning ESS IDs in OOSB - approximately 40K ESS users; will it impact the system performance anyway?
    If I were to use similar authorization profile defined in OOSP as per MSS, the only way to make it effective for all ESS users without assigning PD profile to each ESS ID in OOSB is by using SAP* - this is based on my understanding referring to notes that I found as attached below. I plan to customize authorization profile specific for ESS users and assign it to SAP* - still in test stage.
    Here are the statement that I'm referring to from the notes mentioned above:
                  " What happens if the table doesnu2019t contain entries for a specific user? In that case, the authorization check uses the
                    entry of the SAP* user. So, the profile stored for this user is applicable if an entry has been left out."
    Please correct me if I'm wrong and appreciate your advice on this matter. Million thanks

    Hi,
    In this scenerio you can activate Context based structural authorizations where the Auth profiles are not assigned to User Ids directly but assigned via Custom roles using authorization objects P_ORGINCON (HR: Master data with Context) and P_ORGXXCON (HR: Master data- Extended Check with Context).
    Authorization objects P_ORGINCON and P_ORGXXCON consists of the same fields as to P_ORGIN and P_ORGXX respectively and has been expanded to include the PROFL field. The PROFL field is used to determine which structural profile the user is authorized to access (as per table T77UA - User Authorizations = Assignment of Profile to User).
    Additionally,I f you have requirements that cannot be mapped using the P_ORGINCON and P_ORGXXCON authorization objects (for example, because you want to build your authorization checks on additional fields of the Organizational Assignment infotype 0001 that are customer-specific) and if you want to implement the context solution, you can include an authorization object- P_NNNNNCON (HR Master Data: Customer-Specific Authorization Object with Context) in the authorization checks yourself.
    Please note following switches have to be activated for Context based Structural authorization in table T77S0 (tcode- OOAC)
    AUTSW INCON (HR Master Data (Context))- Authorization Main Switch that controls whether the P_ORGINCON authorization object should be used in the authorization check.
    AUTSW XXCON (HR Master Data: Extended Check (Context))- Authorization Main Switch that controls whether the P_ORGXXCON authorization object should be used in the authorization check.
    AUTSW NNCON (Customer Authorization Object (Context))- Authorization Main Switch that controls whether the P_NNNNNCON customer-specific authorization object should be used in the authorization check.
    Hope this is helpful!
    Thanks
    Sandipan

  • How to send multipal attachment to SAP User

    Hello Friends,
    Is there any funcation module to send multipal attachment to sap user
    if u hav any idea plz reply me
    thank you in adv.
    regd.
    Kaustubh

    Hello,
    Check this sample.
    report zrich_0003.
    data: itcpo like itcpo,
          tab_lines like sy-tabix.
    Variables for EMAIL functionality
    data: maildata   like sodocchgi1.
    data: mailpack   like sopcklsti1 occurs 2 with header line.
    data: mailhead   like solisti1 occurs 1 with header line.
    data: mailbin    like solisti1 occurs 10 with header line.
    data: mailtxt    like solisti1 occurs 10 with header line.
    data: mailrec    like somlrec90 occurs 0  with header line.
    data: solisti1   like solisti1 occurs 0 with header line.
    perform send_form_via_email.
          FORM  SEND_FORM_VIA_EMAIL                                      *
    form  send_form_via_email.
      clear:    maildata, mailtxt, mailbin, mailpack, mailhead, mailrec.
      refresh:  mailtxt, mailbin, mailpack, mailhead, mailrec.
    Creation of the document to be sent File Name
      maildata-obj_name = 'TEST'.
    Mail Subject
      maildata-obj_descr = 'Subject'.
    Mail Contents
      mailtxt-line = 'Here is your file'.
      append mailtxt.
    Prepare Packing List
      perform prepare_packing_list.
    Set recipient - email address here!!!
      mailrec-receiver = [email protected]'.
      mailrec-rec_type  = 'U'.
      append mailrec.
    Sending the document
      call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           exporting
                document_data              = maildata
                put_in_outbox              = ' '
           tables
                packing_list               = mailpack
                object_header              = mailhead
                contents_bin               = mailbin
                contents_txt               = mailtxt
                receivers                  = mailrec
           exceptions
                too_many_receivers         = 1
                document_not_sent          = 2
                operation_no_authorization = 4
                others                     = 99.
    endform.
         Form  PREPARE_PACKING_LIST
    form prepare_packing_list.
      clear:    mailpack, mailbin, mailhead.
      refresh:  mailpack, mailbin, mailhead.
      describe table mailtxt lines tab_lines.
      read table mailtxt index tab_lines.
      maildata-doc_size = ( tab_lines - 1 ) * 255 + strlen( mailtxt ).
    Creation of the entry for the compressed document
      clear mailpack-transf_bin.
      mailpack-head_start = 1.
      mailpack-head_num = 0.
      mailpack-body_start = 1.
      mailpack-body_num = tab_lines.
      mailpack-doc_type = 'RAW'.
      append mailpack.
      mailhead = 'TEST.TXT'.
      append mailhead.
    File 1
      mailbin = 'This is file 1'.
      append mailbin.
      describe table mailbin lines tab_lines.
      mailpack-transf_bin = 'X'.
      mailpack-head_start = 1.
      mailpack-head_num = 1.
      mailpack-body_start = 1.
      mailpack-body_num = tab_lines.
      mailpack-doc_type = 'TXT'.
      mailpack-obj_name = 'TEST1'.
      mailpack-obj_descr = 'Subject'.
      mailpack-doc_size = tab_lines * 255.
      append mailpack.
    *File 2
      mailbin = 'This is file 2'.
      append mailbin.
      data: start type i.
      data: end type i.
      start = tab_lines + 1.
      describe table mailbin lines end.
      mailpack-transf_bin = 'X'.
      mailpack-head_start = 1.
      mailpack-head_num = 1.
      mailpack-body_start = start.
      mailpack-body_num = end.
      mailpack-doc_type = 'TXT'.
      mailpack-obj_name = 'TEST2'.
      mailpack-obj_descr = 'Subject'.
      mailpack-doc_size = tab_lines * 255.
      append mailpack.
    endform.
    Cheers,
    Vasanth

  • Managers who are not SAP users

    Hi everybody.
    I have an assignment to create a workflow that sends emails to the manger of an employee when the trial period is over.
    The manager in return has to send information to the HR Department, whether or not the employee should receive a permanent contract.
    Not all the managers are SAP users.  Do you guys have any idea how to implement this?  I can find the mangers via a rule.  And I can figure out his personnel number, and even the email from the HR master data, and send an email.  But I don't know if I can handle a response..?
    Please advice.
    Hulda

    Hi,
    Basically you need to set your workflow to wait for an event. And the event will be triggered by the incoming email.
    As already said, do some searches about transaction SO28 and check for example the following thread: http://help.sap.com/saphelp_nw70/helpdata/en/6c/69c2e3418d11d1896e0000e8322d00/content.htm
    Regards,
    Karri

  • How to let SAP user use SSO to access Application in DMZ?

    Hi All,
    Our J2EE application is running on a system in DMZ which can not be connected with LDAP. So I am wondering if it's possible to let SAP user use SSO to access our application.
    After talking with my colleague I think the only way is to import SSO public key to our WebAS and create user in UME and then assign user to the corresponding public key, but anybody know where to download SSP verification file or is it allowed to download and import into another system at all?
    Regards,
    Bin

    Hi,
    Take a look at this example, it uses property nodes to select tha
    active plot and then changes the color of that plot.
    If you want to make the number of plots dynamic you could use a for
    loop and an array of color boxes.
    I hope this helps.
    Regards,
    Juan Carlos
    N.I.
    Attachments:
    Changing_plot_color.vi ‏38 KB

Maybe you are looking for