Query Alert for a change in value of the Quantity field of the sales order
Hi Experts,
A query alert has been set up to alert the warehouse employee when a new sales order is created by a sales employee. Our client wants the warehouse employee alerted when the sales employee edits the quantity field of an already added sales order.
Kindly assist in designing a query to notify of this change in the Quantity field of the sales order.
David
Try this one:
SELECT T0.DocNum, T0.CardCode, T1.ItemCode, T3.Quantity 'Old Qty', T0.Quantity 'New Qty', MAX(T2.LogInstanc) 'Times Changed'
FROM dbo.ORDR T0
INNER JOIN dbo.RDR1 T1 ON T1.DocEntry = T0.DocEntry
INNER JOIN dbo.ADOC T2 ON T2.DocNum = T0.DocNum AND T2.ObjType = '17'
INNER JOIN dbo.ADO1 T3 ON T3.DocEntry = T2.DocEntry AND T3.ItemCode = T1.ItemCode
WHERE T0.DocStatus = 'O' and T0.DocType = 'I' AND T1.Quantity != T3.Quantity
GROUP BY T0.DocNum, T0.CardCode, T1.ItemCode, T1.Quantity, T3.quantity
Similar Messages
-
How to change the value of the Selection field in the ROOSFIELD table for o
Hi there
I have a standard data source 0CRM_SALES_ACT_1 for which one of the standard field has the status A(Hidden).
In the field selection filed of the table ROOSFIELD and I want to change it to P(Visible) for one of the field in the Data source.
How it can be done. Any suggestion will be greatly appreciated.
kind regards
SarahHi,
Keerthi
Good Question..Even am also new to this issue.
But let me try to find the solution.
Before lookinto this issue. i need clarification on this.
1. You want to see the value in the text box as a color one or you want to change the disable from true to false?
If that is the case, then following one is my suggestion.
In proceesRequest method
1. get the handle for the messageTextInput Bean and based on that set the disable property to false
for example:
OAMessageTextInputBean t1 = (OAMessageTextInputBean )webBean.findChildRecurrsive("ItemId");
t1.setDiabled(false);
In ProcessFormRequest method
1. get the handle for the messageTextInput Bean and based on that set the style class or css property to "OraFieldText"
for example:
OAMessageTextInputBean t1 = (OAMessageTextInputBean )webBean.findChildRecurrsive("ItemId");
t1.setCss(OraFieldText);
(Or)
If it will not work then directly set the cssClass Property to OraFieldText.
I hope it will work....am not sure about this.
Regards
Santhosh kumar.k -
Can't change quantity when copy from Sale order for Delivery
Hi all!
Can i use authorization for can't change quantity when copy from Sale order for Delivery.Tien,
Approval will not work when you have mutiple rows of data. You would have to work with SP Transaction Notification
There has been threads before on the forum on the same topics.
Block the Quantity in Sales Delivery
Approval Procedure for chaning quantity in Delivery Document
Suda -
How to get the value for the LIT_Withheld field in the city tax form?
I am trying to get the value for the LIT_Withheld field on the city tax form , PAYUSEET.. This is not a database column but is generated based on some conditions.. Appreciate the help. Thanks, Suguna
Hi Abhmanyu,
Thanks for your response.
Search Help Name : ZZ_MG_MARITAL_VH
Selection Method : T502T
Search help parameters are SPRSL, FAMST, FTEXT,
Can u provide me a sample code to fetch the value of corresponding text.
Thanks,
Hari -
Change the position of the text field in the report region
Hi,
I am having a report region in whch there are 2 buttons which are in the Region Template position #Create# and a
text field. I added a text field in the same region. I tried to change the position of the text field near the buttons. I
tried to change "label-Horizontal/vertical alignment" and "Element horizontal vertical alignment". But the postion of the
text field is not changing. Plz help,
Thanks,
TJHi Andy,
Sorry to ask this questions.
1.Where exactly i need to change the HTML code(By uisng the view source?)
2.My taskname part html code when viewing the source is given below
tabindex="999"><img src="/i/e.gif" alt="Edit" class="eLink" />
</a><tr></td><td nowrap align="left">
<label for="P1_TASK_NAME" tabindex="999">
<a class="t16OptionalLabelwithHelp" href="javascript:popupFieldHelp('5853137628393530415','676839962625525')"
tabindex="999">Task Name</a></label></td>
<td colspan="1" rowspan="1" align="left" valign="top"><input type="hidden" name="p_arg_names"
value="5853137628393530415" /><input type="text" name="p_t06" size="10" maxlength="20" value=""
id="P1_TASK_NAME" /><a class="eLink" title="Edit" href="javascript:popupURL('f?
p=4000:371:676839962625525::::P371_ID,FB_FLOW_ID,FB_FLOW_PAGE_ID:5853137628393530415,107,1');"
tabindex="999"><img src="/i/e.gif" alt="Edit" class="eLink" /></a></td></table>
<table summary="" cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td align="right"><table
cellpadding="0" cellspacing="0" border="0" summary="" class="t16Button">please suggest what changes i need in this code to change the alignment of the task_name text field,
Thanks,
TJ -
Change End date of billing plan/invoice plan in sales order item(fpla-erdat
Hi Experts,
Could you please help to me regarding this issue.
I need to change End date of billing plan/invoice plan in sales order item of "billing plan" Tab.( FPLA-ERDAT) for all line items. It is not a one sales order,more than 1000 sales orders.
How can i change those end date of billing plan for all line litems and all sales orders ( i have input file with sales orders, items, dates.)
Thanks
jayaHi ramki,
I tried with using MASS T.code ( bus2032 Object type).
There are no field related to Billing plan end date?.if case i done wrong ,tell me what are steps while using MASS T.code.
now what i can do. or explain
Thanks
jaya -
Values are generating in the prepopulated fields from the XML data sourece I binded to the fields
Hello,
Fairly new here.
I am trying to insert the payrate and name values in a pdf document on LiveCycle. I created the XML file from our access database (about 1100 names), created the text fields using the same field names in the XML file, connected the XML file in liveCycle, binded the fields but when I convert to PDF nothing is there. I think my issue is the script in the XML file. Has anyone else come across this issue. Please help me with what I am doing incorrectly.
I am hoping to just hit a button and 1100 documents will generate with the two fields prefilled. Am I dreaming?
Thank you in advance for your time.Are the data values wildy different? i.e. Completely wrong, or are they off due to rounding?
I would start with member formulas and make sure that any in the BSO cube have been re-created in the ASO cube.
I guess, also double check that the level 0 export loaded, with no rejects. -
In smartforms the quantity field is not showing the perfect value .
In smartforms the quantity field is not showing the perfect value because the point is shifting left
insted of showing 8.10 it is showing 80.00.Hi,
Dont use the quantity field same as that it come from interface Fm declare one field for quantity in the global settings and write the logic to pass the value to that field and pass that global value to the particular texts...same is the case with currency fields also.
Regards,
Rohan. -
How do I insert the value of an email field in the submit mailto: argument?
I want to create a button that will redirect a PDF form to an email address entered as a field in the form. In other words, a "return to sender" function. The button function has a submit to URL where you can use "mailto:[email protected]". How can I substitute the value from an email field in the form itself for the "[email protected]" value?
You'll need to use JavaScript, and the mailDoc method in particular: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.505.html
Get the value of the field that contains the email address and use it as the value of the cTo property. See the following for a sample script: http://forums.adobe.com/message/3553628?tstart=-1 -
Change of the quantity field to 5 decimal places in SAP
Hi Gurus,
The quantity field is appearing with 3 decimal places in BOM, Process Order, etc. Is it possible to make the decimal places to 5.
All the decimal digits from SAP are 3 digits. We have an interface through which the data flows from another legacy system (Fow system) to SAP. And the Fow system setting was 5 digits. The issue is some of the raw material requirement qty was really minor and it might be below the decimal 3 digits.
In that case, when the data flows to SAP from Fow system it will cause the material stage failure. so please help me to investigate how to let the SAP also could have the 5 digits decimal. Thanks.
Regards
BrijeshDear ,
Its SAP standard ,to put and use decimal places in BOM qty .You can use upto 3 decimal places in BOM qty.
At SE11 you need to see what measure field is linked to the quantity field.Then goto tranaction CUNI and chage the decimal places of the unit of measure for the qty field unit , it will not allow you more than 3 decimal places in case of BOM qty.
You have following choice :
1. With the access key make changes in the standard program and take help from ABAPer
SAPLCSDI, Table Name-RC29P, Field Name- MENGE.
2) Change the base quantity in BOM header to 1000 aand accordingly change the component quantity.
Hope this is clear
Regards
JH -
Restrict the quantity fields from changing in ME54N during PR release
Hi All,
I have created a workflow for purchase requisition release strategy . Apporver's will login into ME54N transcation from the attachment in email and provide Release/Reject on PR . At that when any approver login to ME54N the item detials are in change mode so that user can able change quantity or other fields in the ME54N Transaction . So how to restrict the Approvers for not changing any quantity fields on the PR when it is being released .
Thanks and regards,
Dilip KumarHi-
I do agree with all other comments.
Also discuss with you functional consultant, say if any of the field which determines release strategy is changed by the approver, then end the current workflow instance and start the new workflow instance based on new release strategy (obviously new set of approevrs)
This is possible as SAP will trigger the corresponding event, if any of the field which determines release strategy is changed, (if release stratgey is configured properly).
You need to build the workflow in such a way, that if this event occurs, then end the current workflow instance and start the new workflow instance.
Vinoth -
Not able to display the values in the input fields of the view
Hi All.
I am facing an unique issue.
My custom element created in my custom node getting a null value
from a Get Vendor Details RFC written in RFC.
The values are getting populated in the custom element but not coming in the
input field of the corresponding view.
Then, I wrote this code
wdContext.nodeCustom.setLeadSelection(1);
and all the output came in the input field.
Now, after a build it is not coming in the input fields of the view.
All my custom nodes are Singleton and values are coming in the custom elements
as I can print them by wdComponentApi.getMessageManager.reportSuccess(""+customnode.getField());
All my nodes are Singleton.
Please give your valuable inputs.
Regards
Kaushik BanerjeeHi
Check the node property
initializeLeadSelection true
if not make it true , I would suggest to make a value node of the same structure as in RFC after execuation of the RFC populate the value manually.Dont bind it directly to the UI element.
BR
Satish Kumar -
Do not change the payment term created a Sales Order with reference
Hi Gurus,
Do not change the payment term created a Sales Order with reference to a contract where the payer of the change in Sales Order.Hello ,
As per my understanding , you do not want the payment terms to be changed even if the payer partner function is changed ,
as standard sap redetermines the payment terms with change in partner function, you may use the exit
USEREXIT_MOVE_FIELD_TO_VBAK- header level
USEREXIT_MOVE_FIELD_TO_VBAP- Item level
in this you could write a small code which will not change the payment terms when payer is redetermined
hope this helps
Thanks
akasha -
Table for checking the appended fields in the standard extractor
Hello,
Please let me know the table name for checking the appended fields in the standard extractor.
Thanks in advanceHello,
From Rsa6 , goto your extractor from there you may get the name of your strucutre
Go to DD03L and enter this name
And you get to see all the fields there..
waiting for your feedback.
Regards
Nitin Bhatia -
Alert for status changed in Service request CRM
Dear All,
We have a requirement where if the status is changed for a service request, an alert should appear in the context area of the interaction center warning the user of this modification.
I have tried to used the Alerts Configuration in the business role of IC_MANAGER to do this, can i do this only with customizing or do i need any development?
Thanks for all your input.
Best Regards,
João GaifémHi,
As no standard event is raised when changing the status, you could do the following.
Create a Z event (in SPRO, Customer Relationship Management->Interaction Center WebClient->Additional Functions-> Intent-Driven Interactions Define Events in Repository).
Then, you could enhance the view in which the status is managed.
If you want the alert to be shown when selecting the status, create an event handler for the attribute (if not existing already).
In this event handler, call the Z event you just created.
The code should look like :
DATA : lr_event TYPE REF TO cl_crm_ic_event,
lr_event_srv TYPE REF TO if_crm_ic_event_srv.
CREATE OBJECT lr_event.
lr_event->set_name( 'ZSTATUS_CHANGED' ). “Name of event created
lr_event_srv = cl_crm_ic_services=>get_event_srv_instance( ).
lr_event_srv->RAISE( lr_event ).
Then, create your own IDI rule, so that when the Z event is raised, an alert should be displayed.
Hope this can help you.
Sylvain
Maybe you are looking for
-
Repost-- Facing Problems while installation of SAP NW PT 7.0 on Oracle 10.2
Hello Friend, Sorry Friends, for my last long.....long...Post..... Here , i m reposting the same matter...Please help. We are trying to Install SAP NW PI 7.0 on Windows 2003 Server Enterprise Edition x64, with Oracle 10.2 - 64bit Edition. On this hos
-
I got a tkprof trace file and found the following message at the top of the trace file: The following statement encountered a error during parse: SELECT INVOICE_ID FROM AP_PAYMENT_SCHEDULES WHERE INVOICE_ID = :b1 FOR UPDATE OF AP_PAYMENT_SCHEDULES NO
-
How to configure and start the BI-Scheduler?
hi experts, as i am new to OBIEE, plz let me know how to configure and start (schedule the reports). if any docs plz send to me.. Thank u.............
-
I have this function defined in my database: create or replace FUNCTION return_string_func(x VARCHAR2) RETURN VARCHAR2 AS BEGIN return 'Hello ' || x; END; and i am trying to invoke it as follows: PLSQLStoredProcedureCall call = new PLSQLStoredProcedu
-
Content Deployment wizard for 2013?
SharePoint Content Deployment Wizard is working for SP 2010. Is there any tool same like this working for 2013?