Approval procedure in DIAPI
Hi,
Does the approval procedure work for DIAPI?
My requirement is as follows:
I have a user defined field on Sales Order header level.
If the value of this field is 'Y', the document should go for approval.I have set up this approval procedure and it works fine when i do it from B1.
I want that same thing should happen when i create a Sales Order using DIAPI.
Is it possible, if so how?
Thanks.
Hi Satish!
I'm intrested in it too, but...
...but there is no approval-interface in DI for now.
hope we'll have that feature in future.
what about opening message at portal or creating DRQ?
FYI: Approval Procedure doesn't execute
Similar Messages
-
Create Orders of Sale from DIAPI, Approval Procedures not works
Hi Experts,
I generate Orders of sale, from an application for DIAPI, the orders have approval procedures of authorization but they do not apply to the generated orders, which I must do in order that he executes them.
Thanks,
Carlos.
SAP B1 8.8, SQL 2008, WinSvr 2008 x64Hi
If you create sales order through DI API then it will go not for approval. You can try an alternative first create it as a draft , later when the draft is converted to sales order it will go for approval
Regards
Arun -
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. -
A/P Invoice created from Approved Drafts, through DIAPI
Please I need help with this error.
I need create A/P Invoice from approved drafts with DIAPI.
There are no errors if the "A/P Invoice" is copy of "Purchase Order" or without base document. In this case the Invoice is created without problems.
But, if the invoice is copy of "Goods Receipt PO", it is not created and DIAPI retrieve an error:
"Field cannot be updated (ODBC -1029)"
is a bug in sdk?
Thanks a lot.
Please help.Hello Norman,
This sounds really like a bug which you should report to SAP Support... - sorry!
...but let me (and others) give you some advice how to be more sure in such conclusions:
In such cases you should check:
a) Does it work in the B1 GUI application?
If yes, it's a bug (or limitation?) which you should raise to SAP Support.
...and of course it works...
b) If you are not sure about a) - or if there are problems too, but you still think it should work... you should check the DB documentation.
In your case the information is more-or-less obvious (could surely be easier to find...) available as the "Constraints" for the field PCH1.BaseType...
The DB documentation says that Purchase Orders + Goods Receipts POs (GRPO) as base types - and thus your problem is certainly a bug (but Support will do the final judgement).
But you should make sure that the GRPO is OK - i.e. the lines you need are not closed etc., but I assume you checked all that a couple of times already.
Regards,
Frank -
Wrong stage in Approval Procedure
Hi All.
Recently, we've upgrade our SBO (2007A) to SP01, PL08 and then we noticed a strage problem regarding Approval Procedures.
Our Approval Procedure Template (for POs) has 2 stages as below:
First stage - st1
Defined Approvals - 2
Required - 1
Second stage - st2
Defined Approvals - 5
Required - 2
Scenario
1.Document Add, the Approval Procedure takes into action and goes to st1. OWDD: CurrStep = st1, MaxReqr = 1.
2.One of the approvals in st1 approves and document goes to st2. OWDD: CurrStep = st2, MaxReqr = 2.
3.One of the approvals in st2 approves. OWDD: CurrStep = st2, MaxReqr = 2.
and here comes the surprise:
When another user of st2 approvals approves the document, the document does not become Approved, but is still suspended. When checking OWDD, I see that CurrStep = st1, MaxReqr = 2 !!!
SBO had "jumped" the process back to st1, but now it requires (somehow) 2 approvals.
Did anybody see such a behaviour? Do you know any solution?
10x in advance,
Beni.hi,
try to do this as your work around,
1. try to edit your Approval template and updated it
2. try to make a new Approval template identical (2 approval templates that does not behave the way u want)
in this case u cant test your old approval template and new approval template.
best regards.
FIdel -
Approval procedure based on item category
Dear All,
I have a scenario where all my sales items will be categorized under two broad heads: Bulk & Non Bulk. So there will be a UDF where every item will be mapped to one of these values. I want to apply an approval procedure where I am able to raise an approval to different set of people for Bulk Items and different set of people in case of Non Bulk items. Kindly help me how I can do the same.
Regards
Kapil KapoorHi,
It's not possible to create approval procedure based on item level. So if in a single document you have different types of (bulk/non-bulk) items you can't trigger different approval procedures.
In case you select the item type in a UDF in header level of a document, then it will be possible to send approval to different users based on the UDF value selected bulk/non-bulk.
Regards
Sibasish S. -
Cannot View Doc from Outgoing Payment under Approval Procedure messages
Hi Experts,
Both Originator and the approver cannot view the some of the pending and rejected documents when they are trying to edit the docuemtns from the approval procedures messages and approval decision reports.
In effect, the approval cannot approvbed the documents as he cannot check the document for approval. The documents can be viewed from the payment draft dopcument. It will be tedious for the approval to go back and forth to draft document and approval decesion report.
I already check the authorization for outgoing payment they both have full authorization. I can view the document as a super user. I need to know what other authorization do I need to check
Both originator and approver has full acess on outgoing payment since some of the documents can be viewed som3 documents cannot bew viewed.
Please help. We are in the data catch up mode for October 2009.
We are using 2007B PL10
Regards,
Amy
Edited by: Sandra Callanta on Oct 20, 2009 11:06 AMHi
Login with userid who will approved the document
Go in Admin > Approval Procedure > Approval Decision Report >
Select first check box " No Decision Yet"
select the pending one and approved it > update > ok
Thanks
Kevin -
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 if user change in the unit price at Purchase Order
Dear Experts,
I have defined purchase price list in the item master data. I want an approval if there is any devaition in the purchase price list and unit price which is defined in the purchase order. It will always go for the approval.
Regards,
RavinderaDear Ravindera,
Approval is only working on the header level. Unless you just care about the first line, no approval procedure can be built for other lines.
You can block those PO by SP_TN instead.
Thanks,
Gordon -
Approval procedure required for Delivery note based on condtions
Dear All,
I have the followings situation in which the business flow is as such that Sales Quotation is made and based on the Sales Quotation AR Down Payment request is made. Once the downpayment is recieved from the customer entries are made in Incoming Payment, Sales Order is booked and AR downpayment Invoice is booked. As there are milestone payment means 30 %, 60 % which would be done through AR downpayment Invoice and final 10 % is the final AR Invoice done. Now lets say that I have a Sales quotation No 10001 having an value of USD 10000 based on which AR Downpayment Request for 30 % and incoming payment comes from the customer for 30 % which is 30 % of USD 10000 is USD 3000. After reciept of payment based on Sales Quotation No 10001 a Sales Order is been booked ( Document Number 20001 ) with a payment terms of 30 days credit. Now I want an approval procedure in the Delivery Note to do a check that if for that particular Order No the payment terms is for 30 days credit means the payment due date and if the next 60 % the customer does not pay in time (which is after 30 days) the delivery would require an approval from the Finance head.
I think the above situation can be solved from the approval procedure with the help of some query but am not able to understand as to how to work on it.
Would be obliged if you can throw some light in it.
Regards,
RahulDear Gordon,
I think you did not understood my requirement. See the first 30 % downpayment the customer would be giving at the time of Sales Quotation. Now ater 30 % is recieved sales order would be booked. Now based on the sales Order delivery would be ONLY done when the next 60 % the customer pays. If he does not pays the next 60 % I want an approval to be done for delivery.
I had mentioned in my earier thread - ''next 60 % the customer does not pay in time (which is after 30 days) the delivery would require an approval from the Finance head.''
Means I want an approval check to be done on delivery with a condition of 60 % of the order value. And the final AR invoice would be done on the last 10 %.
I hope I am clear in my requirement.
Regards,
Rahul -
Enhanced Approval Procedure Functions- authorization issue
Dear Expert,
I have activated the enhances approval procedure function as per below screen shot:
Granted authorization as mention in New ChaRM Feature with SP 10: Enhanced Approval Procedure Functions by Michael. With SM_APP_AP with 02, 22 and 75.
But the Request for change procedure selection and approval steps was disabled
The requestor able to change the approval procedure and approval steps only if i granted the user with 70 (administer).
Please help as i want the requestor to be able to select the approval procedure and approval steps but not approving the CR. Im following the chart below but seem like is not working.
Role
SAP standard roles
Activity for
Change Manager
SAP_CM_SMAN_CHANGE_MANAGER
37 (approve) approval step, 75 (delete approval step), 22 (add approval step), 02 (change approval procedure assignment)
Potential Approvers
SAP_CM_SMAN_DEVELOPER
SAP_CM_SMAN_OPERATOR
SAP_CM_SMAN_TESTER
37 (delivered inactive)
Power User, Administrator
SAP_CM_SMAN_ADMINISTRATOR
70 (administer), 37 (approve) approval step, 75 (delete approval step), 22 (add approval step), 02 (change approval procedure assignment)
Thanks
Regards,
JunnieHi Jansi,
I have added activity 22 (add approval step) and 02 (change approval procedure assignment) but the approval procesure and approval step are disabled and not allow the requestor to select /add/ male changes.
So im not sure which part is going wrong.
Thanks
Regards,
Junnie -
How to delete (remove) a approval procedures templates ?
I have added an approval procedures template for 2 stages for Good Receipt PO.
then we used this approval procedure for several days.
recently , our manager hopes me to remove this approval procedure. ╮(﹀_﹀")╭
I have tried many methods to delete (remove) or stop this approval procedure.
but , I still can not find out the solution.
hope somebody can kindly give me a suggestion. :PHi!
THERE IS NO WAY TO DO IT.
If you still want to delete it from the database please create message to SAP support. May be it helps.
Regards,
Anton.
Maybe you are looking for
-
Cannot search for text in a PDF in Safari
I was previously able to use the "search in this document" when viewing a PDF in Safari. This no longer works and I always get "No Matches" when the word is actually in the PDF document. I installed the Chrome app and its "Find in Page" function is g
-
Very urgent please ----repetting values in the output
I am getting values for acc seq access seq number and codndition table repeting values as in the output of the report, please have a look in my code and please do respond immediatley. regards always, below is my code and output REPORT zmaster_cond
-
Additional Branch Condition Type in but not documented in HTMLDB UG v1.6
I would like to understand this condition type for Branch processing: When Process in Comma Delimited List of Process IDs Has Run How are Process IDs known? Could an example using this condition be provided? Thanks, Kelly
-
InDesign CC Having successfully installed many CC apps on my Mac Pro Desktop, I proceeded to do the same on my laptop. However, after two attempts at uninstalling and re-downloading both InDesign CC and the Creative Cloud Desktop. When starting up In
-
I'm new to blackberry. I have the Pearl 8100. Can anyone tell me if there is an way to have the phone indicate by a flashing led or something that it is on? I know it sounds a bit lame, but since the screen blanks when not in use, I find that there i