Approval Procedures - customization popup Alert
Hello,
is possible to customize popup Alert which is displayed for users based on 'Approval procedures' ?
I have procedure based on user query which controll , if in 'Goods Issue' is filled input Ref.2 (it works nice)
My goal is inform the users via popup Alert with my own text, so that they can understand what is wrong and cancl the Approval Procedure and could correct/fill the input Ref.2.
thanks for any idea
Regards Zdenek
Hi Zdenek,
If a Document went for approval, the document will get automatically saved as Draft, with the status of Pending for Approval.
Once it approved, then Draft- Approved
You can retrieve data from Draft table. I mean draft documents for which approval status is pending / Approved / rejected / Document added or not etc.
Select A.DocDate, A.DocStatus, A.WDDStatus, A.* from ODRF A
where A.ObjType = 60--for Goods Issue
and A.WDDStatus<>'-'
Hope this will help you
You can modify the query as per your requirement
Thanks
Unnikrishnan
Similar Messages
-
Approval procedure to check and pop up alert when Inventory transfer
HI Experts,
I want to do an approval procedure to check and pop up alert when Inventory transfer To warehouse 01 by Query.how to query for the following statement in Approval Procedure?
Regards,Hi,
This query is also used in the approval procedure of inventory transfer created:
if (SELECT $[$5.1.0]) = '01'
select 'true'
it will gives alert after document approved or requesting approval.
Rgds, -
Customize Approval Procedure for Past Due Invoice don't work !
Hi all,
Below is the query written to trigger the approval procedure if past due invoice happen
Select 'true'
from OINV
where DocDuedate < Getdate() and DocStatus='O' and DocTotal >
PaidTODate
However, it will not trigger, can someone please help on this?
ThanksHi,
Try this:
SELECT distinct 'true' FROM OINV T0 INNER JOIN OCRD T1 ON
T0.CardCode = T1.CardCode WHERE T0.CardCode = $[$4.0.0] AND
DateDiff(dd,T0.[DocDueDate],Getdate())>30 and T0.DocStatus='O'
Thanks & Regards,
Nagarajan -
Outgoing Payment Approval Procedure - Payment Wizard
Hi,
I was having an issue with the SAP Approval Procedures I was hoping I could get answered.
I have created an Approval Procedure for Outgoing Payments in SAP 8.82 to always require approval.
The approval procedure works fine when I create an Outgoing Payment by going to Banking >> Outgoing Payment >> Outgoing Payment.
If I try to create an Outgoing Payment via the Payment Wizard, it does not go through the approval process.
I have made sure that I have enabled the "Activate Approval Procedures in DI" functionality under General Settings. It still does not do the trick.
Can someone please tell if this is an SAP bug or not? If not a bug, any suggestions as to what I might be doing wrong.
Thanks,
KrishnanHi Krishnan,
I believe this is by system design or another word a system limitation. The logic here is: if you are able to run the Payment Wizard, you have authorization already.
A work around may be creating a user alert whenever you have the Payment Wizard run.
Thanks,
Gordon -
Approval procedure for the creation of a new item
I would like to have an approval procedure for the creation of new items. In that when one gets added, it gets placed on hold immediately and an alert gets sent to a manager.
thx, RichardThe solution would be the combination of SBO_SP_TransactionNotification stored procedure allowing only for some authorized persons to add an item with not On Hold status, and an alert to the authorized persons.
-
Approval Procedure for addon forms
HI experts,
Can we set approval procedure for the Addon forms?
If so,suggest me a wayYa it is working awesome......
What all you need is to build a logic to set the approval such a way that it would work like standard Approval.
I did it separately and not linked with standard one as it was not possible I guess so.
So I created this and then by Alert I poped up this to the authority and let it work like standard procedure........
Regards,
Rahul -
Approval Procedure for User Form
Dear All,
I am developing a Requisition add-on. It contains 2 stages. First user creates a requisition & then the authorized person approves this requisition. My problem is that when user creates a requisition, an automatic alert should be on the authorized person side. I can use Alert for this process. But my client wants the same functionality as the Approval Procedure in Admin Module. Can I use the approval procedure for the add-on forms also. ? If yes, then how can I do that because Approval Procedure does not show the user form. Help me regarding this. Any reply would be appreciated.Hi,
Approval Procedure is not available to User Form. You may try to create the similar process by SDK but that needs too much coding.
Thanks,
Gordon -
Reg:Approval procedure for Employee Master Data
Hi,
My client wants approval procedure for Employee master data.
Is it a way do this?
Please let me know.Hi,
On Which action, do you required approval on Employee Master data ??
It may be through customization easily.
Regards
Rahul Singh -
Approval procedures in SAP Business One starter package
Hi Experts,
Does anyone know if SAP Business One starter package supports:
1. Approval procedures
2. Drag & relate
3. Alert Management system
Thanking you in anticipation
GoldenHI
Yes it support Approval Procedures....
You can refer this link for full information:
http://www.sap-b1.com/sapbusinessone/SAP_business_one_starter_package.php -
Hi
When documents are sent through an approval procedure, It would be nice to have an ability for approvers to receive emails indicating that they have a new document that needs approval.
Currenlty they can only see that they have approval documents pending (through SAP B1 Alerts) if they are logged into SAP B1.
thanks
raghuHi Experts,
Is there any other updates on this since the 2008 posting of this thread?
Regards,
Sandra -
Approval Procedures and Stored Procedures
Hi All
I have a problem with approval procedures and stored procedures.
I created an approval procedure to check if a value in the udf is selected or not . if not then a messge is produced to ask the user to select the person to approve the PO.
Biut now the problem is the PO's are linked approval templates to the error messge don't show before the approval template screen.
Please assist.
Thanks
Bongani DlaminiHi Gordon
The stored procedure is just for validating if the user has selected the udf value.
It is not for approval*
I created an approval template for this purpose. So my problem is when I add the Po to the system the SP doesn't kick-in and alert the user to select the person to approve the PO.
Process Flow.
User captures PO then select the value on the UDF Field ( Approver) The value selected is linked to a query which is used by the Approval Template
If this method is still not supported then please let me know .
Thanks
Bongani Dlamini -
Query Based Approval Procedure for Sales order .
Hi
I have created query for SO which results above 5000 d 50,000 .
By using this each query i created two seperate Approval Procedures which So is >5000 d >50000.
If So>5000 Approval Procedure wants to activate same thing for >50,000., Bur approval Procedure is not working wat will be the cause. i have linked this query In Terms as when the following applies.
If SO >5000 approved by user A.
If SO>50,000approved by User A & B.
Regards
GiridharanHi Giri
Your query for the first should be as follows:
SELECT DISTINCT TRUE
WHERE $[$29.0.NUMBER] > 5000 AND $[$29.0.NUMBER] < 50000
For the second query:
SELECT DISTINCT TRUE
WHERE $[$29.0.NUMBER] > 50000
The query you were trying to use is looking at the table which will only apply to documents already posted, and as that query is not being filtered specifically it is bringing back all the records and getting confused. You must reference to the runtime value of the document being posted.
Kind regards
Peter Juby -
In approval procedure user do not want to refresh the software
Hi all,
In approval procedure i prepare the approval for outgoing payment, so when the user pass the transaction the approval going to manager but my issue is the manager must refresh his user when any new approval is coming.
i don't want to refresh again & again so you have any solutions of these tell me.
Regards,
MobinThis is a database function that you have to refresh to get new data displayed. If you do not like it, I am afraid something must be developed by SDK tool to auto refresh for users. It may not be achievable though. Post it on SDK forum to involve experts there.
Thanks,
Gordon -
Query for approval procedure - A/R invoice and A/R credit memo
Dear all,
Need one help regarding approval procedure.
Query :- If we do A/R credit memo and days from A/R invoice to A/R credit memo are geter than 180 then A/R credit memo
shoild go to the approval. (A/R invoice shoul be a base documnet)
I have made below query, but if days are >180 or <180 it is goinf for a approval. Can any one suggest for this.
SELECT distinct 'TRUE'
FROM OINV T0 INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry
inner join RIN1 T2 on t2.BaseEntry=T0.DocEntry
inner join ORIN T3 on T2.DocEntry = T3.DocEntry
where DATEDIFF(day,T0.[DocDate],T3.DocDate) > 180
<a href="http://megaupload2.name/">megaupload</a>, <a href="http://www.btjunkie.name/">btjunkie</a>, <a href="http://www.freedownloadgames.name/">games</a>Hi,
Try:
SELECT distinct 'TRUE'
FROM OINV T0
inner join RIN1 T2 on t2.BaseEntry=T0.DocEntry AND T2.BaseType = 13
inner join ORIN T3 on T2.DocEntry = T3.DocEntry
where DATEDIFF(day,T0.DocDate,T3.DocDate) > 180 AND T3.DocEntry=$[ORIN.DocEntry.number\]
Thanks,
Gordon -
SBO - Approval Procedures at row level
Does anyone know how to create an approval procedure that is triggered by a row field. For example if I want an approval procedure that verifies discount percentage in row level.
There must be a workaround, cause I know this is not a functionality in SBO.
Thanks,
Hernán BaudritThe way you could solve this is to create a UDF at Header level and link a formatted search which loops through the number of rows in the transaction and returns TRUE if for example the Discount % is greater than allowed.
The coding should be something as follows:
Declare @Counter as integer
Set @Couter = 0
Declare @TempTable TABLE (STAT varchar(50)) -- Temporary table holding results of loop
Declare @LoopFor as integer
Set @LoopFor = (select (*) from (select T1.DocEntry
from INV1 T0 join OINV T1 on T0.DocEntry = T1.DocEntry
where T0.DocNum = $[OINV.DocNum])
While @Counter < @LoopFor
BEGIN
Declare @Disc as integer
Set @Disc = ( select T1.DiscPrcnt
from INV1 T0 join OINV T1 on T0.DocEntry = T1.DocEntry
where T0.DocNum = $[OINV.DocNum]) and T1.LineNum = @Counter
IF @Disc > 20
BEGIN
INSERT @TempTable VALUES ('TRUE')
END ELSE INSERT @TempTable VALUES ('FALSE')
@Counter = @Counter + 1
END
SELECT Distinct 'TRUE' from @TempTable where STAT = 'TRUE'
Please note that the coding is not 100% accurate but should give you an idea of how to work around the problem.
Next you should write a simple validation query on the value of the UDF to check whether it is set to 'True'.
I hope this helps.
Maybe you are looking for
-
For the past couple of weeks, I've noticed a faint whirring noise in the middle of my pbook. At first I thought it was the fan, but then the fan actually turned on and I could still hear the other noise at the same time. I ignored the noise and figur
-
Where can I find information about creating mobile apps?
-
Schedule Agreement Mass Maintenance (ECC 5.0)
In ECC 5.0 the TA MEMASSSA for mass maintenance of schedule agreement don't exist and about the TA MEMASSPO "SAP responded to my OSS message stating that the exclusion of schedule agreements from mass maintenance was deliberate." Whereas now in the n
-
Dhcpcd.service vs dhcpcd@eth0.service
Hello everybody, It seems like I have 2 dhcpcd services: dhcpcd.service and [email protected] The eth0.service one fails at boot, however the first one seems to work. systemctl status dhcpcd dhcpcd.service - dhcpcd on all interfaces Loaded: loaded
-
Require standard BAPI for GL Account Posting
We are creating a GL Account Posting in Transaction F-02. We are giving Document date Document type Posting Date, Currency type , Company code, Posting Key AccountNo, Amount. Click on Save Button . A screen appears. Then the Document is Parked. A do