Customer Quality notification for multiple batches

Hi All,
Is there any way I can reference multiple Batches to single quality notification?
Present solution Proposed -  Using user exit insert New Zfields to notification to enter Batch nos manually.
is there any other standard enhasment where multiple batch entry can be done!
Thanks in advance!
Jay

Dear Sadan,
There is a chance of happening this due to that field is marked as mandatory.
I hope this would happen, when Pm guy was making settings for the notification fields.
He might have made this filed mandatory w/o any reference of Notification type (Influencing in spro filed selection), If he doesnt select Influencing and Notification type, that field Mandatory will effect all the Notification types.
So please check with ur PM guy and change the field setting for Notifications and ask him to use Influencing - Notification type and desired notification type.
Regards,
Praveen

Similar Messages

  • Subcontracting - outbound delivery by ME2O for Multiple batch of 1MTR

    **Dear Expert**
    **Subcontracting -we want to send One material to Vendor for processing but this material having Multiple batches,In T-code ME2O  we can enter only one Batch while creating delivery.**
    **If we want to create Delivery  for multiple batches of one material how we can send By ME2O ? is there any option to add multiple batches in ME2O**
    **please reply as early as possible**
    **Thanks & regards**
    **Pash@SD**

    Moved from sales forum.   Please try to post the question in right forum so that you will get right solution.
    thanks
    G. Lakshmipathi

  • Batch derivation for multiple batches

    hello,
    anybody pls help me i am doing batch deivation. i have made all configuration. but i am not getting how it will work for multiple batches. i my scenario when i am doing sheet clitting against sales order if my rm have two batches and my fg have four batches in one production order. how can i assign which rm batch characteristics goes to fg batch.pls pull out me for this situation.
    bhakta

    Hi Bhakta,
    Bigger problem in your case is not multiple Batches of RM but more then one Batch No. of Header Material in single production Order.I guess in your case Batch No. are triggered at the time of GR and not in Production Order at the time of Release.Correct?
    But up to my knowledge Batch Derivation is triggered at the time of Batch Creation in Production order.For which you have to first carried out Batch Derivation of sender Material.But in your cases the scenario is totally different due to Batch is created at the time of GR.So Difficult one and can be possible if you go with 1 Batch for 1 prod. order.
    Regards,
    Dhaval

  • Multiple 'F3' Quality Notifications for defects from single Service Order

    Those of you working w/ the QM module no doubt know that if a failure is recorded against an inspection characteristic linked to a Production Order (Order category 10), that SAP standard functionality creates a Defect document (Quality Notification type 'F3'). Any subsequent failures recorded that are linked to that same Production Order (as well as the material & serial number) are recorded, as additional line item defectes, on that same 'F3' Quality Notification.
    HOWEVER, I have found when failures are recorded against inspection characteristics for a Maintenance Order (Order Category 30), a new Defect document (Quality Notification type 'F3') is created for each failure that is recorded. Why is this?
    My client wants only a single 'F3' Quality Notification to be created for any and all failures that are recorded against a single Maintenance Order. I do not see any way to accomplish this w/o a core mod. Understanding WHY SAP treats these two order categories differently will go a long way to assisting me in designing an adequate solution.
    Thanks for your help.

    A couple more pieces of information....
    1. We are currently running SAP Enterprise (4.7).
    2. If I go to SPRO -> 'Quality Management' -> 'Inspection Lot Creation' -> 'Maintain Inspection Types', and display the details for Inspection Type 14 (which we use for Service Orders) the check box for 'One Q-notification per insp. lot' is active. Clearly the system is not processing a single Quality Notification per inspection lot on service orders.
    Your assistance is greatly appreciated. Happy New Year

  • Can I copy one Custom Quality Notification TYPE to another TYPE (i.e. ZH to ZC)?

    We need to make nearly identical Quality Notification Types to one we have already created. I've seen how to create one from one of the Standard SAP notification types but its pull-down copy-from only lists SAP ones and there seems to be no provision to enter any of our customized ones.
    It is more trouble than it should be to manually go line by line, screen by screen of the Dialog Structure in SPRO and make the same entries over again especially since we need two new QN Types.

    good desing would be to somehow get the key and then save the attachment based on that, for some reason if thats not possible you can use BDS_BUSINESSDOCUMENT_COPY to copy from your 0000 version to new key
    Raja

  • Issue material for Subcontracting with reference to PO for multiple batches

    Hi All,
    Issue: I want to issue 5-6 materials with reference to PO which have multiple batches. How can that be done?
    Thus, if my raw material in stock are:
    mat X   Batch 1    50 nos
    mat X   Batch 2    40 nos
    mat X   Batch 3     30 nos
    mat Y Batch 6    10 nos
    mat Y Batch 7    10 nos
    mat Y Batch 8    10 nos
    mat Y Batch 9    10 nos
    i f for semi finished material A, sub contractor order 45000009 is created, where raw material required are:
    Mat X      100 nos
    Mat Y      30 nos
    then how can I issue the raw materials wrt PO, and select multiple batches at the same time, without user entering the material again and again.
    I have gone through the SDN multiple times to see the probable solution exists, but I have not received any solution.
    Regards,
    Ankush

    DO MB1B transaction, with Movement type 541,
    Enter the material with different Batches for required qty. as different line items.
    e.g
    line item 1 : mat X Batch 1 50 nos
    line item 2 :  mat X Batch 2 40 nos
    line item 3 :  mat X Batch 3 10 nos
    line item 4: mat Y Batch 6 10 nos
    line item 5 :  mat Y Batch 7 10 nos
    line item 6 :  mat Y Batch 8 10 nos
    Edited by: sudhansu satapathy on Oct 21, 2011 7:29 PM

  • #ATTACHMENTS handler in workflow notification for multiple attachments

    I would like to attach multiple documents to a workflow notification. The number of attachments are not known at design time.
    I see that #ATTACHMENTS handler is used for purpose, but I am not clear how to use it with PLSQLBLOB usage.
    How to return multiple documents to the #ATTACHMENTS special handler using PLSQLBLOB?
    Created a message attribute of Type=Document and gave internal name as #ATTACHMENTS. Now time to set a PLSQLBLOB function, but to attach multiple documents. Not sure how ....
    Note, I do seem some examples with FND:entity usage which shows attachments fine in the worklist, but the attachments are not shown in the email when using workflow mailer due to limitations with FND usage. Using PLSQLBLOB Document, I'm able to show attachments in both worklist and email, but each document attribute can handle only one attachment file. The number of attachments are not known at design time. I would like to use #ATTACHMENTS handler but for PLSQLBLOB usage.
    Can some throw more light on #ATTACHMENTS tag with PLSQLBLOB usage for multiple attachments?
    Thanks!

    hi Sanni
    please view this page.It is not direct answer. But it might help
    https://sites.google.com/site/shareapps4u/learning-topic/workflow-tutorial/how-to-attach-document-with-notification
    I have a similar requirement like yours.I need to attach the document when user sends reply to a notification.
    Can you please guide me in that.
    I appreciate your help in this. I heard that Oracle Standard functionality does not support this.
    Appreciate your help
    kp

  • OIM 11g - Mail Notification for multiple resources

    User will be provisioned to 5 target system through access policies.So instead of sending 5 different mail notifications to the manager on the Create User task about the account creation, is it possible to send one consolidated mail about the provisioned resources in OIM 11g.

    Hi,
    How abt for the following requirement for sending single mail for multiple resources provisioned.
    We have 3 Access Policies which is defined as follows.
    1) Policy 1 -> R1,R2,R3 Resources
    2) Policy 2 -> R3,R5 Resources
    3) Policy 3 -> R1,R4 Resources
    In such a case we will not be able to put dependencies on Resources and adding a task for sending email.

  • Custom property renderer for multiple value selections of property metadata

    Hi,
    We have created custom predefined metadata properties and fetching data from SAP to display values while uploading a document from KM.Everything is working fine and values are being displayed in a dropdown.
    The standard property multi-valued displays values in checkboxex but the requirement is to allow for multiple selections in dropdown using shift ot ctrl key.
    We started creating our own property renderer by decompiling classes like allowedvalues_multivalued
    but we could not see the property on the upload screen.
    Any help is greatly appericiated.
    Thanks,
    Vasu.

    Vasu,
    Try changing the property renderer setting in your custom property.  There might be one which allows a multiple select box.  If not, you can always create your own.  The following links are helpful:
    https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/5800
    https://www.sdn.sap.com/irj/sdn/nw-cm?rid=/library/uuid/f7b176eb-0701-0010-2b84-8edb1f76771d
    Andrew

  • 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.

  • Report of result recording for multiple batches in a given time span .

    Dear team ,
    I am looking for a standard SAP report that gives the details of result recording with all the characteristics for mulitple batches in a given span of time . The MICs will show the actual values recorded for each of the batches.
    The colums may be like this
    material/batche/lot/quanity/mic1 value/mic2 value/mic 3 value...........
    A standard report is prefered and we would also like to have a trend analysis done for the batches .
    Looking forward to hearing from you .
    Ram

    Thanks for the answer Firefighter.... cheked the t code and seems to be useful . But I would like to have the report in the folowing format . Kindly guide.
    SN     MATERIAL     BATCH     INSPECTION LOT      QUANTITY     CHARACTERISTIC 1     CHARACTERISTIC 2     3     4
    Ram

  • How to remove Sales Order to Own for multiple Batches at a time.

    Dear All,
    We use to scrap FERT materials using Mvt. Type 551 / 555, but before scrapping stocks are being removed from Sales Order using Mov. Type: 411 'E', because Batches are produced against Sales Order under MTO strategy.
    The removing process from Sales Order using T.Code MB1A & Mov. Type: 411 'E' is quite time consuming because in this case only one batch is removed from Sales Order at a time.
    So is there any way by which I can remove multiple Batches at a time from Sales Order.
    Thanks and Best Regards,
    Vivek Kumar

    Hi
    YOu can use transaction MASS with the sales document, sales document item, batch fields.
    create a variant and do the changes
    regards,
    Ramana

  • Send single notification for multiple scheduled webi reports

    Hi All,
    Need advice for the following.
    We are using BO XI R2 . We have reports scheduled Monthly to be distributed to user.  We have set a success notification for all the reports, which is sent to all users.
    The users demand that getting notification for each report is annoying, and wish to get a single notification finally when are reports are executed successfully.
    Please advice.
    Thanks

    You could maybe set up something with an event. For instance if they run in a certain order, you could only send the notification out when the last report runs or something like that.

  • Single notification for multiple equipments in a maintenace plan

    hi experts,
    Can we create a single notification for more than one equipments?how?
    in a maintenace plan i have more than one equipment. For all those equipments i need a single notification when i schedule tht plan? pls give the solution.Early reply will be highly appreciaable.
    Thanks & regards
    Reddiy

    This post is PM relevant however the easiest  solution would be to put all related equipment under one logical functional location and generate your maintenance plan on functional location level and execute maintenance for all these equipment
    Zubair Mir

  • Transaction Notification for Blocking Batch

    Dear Experts,
    I am facing a critical situation. My Client wants to Block the material movement  if it is not inspected through Quality Personal. I have already Locked batches through General Settings > Inventory > Batch Status . But it only blocks the batches for Goods Issue and Receipts Transactions. It is not working in case of Inventory transfers.
    I have created UDF on GRPO called U_InspStatus where by default value is Pending once the Quality personal changes the UDF value to Completed then only the batch should be able to move through Inventory Transfer.
    Can anyone help me in creating Transaction Notification on Inventory Transfer Document  which can block batches if there status is pending ?
    Waiting for your replies.
    Regards,
    RK

    Hi Naga,
    Please find below mentioned answer to your queries -
    1. Inventory transfer done by means of posting inventory transfer document? - Yes
    2. Inventory transfer as applicable to customer not vendor. How do you select vendor in inventory transfer document? - Not selecting the customer in Inventory Transfer document not required I am moving material from one warehouse to another.
    3. How did you update inspection status in inventory transfer document - Inspection status is updated in Quality Add on and not in Inventory Transfer. But if I am transferring material from one warehouse to another without Inspection then it should block the batch whose Inspection status is pending.

Maybe you are looking for