on 2017 Nov 23 5:19 PM
Hi guys,
I'm having an issue with the status of an item from a shopping cart.
After reading lots of old posts:
Ex: https://archive.sap.com/discussions/thread/2119394
https://archive.sap.com/discussions/thread/259215
http://allaboutsapsrm.blogspot.ro/2012/02/item-based-approval-in-application.html
and many others ...
I still haven't found a way to get the current status of an item before save / submit.
Could you advise on a solution or post ? I'm not looking for tables that contain the value (as CRM_JEST, or similar) because the value isn't saved yet. Just reading the buffer status.
Regards,
Marius
Request clarification before answering.
Hi Marius,
I am afraid that what you are looking for is not possible.
Up to shopping cart item gets saved, there is no status to be read.
If your scenario involves approval, maybe you can try to read the approvers determined for the current document and then assign a status by your own (like awaiting approval or in revision, in case workitem is assigned to the requester).
I can't see a way to read a "buffer" status.
Regards,
Ricardo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ricardo,
I was hoping that SRM has the same capabilities as CRM where you can read the "Order" from DB and from "Buffer", before save, since it uses some of the layers that CRM is based on.
I haven't found a function / class-method that could do that yet, so I banked on your expertise.
Since there is something like:
/sapsrm/cl_pdo_factory_sc_adv=>get_instance
which can get some "current" data, I was thinking that it was a possibility to access the actual response from the screen (with all the details, some seem to be missing):
2017-11-24-09-39-26-approve-shopping-cart.png
Regards,
Marius
Hi Ricardo,
Unfortunately I can't implement the note.
In order to try to implement it, at least, I have to implement note "1917681" before, since I have no data in the "details window":
Our Support Package is "SAPKB73119" which is out of validity for the latest note.
Do you know a work around this ?
Regards,
Marius
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.