Workflow not triggering after undletion of expense line item after release

Hi Experts.
There is one issue in which a PO contains inventory line item (an item without account assignment category) and expense line item (an item with account assifnment category).The user releases the PO through workflow.The user then deletes expense line item and after a span of time he undeletes the same line item.Now the business requirement is after undeletion of expense line item the workflow should trigger again.I have consulted with technical team they say that it is not possible by coding and is possible trough customization.

Hi,
Please check that Change Version for PO is active.
IMG: SRM -> SRM Server -> Cross-Application Basic Settings -> Switch On Version Control for Purchasing Documents
Regards,
Masa

Similar Messages

  • System should not allow to delete PO line Item after GR/IR

    Hi,
    I am working on a SAP Retail Implementation project.
    Currently the system is allowing us to delete the PO line items after doing GR or IR against that PO line item. But the clients requirement is that the system should not allow to delete PO line item after doing GR/IR.
    We are using Account Assignment Category-N, Item Category-S.
    Please let me know if you have the solution for this requirement.
    Thanks in advance
    Thanks & Regards,
    Suresh

    Hi,
    Standard SAP will not allowed the PO to be deleted once it was GR done. The controlled is on the attributes of message to set as "E"
    Message no. 06115
    But if invoiced takes place, the is the point that PO can be deleted.
    You have to do have a Enhancement using MM06E005, insert you logic here to check PO history tables like EKBE, then check if invoice " Q" (BEWTP) exist, the PO cannot be deleted once the user delete the PO line and SAVE it. Ask you developer to help you on the following coding.
    Use MM06E005 and EXIT_SAPMM06E_012
    IF SY-TCODE = 'ME22N'.
    IF sy-ucomm = 'MESAVE' OR SY-UCOMM = 'YES'..
    LOOP AT TEKPO.
    IF TEKPO-LOEKZ = 'L'.
    SELECT SINGLE BELNR FROM EKBE INTO BELNR1 WHERE EBELN = TEKPO-EBELN AND EBELP = TEKPO-EBELP AND BEWTP = 'E'.
    IF SY-SUBRC = 0.
    SELECT SINGLE BELNR FROM EKBE INTO BELNR2 WHERE EBELN = TEKPO-EBELN AND EBELP = TEKPO-EBELP AND BEWTP = 'Q'.
    IF SY-SUBRC = 0.
    Regards,

  • PO Release Strategy not changed after deletion of few line items with less

    Subject : PO Release Strategy not changed after deletion of few line items with less Total PO
    Dear Friends
    We have issue with PO Release strategy. We have created the PO. with release strategy  with multiple approvers.  After approval of first approval manager , one of the PO line item got deleted and Total PO value is reduced . The new PO value should have changed the PO release strategy. But it is not changed. Old release strategy only showing in the PO which is wrong. 
    Details of the PO
    PO no 4500000123 with 5 line items Total PO value : 100,000 USD Release strategy : AB
    PO line item 5 deleted. Now total PO value changed to 50,000 USD and the PO release strategy should have been changed to AA but not changed. Still showing PO release strategy AB only.
    Are there any OSS notes available to correct his bug.
    Please let me know if you need more details
    Thanks in Advance
    Thanks
    MVS

    Hi,
    release indicators  change it to 4.It may works. Please explore to all 6 indicators..........
    i.e,
    1-cannot be changed
    2-changable,no new determination of strategy
    3-changable,new release in case of strategy
    4-changable,new release in case of strategy or value change
    5-changable,new release if new strategy/outputted
    6-changable,new release if new strategy or value changed/ outputted......
    And check   Characteristic description and value in Classification  of Release strategies ........
    I hope this will help you. Thanking you.
    Regards,
    Venkat.

  • Workflow not triggered..in client server

    Hi Friends..
    i have developed one workflow for po release in local system it works fine..
    But i developed the same workflow in client system it was not triggered..
    i checked in swue the event was triggered perfectly..
    But the workflow not triggered.. if i click the workflow overview in me23n it shows
    "there are no workflows that are already worked with this object" so i dont know why this problem..' occur.. this problem arises at the time time of development in local system.. but now it was cleared..at that time release strategy not maintained.. but now release strategy also maintained.. but i dont know the exact reason and how can i solve this kind of issue...
    so anyone help me..urgent issue..
    Thanks in advance
    Gowrishankar

    What is the message that you are getting for the event? Is it "No receiver entered" or something else?
    Check for the event linkage between your event and workflow in SWE2. If it is not set select the checkbox "Linkage Activated" and acitivate the linkage and then try to trigger the event.
    If your event linkage gets deactivated everytime you  try to trigger the event, there could be some problem in binding from your event to workflow container. Check if all mandatory parameters in workflow receive data from event container.
    Thanks,
    Prasath N

  • Assignment field in expense line item  FB60 missing

    Hi
    I got a problem like, in  Quality client, TCODE:FB60 has "assignment field" for expense line item(not in vendor line item). But in Development client this field is missing. How to get the field in development.
    VVR

    Hi murali,
    Thanks for the reply.....But, this is not the problem after i entered the GL . Before giving any GL, on just opened screen, iam not able to see the assignment field at all .......is there any variant needs to be select for that.
    As you said for checking the FSG...but that is only for the particular GL which you have entered...but before entering the GL iam not able to see the field...
    Hope you got clear about the probelm.....
    (in Menu...options...screen variant is there but it is so confusing )
    VVR

  • Profit Center in Expense line item

    Hi
    We have a scenario where at month end we are destroying goods which were returned. We credit and inventory account and debit the Return goods destroyed account.
    In the inventory account, we have a profit center which is appearing from material master. In the expense line item too same profit center was getting posted. Somehow from this month when we did the write off postings, we got the dummy profit center in the expense line item. Inventory acount was correctly being posted.
    It seems that some system is not able to find the profit center for the expense line item. We are not sure what happened.
    Just need some insights on what could be the issue..?
    what we already checked:
    OKB9 - Profitability segment is there for expense line item
    3KEH/3KEI - Expense account not maintaine there too.
    We looked for any enhancements but does not seem to exist in this case.
    Many thanks for your help in advance.
    Regards
    Neeraj

    Ajay
    Many thanks for your quick reply.
    answer to your questions below.
    1. Cost element was created long time back and was never changed.
    2. I checked the earlier posted accounting documents and profit senter was same as in material master but now it is dummy profit center.
    3. CO docs were generated earlier as well as now with profitability segment as cost object.
    Let me know if you need any further information.
    Regards
    Neeraj

  • Tax code P0 does not appear in any G/L line item

    Hi,
    I am using BAPI_ACC_DOCUMENT_POST to upload the AP/AR Journals. I have a scenario wherein for AP document type 'KA' both the line items are of vendor . One line item though has a special G/L indicator and a tax code to it.
    When i execute the program I am geting an error that "Tax code P0 does not appear in any G/L line item".
    Here in my case I do not have any G/L line items but both are vendor line items and one line item has a special G/L indicator.
    Could anyone help me in solving it.
    Thanks in advance.

    Hi,
    Check the long text of the message FF - 753 in SE93.
    It describes the cause of this error and the required customising and solution.
    Kindly check with your functional consultant for some inputs.
    He might be able to help you identify the error.
    Regards,
    Ankur Parab

  • Stamp Tax on Expense line item

    Hi,
    I'm trying to find a way to calculate the tax based on the expense line in the vendor invoice FB60. So, I can get
    DR.  Expense    110
        CR. Vendor                100
        CR. Stamp Tax(10%)  10
    (to record the expense of $100 plus tax $10)
    Your advice is appreciated in advance!
    Regards,
    Aly

    Hi aly,
    The first one , you like to add the Stamp Tax to your expense line item , it can be done in the tax procedure, by changing the Account key you used against the condition.
    Follow the path
    IMG - Financial Accounting - Financial Accounting Global Settings - Tax on Sales/Purchases - Basic Settings - Check and Change Settings for Tax Processing
    in this select the posting key you used against the condition type (fr ex, MWAS use Account Key MWS) , in the accounting key there will be a posting indicator,
    1          No posting required                        
    2          Separate line item                         
    3          Distribute to relevant expense/revenue items
    You select 3 which will post that 10$ to your expense account.
    The other one how to post to stampduty account again, i will check and comeback to you.
    Thanks and regards
    Praveen.J

  • Price is not changing in sales order in line item

    dear all.,
    price is not changing in sales order on line item,error comes "CHECK ORDER STRUCTURE.
    Regards,
    Praveen

    Dear
    You can go into VA03 --> Menu --> Environment --> Partner --> display credit account (if the data is maintained, than the system springs into FD33). Another way is to check if the sales order type is assigned to credit management in the transaction OVAK (should be D for aut. credit management).
    Did you enter the pricing date , prcing condition and press enter , so  that it should pick the correct price?
    Check this and come back
    Regards
    JH

  • SAP Workflow not triggering due to "Start Condition return FALSE" message in SWEL

    Hi,
    I have SES approval workflow which is not triggering in few cases because of check function ends with exception even it has valid start condition and correct data. For example lets say we have PO no. 100 for which 3 SES (SES1,SES2 & SES3) are created. Out of which workflow for SES3 is not triggering even if all the three contain valid start condition(Bases on internal order at PO line item).when triggering workflow manually using SWUE for SES3 it work fine.Please find SWEL screenshot below and let me know if you have come across this type of issue.
    Thanks in Advance.
    Ishant.

    kindly use SAP_WAPI_CREATE_EVENT and not SWE_EVENT_CREATE it's always better to use APIs.
    Why use 2 sub-objects? you already have a z-object and you can modify it. even if there is a reason for the double sub object , the workflow should still run on the standard one - BUS2091.
    see for example :
    Extending Object Types: Inheritance and Delegation - SAP Business Workflow - SAP Library
    As for your question,
    if you are using a function module to raise the event, way not check in it if the service entry sheet has been created properly before creating the event. you can even check if the PO contains an internal order in your RFC function module and raise a specific event. then you will have no need for the starting condition.

  • ESS/MSS Standard workflow not triggered....

    Hi Experts,
             I have small doubt, but why can't I solve this I does't know? Kindly some one help me on this issue.
    Scenario as follows...
            I have copied the standard loan workflow "WS18900041" to my custom workflow. So, Here when I apply loan through portal workflow is not triggered. I have activated the events which are present in loan. But after that also I am unable to trigger the workflow. Through SWE2 / SWETYPV tcode I have enabled the linkage to the portal. When I activate the event in workflow it will be automatically shown in SWE2 / SWETYPV. After all the process I have activated and checked, When I tried to apply for loan and submit the loan I am unable to trigger the workflow else workflow is not getting triggered. Kindly help.... Most Highly importance.... Please reply as soon as possible....
    Thanks & Regards
    Kannan

    Hi Kanan
    I am in the same object now. Can u share me some scenarios how to do this.
    Regards
    Gopal

  • Workflow not triggered when i have changed the PO

    Hi,
    We have custom fields (Price) in PO Header as well as in item. when we update in header the price should get distributed to items.
    we have custom workflow evernt (changed) to update the items if user change in header. But the issue is if user changes the items and save the po, it is not updating immediatly. after we come back to Purcahse Order and save the purcahse order again then it updates the table.
    Is there any reason why the event is not triggered when the PO was changed initially.

    Hello,
    "We have custom fields (Price) in PO Header as well as in item. when we update in header the price should get distributed to items. "
    If you update a price in the header, how/why would that be distributed to the items? Is this a total price of the whole PO? Why not just have it in the header?
    "we have custom workflow evernt (changed) to update the items if user change in header."
    OK. Strange, but OK.
    "But the issue is if user changes the items and save the po, it is not updating immediatly"
    I thought it was supposed to happen when the users changed the header, not the items.
    If you really have a workflow to update the items when the header is changed, then maybe it's not succeeding if the PO items are locked, eg by having them on your screen. Did the worklow actually start? Any error messages?
    rgards
    Rick Bakker
    hanabi technology

  • Workflow not triggering when changing Item-level Permissions in Sharepoint 2013 list

    Scenario:
    We have a custom list in Sharepoint 2013 that we use for Case Management. We have a workflow that triggers on a created item generated from an email. The user then gets a reply with a link to his own case.
    I want the users only to be able to see their own cases and no one elses.  When I change this under
    Advanced Settings under List Settings and
    Item-level Permissions and set them to Read items that were created by the user
    and Create items and edit items that were created by the user
    the workflow doesn´t trigger.
    How can I resolve this? I've tried every possible out-of-the-box permissions but with no result. Help!
    Thanks in advance!
    // Browncreek

    When you're testing , remember you cant trigger declarative workflow from the System Account - you need a general user account for auto-trigger workflows.  Good luck!
    Chris McNulty MCSE/MCTS/MSA/MVTSP | blog http://www.chrismcnulty.net/blog | twitter @cmcnulty2000 Microsoft Community Contributor Award 2011
    Hi, I have the same problem. Except that I am not using an email to create a new item. The item is created by members of a SharePoint group that have Contribute access to the list. When use the same settings i.e.
    Read items that were created by the user and Create items and edit items that were created by the user,
    the workflow does not trigger. If I set it back to Real all items and Create
    and Edit all items, it triggers the workflow.
    Please help me resolve as I have rolled this out to pilot users and am having this trouble.
    Thanks,
    Vishal

  • Workflows not triggered when documents are created in Doc Set via Content Organizer

    The following is my scenario:
    A document set (containing several documents) is created in Library A on Site A
    Using Send To, the Document Set is sent to the Drop Off Library on Site B (a different Site Collection)
    A Content Organizer rule then moves the Document Set and its documents to destination Library B
    In Library B I have defined a workflow (using Visual Studio 2012) that is triggered when new item is create
    When the Document Set arrives in Library B from the Drop Off library (i.e. when the Content Organizer moves the Doc Set to Library B), the workflow is triggered (and executes) on the Document Set, but it is NOT triggered on the documents within the Document
    Set.   How can I get the workflow to trigger on the documents within the set when they are created via the Content Organizer rule?
    The interesting thing is that if I manually add another document to the Document Set in Library B, the workflow is triggered on that document.  It just does not trigger when the documents are created via the Content Organizer.

    Hi,
    In edit Content Organizer rule page, I see there is an option as Automatically create a folder for each unique value of a property:
    However, unlike the drop down used in the property based filters above, this drop down *only* contains properties that are required by your content type. 
    This is done to prevent adding folders that have no values for a property. 
    If you need to put similar documents to the same folder, you could consider making use of this feature.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Leave Workflow Not triggered

    Hi All,
             We configured the Leaves through ESS and it was working fine, but abruptly, the Leave Workflow stopped executing. I have maintained the following settings:
    1. In the leave settings in SPRO, "Process Request Using Workflow" option is checked and the WF Id is 12300111 for all the three entries.
    2. Display field for next Agent is checked. In ESS, the manager's name is displayed in the leave app.
    3. Request has to be approved option is checked.
    4. In SWFVISU, TS1230097 is maintained as 
         APPLICATION        LeaveRequestApprover
         DYNPARAM          wi_id=${item.externalId}
         PACKAGE            sap.com/ess~lea
    5. The task TS1230097 is maintained as a General task .
    I tested the application through PTARQ & through ESS, the leave is applied, but the Workflow is not triggered. I checked the WF Tasks in SWIA, but No Workitem exist there. There's no entry in SWEL.
    Can you please suggest, where are we missing to trigger the workflow.
    Cheers!!!
    Umang

    Hi Umang,
    I do not see any problem with your workflow configuration.
    Most probably the problem is with your rule group configuration.
    As advised before, using WEBMO feature, find out what is the right rule group for the test employee (for whom you are applying leave). Then ensure that in the SPRO "Personnel Management -> Employee Self-Service->Service specific settings -> Working Time -> Leave Request -> Processing Processes--> define Absences/Processing Processes" there is an entry for the Rule group and the leave type you are applying for.
    View that entry and ensure that you have all the WF settings as told before.
    Thanks
    Krishna

Maybe you are looking for