Table event 'After saving' for date delimition
I have created a custom table which has stat date and end date. Whenever a new record is created and saved,
The default value for new records must be 12/31/9999. When user creates a next record, the existing record must be automatically. delimited to BEGDA minus one.
I have implemented the code in 'After Saving' event where the delimition happens correctly. But once i save and click on exit button, again it's asking to save the record. if i save the delimited records are not updated.
Please provide some solution on this.
Regards,
Stanley
Hi,
Generate time dep. is disabled when i checked the table maintanance for the table.
Please help to proceed further.
Regards,
Stanley
Similar Messages
-
Table Maintenance Events - "Event 02 After Saving the Data in the Database"
Hi,
Can we identify the record marked for deletion in the "Event 02 After Saving the Data in the Database" ?
Thanks & Regards,
Esha RajLook at online documentation :
- [Event 02: After Saving the Data in the Database|https://help.sap.com/saphelp_nw04/helpdata/en/77/06b11859f511d2a6070000e82deaaa/frameset.htm]
. - [Internal Table TOTAL|https://help.sap.com/saphelp_nw04/helpdata/en/77/06b11859f511d2a6070000e82deaaa/frameset.htm]
. . - [Field Symbols <ACTION> and <ACTION_TEXT>|https://help.sap.com/saphelp_nw04/helpdata/en/77/06b11859f511d2a6070000e82deaaa/frameset.htm]
. . . - [Constants for Field Symbols <ACTION>, <ACTION_TEXT>, <XACT> and <XACT_TEXT>|https://help.sap.com/saphelp_nw04/helpdata/en/77/06b11859f511d2a6070000e82deaaa/frameset.htm]
Regards,
Raymond -
CS4: get file name after saving for web
Hello,
I am saving a file via "save for web" with a specific file name in a specific folder maybe with a specific resolution (width x height) entered directy within this dialog window.
Is it possible to get this path and the optionally changed resolution via Adobe script (after saving the file; or starting the script just before "save for web")?
Thanks a lot!
CarlosI don't see anyway to get the user's options from the SaveForWeb dialog. The descriptors for both charIDToTypeID( "Expr" ) and charIDToTypeID( "Mn " ) are empty.
But you can use the DOM to sfw. Below is a function to save jpg using sfw.
function SaveForWeb(saveFile,jpegQuality) {
var sfwOptions = new ExportOptionsSaveForWeb();
sfwOptions.format = SaveDocumentType.JPEG;
sfwOptions.includeProfile = false;
sfwOptions.interlaced = false;
sfwOptions.optimized = true;
sfwOptions.quality = jpegQuality; //0-100
activeDocument.exportDocument(saveFile, ExportType.SAVEFORWEB, sfwOptions);
Look up ExportOptionsSaveForWeb in the scripting guide for other formats.
You would have to do the resize as an extra step when saving using the DOM. -
Add exif-data while / after saving for web?
I use "save for web" quite often. However; i would like to add some exif-data to the picture after it is saved. Is there any way to do this with JavaScripting in Photoshop (CS3) ?
[email protected] wrote:
> I use "save for web" quite often. However; i would like to add some exif-data to the picture after it is saved. Is there any way to do this with JavaScripting in Photoshop (CS3) ?
There are limits to the kind of exif data that you can alter in an image. Most
of it can't be touched. You need to use an external app like Bridge or exiftool:
http://www.sno.phy.queensu.ca/~phil/exiftool/
-X
for photoshop scripting solutions of all sorts
contact: [email protected] -
VA02 (SO) exit or badi after saving SO data - urgent
Hi experts,
Please let me know the user exit or BADI after SO data saved and commited, but before all internal tables refreshed.
Advices will be rewarded.
Thanks,
Shaik BhashaHi,
Check all these userexits.
Exit Name Description
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0001 Determine alternative materials for product selection
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
Regards,
Sonika -
Clearing the FORM after SAVING the data
Question 1:
I've got a form that is built based on a table. When I enter the data and click on the save button, the FORM doesn't clear for me to enter the data for the next record. Where and how can I set up a process so that the form clears after the data is saved?
Quesstion 2:
I've got a form that is built based on a table. The table has 10 fields where one of the fields is a FK. I want all 10 fields to be on the form. I want the FK to be a select list where the display value is a description and a return value is an ID. I have picked the correct fields for display value and return value. However, when the data is saved, the return value is not stored in the table field. The field is bank. Any idea why this is happening?Hi,
The simplest way to clear the items for a page is to add the page number in to a Branch that is triggered by your Create/Save button - check your branches to see which one is linked to this button and enter the page number in the Clear Cache setting. If you created the form using a wizard, you should, however, already have a "reset page" page process that does this for you - if you haven't got this, then either update the branch or create a new "Session State" process that clears the cache.
For your second question, the data will be saved provided the page item is correctly linked to the table's field and you have "Process Row of tablename" set up correctly. If you have a "Process Row..." process, check the required settings in the "Source: Automatic Row Processing (DML)" section as these identify the table and its Primary Key. If you don't have one, you can create a new "Data Manipulation" page process to do this. In the page item, check that you have "Source Used" set to "Always, replacing any existing value in session state", "Source Type" set to "Database Column" and "Source Value or Expression" set to the table field's name.
One thing to check as well is, if you already have a "reset page" process, make sure it is after all other processes - change the sequence number if necessary.
Andy -
Why is same file different sizes after saving for web?
I have files that I save in PSCS3, under, "Save for Web & Devices" and I indicate under "optimize to file size" that they should be no larger than 60K. After item is saved and I go to "Get info", it says the file is 60K. Yet when I open the file in PS and go to Image Size, it says 467K. Why the discrepancy? Thanks for your feedback!
One is the compressed file size on disk (60K). The other is the uncompressed image size (369 pixels x 432 pixels x 8 bits per channel x 3 channels / 8 bits per byte / 1024, since K really is 1024, not 1000).
http://en.wikipedia.org/wiki/Image_compression
[Yoink!] -
Query on a transaction table breaks after running for sometime - Oracle 11g
Hi,
I'm running the below query to pull the sum of amount on trans table (which has 12 years of data partitioned yearly) whose last transaction date is 19-MAY-2013. The calendardatekey column is the one which is used in place of transaction date (each day has a unique calendardatekey). The query runs for couple of hours and breaks. When I contacted DBA they told that its trying to do a full table scan and pulling huge amount of data and doing a kind of sort and then breaks. Could someone please help if there is a better approach? If it works out for one day I will have to perform this for few more days.
Oracle version - 11g
trans table :
columns customerkey, programid and amount - are indexed.
card table :
column customerkey, status are indexed.
select t.customerkey, t.programid, sum(t.amount), max(calendardatekey) from trans t
where
exists (select null from card c where t.customerkey = c.customerkey and c.status = 'A')
--and t.programid = 10
group by t.customerkey, t.instprogkey
having sum(t.amount) < -100
and max(calendardatekey) =4888
Thanks for your help!doubtsinora wrote:
Hi,
I'm running the below query to pull the sum of amount on trans table (which has 12 years of data partitioned yearly) whose last transaction date is 19-MAY-2013. The calendardatekey column is the one which is used in place of transaction date (each day has a unique calendardatekey). The query runs for couple of hours and breaks. When I contacted DBA they told that its trying to do a full table scan and pulling huge amount of data and doing a kind of sort and then breaks. Could someone please help if there is a better approach? If it works out for one day I will have to perform this for few more days.
Oracle version - 11g
trans table :
columns customerkey, programid and amount - are indexed.
card table :
column customerkey, status are indexed.
select t.customerkey, t.programid, sum(t.amount), max(calendardatekey) from trans t
where
exists (select null from card c where t.customerkey = c.customerkey and c.status = 'A')
--and t.programid = 10
group by t.customerkey, t.instprogkey
having sum(t.amount) < -100
and max(calendardatekey) =4888
Thanks for your help!
"and breaks" is totally devoid of actionable information. Surely you got an actual error message (ora-nnnnn) that you could share with us?
Sounds like your DBA is trying to avoid providing any assistance ..... -
Is there any BTE event after 1025 for post document ?
Hi,
I used to add default account document's text by BTE 1025 ,but
after upgrade to ECC5.0,it's not work now .
I found the reason is : after run the interface program written by me ,the system run another program
OPEN_FI_PERFORM_00001025_E ,that made the field t_bseg-sgtxt I added been
cleared.
How can I solve this problem?
Thanks for help.Hi,
Try with
1420 CHANGE DOCUMENT: Field modification to line item and fm: OPEN_FI_PERFORM_00001420_E
But i am NOT 100% sure about this.
aRs -
Thumbnail images corrupt after saving for web
I am working with CS2.
Whenever I choose "Save For Web," the thumbnail preview on the desktop doesn't show the full image. Half of it is grey. This only happens when I choose save for web. Sometimes if I single-click the thumbnail, the entire image appears. But most of the time, it stays half grey. I'd appreciate any help on this, since it's been going on for a year now, and re-installing didn't help.Save For Web generates an icon of the image on both my home Mac and work Mac. I've changed the preferences in PS to "Never Save" Image Previews. That has done nothing. So maybe it is an OS glitch, but I can't find anything to change. And again, this only happens when I choose Save for Web.
-
How to get accounting data when miro after saving?
Hi,
As subject. Because I want to print credit memo when miro after saving for transaction is credit memo and need to determine GL account and posting key. Then this data need to insert to add-on table for reprint using.
Thanks a lot!!
Best Regards,
Nicole Chen
Edited by: Nicole Chen on Mar 11, 2009 11:19 AMdon't need its.
-
User exit or BADI after saving in ML81N
Hi,
I have created a Custom tab at header level in ML81N. In this tab the user enters the data which is to be stored in Ztables once the entry sheet is successfully saved. I am searching for BADI or user exits for saving the data. Can anyone tell me user exit or BADI which is triggered after saving the data?
Thanks in advance.Hi Poorvi,
Please get your results from the search.
http://www.sdn.sap.com/irj/scn/advancedsearch?query=userExitBadiML81N -
I have read the topics and tried the tricks and still have black backgrounds on my photoshop graphics. After saving for web & devides as png8 with transparency I have a checkerboard pattern behind my graphic. I am using the magic wand tool, selecting the emptiness/checkerboard behind, then choosing to select the inverse, the ctrl c, then ctrl v in iWeb
Thanks for any help.
KristieWhen you use the Save For Web or Devices be sure to click on black in the pallet and then on the transparent "button" just below the pallet before saving as a png file.
OT -
Remain to current screen in PA30 after saved infotype changes.
Hi,
I have a created a custom infotype 9xxx and now I have a requirement that user are allowed to saved changes on infotype 9xxx thru PA30 and it has to remain on infotype 9xxx screen instead of jumping out from PA30 after saved. Is this possible?
Thanks in advance,
SPHi Seng,
Could you Please share the solution of your Problem, Because I am also facing the same scenario.
It is coming out of the Custom Infotype screen to PA30 screen after saving the data .
in my requirement also , it should remain to same Infotype sreen after Save.
Thanks in Advance,
Sourabh -
Short dump while saving data after selecting '#' for variable in WI
Hello All,
We have a selection variable in our webinterface on company code.After selecting '#',i am entering data and while saving it goes to dump.
but client wants to have an error message displayed after saving data instead of runtime error (dump).so that user can select required company code.
Error analysis is:
A RAISE statement in the program "SAPLRSDRI" raised the exception
condition "ILLEGAL_INPUT".
Since the exception was not intercepted by a superior program
in the hierarchy, processing was terminated.
Short description of exception condition:
For detailed documentation of the exception condition, use
Transaction SE37 (Function Library). You can take the called
function module from the display of active calls.
Is there any way to get desired result?
ThanksHello Murali,
What you would need to do is to change the attributes of the variable.
1. In BPS0, you can make it as a mandatory entry.
2. In the web layout, you can create a variable for Company code and force the user to choose a value from a dropdown list.
The specific approach would depend on how the layout is being called and how it has been setup.
Hope this helps.
Sunil
Maybe you are looking for
-
Windows Explorer View, Server 2012 and WebDAV
I am using SharePoint Server 2013 on Windows Server 2012. I cannot get Windows Explorer View working from client machines on this server. These machines are Windows 8, running IE 10 (I am also having problems on my Windows 7 / IE 9 machine). I have d
-
When i sync my iphone with my computer IT WANTS TO DELETE MY APPS.
when i sync my iphone with my computer IT WANTS TO DELETE MY APPS. what to do?
-
More information density on external monitor
Hi all I have a Macbook Air (2ghz i7 - 8GB Ram - 4000 1024 graphics) mid 2012. I'm after a 27 inch external monitor - but I don't want larger content, I want MORE content. I need more actual information density so I can have several panes open and vi
-
Hi guys I hope someone can help me
Hi guys I hope someone can help me I have a problem with Apple compressor 4. Everytime I use Apple clusters it works for the first time. And when I try to use it again it disappears. I have to delete the program and reinstalled it and then I can acti
-
Hi Can someone please let me know how the delimitation of quotas are handled when an employee changes employee sub groups and has different quotas amounts to accrue. I know the quotas need to be delimited - but how can you automate this - via a dyna