Assign Execute and Review for Quality Notification

Hello Experts,
Can we configure the workflow WS24500047 or is their any change in configuration in SPRO so that we can make the following business scenario.
1- Quality Administrator will create quality notification in QM01.
2- Quality Administrator will assign the task to the responsible person for eg. User1 is responsible to complete the task to fix a bolt of a machine
3- After fixing the issue. User1 will make the the task complete and request to close the task
4- Other User say Reviewer will see the request from User1 and finds the the task is properly done and he will make a request to the approver to close the task
5- The approver will approve the request and close the task.
6- And if the all the task of the quality notification is complete then
quality administrator will complete the quality notification and close the task.
in other words.
QA (will create the Quality notification and assign to user) --> User1 (Fix the issue and make a request to complete the outstanding task to the reviewer ) --> Reviewer (Inspect and make a request to the Approver to approve and close the outstanding task) --> QA (finally close the quality notification after completion of all Outstanding tasks)
Thanks and Regards,
Kuldeep Verma

Hi Kuldeep,
                   You have to generate 3 SAP Login ID's like ...
1. Q_01 : Who will have the rights of Creating & Changing the Notification. He will also have the right to complete the Notification as wel as revoke it.
2. Q_02 : Who will have the rights to enter the details about the Task and its activities as you said fix a bolt on machine.
3. Q_03 : Who will have the rights to review the whole process thru closing the Task.
I feel that there is no need to have fourth one in picture as your all requirement can meet within these three.
Please revert with comments.

Similar Messages

  • Queries:Editable ALV - Without OO concept and BAPI for Quality notification

    Hi Abaper's,
    1. Is there a possibility of giving F4 help for an editable field in Classical ALV ?
    2. Could anyone suggest bapi for changing notification status in QM02 ? Approving/Rejecting/Closing Notifications.
    Regards,
    Kausthub

  • Restricting authobject I_QMEL for Quality notifications and HR PCRs

    Hello,
    We have encountered an role conflict when the authorization object I_QMEL is used both for Quality notification and HR PCR access on the portal.  Here is the scenario.
    Quality Administrator has I_QMEL for:
    - notification type X
    - transaction IQS1 and IQS2
    - all work is done in the GUI
    Employee who is a Manager has I_QMEL for:
    - notification type Z
    - transactions IQS1 and IQS2
    - all work is done on the portal
    The role conflict arises when one user has both the Quality Administrator role and the Manage role.  The user can then use the GUI to view notifications of type Z - that any manager has submitted.  This means the user can view all personnel change requests in the systems.  These PCRs contain sensitive information.
    Any ideas on how I can design the security such that this role conflict is suppressed?
    Thanks!

    Hi Vicky,
    I have the same problems you had. I also need to implement your requirements 2) and 3)
    How have you solved your requirements? Please let me know your solutions.
    Thanks in advance
    Sarah

  • Set a User Status for Quality Notifications only if they are "Activated".

    Hello experts:
    I need to be able to set a User Status for Quality Notifications only if they are "Activated".
    When defects are recorded for an inspection lot, a "Defect Notification" is created which can be activated to become a "Quality Notification".  Initially, the only difference between the inactive "Defect Notification" and the active  "Quality Notification" is that  the system status DEFR is active for the "Defect Notification", but is cleared when the notification is activated.
    So, I'm looking for the business process associated with the Activation to use as a trigger for my own user status.
    I checked the business rules for status DEFR and found that the following processes clear this status
      PMM1 -  Postpone Notification
      PMM2 -  Put Notification In Process
      PMM3 -  Assign Order
      PMM6 -  Put Notification In Process Again
    Any Ideas ?

    Perhaps some additional information would help you understand what I need to do.
    For notification type F3, we are recording all defects found in production.
    Most of these are expected defects that result in a minor reduction in yield.
    For this type of defect, we do not activate the notification, and the inspection lot is closed automatically at the end of production.
    However, sometimes defects are observed of an unexpected type or a higher than expected quantity.
    When this happens we manually activate the notification and assign tasks to find and correct the cause.
    It is only for these activated notifications that I want to automatically set a user status, which among other things, will prevent the notification from being closed until some other actions are complete and a different user status is selected.
    The function of the user status currently works exactly as I want, but if it is set as the initial status for all F3 notifications, it is also preventing the un-activated defect notifications from automatically closing.  I therefore want to use the Activation event as the trigger to set my user status.

  • Electronic signatures for Quality Notifications

    We are on 4.0b system and thinking of implementing electronic signatures functionality for quality notifications. Since SAP standard does not have this functionality we are planning to use Enhancement QQMA0014, function module exit EXIT_SAPMIWO0_020.
    To this effect, we are requesting your guidance for the following
    1.Is this customer exit available in latest version of SAP ?
    2. If we store these signatures (user id , date and time) in an custom table, can we move this custom table ,once we upgrade to a higher version.
    3. Is there any other way to implement electronic signatures for quality notifications in version 4.0b.

    Hi Isabelle,
    Thanks for your patience in understanding my question.
    My primary worry is if i use this exit to have electronic signatures in 4.0b and i know this functionality (Electronic  signatures) is standard in latest versions, what will happen to the electronic signature data that i create until i upgrade.
    The electronic signature data is the user id , date and time associated with a notification. I plan to store this in a custom table.
    I will appreciate , if you can share with me your analysis.
    Thanks
    Manoj Jain

  • MB56 for quality notifications?

    Hi all,
    is there a possibility to see quality notifications for substream materials which were consumed for production of a finished good? I mean a kind of MB56 for quality notifications.You enter the finished goods material and batch and see if there were notifications for a material which was used to produce the finished good?
    Does this exist somewhere in the R3 - system?
    Thank you for your help!
    Alex

    Hi Isabelle,
    Thanks for your patience in understanding my question.
    My primary worry is if i use this exit to have electronic signatures in 4.0b and i know this functionality (Electronic  signatures) is standard in latest versions, what will happen to the electronic signature data that i create until i upgrade.
    The electronic signature data is the user id , date and time associated with a notification. I plan to store this in a custom table.
    I will appreciate , if you can share with me your analysis.
    Thanks
    Manoj Jain

  • Status profile for Quality notification

    I want to restrict users untill notification is approved, they can not do it complete
    Dear All,
    I want to restrict users untill notification is approved, they can not do it complete.
    I have created status profile through BS02 as ZQM02 where 3 status no I have given:
    10-INIT>Init status checked>lower limit-10 higherlimit-20>Position 1>priority>1
    20-APPR>Init status not checked>lower limit-10 higherlimit-20>Position 1>priority>1
    30-COMP>Init status not checked>lower limit-10 higherlimit-30>Position 1>priority>1
    Allowed Object types>Quality Notification checked
    In transaction control Complete notification marked as forbidd.
    But it is not working, I can still mark as complete without marking it approved.
    status screen also not changing even after completion of notification, it still showing
    under status no 10 >INIT
    Plz advice what I am missing and how I can do this.
    regards,
    sp shukla

    OK. I think you are confused 2 things.
    First.. you have to create 2 kinds of status profile. One is for notification and another is for task.
    Second.. 'next action' means not next transaction. It means automatic set when the transaction is excuted.
    Try below.
    1) status profile 'A' for notification (select 'quality notification' only for object type)
    10-INIT-initial-forbid 'complete notification'-nothing other transaction
    20-APPR-allow 'complete notification'-set 'put in process(released)' (this means a notification will be set 'APPR' automaticaaly when you release a notification and user can complete it.)
    30-COMP-set 'complete notification' (this means a notification will be set 'COMP' automatically when you complete it.)
    2) status profile 'B' for task (select 'task' only for object type)
    10-INIT-initial-nothing other transaction
    20-REL-forbid 'delete task'-set 'release task' (this means a task will be set 'REL' automatically when you release a task and user cannot delete it anymore.)
    3) assign both in configuration
    'A' for notification
    'B' for task
    Regards
    Luke

  • Action Box customizing for Quality notifications

    Hi all,
    In the customizing Quality Notifications ->Qualyty Notifications->Notification processing->Aditional Notification Funtions->Define Action Box.  Inside of de Action definitions, a field for Workflows or Standard Task is avalilable. (in specific details for task).
    Any one know how it works? No Binding defined?
    I mean, in the customizing of Quality notification Actions,  Workflow (or TS) could be included in the specific detail. I do not understand how that could work since no binding is defined.
    Thanks in advance.

    Hi,
    Finally after a lot of tests, looks like the Workflow is trigered when save and recieve a Task object for inport parameter (I mean, my Workflow has as input object QMSM and it is been populated - Create Workitem in error if I add Notification as input too).
    I hope this would be usefull if someone more has the same doubt in the future and look for some help in this foro.
    Regards,
    Paco
    PD: Yo me lo guiso, yo me lo como. (yo pregunto, yo me respondo).
    PPD: I have answered my self....I do not obtain points for that?  XD.

  • Update System Status for Quality Notification

    I have a program that completes a Quality Notification.
    I would like to know if there is a bapi, badi or function module to change the system status before I complete the notification. When I click on the icon in the notification to complete it, a pop up box comes up to change the status to NOTI or NOTE. I would like to do the same in my program before I complete it.
    Any help would be appreciated.
    Marianne

    Hi,
    You need to get the OBJNR(object number) for the notifications and then use the FM: STATUS_READ.
    This FM will give you list of all the status or only active status( Set ONLY_ACTIVE = X in FM)..
    Hope this helps
    Regards
    Shiva

  • QM: Color of exception light for quality notification in QM11

    Hi,
    When I execute transaction QM11 to get an overview of the quality notifications there is a column with exception. This light can be green, yellow and red. But where can i check what these colors mean? Can this be changed in customizing?
    Regards,
    Maarten

    Refer the Links
    [Traffic Lights|http://help.sap.com/saphelp_nw04/helpdata/en/80/1a663ce07211d2acb80000e829fbfe/content.htm]
    [ARticle|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/303564dc-3531-2a10-0fa3-be6426c3d61b]
    Regards,
    Shyamal
    Edited by: Shyamal Joshi on Sep 5, 2008 7:00 PM

  • Show long text for Quality Notification when double click field in alv

    I have an ALV grid called using a FM and I am using the user command routine to do somthing when a particular cell is  clicked.  I want to  call up the root cause text from the action box of the QN via QM03 .  I am building a BDC table to call with a CALL transaction but when I write my BDC up to that point, the program is running the BDC but not going to the point where the long text is displayed is i am in mode 'N'.
    FORM user_command USING r_ucomm LIKE sy-ucomm
                             rs_selfield TYPE slis_selfield.
      READ TABLE itab INDEX rs_selfield-tabindex.
      CASE r_ucomm.
        WHEN '&IC1'.
          CASE rs_selfield-fieldname.
    * When double click on root cause, display root cause long text
            WHEN 'ZZ_URCOD'.
              PERFORM display_root_cause_text.
              CALL TRANSACTION 'QM03' USING gt_bdc MODE 'N'.
      ENDCASE.
    ENDFORM.                    "user_command
    FORM display_root_cause_text .
      FREE gt_bdc.
      PERFORM fill_bdc USING 'SAPLIQS0'     '0200'      'X'.
      PERFORM fill_bdc USING 'RIWO00-QMNUM'  itab-qmnum  space.
      PERFORM fill_bdc USING 'SAPLIQS0'     '7200'      'X'.
      PERFORM fill_bdc USING 'BDC_OKCODE'  '=10\TAB03'  space.
      PERFORM fill_bdc USING 'SAPLIQS0'     '7200'      'X'.
      PERFORM fill_bdc USING 'BDC_CURSOR'
                             'QMICON-LTURSACHE(01)'     space.
      PERFORM fill_bdc USING 'BDC_OKCODE'  '=UX01'  space.
    ENDFORM.                    " DISPLAY_ROOT_CAUSE_TEXT
    Any one have any suggestions of know of a BAPI that I can achieve the same thing?
    Thanks
    Larissa Maryniuk

    Hello,
    also try to use the messages clause (of type BDCMSGCOLL).
    This will return the system messages.
    call transaction 'XXXX' using BDCTAB
                                            mode 'P'
                                            messages into MSG_TAB.
    Try to change the mode from 'N' to 'P' and try to place a breakpoint and check what happens.
    Alternatively, you can read the Quality Notification text using FM READ_TEXT, and then show this data to the user in pop-up, rather than calling the tx.
    Hope this helps.

  • User status for quality notification

    Hi All,
    from which table we can get user status for a particular notification which is  active status.
    Thanks in advance

    Hi,
    You need to get the OBJNR(object number) for the notifications and then use the FM: STATUS_READ.
    This FM will give you list of all the status or only active status( Set ONLY_ACTIVE = X in FM)..
    Hope this helps
    Regards
    Shiva

  • 101 to be used only for unrestricted stock and not for quality stock

    Dear Experts,
    My client requires that mvt type 101 to be used for GR into ONLY unrestricted stock and not into Quality stock, if it requires we can create new mvt type as well.
    Please let me know how to achieve this.
    Regards
    Abhi

    You can set default value in MIGO for movement type and stock type..
    Go to MIGO
    The set default value for stock type as Unrestricted and movement type 101.
    Then Go to OLMB-Settings for Enjoy Transactions-Settings for Goods Movements (MIGO)-Field Selection for MIGO
    Here set the field Stock type as display..
    Then check in MIGO
    The field value will be unrestricted always and user will not able to change this..
    Test the scenario and revert back..

  • [SOLVED] Asking for help and reviews for a PKGBUILD (cnijfilter-mp250)

    Hi everyone,
    I recently changed the desktop pc used by my parents, and I installed Arch on it (the previous desktop was running Debian). I know that I need to install a driver to get the printer working (a Canon MP 250 Series), because I did it before with Debian.
    The driver is in the AUR:
    https://aur.archlinux.org/packages/cnijfilter-mp250/
    A user in the comment (Huulivoide) suggested that the PKGBUILD was old, but the current mantainer didn't respond, so I decided to try to update the PKGBUILD myself as a learning opportunity and as a way to give something back to the community. This is the first PKGBUILD that I modify; while I've used Arch for quite some time, I'm still a noob in many respects.
    I tried to apply all the suggestions, and I did some other things (like quoting variables) that I often see in PKGBUILDs. This is the PKGBUILD:
    # Maintainer: Alireza Savand <[email protected]>
    # Special thanks to: olive, mirrr, GUiHKX, alessiofachechi, jeremy33,
    # jstitch, plv
    pkgname=cnijfilter-mp250
    pkgver=3.40.1
    pkgrel=5.1
    _pkgrealver=3.40
    _pkgrealrel=1
    pkgdesc="Canon IJ Printer Driver (MP250 series)"
    url="http://support-au.canon.com.au/contents/AU/EN/0100302002.html"
    arch=('i686' 'x86_64')
    license=('custom')
    depends=(
    'libcups'
    'cups'
    'popt'
    'ghostscript'
    'gsfonts'
    'atk>=1.9.0'
    'gtk2>=2.8.0'
    'pango>=1.12.3'
    'libpng>=1.2.8'
    'libtiff'
    'cairo>=1.0.2'
    'libxml2>=2.6.24'
    'fontconfig>=2.3.0'
    'libxinerama'
    makedepends=(
    'autoconf>=2.13'
    'automake>=1.6'
    'tar'
    'make'
    'gcc'
    conflicts=('cnijfilter-common')
    install=cnijfilter-mp250.install
    source=(
    'http://gdlp01.c-wss.com/gds/0/0100003020/01/cnijfilter-source-3.40-1.tar.gz'
    'fix.patch'
    'libpng.patch'
    'automake_fix.patch'
    md5sums=(
    '609975a05d6050fcca88f312d3f35c6a'
    'ba9c7ec49e76bf74cc50702e362aba7b'
    '15e417cd427a920c83e4f28e225e428e'
    '07f698d8987632d9bb427d3f4a42a29a'
    prepare() {
    cd "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/"
    #patch -p0 < "${srcdir}/fix.patch"
    #patch -p0 < "${srcdir}/libpng.patch"
    #patch -p0 < "${srcdir}/automake_fix.patch"
    build() {
    cd "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/libs"
    ./autogen.sh --prefix=/usr --program-suffix=mp250
    make
    cd "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/cngpij"
    ./autogen.sh --prefix=/usr --program-suffix=mp250 --enable-progpath=/usr/bin
    make
    cd "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/cnijfilter"
    ./autogen.sh --prefix=/usr --program-suffix=mp250 --enable-progpath=/usr/bin
    make
    cd "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/pstocanonij"
    ./autogen.sh --prefix=/usr --program-suffix=mp250 --enable-progpath=/usr/bin
    make
    cd "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/lgmon"
    ./autogen.sh --prefix=/usr --program-suffix=mp250 --enable-progpath=/usr/bin
    make
    cd "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/ppd"
    ./autogen.sh --prefix=/usr --program-suffix=mp250
    make
    cd "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/cngpijmon/cnijnpr"
    ./autogen.sh --prefix=/usr --program-suffix=mp250 --enable-progpath=/usr/bin LIBS="-ldl"
    make
    cd "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/backend"
    ./autogen.sh --prefix=/usr --program-suffix=mp250 --enable-progpath=/usr/bin
    make
    cd "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/backendnet"
    ./autogen.sh --prefix=/usr --program-suffix=mp250 --enable-progpath=/usr/bin
    make
    package() {
    cd "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/libs"
    make DESTDIR="${pkgdir}" install
    cd "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/cngpij"
    make DESTDIR="${pkgdir}" install
    cd "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/cnijfilter"
    make DESTDIR="${pkgdir}" install
    cd "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/pstocanonij"
    make DESTDIR="${pkgdir}" install
    cd "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/lgmon"
    make DESTDIR="${pkgdir}" install
    cd "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/ppd"
    make DESTDIR="${pkgdir}" install
    cd "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/cngpijmon/cnijnpr"
    make DESTDIR="${pkgdir}" install
    cd "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/backend"
    make DESTDIR="${pkgdir}" install
    cd "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/backendnet"
    make DESTDIR="${pkgdir}" install
    cp "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}"/cnijfilter/src/config* \
    "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}"/lgmon/src/
    cp "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}"/cnijfilter/src/config* \
    "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}"/cngpijmon/cnijnpr/cnijnpr/
    cd "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}"
    install -d "${pkgdir}/usr/lib/bjlib"
    install -m 755 356/database/* "${pkgdir}/usr/lib/bjlib"
    if [ "$CARCH" == "x86_64" ]; then
    libdir=libs_bin64
    else
    libdir=libs_bin32
    fi
    install -m 755 "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/356/${libdir}/libcnbpcmcm356.so.8.0.1" \
    "${pkgdir}/usr/lib/"
    install -m 755 "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/356/${libdir}/libcnbpcnclapi356.so.3.5.0" \
    "${pkgdir}/usr/lib/"
    install -m 755 "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/356/${libdir}/libcnbpcnclbjcmd356.so.3.3.0" \
    "${pkgdir}/usr/lib/"
    install -m 755 "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/356/${libdir}/libcnbpcnclui356.so.3.6.0" \
    "${pkgdir}/usr/lib/"
    install -m 755 "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/356/${libdir}/libcnbpess356.so.3.3.3" \
    "${pkgdir}/usr/lib/"
    install -m 755 "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/356/${libdir}/libcnbpess356.so.3.3.3" \
    "${pkgdir}/usr/lib/"
    install -m 755 "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/356/${libdir}/libcnbpo356.so.1.0.2" \
    "${pkgdir}/usr/lib/"
    install -m 755 "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/com/${libdir}/libcnnet.so.1.2.0" \
    "${pkgdir}/usr/lib/"
    cd "${pkgdir}/usr/lib/"
    ln -s libcnbpcmcm356.so.8.0.1 libcnbpcmcm356.so
    ln -s libcnbpcnclapi356.so.3.5.0 libcnbpcnclapi356.so
    ln -s libcnbpcnclbjcmd356.so.3.3.0 libcnbpcnclbjcmd356.so
    ln -s libcnbpcnclui356.so.3.6.0 libcnbpcnclui356.so
    ln -s libcnbpess356.so.3.3.3 libcnbpess356.so
    ln -s libcnbpo356.so.1.0.2 libcnbpo356.so
    ln -s libcnnet.so.1.2.0 libcnnet.so
    cd "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}"
    install -D "LICENSE-cnijfilter-${_pkgrealver}EN.txt" \
    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-cnijfilter-${_pkgrealver}EN.txt"
    Questions:
    * Is the PKGBUILD all right?
    * The PKGBUILD apparently needs some patches. Unfortunately I don't code so I don't understand what their effect is. As far as I can tell, automake_fix.patch isn't needed anymore: I actually had to remove it to make the package build. Can someone confirm that it is safe to remove automake_fix.patch? What about the other patches? The package seems to build fine without libpng.patch and fix.patch, but since I don't know what they do I cannot really evaluate the impact of removing them.
    * namcap outputs some warnings about missing libraries. I'm not sure how to proceed here. Here is the output:
    cnijfilter-mp250 W: Referenced library 'libcnbpess356.so' is an uninstalled dependency
    cnijfilter-mp250 W: Referenced library 'libcnnet.so' is an uninstalled dependency
    cnijfilter-mp250 W: Referenced library 'libcnbpcmcm356.so' is an uninstalled dependency
    cnijfilter-mp250 W: Referenced library 'libcnbpcnclbjcmd356.so' is an uninstalled dependency
    cnijfilter-mp250 W: Referenced library 'libcnbpcnclapi356.so' is an uninstalled dependency
    cnijfilter-mp250 W: Referenced library 'libcnbpcnclui356.so' is an uninstalled dependency
    On the other hand, if I try to search (with find) for the name of the library in the package, I can see them:
    ./src/cnijfilter-source-3.40-1/356/libs_bin32/libcnbpess356.so
    ./src/cnijfilter-source-3.40-1/356/libs_bin64/libcnbpess356.so
    ./pkg/cnijfilter-mp250/usr/lib/libcnbpess356.so
    ./src/cnijfilter-source-3.40-1/com/libs_bin32/libcnnet.so
    ./src/cnijfilter-source-3.40-1/com/libs_bin64/libcnnet.so
    ./pkg/cnijfilter-mp250/usr/lib/libcnnet.so
    ./src/cnijfilter-source-3.40-1/356/libs_bin32/libcnbpcmcm356.so
    ./src/cnijfilter-source-3.40-1/356/libs_bin64/libcnbpcmcm356.so
    ./pkg/cnijfilter-mp250/usr/lib/libcnbpcmcm356.so
    ./src/cnijfilter-source-3.40-1/356/libs_bin32/libcnbpcnclbjcmd356.so
    ./src/cnijfilter-source-3.40-1/356/libs_bin64/libcnbpcnclbjcmd356.so
    ./pkg/cnijfilter-mp250/usr/lib/libcnbpcnclbjcmd356.so
    ./src/cnijfilter-source-3.40-1/356/libs_bin32/libcnbpcnclapi356.so
    ./src/cnijfilter-source-3.40-1/356/libs_bin64/libcnbpcnclapi356.so
    ./pkg/cnijfilter-mp250/usr/lib/libcnbpcnclapi356.so
    ./src/cnijfilter-source-3.40-1/356/libs_bin32/libcnbpcnclui356.so
    ./src/cnijfilter-source-3.40-1/356/libs_bin64/libcnbpcnclui356.so
    ./pkg/cnijfilter-mp250/usr/lib/libcnbpcnclui356.so
    So, all I can guess is that they're not in the correct place... Some of these "missing" libraries are moved around in the pkgbuild. Maybe I should move them in another dir...?
    There are other warnings in namcap; I'm inclined to ignore these:
    cnijfilter-mp250 W: Dependency libcups included but already satisfied
    cnijfilter-mp250 W: Dependency included and not needed ('cups')
    cnijfilter-mp250 W: Dependency included and not needed ('ghostscript')
    cnijfilter-mp250 W: Dependency included and not needed ('gsfonts')
    cnijfilter-mp250 W: Dependency included and not needed ('atk')
    cnijfilter-mp250 W: Dependency included and not needed ('gtk2')
    cnijfilter-mp250 W: Dependency included and not needed ('pango')
    cnijfilter-mp250 W: Dependency libpng included but already satisfied
    cnijfilter-mp250 W: Dependency libtiff included but already satisfied
    cnijfilter-mp250 W: Dependency included and not needed ('cairo')
    cnijfilter-mp250 W: Dependency included and not needed ('libxml2')
    cnijfilter-mp250 W: Dependency included and not needed ('fontconfig')
    cnijfilter-mp250 W: Dependency included and not needed ('libxinerama')
    * now the *really* noob question... My understanding is that the PKGBUILD contains instructions to produce a binary from source. What it's still mysterious to me is how to write these instruction *in practice*. E.g. in this PKGBUILD I see a lot of things copied/installed around, but how the user that originally wrote the PKGBUILD came to determine what to move and where, is beyond me. If I were to write a PKGBUILD from scratch now, how should I know that I need to  e.g.
    cp "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}"/cnijfilter/src/config* \
    "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}"/cngpijmon/cnijnpr/cnijnpr/
    Thanks to those who will find the time/patience to respond, and sorry for the long post.
    Last edited by greymatter (2014-04-06 13:06:27)

    Wow, so much could be simplified with a few cd's and a few for loops.
    Yes, it's OK. Not great, but OK.
    The patches, build fails here without fix.patch and libpng.patch. Make sure to delete your src dir before rebuilding, you probably still have the patches applied from a previous run. It works for now without the automake patch, but it may be needed again in the future. It would be much better done with sed than a patch, though.
    Edit: first attempt at a major cleanup
    # Maintainer: Alireza Savand <[email protected]>
    # Special thanks to: olive, mirrr, GUiHKX, alessiofachechi, jeremy33,
    # jstitch, plv
    pkgname=cnijfilter-mp250
    pkgver=3.40.1
    pkgrel=5.1
    _pkgrealver=3.40
    _pkgrealrel=1
    pkgdesc="Canon IJ Printer Driver (MP250 series)"
    url="http://support-au.canon.com.au/contents/AU/EN/0100302002.html"
    arch=('i686' 'x86_64')
    license=('custom')
    depends=(
    'libcups'
    'cups'
    'popt'
    'ghostscript'
    'gsfonts'
    'atk'
    'gtk2'
    'pango'
    'libpng'
    'libtiff'
    'cairo'
    'libxml2'
    'fontconfig'
    'libxinerama'
    conflicts=('cnijfilter-common')
    install=cnijfilter-mp250.install
    source=(
    'http://gdlp01.c-wss.com/gds/0/0100003020/01/cnijfilter-source-3.40-1.tar.gz'
    'fix.patch'
    'libpng.patch'
    'automake_fix.patch'
    md5sums=(
    '609975a05d6050fcca88f312d3f35c6a'
    'ba9c7ec49e76bf74cc50702e362aba7b'
    '15e417cd427a920c83e4f28e225e428e'
    '07f698d8987632d9bb427d3f4a42a29a'
    prepare() {
    cd "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/"
    patch -p0 < "${srcdir}/fix.patch"
    patch -p0 < "${srcdir}/libpng.patch"
    #patch -p0 < "${srcdir}/automake_fix.patch"
    build() {
    for i in libs cngpij cnijfilter pstocanonij lgmon ppd backend backendnet; do
    cd "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/${i}"
    ./autogen.sh --prefix=/usr --program-suffix=mp250 --enable-progpath=/usr/bin
    make
    done
    cd "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/cngpijmon/cnijnpr"
    ./autogen.sh --prefix=/usr --program-suffix=mp250 --enable-progpath=/usr/bin LIBS="-ldl"
    make
    package() {
    for i in libs cngpij cnijfilter pstocanonij lgmon ppd backend backendnet cngpijmon/cnijnpr; do
    cd "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/${i}"
    make DESTDIR="${pkgdir}" install
    done
    cd "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}"
    install -d "${pkgdir}/usr/lib/bjlib"
    install -m 755 356/database/* "${pkgdir}/usr/lib/bjlib"
    install -D "LICENSE-cnijfilter-${_pkgrealver}EN.txt" \
    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-cnijfilter-${_pkgrealver}EN.txt"
    if [ "$CARCH" == "x86_64" ]; then
    local _libdir=libs_bin64
    else
    local _libdir=libs_bin32
    fi
    cd "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/356/${_libdir}/"
    install -m 755 -t "${pkgdir}/usr/lib/" \
    libcnbpcmcm356.so* \
    libcnbpcnclapi356.so* \
    libcnbpcnclbjcmd356.so* \
    libcnbpcnclui356.so* \
    libcnbpess356.so* \
    libcnbpo356.so* \
    "${srcdir}/cnijfilter-source-${_pkgrealver}-${_pkgrealrel}/com/${_libdir}/"libcnnet.so*
    Things to note:
    1. Versions are not needed on the deps unless it needs something different than what is in the main repos
    2. Anything included in base-devel should not be in the makedeps.
    3. The libdir variable was changed to _libdir and declared local. Need to avoid conflicting with other potential variables from the environment.
    Last edited by Scimmia (2014-04-05 18:04:26)

  • Automatic Defect code assignment for Quality Notification

    Dear all,
    We have created MIC in which Min and Max spec limit is specified. We have assigned proper defect coding in the catalog as well for those defects.
    For. E.g. MIC  - LSL - 7.62 - Defect code assigned - Less Diameter
                            USL - 8.38 - Defect Code assigned - High Diameter
    Now when the user enters any results in the result recording screen which is higher or lower than the spec limit , then the system automatically takes him to the notification screen where in he has to select the defect code manually.
    My question is depending upon the entered results which are above or below the spec limit, whether the system can assign the defect code automatically or not?
    Regards,
    RP

    Read this:
    http://help.sap.com/saphelp_470/helpdata/en/2d/35185a448c11d189420000e829fbbd/content.htm
    and this:
    http://help.sap.com/printdocu/core/print46c/en/data/pdf/QMIMDEF/QMIMDEF.pdf
    (Page 15 esp.)
    My guess is that you have an item clicked as required in the confirmation profile.
    FF

Maybe you are looking for