User decision on partial stock

Hi Gurus,
I've seen some postings in regard to partial GR and early inspection in PP but not specific to this issue.
The user process goods receipt for a PO from external vendor for QM stock, let's say for 20 quantities.
The QM user wants to make the UD in the inspection lot only for some materials in the lot (the material is serialized), let's say only for 10 serial numbers and wants to process the remaining at later time.
Is this achievable with inspection type 01? Could we partially process the inspection lot, post the goods movement for the 10 serial numbers and re-process the inspection lot for the remaining quantities?
Thank you.

Hi Cyrus,
I think, you are interested in moving the stock of 10 PC (10 Sl No) form Quality Stock to Unrestricted stock, and then process the remaining 10 PC (remaining 10 Sl No) with UD. Isn't that correct? Even if your case is related to 'Early Inspection', you will have to associated your inspection lot to GR, so that stock is build in this inspection lot only and it do not create a new inspection lot. Isn't that correct?
Now I believe as per standard SAP, you have two choice -
1. Make two individual GR of 10 PC (10 serial Numbers each. It will create 2 inspection lots for inspection type '01'. Then you can put UD for the 1st insp lot and after some days based on your need, you can put UD for the 2nd insp lot. Everytime you put UD, the stock will be moved with MvT 321 to unrestricted use for UD = A.
2. Make a GR of 20 PC (20 Sl No) and create one inspection lot. Now in QA11, you go to inspection lot stock posting tab, put 10 PC stock to unrestricted stock, try to save it and do not use UD code = A. While you try this process, system will ask you to add the Serial Numbers you wish to move form Q-stock to Unrestricted stock. Then save. At this point of time, if you Check MMBE, you will see 10 PC in Quality and 10 PC in Unrestricted stock, whereas, if you check MB51 you will see 321 MvT happened for 10 PC only (10 Sl No). Now based on your convenience, you can again use QA11 and post UD = A for the remaining 10 PC (10 Sl No).
As your case is related to creation of "Early Inspection Lots" you know well in advance like what is the quantity getting produced at the end and stock associated with the process. So, you can control the creation of these inspection lots at the start only, to uncomplicated the process. Means, if you need 2 insp lots at the end, you can create 2 inspection lot at the start and post stock in these lots.
The other tricky suggestion will be if you wish NOT TO CREATE MULTIPLE '01" TYPE INSPECTION LOTS BEFORE to avoid recording results multiple times, and you wish to control this at the end of the process, you can follow the below approach. You can create one 89 inspection lot to record the inspection lot results. You should now pass this result recorded inspection lot number as a batch characteristic in the classification, and keep creating new inspection lots to store logistic stock quantity. Now the new inspection lots of type "01" created will have stocks (based on your need), have the reference of the previous early inspection lot in batch classification.
Thanks,
Arijit

Similar Messages

  • Inspection lot for recurring inspection was created without user decision

    A manual inspection lot was created for recurring inspection. When reporting results QE51, the user decision option is disable, therefore I can not move the batch from Quality Inspection to Unrestricted.

    I still don't see how you are manually creating the lots.  From the way you described it, the qty. is already in QI and you are then manually creating an 09 using QA01.  If this is what you are doing, the manually created 09's will NOT be linked to the inventory in QI and they will not be able to be used to move the stock out of QI.  NO MANUALLY CREATED inspection lots, (i.e transaction QA01), EVER control stock.  To control stock, the inspection lot must have been triggerred by another event or transaction that caused the lot to be created., (QA07, GR, stock transfer, delivery creation, etc...)
    What I don't know, is how you got the material into QI in the first place.  How was the material moved into QI?  When stock is moved into QI that should trigger an inspection lot.  If QM is active for a material you shouldn't be able to use standard stock movements to place the material into QI.  If you moved it and then activated QM you should get errors when activating an inspectoin type unless you have followed specific procedures for creating 08 lots for exisitng QI inventory.
    So  I think we are still missing some informaiton.
    FF

  • Can we display custom error message in user decision step screen.

    Hi,
    My requirement is to display error message when approver selects reject button in user decision step.
    based on some condition i need to display error message in user decision screen when approver tries to
    reject .
    Please help
    Thanks,
    Phani

    Hi ibrahim,
    Thanks for your Replay.
    steps
    1. cretae global class with interface  IF_SWF_IFS_WORKITEM_EXIT.
    2. cretae Event with importing parameter.
    where i need to call EVENT_RAISED method ,do inned to call that method in
    IF_SWF_IFS_WORKITEM_EXIT ?
    how  SWRCO_EVENT_AFTER_EXECUTION value is passed to method EVENT_RAISED ?
    Thanks,
    phani

  • Sending Mail with attachment like User Decision

    Hi,
    Is there any way to send the document attached with the send mail step ? In User Decision, we can use binding between the workflow and task and document is attached. Like wise, is there any method ??
    I know we can send the attachment using the FM SO_****. So don give that answers. I want to know without using the FM, is it possible or not ?
    And i don want to use BO SOFM.
    For example, in Project Definition, one person creates a milestone. WF is triggered and goes for attachment of concorrence note. One attaches the concorrence note and mail is send to initiator. In that mail, can he able to see the attachment ??

    As far as I know the answer is "probably". You aren't saying how the mail is sent to initiator, you just say you don't want to use the FM or the BOR object type SOFM. I assume you are using the standard sendmail step type, i.e. BOR object type SELFITEM with method SendTaskDescription.
    As I am sure you can imagine, an attachment doesn't magically appear. If you send a workflow step (task) to someone, you can bind attachments to make them available in work item display. If you send a message you can construct it with attachments, but that doesn't happen without any effort. If you look at the parameters for SendTaskDescription you will see that there is a parameter for attachments. Try passing (binding) a value to it. If your SendMail task doesn't include that parameter as importing parameter you will of course have to fix your task (TS object) first.

  • Container Operation step in User Decision

    Hi,
    I have used one set container operation step in one of the user decision task. But it seems it is not working inside the user decision step.
    I have checked the SWI1 log as well, but it is bypassing it.(screen shot attached from Workflow and SWI1).
    Please sugegst that can we use container operation step inside the user decision task.
    SWI1 log as well ( Not setting the variabl)e
    Regads,
    Priyanka

    Hi,
    check if in the workflow definition you mention if this step should be shown in the log or not. Also make sure using the technical details option in the workflow log that indeed the container operation was executed or not.
    If everything seems correct, but still in execution it skips something, then your workflow definition might be corrupt, either fix it by deleting the step in development, saving it and then recreating it. Or if it was corrupted after transport you could try your luck with function module SWD_REPLICATE_FROM_9999.
    Kind regards, Rob Dielemans

  • Step for User Decision

    Hi All,
    I have a scenario and two solutions for it.
    Please give me the input for which is a better solution and why.
    Scenario - Approver have to either Approve/ Reject a particular request made.
    The user decision has to come from Java front end  and the workitem created has to be executed externally
    ( not by opening sap inbox)
    Soln 1 : Create an asynchronous task and custom terminating events for the workitem and trigger terminating event for any user decision Approve or Reject.
    Soln 2 : Send an normal decision task and programatically execute one of the decision using the WAPI* FM when user clicks Approve/Reject.
    Both of them I think uses the WAPI * FM.
    Thanks
    Chandran

    Sorry I was not clear in my question before.
    I still refered to the first solution which uses a Aysn Task and a method which does not have any code (just a placeholder)
    IA is absolutely right but I dont have the flexibilty to use an ivew.
    Thanks a lot for your reply. I would close up this thread.
    Just some additional clarification if you can bring up
    What additional code that would be required for the second solution (both uses a sap WAPI FM )
    Both can be tracked by WF tools by finding out the agent and the person who have completed the Workitem so which tools you were mentioning about
    Actually I did not get which is a better solution but realized both can be used atleast no worry on the performance load. My be this topic can go for a long time to figure out
    Regards,
    Chandran.

  • Container variables in User decision Step in BPM

    Hello,
    I am using User decision Step in BPM.
    When i use only text in "Title for Display" the BPM is activated successfully and Status in SXI_CACHE also shows 0.
    If I use container variables in "Title for Display" the BPM is activated successfully but status in SXI_CACHE shows 99.
    It shows the below error
    "Problem updating an integration process with object ID 073AF2C620F43E839B2903344DEE29BB. Symbol 'CE/KO' expected at position 1 in expression ''
    Please suggest.
    Thanks,
    Shabari

    Hi Shabari, did you follow the steps for declaration of variables as in [SAP help for user decisions|http://help.sap.com/saphelp_nwpi71/helpdata/en/42/c2a19fb4511d65e10000000a1553f6/content.htm]? How did you define your variable?
    Maybe discussion [in this thread|BPM activation Error in SXI_cache; can help, it is unanswered though.
    Regards, Martin

  • Issue in User decision title in Email Notification

    Hi,
    We have used extended notification to send email notifications for PR, in User decision step I have used the decision title as "Purchase Requisition Decision for &". But when we schedule the SWN_SELSEN as a background job, in SOST email subject is not same as the User decision step title it is as "New work items in your Workflow inbox".
    Could you please let me know how to get the description same as User decision step.
    Thanks,
    Sriram.

    Hi Sriram,
    Please check General settigns of SWNCONFIG. Here check eliment 'SUBJECT_WF_INBOX'. Here its default value is NASWN070, which is nothing but the message of SWN class. Chcek Message No 70 of SWN class which states that ''New work items in your Workflow inbox'' which you are getting currently. Please provide your message instead of the standard one.
    Hope this will solve your problem.
    Regards,
    Smit

  • Work flow in error when executed with a user decision.

    Hi,
    I am executing a workflow for notification of absence. It has a user decision step to Revise the request or to withdraw it when the absence request is rejected by the approver. When I am executing this the workflow is going into error state. User decision step is not starting at all. The first two steps create notification of absence and check notification are getting completed successfully.
    Please let me know where I am going wrong.
    Thanks & Regards,
    Soumya.

    Hi,
    I believe the orginal poster is following the workflow tutorial in the sap help.
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/fb/135962457311d189440000e829fbbd/frameset.htm
    I'm following the instructions and pretty sure it's been followed exactly on each step but am hitting the same issue - see 'Unit 10 - third step'.
    The log is reporting two errors
    Work item 000000014093: Object FLOWITEM method EXECUTE cannot be executed
    and
    Error when processing node '0000000039' (ParForEach index 000000)
    You reject the notification and then the work flow errors.
    Can anyone help?

  • Which table i will  get the  status of the User decision Result status

    Hi Experts
    Which table i will  get the  status of the User decision Result status
    (eg : Inspection completion forced )
    This i can see in QA33

    Hi jag
    Ok fine actually it is not storing in any table...these r all text symols...if u see this program MQEVAF22...U EILL GET SOME IDEA
    CALL FUNCTION 'QAST_STATUS_CHECK'
           EXPORTING
                I_OBJNR          = QALS-OBJNR
                I_STATUS         = C_STATUS_PAKO
           EXCEPTIONS
                STATUS_NOT_ACTIV = 01.
      IF SY-SUBRC NE C_RC01.
        MOVE C_KREUZ TO L_STAT_PAKO.
      ELSE.
        CLEAR L_STAT_PAKO.
      ENDIF.
    Prüfen, ob Los bestandsrelevant ist
      MOVE RQEVA-STAT_BERF TO L_STAT_BERF.
    Prüfen, ob Los auf SKIP sitzt
      CALL FUNCTION 'QAST_STATUS_CHECK'
           EXPORTING
                I_OBJNR          = QALS-OBJNR
                I_STATUS         = C_STATUS_SKIP
           EXCEPTIONS
                STATUS_NOT_ACTIV = 01.
      IF SY-SUBRC NE C_RC01.
        MOVE C_KREUZ TO L_STAT_SKIP.
      ELSE.
        CLEAR L_STAT_SKIP.
      ENDIF.
      IF QALS-STAT35 >< C_KREUZ.
    VE noch nicht getroffen !
        IF     ( QALS-OFFENNLZMK > CI_0 OR QALS-OFFEN_LZMK > CI_0 )
           AND QALS-STAT13     = C_PPKTTYP-PHPR
           AND G_ANZAHL_PPKT_LOEVM > CI_0.
    Es wurden physische Proben storniert !              PRIORITÄT 1A
            MOVE TEXT-I17 TO RQEVA-INFO_LINE.  L_TEXT_NR = 'I17'.
        ELSEIF ( QALS-STAT14 = C_KREUZ AND QALS-OFFENNLZMK > CI_0 )
          OR ( L_STAT_PAKO = C_KREUZ
               AND ( QALS-OFFENNLZMK > CI_0 OR QALS-OFFEN_LZMK > CI_0 ) ).
    Prüfung wurde abgebrochen !                         PRIORITÄT 1
          MOVE TEXT-I04 TO RQEVA-INFO_LINE.    L_TEXT_NR = 'I04'.
          MOVE C_KREUZ TO L_ICON.
        ELSEIF G_ANZ_RUECK_MK > 0.
    Es wurden Merkmale rückgewiesen  !                  PRIORITÄT 2
          MOVE TEXT-I01 TO RQEVA-INFO_LINE.    L_TEXT_NR = 'I01'.
          MOVE C_KREUZ TO L_ICON.
        ELSEIF QALS-OFFENNLZMK > CI_0 OR QALS-OFFEN_LZMK > CI_0 .
          IF QALS-OFFENNLZMK > CI_0.
    Es sind nicht alle Merkmale abgeschlossen !         PRIORITÄT 3
            MOVE TEXT-I02 TO RQEVA-INFO_LINE.  L_TEXT_NR = 'I02'.
          ELSEIF QALS-OFFEN_LZMK > CI_0.
            MOVE TEXT-I05 TO RQEVA-INFO_LINE.  L_TEXT_NR = 'I05'.
          ENDIF.
        ELSEIF QALS-WERK NE QALS-WERKVORG.
        Prüflosmenge wurde umgelagert auf anderes Werk   Priorität 4
          MOVE TEXT-I16 TO RQEVA-INFO_LINE.    L_TEXT_NR = 'I16'.
        ELSEIF QALS-LMENGEIST > QALS-LOSMENGE.
        Istmenge im Los größer als Losmenge!             Priorität 5
          MOVE TEXT-I15 TO RQEVA-INFO_LINE.    L_TEXT_NR = 'I15'.
        ELSEIF L_STAT_SKIP    = C_KREUZ.
    Prüfverzicht: Los ist geskippt !                    PRIORITÄT 6
          MOVE TEXT-I03 TO RQEVA-INFO_LINE.    L_TEXT_NR = 'I03'.
        ENDIF.
      ELSE.
    VE getroffen bzw. eingetragen
       IF     ( QALS-OFFENNLZMK > CI_0 OR QALS-OFFEN_LZMK > CI_0 )
           AND QALS-STAT13     = C_PPKTTYP-PHPR
           AND G_ANZAHL_PPKT_LOEVM > CI_0.
    Es wurden physische Proben storniert !              PRIORITÄT 1A
            MOVE TEXT-I17 TO RQEVA-INFO_LINE.  L_TEXT_NR = 'I17'.
        ELSEIF ( QALS-STAT14 = C_KREUZ AND QALS-OFFENNLZMK > CI_0 )
          OR ( L_STAT_PAKO = C_KREUZ
              AND ( QALS-OFFENNLZMK > CI_0  OR QALS-OFFEN_LZMK > CI_0 ) ).
    Prüfung wurde abgebrochen !                         PRIORITÄT 1
          MOVE TEXT-I04 TO RQEVA-INFO_LINE.    L_TEXT_NR = 'I04'.
          MOVE C_KREUZ TO L_ICON.
        ELSEIF L_STAT_PAKO EQ SPACE
           AND ( QALS-OFFENNLZMK > CI_0 OR QALS-OFFEN_LZMK > CI_0 ).
    Es sind noch Langzeitmerkmale zu bearbeiten !       PRIORITÄT 2
          MOVE TEXT-I05 TO RQEVA-INFO_LINE.    L_TEXT_NR = 'I05'.
        ELSEIF L_STAT_BERF = C_KREUZ AND QALS-STAT34 EQ SPACE.
    Los ist bestandsmäßig noch nicht entlastet !        PRIORITÄT 3
          MOVE TEXT-I06 TO RQEVA-INFO_LINE.    L_TEXT_NR = 'I06'.
        ELSEIF QALS-WERK NE QALS-WERKVORG.
        Prüflosmenge wurde umgelagert auf anderes Werk   Priorität 4
          MOVE TEXT-I16 TO RQEVA-INFO_LINE.    L_TEXT_NR = 'I16'.
        ELSEIF QALS-LMENGEIST > QALS-LOSMENGE.
        Istmenge im Los größer als Losmenge!             Priorität 5
          MOVE TEXT-I15 TO RQEVA-INFO_LINE.    L_TEXT_NR = 'I15'.
        ELSEIF L_STAT_SKIP = C_KREUZ.
    Prüfverzicht: Los ist geskippt !                    PRIORITÄT 6
          MOVE TEXT-I03 TO RQEVA-INFO_LINE.    L_TEXT_NR = 'I03'.
        ENDIF.
      ENDIF.

  • Step User Decision and Approval of Purchase Order

    Hello All,
    I have created a workflow with step user decision and also attached the object BUS2012 to display from SAP Inbox. But is there a way i can attached the object that would show the approval screen when the work item is executed, and also send a mail for the user decision.
    Urgent help needed.

    Hi,
    You could use a secondary method in your user decision step which executes an object method and for example displays the PO so users can make the correct choice in the user decision.
    Regarding sending an email you could have a sendmail step after the user decision step but wthis will not be executed until the user decision is complete. Why do you want to send an email?
    Regards,
    Eddie

  • Need Help in Workflow - User decision

    I have to pass 5 parameter with this user decision title but they only give 4 parameter options in the user decision step. Is there anyway I can have five parameter place?
    Please help

    You might try creating a container element which is a long text field. Then write a method that will concatenate 2 or more of your parameters into the text field. Call this method before the decision step, and use this text field as a parameter.
    If you do this, you need to find out what the maximum length of a parameter can be (I think it's 50 char).
    All seems like a lot of work for one extra parameter, though!
    Cheers
    Lyal

  • ABAP OO & Custom made user decisions...

    Hi,
    I've been playing with ABAP OO for a little while now, but  keep encountering the following problem. I tried to look for the answer here, but could find it.
    Often I make a copy of the standard user decision task TS00008267. Then I can create my own text in there. However, normally I can use an attribute of a BOR-object as a variable here via the 'Expression' button, but I can't use the attribute of a class here!
    I get the message: "Variable &ZEMPLOYEE.GET.NUMBER& exists in description text Task description, but does not exist in the container."
    Has anyone encountered this problem too and maybe has some tips for me? The workaround I use now is by defining container elements in the task for every variable I want to use and pass the value via the binding. This is not really desirable of course.
    Any tips of help are welcome!
    Regards,
    Erik

    Hi Erik,
    Is the attribute you want to use in the text a public one? I think it needs to be if you want to use it.
    Regards,
    Martin

  • Agents in the User Decision

    Hi Experts,
    We are implementing the Leave Request WF using WS12300111.
    We have a user decision step. This is for the HR admin to take a decision if a manual posting has been successful or not.
    There is already a rule 60100010 which has the responsibilities defined in it which define the possible agents who can execute this work item.
    Can i use this rule directly in the User Decision step? Is there any specific binding required for the same.
    If the user clicks on NO, then a pop up shud appear where the user enters his comments.This is a dialog step. In this case, can we use the same rule as the agent or is there any necessity to provide an agent.
    Kindlu let me know regarding the same.
    Cheers,
    Belinda Clarke

    Hi,
    You need to create the "LATESTAGENT" container element. But first take a look to the previous step. You can basically bind from task to the workflow the user who executed the step. If I remember correctly this element was "Agent". So, just bind it from the previous step into your new container element in WF container. Then use that as an expression the next step's agent.
    You can also use the rule as I explained in my previous answer. The above method is a bit better since than it forces the work item to the user who completed the previous work item. But if you are using the advance with dialog option, the rule will work as well.
    Regards,
    Karri

  • Link in User Decision step not showing correctly in UWL

    Hi SAP Experts,
    I have a requirement to add a link in a user decision step, this link triggers a custom webdynpro for additional input. When I access the workitem from Business Workplace, the link is showing fine. But when I execute the workitem in UWL, the link is not displayed, instead the code is shown (<a>...</a>). Please advise on what I should do to have the link working. Thanks in advance.

    Hi,
    This same thing was just recently discussed. I just cannot find the thread anymore (well, in that thread there was not really any solution). Basically the hyperlinks in work item do not seem to work in UWL as they should. I don't know if there are any way to make them work. My suggestion is to not use the hyperlink at all and replace that with an action (=button) to the task in the UWL. This can be achieve quite easily by simple XML configuration in portal. If you have worked with UWL this should be quite straightforward for you, or if there is a consultant at the site, who is familiar with UWL, this should be simple for him/her.
    Regards,
    Karri

Maybe you are looking for

  • File to dinamic directory

    Hi all. i have an XML that contain: FILE:Sales.xml Directory:c:\new folder Name: Rodrigo LastName: Suarez Age: 21 I must map it to an another File to c:\new folder\Sales.xml my problem is File and Directory is dinamic--> Directory an File can change

  • OIM Provisioning - Error during OID Create User Task

    Hi, I am getting the following error during OIM Provisioning to OID (Create User Task). I added few more attributes to the OID_USR form and then to the "OID User" Process Definition. Also, I added the Code/Decode Key Values in AttrName.Prov.Map.OID.

  • System with load balancing server

    Hi All, We are having SAP NW 7.0 Portal and back end we have R3 implemented in a cluster environment.  The system object in EP have used "System with Load balancing" template; using the LOGON group and the other related parameters. But we have some p

  • Business  system for idoc reciver communication channel.

    hi gurus, iam doing one file to idoc scenerio. for defining reciver idoc adapter ,which type of businees system i required that is configured in SLD. pls guide me . warm regards.

  • XI is running on iSeries server would like to use OS command

    Hi All,, I would like to use to "secure" the file/data transfer between XI and any third-party system Run OS Command before processing and OS command After processing. right now my XI server installed on iSeries OS. with ISeries we can't call the Uni