IRecruitment for Multiple Business Group

Hi Gurus,
I have US business Group and iRecruitment enabled for it. Now I am adding Canada Business Group. How do I enable the iRecruitment for it (do I create a different site? do I use same site? how to assign responsibility for CA?), when I register in the existing iRec site the person gets registered to US BG. Any information, help, guide, instructions, please let me know
Thanks in advance.

This is a bit of a headache. Essentially you'll need to:
1. Clone the iRecruitment responsibilities (eg, iRecruitment Visitor) for each Business Group
2. Copy the delivered IrcVisitor.jsp pages and modify the responsibilityKey and securityGroupKey for each site. For example, you will have a XxUsIrcVisitor.jsp, XxCaIrcVisitor.jsp and so on.
3. Re-do all the personalizations specific to each country at the appropriate level (ie, not Site!).
I hope that helps!

Similar Messages

  • How to go for multiple business group

    Dear All.
    This is a very common and perhaps very old question now. But I just want to check what is the common process to go through to achieve multiple business groups. We are in oracle 12.1.XX and have single business group but now looking to implement more business group for other countries in same instance. I understand most of the objects would be same and they can be reused like DFF, Locations, Lookups, Value set etc but need to focus more on RICEW components.  May I request you to please share your experience on this and let me what are the mandatory steps we need to follow, like running some seeded programs, restructuring other objects, creating seprate DFF, Valueset etc.
    Thank you in advance (But that dosent mean I will not thank you later on )
    Avinash

    Hi Vignesh,
    Thanks again for your quick response..
    We are not migrating employee records.. we have one business group already and we want to create new business group for newly aquired company which is in other legislation. So just want to know what would be impact on existing BG and what are the objects we can reuse. For example we need to create New responsibilities, Menu, functions, job, position, person type etc.. Similarly we can use existing location, valuesets from existing BG in our new BG. Like this we want to create a list first so that we can plan our implimanation and come up with timeline..
    I hope it is clear now.
    Thanks,
    Avinash

  • IRecruitment Manager,SR BUSINESS GROUP is not a valid responsibility

    Hi
    I've added the iRecruitment Manager responsability to my user id and assigned the mandatory security profiles
    when i try to acces any of the functiona in the menu i am getting the folowing error
    'iRecruitment Manager,SR BUSINESS GROUP is not a valid responsibility for the current user. Please contact your System Administrator.'
    Is there any specific profile for this issue.I crossed check the profiles with the implementation guide too but i am not able to resolve it
    Thanks
    Regards
    Ramesh Kumar S

    Hi Nagasuresh
    HR:Business Group, HR: Security profile,
    HR: User type and few mandatory profiles for iRecruitment is also set correctly and i've rechecked it also
    But i couldn't find out the reason for this issue. i've faced similiar issue once with the oracle sales but i lost track how I resolved it
    Any suggestion would be really great
    Regards
    Ramesh Kumar S

  • Multiple Business Groups setup

    Hi experts
    I am looking for an example for setting up multiple BG's (word document, ppt).
    Thanks in advance

    Please let us know if you are facing any particular problem. Setting up multiple business groups is similar to setting up Single business group.
    If you have created a new business group in your instance, you will already have two business groups
    1. Setup Business Group
    2. Your own business group.
    So you are already in a multiple business group scenario in your instance.
    Create different security profiles for each business group.
    The HR: Business Group profile has to be set at the responsibility level for each responsibility.
    Hope this helps.
    -Debojyoty

  • Multiple Business groups???

    Hi,
    I am having very basic question in my mind.
    Why do we need to have multiple business groups if the company is working only in US and runnig same set of books?
    Or what is the factor which decides definition of multiple business groups?
    This question might sounds to be very basic but I am not able to find answer for it.
    Regards,
    Soham

    Soham,
    The current best practice configuration model is to use business groups only as legislative containers representing countries, and not to appear as a management reporting structure in the organization hierarchy.
    Also see...
    Oracle® Human Resources Management Systems
    Enterprise and Workforce Management Guide (Global)
    Release 11i
    Part No. B14467-01
    Single and Multiple Business Groups; page 2-14
    However, there are reasons for setting up multiple Business Groups in the same
    installation, such as the following:
    • You want to have a copy of your live system with example records for training or
    testing purposes.
    • You are a holding company or a corporation with a number of subsidiary
    companies. Each subsidiary has its own structures, employees, and compensation and benefit policies. If your subsidiaries are in different countries you also have to
    deal with local legislative requirements.
    • You are acquiring a company or merging with another company, and you want to
    maintain separate structures and compensation and benefits during the transition
    process.
    Regards,
    Greg

  • Single business group Vs. multiple business groups

    Hi,
    I have a case where the user wants to implement Oracle HRMS (Core HR, Payroll, Self Service) in 4 countries. All countries have common procedures but there is some procedures like end of service, Taxation differ from country to another.
    There is some employees have managers in different country. How this will handle in the self service?
    Should I choose a single business group or go with the multiple business groups.

    HI
    If you are going live with one BG and latter you need to convert to a multi Business Group then you need to migrate these data in the current BG to the new BG. this is similar to the Shared HR to Full HR conversion Project
    The thing to be noted if you are live with one BG and trying to convert to Multi BG
    Before you run the Legislation patches for the new BG, you need to create the New Business and complete the Data migration to the new business group and latter you Run the New Legislation patch which will help you reduce the work
    Also you should take care of the Audit, when you migrate the employee to the new BG then the Old records has to be maintained for the Audit
    Also The Legal Entity, Operating Unit and the Inv Org has to be aligned to the New BG
    Since you are implementing now you think of going multi BG now itself..If you need to build the New BG after go live.. you need to come up with solution design Doc and it will be a separate project
    Regards
    Ramesh Kumar S

  • Single Cheque for Multiple Business Area

    Hi Experts
    How can I print one cheque for multiple business area with the option of printing different cheques still remaining?
    Thanks
    Nadia

    Hi Nadia.....If Iam not mistaken you DONOT want to make Separate Payments for each Business Area.
    In such a case donot select the checkbox Separate Payments for Business Area -FBZP--Paying Company code customisation.
    If this indicator is set, line items from different business areas are paid separately.
    Hope Iam clear about this.
    Please assign points if helpful
    Regards
    Aravind

  • Multiple business group situation

    Hi,
    I am working on a project for a company having multiple BG.
    HR manager, whose in formation resides in BG lets say BG1 wants to views the record of employees who are residing in another BG say BG2.
    Can anyone provide step by step guidance in this regard that how this task can be achieved and what will be the steps in detail.
    Regards
    Majid

    Hi Mohammed,
    I think you already have another post with the same issue and I have already mentioned the steps to achieve the functionality. It is always recommended to have one post for one issue as it will help others too if they are facing the same issue, try out below steps to achive your requirement
    1. Create a global security profile.
    2. Assign this security profile to the HR manager resp for which you want to provide access of employee across BG
    3. Set the profile option HR:Cross Business Group to Yes
    4. Now using the HR manager resp navigate to People -> Maintain using templates -> Maintaining Employees -> Click on tourch option in toolbar to find an employee.
    On search form there is a field called business group available, if a global security profile is assigned to the responsibility then the user can select any other business group and then search any employee as required.
    Try this out and let me know if you face any issues.
    Thanks,
    Sanjay

  • Multiple Business Group Setting in R12

    Hi
    I have Created a multi BG structure where two business groups(UK&US) representing two different countries report to a single BG(IND) of other country. Both the BGs(UK&US) are having individual Org Hierarchies in respective responsibilities. While subordinating these BGs to main BG(IND) in Global Hierarchy, is it mandatory that we have to difine the entire structure(org hierarchy) for each BG? Instead, can we attach the org hierarchies that are previously defined for each BG to the hierarchy of main BG(IND).
    If any one help me in setting up this multiple BG structure, It will be very useful.
    Edited by: [email protected] on Mar 9, 2009 6:12 AM

    Hi Matthew Bruckner
    do you set deletion flag to your location master ? If not, please set deletion flag at first, then please delete your location by using /SAPAPO/DELETE_LOCATIONS .
    To set deletion flag to your location, please perform following.
    1. Open transaction /n/sapapo/loc3
    2. From the menu, select "deletion flag".
        (the location should be de-assigned from related data like product, model)
    3. delete your location by using /SAPAPO/DELETE_LOCATIONS .
    And if you have same location or same location product, I recommend you to add some kind of information to your location and product by using CIF user exit.
    Please take a look at my comment in following thread.
    Re: Integration multiple R/3 systems with APO via CIF
    best regards
    Keiji Mishima

  • 3rd party tech systems for multiple business systems...

    I think this might a very stupid question but still would like to post it..:).. In a 3parties involved scenario, can 1 technical system be assigned to multiple business systems , if all business systems refer to the same 3 party..or does each 3rp party business system needs its own technical system..
    Also I need to move only 1 product and the SWCV assigned to the product to QA..I do not want to export entire SLD..By exporting this single product and importing into the SLD of QA, I hope it will not overwrite the SLD components of the QA box but add this new product as delta.
    -Teresa

    Hi Teresa,
    >>>Also I need to move only 1 product and the SWCV assigned to the product to QA..I do not want to export entire SLD..By exporting this single product and importing into the SLD of QA, I hope it will not overwrite the SLD components of the QA box but add this new product as delta
    I believe you can only do an incremental export/import
    sld does not allow importing/exporting one product...
    Remember to do a backup of your QA SLD
    (from the SLD - administration)
    then if you make a mistake nothing will happen
    about the second question:
    <i>"Business systems, which name the logical receiver independently of technical properties. For example, a business system might be a client of an SAP system.
    Technical systems with which the hardware of the system is specified in more detail (server data, and so on)."</i>
    this should be possible not only for SAP systems
    Regards,
    michal
    Message was edited by: Michal Krawczyk

  • Workflow for PR release for multiple purchasing groups

    Hi Guru,
    We have multiple purchasing groups and want to send emails to the responsible person for PR release for their own purchasing groups.  In the standard SAP pr release work flow configure, there is no place to specify purchasing groups.  Do you have any recommendation?  If we need ABAP development, do you know the user exit that we need to modify?
    Thanks a lot!

    Hi
    Define the release codes for each person heading a department (purchasing group) and assign the work flow for concerned person. When ever you create PR, depending on purchasing group work flow will be triggered. Assign the release code and release group authorization to particular person's profile in PFCG. Then he can be able to release PR.
    Thanks

  • Restrict Workflow Administrator responsibility for a business group

    My requirement is to restrict the Workflow Administrator responsibility to a specific business group so that the administrator can view all notifications/transactions for a given business group only for ALL item types. I tried following the steps given in the document 'Oracle Self-Service Human Resources (SSHR) Release Notes, Release 12.1.1' metalink id 578360.1. However, it doesnt seem to be working. Any idea on how to do this configuration?
    Thanks,
    Pallavi

    Hi,
    EBS version: 12.1.3, Database 11g
    Below are the steps to reproduce the issue:
    1) Create a security profile 'XXX-UK-WF' with following values:
    Business Group: <UK business group name>
    View Employees: Restricted
    View Contingent Workers: Restricted
    View Applicants: restricted
    View Contacts: Restricted
    View Candidates: All
    Organization Security Tab--> Security Type: View All Organizations(No Security)
    2) Set the HR: Security Profile option at the responsibility level for the Workflow Administrator Web(New) responsibility.
    3) Log on to the Functional Developer responsibility and search for the predefined Workflow Item Attribute Values (WF_ITEM_ATTRIBUTE_VALUES) object.
    4) Click the Update icon to navigate to the Update Object page.
    5) Click Create Grant on the Grants tab.
    On the Define Grant page, enter the following details:
    In the Name field, enter a descriptive name for the grant.
    Specify the effective date for the grant as '01-Sep-2011'.
    In the Grantee Type field, select 'Group of users' and select teh responsibility 'Workflow Administrator Web(New)' in the Grantee field.
    6)In the Object field, select the delivered object Workflow Item Attribute Values
    7)On the Grant: Select Object Data Context page, select the HR Self-Service Selected Person ID Instance Set (HRSS_WF_ATTR_PERSONID_INSTSET)
    8) On the Grant: Define Object Parameters and Select Set page:
    In the Set field, enter the delivered Business workflow item attribute permission set (WF_ADMIN_ITEM_ATTR_PSET).
    Click Finish to complete the grant creation process.
    9) Logout and login as a user having Workflow Administrator Web(New) responsibility. Navigate to Administer--> Status Monitor. Search for all the workflows started this week. All the transactions from all the business groups will be listed. ideally, only the transactions occuring in UK business groups should have been listed.

  • Employee Numbering in Multiple Business Groups

    Hi All,
    We are having 2 business groups. The employee numbering is automatic and global sequence. The employee transfers between business groups is quite common and the client wants the same employee number when the employee transfers from one BG to another.
    Example: Employee ABC is hired is BG1 with employee number as 10001 and when employee is transfered to BG2 the client wants the employee to retail his old employee number in the new BG.
    Any help is higlhly appreciated.
    Thanks,
    Ramprasad.

    Hi,
    I have done this before. You need to set the numbering to Manual (with profile option) and then edit the fast formula associated with Numbering.
    You need the following logic inside PLSQL procedure (gets called through FF) for this requirement:
    - Check if the employee is a transfer case. Use (first name , last name , date of birth) combination on per_all_people_f to check this. Note person_id and business_group_id will be different for a transfer case
    - If the person is transfer case then derive the previous employee number (from per_all_people_f)
    - else derive the last used employee number from per_all_people( select max(employee_number) from per_all_people_f) and return this number by adding 1.
    - he employee number field might have characters in it so you need to replace characters while deriving latest employee nnumber (select MAX(translate(employee_number, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ',' ')) from per_all_people_f)
    Please note the fast forumula needs to be edited and verified from SETUP BG for this case.
    When you initially install Oracle HR (and it does not matter whether shared install or full install)
    you get two options, Automatic or Manual, as a choice for Employee Number Generation.
    If you choose Employee Number Generation = Manual, and then later decide to change to Automatic,
    you can do this.
    But, if you started as Manual, and then changed to Automatic, and then once again want to change
    back to Manual,
    Employee Number Generation = Manual will no longer show up in your LOV for Employee Number
    Generation.
    You only get to do this once and cannot go back to Manual Employee Number Generation if you have
    been there before.
    ~Amol

  • EWT calculation for multiple skill groups at Courtesy Callback

    Hi All,
    I have configured CVP courtesy callback. Call is coming to callback number and call connected with agent .
    I have configured EWT for only one skill group. Now I need to calculate proper EWT for multiple skillgroups.
    To calculate EWT for ACTV skill group I used the below formula.
    ValidValue(((SkillGroup.ACTV.RouterCallsQNow+1)*(ValidValue(SkillGroup.ACTV.AvgHandledCallsT
    imeTo5,20))/max( SkillGroup.ACTV.Ready, (SkillGroup.ACTV.TalkingIn +
    SkillGroup.ACTV.TalkingOut + SkillGroup.ACTV.TalkingOther))),100)
    Now I need to calculate EWT for multiple skillgroups.
    Kindly guide me to configure EWT for multiple skillgroups.
    Regards,
    Fakhrul

    Did you get this sorted out? Can you post an example. Thanks a bunch.

  • Email Notification for multiple business partners

    Hi,
    I can send email to a single partner based on my action. Is it possible to send the emails to multiple partners for a single action.
    Thanks in advance.
    Regards,
    M.R

    Hi;
    Email notification to multiple business partners is not provided in standart SAP functions via actions. It is not related with actions and conditions. Below is the code for the related method... I may send the screenshots if you can give me your mail address... Use this method with smartform: CRM_IST_ORDER_CONFIRMATION_01
    CLASS : CL_DOC_PROCESSING_CRM_ORDER
    METHOD NAME: ....
    METHOD DEFINITION:
    IS_ARCHIVE_INDEX     Importing     Type     TOA_DARA
    IS_ARCHIVE_PARAMETERS     Importing     Type     ARC_PARAMS
    IS_CONTROL_PARAMETERS     Importing     Type     SSFCTRLOP
    IS_OUTPUT_OPTIONS     Importing     Type     SSFCOMPOP
    IO_APPL_OBJECT     Importing     Type Ref To     OBJECT
    IP_SMART_FORM     Importing     Type     TDSFNAME
    IS_MAIL_APPL_OBJ     Importing     Type     SWOTOBJID
    IS_MAIL_RECIPIENT     Importing     Type     SWOTOBJID
    IS_MAIL_SENDER     Importing     Type     SWOTOBJID
    IO_PARTNER     Importing     Type Ref To     CL_PARTNER_PPF
    IP_USER_SETTINGS     Importing     Type     TDBOOL
    IP_APPLICATION_LOG     Importing     Type     BALLOGHNDL
    ES_DOCUMENT_OUTPUT_INFO     Exporting     Type     SSFCRESPD
    ES_JOB_OUTPUT_INFO     Exporting     Type     SSFCRESCL
    ES_JOB_OUTPUT_OPTIONS     Exporting     Type     SSFCRESOP
    ET_ERROR_TAB     Exporting     Type     TSFERROR
    CT_ARCHIVE_INDEX_TAB     Changing     Type     TSFDARA
    METHOD z_anahtar_kullanici_yeni.
    *This Method is used to print service order.
    generally used constants of generic order
      INCLUDE: crm_direct.
      DATA:
            control_parameters TYPE ssfctrlop.
    function name
      DATA: function_name TYPE rs38l_fnam,
            dummy(254)        TYPE c,
            ls_archive_index  TYPE  toa_dara,
            ls_orderadm_h     TYPE  crmt_output_orderadm_h_com,
            ls_activity_h     TYPE  crmt_output_activity_h_com,
            ls_opport_h       TYPE  crmt_output_opport_h_com,
            ls_orgman_h       TYPE  crmt_output_orgman_h_com,
            lt_partner_h      TYPE  crmt_output_partner_h_comt,
            ls_partner_h      TYPE  crmt_output_partner_h_comt,
            ls_pricingdata_h  TYPE  crmt_output_pricingdata_h_com,
            ls_sales_h        TYPE  crmt_output_sales_h_com,
            ls_shipping_h     TYPE  crmt_output_shipping_h_com,
            lt_payplan_d_h    TYPE  crmt_output_payplan_d_h_comt,
            ls_customer_h     TYPE  crmt_output_customer_h_com,
            ls_cumulat_h      TYPE  crmt_output_cumulat_h_com,
            lt_billing_h      TYPE  crmt_output_billing_h_comt,
            lt_cancel_h       TYPE  crmt_output_cancel_h_comt,
            lt_appointment_h TYPE   crmt_output_appointment_h_comt,
            lt_billplan_d_h  TYPE   crmt_output_billplan_d_h_comt,
            lt_billplan_h    TYPE   crmt_output_billplan_h_comt,
            lt_status_d_h    TYPE   crmt_output_status_d_h_comt,
            lt_status_h      TYPE   crmt_output_status_h_comt,
            lt_srv_subject_h TYPE   crmt_output_srv_subject_h_comt,
            lt_srv_reason_h  TYPE   crmt_output_srv_reason_h_comt,
            lt_srv_result_h  TYPE   crmt_output_srv_result_h_comt,
            ls_acs_h         TYPE   crmt_acs_h_com,
            lt_srv_subject_i TYPE   crmt_output_srv_subject_h_comt,
            lt_srv_refobj_h  TYPE   crmt_output_srv_refobj_h_comt,
            lt_srv_refobj_i  TYPE   crmt_output_srv_refobj_h_comt,
            lt_orderadm_i    TYPE   crmt_output_orderadm_i_comt,
            lt_orgman_i      TYPE   crmt_output_orgman_i_comt,
            lt_pricingdata_i TYPE   crmt_output_pricingdata_i_comt,
            lt_pricing_i     TYPE   crmt_output_pricing_i_comt,
            lt_product_i     TYPE   crmt_output_product_i_comt,
            lt_sales_i       TYPE   crmt_output_sales_i_comt,
            lt_service_i       TYPE   crmt_output_service_i_comt,
            lt_shipping_i    TYPE   crmt_output_shipping_i_comt,
            lt_schedlin_i    TYPE   crmt_output_schedlin_i_comt,
            lt_customer_i    TYPE   crmt_output_customer_i_comt,
            lt_partner_i     TYPE   crmt_output_partner_i_comt,
            lt_item_cstics_i TYPE   crmt_item_cstics_tab,
            lt_billing_i     TYPE   crmt_output_billing_i_comt,
            lt_cancel_i      TYPE   crmt_output_cancel_i_comt,
            lt_finprod_i     TYPE   crmt_output_finprod_i_comt,
            lt_ordprp_i      TYPE   crmt_output_ordprp_i_comt,
            lt_appointment_i TYPE   crmt_output_appointment_i_comt,
            lt_billplan_d_i  TYPE   crmt_output_billplan_d_i_comt,
            lt_billplan_i    TYPE   crmt_output_billplan_i_comt,
            lt_orderadm_i_qt TYPE   crmt_output_orderadm_i_qt_comt,
            lt_schedlin_i_cf TYPE   crmt_output_schedlin_i_cf_comt,
            lt_status_i      TYPE   crmt_output_status_i_comt,
            lt_working_set_e_s_bbp TYPE /1cn/working_set_e_s_bbp_t,
            lv_language LIKE  sy-langu,
            lo_order TYPE REF TO cl_doc_crm_order,
            lv_object_guid TYPE crmt_object_guid,
            lv_status TYPE jstat,
            lt_status TYPE TABLE OF jstat,
            lv_error_tab_wrk TYPE ssferror,
            ls_output_options TYPE ssfcompop,
    for assignments - begin
            lt_service_i_assi TYPE  crmt_output_service_i_***_comt
    for assignments - end
    fill internal structure for the output options
      ls_output_options = is_output_options.
    get the function name for this smart form
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
           EXPORTING
                formname           = ip_smart_form
            VARIANT            = ' '
            DIRECT_CALL        = ' '
           IMPORTING
                fm_name            = function_name
           EXCEPTIONS
                no_form            = 1
                no_function_module = 2
                OTHERS             = 3
      IF sy-subrc <> 0.
      add an error message to processing protocol
        MESSAGE i015(sppf_media) WITH ip_smart_form INTO dummy.
        CALL METHOD cl_log_ppf=>add_message
          EXPORTING
            ip_problemclass = '1'
            ip_handle       = ip_application_log.
        EXIT.
      ENDIF.
    determine the tables of the application
      CALL FUNCTION 'CRM_OUTPUT_SINGLE_READ'
           EXPORTING
                iv_object                 = io_appl_object
                iv_smart_form             = ip_smart_form
                ir_partner                = io_partner
           IMPORTING
                es_output_orderadm_h      = ls_orderadm_h
                es_output_activity_h      = ls_activity_h
                es_output_opport_h        = ls_opport_h
                es_output_orgman_h        = ls_orgman_h
                es_output_pricingdata_h   = ls_pricingdata_h
                es_output_sales_h         = ls_sales_h
                es_output_shipping_h      = ls_shipping_h
                et_output_partner_h       = lt_partner_h
                et_output_payplan_d_h     = lt_payplan_d_h
                es_output_customer_h      = ls_customer_h
                es_output_cumulat_h       = ls_cumulat_h
                et_output_billing_h       = lt_billing_h
                et_output_cancel_h        = lt_cancel_h
                et_output_appointment_h   = lt_appointment_h
                et_output_billplan_d_h    = lt_billplan_d_h
                et_output_billplan_h      = lt_billplan_h
                et_output_status_d_h      = lt_status_d_h
                et_output_status_h        = lt_status_h
                et_output_srv_subject_h   = lt_srv_subject_h
                et_output_srv_reason_h    = lt_srv_reason_h
                et_output_srv_result_h    = lt_srv_result_h
                et_output_srv_refobj_h    = lt_srv_refobj_h
                et_output_srv_refobj_i    = lt_srv_refobj_i
                et_output_srv_subject_i   = lt_srv_subject_i
                es_output_acs_h           = ls_acs_h
                et_output_orderadm_i      = lt_orderadm_i
                et_output_orgman_i        = lt_orgman_i
                et_output_pricingdata_i   = lt_pricingdata_i
                et_output_pricing_i       = lt_pricing_i
                et_output_product_i       = lt_product_i
                et_output_sales_i         = lt_sales_i
                et_output_service_i       = lt_service_i
                et_output_shipping_i      = lt_shipping_i
                et_output_schedlin_i      = lt_schedlin_i
                et_output_partner_i       = lt_partner_i
                et_item_cstics_i          = lt_item_cstics_i
                et_output_customer_i      = lt_customer_i
                et_output_billing_i       = lt_billing_i
                et_output_cancel_i        = lt_cancel_i
                et_output_finprod_i       = lt_finprod_i
                et_output_ordprp_i        = lt_ordprp_i
                et_output_appointment_i   = lt_appointment_i
                et_output_billplan_d_i    = lt_billplan_d_i
                et_output_billplan_i      = lt_billplan_i
                et_output_orderadm_i_qt   = lt_orderadm_i_qt
                et_output_schedlin_i_cf   = lt_schedlin_i_cf
                et_output_status_i        = lt_status_i
                et_output_wrk_set_e_s_bbp = lt_working_set_e_s_bbp
                ev_language               = lv_language
    for assignments - begin
                et_output_service_i_assi  = lt_service_i_assi
    for assignments - end
    set mail title
    SELECT SINGLE caption INTO ls_output_options-tdtitle
       FROM stxfadmt WHERE
       formname = ip_smart_form AND
       langu    = lv_language.
    IF ls_output_options-tdtitle  IS INITIAL.
       SELECT SINGLE caption INTO ls_output_options-tdtitle
        FROM stxfadmt WHERE
        formname = ip_smart_form.
    ENDIF.
      CONCATENATE 'Servis Masas&#305; - Yeni bir sorun aç&#305;ld&#305;:'
      ls_orderadm_h-object_id INTO ls_output_options-tdtitle
      SEPARATED BY space.
    is_mail_appl_obj -
    fill this parameter if your application object is a BOR object
    the output will be connected with the BOR object via SAP Office
    this is done for mail and fax but not for print outputs
      ------>
    is_mail_appl_obj-LOGSYS    =
    is_mail_appl_obj-OBJTYPE   =
    is_mail_appl_obj-OBJKEY    =
    is_mail_appl_obj-DESCRIBE  =
      ------>
    language of smart form----
    determin here the language of the smart form
      control_parameters = is_control_parameters.
      control_parameters-langu = lv_language.
    fill archive parameters for archive link -
      IF is_output_options-tdarmod = '2' OR
         is_output_options-tdarmod = '3'.
      archive_index_tab
        READ TABLE ct_archive_index_tab INTO ls_archive_index INDEX 1.
        ls_archive_index-object_id = ls_orderadm_h-guid.
        IF ls_archive_index-object_id IS INITIAL.
          DELETE ct_archive_index_tab INDEX 1.
        ELSE.
          MODIFY ct_archive_index_tab FROM ls_archive_index INDEX 1.
        ENDIF.
      ENDIF.
      DATA : zzpartner TYPE crmt_output_partner_h_com .
      DATA : zzadres TYPE so_name .
      DATA : zobjkey TYPE swotobjid-objkey .
      DATA: lv_user           TYPE syuname,
            lv_mailaddr       TYPE so_name,
            lv_type_id        TYPE so_escape,
            lv_partnno        TYPE ppfdpartno,
            lv_partner_no     TYPE bu_partner,
            lv_partner        TYPE crmt_object_guid,
            ls_mail_recipient TYPE swotobjid.
      LOOP AT lt_partner_h INTO zzpartner .
        CLEAR zzadres.
        CHECK zzpartner-ref_partner_fct EQ 'ZSLFN001'.
        SELECT SINGLE smtp_addr FROM adr6 INTO zzadres
                               WHERE addrnumber = zzpartner-addr_nr.
        CHECK sy-subrc EQ 0.
        lv_mailaddr = zzadres.
        lv_type_id = 'U'.
        CALL FUNCTION 'CREATE_RECIPIENT_OBJ_PPF'
          EXPORTING
            ip_mailaddr       = lv_mailaddr
            ip_type_id        = lv_type_id
          IMPORTING
            ep_recipient_id   = ls_mail_recipient
          EXCEPTIONS
            invalid_recipient = 1
            OTHERS            = 2.
    delete the old recipient object
        CALL FUNCTION 'DELETE_RECIPIENT_OBJECT_PPF'
          EXPORTING
            is_recipient_id = is_mail_recipient.
    call function to process smart form
        CALL FUNCTION function_name
             EXPORTING
                  archive_index        = is_archive_index
                  archive_index_tab    = ct_archive_index_tab
                  archive_parameters   = is_archive_parameters
                  control_parameters   = control_parameters
                  mail_appl_obj        = is_mail_appl_obj
               mail_recipient       = is_mail_recipient
                  mail_recipient       = ls_mail_recipient
                  mail_sender          = is_mail_sender
                  output_options       = ls_output_options
                  user_settings        = ip_user_settings
                  orderadm_h           = ls_orderadm_h
                  activity_h           = ls_activity_h
                  opport_h             = ls_opport_h
                  orgman_h             = ls_orgman_h
                  partner_h            = lt_partner_h
                  pricingdata_h        = ls_pricingdata_h
                  sales_h              = ls_sales_h
                  shipping_h           = ls_shipping_h
                  payplan_d_h          = lt_payplan_d_h
                  cumulat_h            = ls_cumulat_h
                  customer_h           = ls_customer_h
                  acs_h                = ls_acs_h
                  billing_h            = lt_billing_h
                  cancel_h             = lt_cancel_h
                  appointment_h        = lt_appointment_h
                  billplan_d_h         = lt_billplan_d_h
                  billplan_h           = lt_billplan_h
                  status_d_h           = lt_status_d_h
                  status_h             = lt_status_h
                  srv_subject_h        = lt_srv_subject_h
                  srv_reason_h         = lt_srv_reason_h
                  srv_result_h         = lt_srv_result_h
                  srv_subject_i        = lt_srv_subject_i
                  srv_refobj_h         = lt_srv_refobj_h
                  srv_refobj_i         = lt_srv_refobj_i
                  orderadm_i           = lt_orderadm_i
                  orderadm_i_qt        = lt_orderadm_i_qt
                  orgman_i             = lt_orgman_i
                  pricingdata_i        = lt_pricingdata_i
                  pricing_i            = lt_pricing_i
                  product_i            = lt_product_i
                  sales_i              = lt_sales_i
                  service_i            = lt_service_i
                  schedlin_i           = lt_schedlin_i
                  schedlin_i_cf        = lt_schedlin_i_cf
                  shipping_i           = lt_shipping_i
                  partner_i            = lt_partner_i
                  item_cstics_i        = lt_item_cstics_i
                  customer_i           = lt_customer_i
                  billing_i            = lt_billing_i
                  cancel_i             = lt_cancel_i
                  finprod_i            = lt_finprod_i
                  ordprp_i             = lt_ordprp_i
                  appointment_i        = lt_appointment_i
                  billplan_d_i         = lt_billplan_d_i
                  billplan_i           = lt_billplan_i
                  status_i             = lt_status_i
                  working_set_e_s_bbp  = lt_working_set_e_s_bbp
                  language             = lv_language
    for assignments - begin
                  service_i_assi      =  lt_service_i_assi
    for assignments - end
             IMPORTING
                  document_output_info = es_document_output_info
                  job_output_info      = es_job_output_info
                  job_output_options   = es_job_output_options
             EXCEPTIONS
                  output_canceled      = 1
                  parameter_error      = 2
                  OTHERS               = 3.
        IF sy-subrc = 0.
    determine header guid to set status printed
          lo_order ?= io_appl_object.
          lv_object_guid = lo_order->get_crm_obj_guid( ).
    set status printed into the crm order
          CALL FUNCTION 'CRM_STATUS_SET_INTERN'
            EXPORTING
              iv_objnr            = lv_object_guid
              iv_status           = gc_status-printed
              xnoauto             = true
            EXCEPTIONS
              object_not_found    = 1
              status_inconsistent = 2
              status_not_allowed  = 3
              OTHERS              = 4.
        ELSE.
          CASE sy-subrc.
            WHEN 1.
              MESSAGE e016(sppf_media) INTO dummy.
            WHEN 2.
              MESSAGE e017(sppf_media) WITH function_name INTO dummy.
            WHEN 3.
              MESSAGE e018(sppf_media) WITH function_name INTO dummy.
          ENDCASE.
          CALL METHOD cl_log_ppf=>add_message
            EXPORTING
              ip_problemclass = '1'
              ip_handle       = ip_application_log.
        ENDIF.
    get error table
        CALL FUNCTION 'SSF_READ_ERRORS'
          IMPORTING
            errortab = et_error_tab.
    fill error into crm_order status
        LOOP AT et_error_tab INTO lv_error_tab_wrk
                 WHERE msgty = gc_msgtype-error.
          CALL FUNCTION 'CRM_MESSAGE_COLLECT'
               EXPORTING
                    iv_caller_name     = gc_object_name-order
                    iv_msgno           = lv_error_tab_wrk-msgno
                    iv_msgid           = lv_error_tab_wrk-msgid
                    iv_msgty           = lv_error_tab_wrk-msgty
                    iv_msgv1           = lv_error_tab_wrk-msgv1
                    iv_msgv2           = lv_error_tab_wrk-msgv2
                    iv_msgv3           = lv_error_tab_wrk-msgv3
                    iv_msgv4           = lv_error_tab_wrk-msgv4
                IV_ERROR_RELEVANCE = FALSE
                    iv_msglevel        = gc_msglevel-administrator
               EXCEPTIONS
                    not_found          = 1
                    appl_log_error     = 2
                    OTHERS             = 3.
        ENDLOOP.
      ENDLOOP .
    ENDMETHOD.

Maybe you are looking for

  • Lightroom says photos are already in folder - but they aren't

    Hello lightroom users, Am hoping you can shed some light onto a problem I'm having.  I had to move my lightroom folders between external harddrives and in doing so, the folders seem to have duplicated, with the photos shared between them. So I have m

  • Family Sharing and iTunes for Windows

    My wife and I have family sharing set up and working fine across iOS devices and my macs.  She uses iTunes for windows and we can't find how to access my purchases on her machine.  We looked in the same place it is in iTunes for Mac and there is no p

  • My ipod shuffle is not working anymore

    Here's my scenario, i got my ipod shuffle from an electronics store in the states during the week of 4th of July 2005; however, i'm from Toronto, Canada.........Canadian citizen. I tested out my ipod shuffle @ my cousins computer before i left, which

  • ACR not using .xmp files after 03/09/2011

    I'm using ACR 6.4.1.145 and Bridge CS5 on a Windows 7 x64 Pro machine. Canon S95 and G12 CR2 files created before 04/09/2011 behave exactly as they should: changes aved in .xmp files are recognized and applied in Bridge thumbnails and when the image

  • Integration between OID and AD - Error

    Hi gurus. I am using the IDM 10.1.4 to integrate the OID with AD. I am with the follow error: Trace Log Started at Thu Sep 20 17:36:37 BRT 2007 0 >= 0 java.lang.ArrayIndexOutOfBoundsException: 0 >= 0      at java.util.Vector.elementAt(Vector.java:431