Code for save event in review screen of ess
Hi All,
I was unable to find the code for trigger of the save event when user clicks save button on ess application lastscreen in the VcPerAddressRevieww component, its not in view or controller of the component.When user hits save in the last screen after review where is programming code which is triggering the save event in any ESS application.
Thanks.
nithya,Thanks for your answer but my question is on out of box ess source code for example in the review and save screen of ess application , when the user clicks save button there should be somewhere a call to fc component that calls the rfc to update the backend.I am looking for that call in the code, i didnot found it in VcperAddressReview Component controller or in the view.Is it a part of CC component or where can i find the call on save button hit.
Thanks,
sameer
Similar Messages
-
How to create a transaction code for a function group with screen 100 as st
Hello ,
I have requirement where I need to create a function group and create screen 100, 200, 300 and include the function in the screens.
Customer asked me to create a transaction with the screen 100 as the starting screen.
Can you please let me know how to create a transaction code for a function group with screen 100 as starting screen.
[ It is not a module pool program ].
Thanks
Prashanth.
Moderator message - Please ask a specific question and do not ask the forum to do your work for you - post locked
Edited by: Rob Burbank on Jun 2, 2009 11:49 AMGo to transaction SE93, enter a transaction code that you want and click on "create". Enter a text and select the "Transaction with Parameters" button. In the Default Values section, enter START_REPORT in the transaction field. Check the "skip initial screen" box. In the Name of Screen field section enter the following lines:
Name of screen field: Value
D_SREPOVARI-REPORTTYPE RW
D_SREPOVARI-REPORT ZPCA
Save and transport accordingly. -
Code for execute button on selection screen to get result
hi experts,
I need a help for writing a code for execution button on selection screen.Like in normal report on abap editor
we insert selection criteria like number and we get the result according that particular number on next screen.
same thing i am trying here also. So i am writing a code on button that when i press the button it will go to the next
screen according to the selection criteria.
Plz help me helpful answers are appriatiated !!!
Thanks & regards
Vipul Guptahi,
In the OnAction write :
1. get the values entered in selection criteria using :
DATA lo_nd_cn_check TYPE REF TO if_wd_context_node.
DATA lo_el_cn_check TYPE REF TO if_wd_context_element.
DATA ls_cn_check TYPE wd_this->element_cn_check.
DATA lv_ca_check LIKE ls_cn_check-ca_check.
navigate from <CONTEXT> to <CN_CHECK> via lead selection
lo_nd_cn_check = wd_context->get_child_node( name = wd_this->wdctx_cn_check ).
get element via lead selection
lo_el_cn_check = lo_nd_cn_check->get_element( ).
get single attribute
lo_el_cn_check->get_attribute(
EXPORTING
name = `CA_CHECK`
IMPORTING
value = lv_ca_check ).
Now lv_ca_check has your value entered in Selection criteria.
2. write the select query to fetch data according to selection criteria.
select * from <table> into correponding field of table <internl table>
where Field = lv_ca_check.
3. Now in the internal table <internl table> you have values according to search criteria.
4. Bind the internal table with node which is binded to table to show data.
lo_nd->bind_table( internaltable ).
I hope it is clear . -
HI ALL,
I am working on MM01 Tcode . In recording I got all ok codes except save button .
can any one help me how to see the ok code for save button...I think some command is there to find.
Thanks in advance.before clicking SAVE. put /H on the command bar. hit enter.. debugger is switched on..
now click SAVE.
debugger starts.
now in debugger check the value of sy-ucomm
by the way, its BU for save button in MM01
Edited by: Soumyaprakash Mishra on Oct 28, 2009 4:31 PM -
What is the ok code for Save (to post a document)
Hi all Technos
How to post a document(Save it) in BDC In Tr Code F-02 after all entry? What is code for that.
In simple what is the ok code for SAVE. For your kind infromation ENTER is not taking.
Plz any body help me For that.
Every usefull answer will be rewarded with points..
Thanks in advance
shovanHi Shovan,
OK-code for save is =BU
Check this recording..Award points if useful
perform bdc_dynpro using 'SAPMF05A' '0100'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'BKPF-BLDAT'
'06.05.2008'.
perform bdc_field using 'BKPF-BLART'
'SA'.
perform bdc_field using 'BKPF-BUKRS'
'BP01'.
perform bdc_field using 'BKPF-BUDAT'
'19.05.2008'.
perform bdc_field using 'BKPF-MONAT'
'5'.
perform bdc_field using 'BKPF-WAERS'
'USD'.
perform bdc_field using 'FS006-DOCID'
perform bdc_field using 'RF05A-NEWBS'
'40'.
perform bdc_field using 'RF05A-NEWKO'
'630020'.
perform bdc_dynpro using 'SAPMF05A' '0300'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'BSEG-WRBTR'
'100'.
perform bdc_field using 'BSEG-MWSKZ'
'I0'.
perform bdc_field using 'BSEG-TXJCD'
'ca0000000'.
perform bdc_field using 'DKACB-FMORE'
'X'.
perform bdc_dynpro using 'SAPLKACB' '0002'.
perform bdc_field using 'BDC_OKCODE'
'=ENTE'.
perform bdc_field using 'COBL-KOSTL'
'1201'.
perform bdc_dynpro using 'SAPMF05A' '0700'.
perform bdc_field using 'BDC_OKCODE'
*'=BU'.*
Thanks,
Rvaee.. -
Code for SAVE functionality in FPM_OIF_COMPONENT
Hi Experts,
I have enhanced the component DPR_DET_DATA_PROJECT_O. The SAVE functionality for this component exists in FPM_OIF_COMPONENT.
I have to raise error message depending on the custom fields added in DPR_DET_DATA_PROJECT_O when I click on 'SAVE' button.
Please share if any ideas where to write the code for SAVE functionality for the custom fields added on DPR_DET_DATA_PROJECT_O.
Regards,
RafiHi Rafi,
These similar discussions might provide some assistance:
BAdI or enhancement on SAVE of Cproject
which badi triggers while saving cproject
Code to call for saving the data in WDC - DPR_PROJECT_VIEW
Cheers,
Amy -
How to write code for save file directory?
how to write code for save file directory?
how to find usa timezone code using java swing?
i have some code help me
public class ItsInitializer {
private static boolean s_initialized = false;
private ItsInitializer() {
public static synchronized void initialize() {
if (!s_initialized) {
// Modifies default time zone, disables Daylight Saving Time.
TimeZone l_defaultTimeZone = TimeZone.getDefault();
int l_rawOffset = l_defaultTimeZone.getRawOffset();
String l_id = l_defaultTimeZone.getID();
SimpleTimeZone l_simpleTimeZone = new SimpleTimeZone(l_rawOffset,
l_id,
0,
0,
0,
0,
0,
0,
0,
0);
TimeZone.setDefault(l_simpleTimeZone);
s_initialized = true;
2.
long timeMillis = ...;
long time = timeMillis / 1000;
String seconds = Integer.toString((int)(time % 60));
String minutes = Integer.toString((int)((time % 3600) / 60));
String hours = Integer.toString((int)(time / 3600));
for (int i = 0; i < 2; i++) {
if (seconds.length() < 2) {
seconds = "0" + seconds;
if (minutes.length() < 2) {
minutes = "0" + minutes;
if (hours.length() < 2) {
hours = "0" + hours;
3.
import java.text.SimpleDateFormat;
import java.util.Date;
public class Convert {
public String getDateTime(String pattern){
SimpleDateFormat sdf = new SimpleDateFormat(pattern);
return sdf.format(new Date());
* @param args
public static void main(String[] args) {
Convert con = new Convert();
System.out.println(con.getDateTime("hh:mm:ss"));
5.import java.text.SimpleDateFormat;
import java.util.Date;
public class Convert {
public String getDateTime(String pattern){
SimpleDateFormat sdf = new SimpleDateFormat(pattern);
return sdf.format(new Date());
* @param args
public static void main(String[] args) {
Convert con = new Convert();
System.out.println(con.getDateTime("hh:mm:ss"));
[ November 23, 2005: Mess
private Locale locale = Locale.US;
private static final String[] tzStrings = {
"America/New_York",
"America/Chicago",
"America/Denver",
"America/Los_Angeles",
Date now = new Date();
for ( TimeZone z : zones) {
DateFormat df = new SimpleDateFormat("K:mm a,z", locale);
df.setTimeZone(z);
String result = df.format(now);
System.out.println(result);
String date="05/19/2008 04:30 AM (EST)";
SimpleDateFormat sdf = new SimpleDateFormat("MM/dd/yyyy hh:mm aaa (z)");
TimeZone.setDefault(TimeZone.getTimeZone("PST"));
long millis = sdf.parse(date).getTime();
sdf.setTimeZone(TimeZone.getDefault());
System.out.println(sdf.format(new Date(millis)));
[ November 23, 2005: Mes -
SP2010 Merging Validation Code for Calendar Events
SharePoint 2010: My code should ensure the user can only set an appointment between 11am and 3pm and during week days only, must start on the hour or half hour only and can only be for 30 minutes. I am so close ... I have 2 halves. The first
does the times between 11 and 3, the second does the hour and half hour start time and limits 30 minutes. Can anyone help me to put them together? Also it should only be on weekdays, that part of my code is not working either. Any ideas?
Thanks in advance.
=AND(HOUR([Start Time])>=11,HOUR([Start Time])<17,WEEKDAY([Start Time])<>1,WEEKDAY([Start Time])<>7)=AND(HOUR([End Time])<=15,HOUR([End Time])<>7,WEEKDAY([End Time])<>1,WEEKDAY([End Time])<>7)
=AND(OR(MINUTE([Start Time])=0,MINUTE([Start Time])=30),OR(MINUTE([End Time])=0,MINUTE([End Time])=30),HOUR([End Time])-HOUR([Start Time])<=ABS(1),ABS(MINUTE([End Time])-MINUTE([Start Time]))=30)Hi Jamrcngal,
I believe this is what you are looking for. Please test all your use cases with the following equation.
=AND(MONTH([Start Time])=MONTH([End Time]),YEAR([Start Time])=YEAR([End Time]),DAY([Start Time])=DAY([End Time]),HOUR([Start Time])>=11,HOUR([Start Time])<17,WEEKDAY([Start Time])>1,WEEKDAY([Start Time])<7,OR(MINUTE([Start Time])=0,MINUTE([Start Time])=30),OR(MINUTE([End Time])=0,MINUTE([End Time])=30),OR(AND(HOUR([End Time])-HOUR([Start Time])=ABS(1)=TRUE,HOUR([End Time])-HOUR([Start Time])<ABS(1)=FALSE,MINUTE([End Time])-MINUTE([Start Time])=30=FALSE,MINUTE([End Time])-MINUTE([Start Time])=-30=TRUE),AND(HOUR([End Time])-HOUR([Start Time])=ABS(1)=FALSE,HOUR([End Time])-HOUR([Start Time])<ABS(1)=TRUE,MINUTE([End Time])-MINUTE([Start Time])=30=TRUE,MINUTE([End Time])-MINUTE([Start Time])=-30=FALSE)))
Enjoy,
Alex -
Hi,
I had uploaded jpeg file onto the stage using
File->Import.
Now, how to access the mouse-events using AS3.0?
i.e., when we click with mouse on the stage
it should display the x and y co-ordinates of the point
being clicked.
These x and y coordinates must be displayed in text-boxes
provided down on the same stage.
Please reply meYou can do show/hide movieclip on mouseover. get your box
position and assign to the popup (tooltip movieclip).
see this...
not tested. but it should work.
import flash.events.MouseEvent;
function showClip(evt:MouseEvent) {
tooltips.x = evt.target.x + evt.target.width;;
tooltips.y = evt.target.y - evt.target.height;
tooltips.visible = true
function hideClip(evt:MouseEvent) {
tooltips.visible = false;
box.addEventListener(MouseEvent.MOUSE_OVER, showClip);
box.addEventListener(MouseEvent.MOUSE_OUT, hideClip);
I assume you'll create two movieclips named: box and tooltips -
User exit for va01 on save event
Hi
Can you tell me with user exit is there for save event in VA01.
cheers
AJHi,
USER EXITS for VA01
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,
Prashant -
Match code help and coding for save menu for PF STATUS and BDC programming
hi,
pl guide me step by step i'm new to abap.
1) i need search help for field V_TVAG-BEZEI..this is field is there in my table control to select the values from the line of list for reason to reject.
2) i need code for SAVE button which i've created in PF STATUS.
3) do i need to to BDC programming for save and update the table control in return order as well as in sales order?...if yes how can i do that?hi,
pl guide me step by step i'm new to abap.
1) i need search help for field V_TVAG-BEZEI..this is field is there in my table control to select the values from the line of list for reason to reject.
2) i need code for SAVE button which i've created in PF STATUS.
3) do i need to to BDC programming for save and update the table control in return order as well as in sales order?...if yes how can i do that? -
Need to specify default filename for SaveAs
I am using the command app.execMenuItem("SaveAs"); in the click event of a button. Is there anyway that I can specify a default filename for the user? I do want the user to get the Save As window and the ability to change the name if possible.
The form is generated by the RenderForm Java script, and the name being generated as a default for the SaveAs window is RenderForm.pdf
Thanks,
VelvetChris, I think you missed this one.
I think you want to change the name when calling app.SaveAs via javascript from the client not on the server. Since app.executeMenuItem("saveAs") will not take any parameters to suggest a file name. I think you will have to use doc.saveAs which will allow the name to be specified. This would require a trustedFunction which may or will not work unless you have known users. You will also need to prompt for the file name before making the call.
Here is some untested code to get you started...
You will need to create a trustedFunction (see AcroJS.pdf for details) ..
saveFunc = app.trustedFunction(function (filename) {
app.beginPriv();
try {
event.target.saveAs({cPath: filename});
} catch (err) {
app.alert("Error: " + err);
app.endPriv();
Code for your event...
var suggestedName = "MyPDFName.pdf";
// Note This will only work if you know where they will be saving it
var cPathToSaveTo = "/c/temp/";
var cResponse = app.response({
cQuestion: "What name would you like to use for this PDF?",
cTitle: "File Name",
cDefault: suggestedName,
cLabel: "File Name:" })
if(cResponse != null)
saveFunc(cPathToSaveTo + cResponse );
Hope this helps.
Rich Ruiz
Novanis -
WARNING : CAN NOT ALLOCATE BLOCK FOR THE EVENT !
Im developing a packet filtering program on Solaris 2.6. When program is executed for a while this warning message appreas :
WARNING : CAN NOT ALLOCATE BLOCK FOR THE EVENT !
and screen gets frozen,
if please somebody knows when and why this message appears, please help...
Thanks in advance,
emre celebi
[email protected]Im developing a packet filtering program on Solaris 2.6. When program is executed for a while this warning message appreas :
WARNING : CAN NOT ALLOCATE BLOCK FOR THE EVENT !
and screen gets frozen,
if please somebody knows when and why this message appears, please help...
Thanks in advance,
emre celebi
[email protected] -
T.code for screen painter
anybody tell me how to create t.code for my screen created in se51
Hi,
Go to SE93
Give the Tcode according to the naming Conventions
check the Box program and screen(dialog transaction)
click on enter
then provide Program Name
Screen Number
and check all the GUI boxes.
and save the Tcode.
Module-pool programs need tcode to exeute.These are type 'I' programs so you cannot execute directly.Plz check the below links you will get a clear idea how to work with module pools.....Just like your report programs this is also quite easy..
check these links
DIALOG Programming
http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
http://www.sap-img.com/
http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm
http://www.sapgenie.com/links/abap.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm
http://help.sap.com/saphelp_47x200/helpdata/en/52/670ba2439b11d1896f0000e8322d00/frameset.htm
Have a look at these good links-
http://www.allsaplinks.com/dialog_programming.html
http://sap.mis.cmich.edu/sap-abap/abap09/
http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
http://sap.mis.cmich.edu/abap-00/
http://www.allsaplinks.com/files/using_table_in_screen.pdf
http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm
http://www.sapgenie.com/links/abap.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm
http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
http://help.sap.com
http://www.sapgenie.com/abap/example_code.htm
http://help.sap.com/saphelp_47x200/helpdata/en/52/670ba2439b11d1896f0000e8322d00/frameset.htm
http://www.allsaplinks.com/dialog_programming.html
http://www.sapbrain.com/TUTORIALS/default.html
http://www.sappoint.com/abap/spmp.pdf
http://sappoint.com/abap.html
http://www.sap-img.com/abap.htm
http://sap.ittoolbox.com/code/archives.asp?i=10&t=450&a=t
http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
http://www.sap-img.com/abap/
http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
http://www.sap-img.com/
http://www.sappoint.com/faq/faqdiapr.pdf
http://www.allsaplinks.com/dialog_programming.html -
RE: Code for error messages & for Multiple Selection at Selection screen
Dear Friends,
Following is the code to display PO created without Purchase Requisition Nos. Please help me with the correct code to display the error messages when PO No is entered with Purchase Requisition No & also a message should come when user enters some random or wrong PO NO.
Also, in the Selection-Screen I want PO NO, Purchase Org, Material, Plant & Date. So, please help with the code so that these options can also display the PO created without Purchase Requisition Nos.
Waiting for your valuable replies,
Suruchi.
The Code is attached herewith:
DATA: BEGIN OF itab OCCURS 0,
ebeln TYPE ekko-ebeln,
ebelp TYPE ekpo-ebelp,
matnr TYPE ekpo-matnr,
txz01 TYPE ekpo-txz01,
menge TYPE ekpo-menge,
meins TYPE ekpo-meins,
banfn TYPE ekpo-banfn,
END OF itab.
SELECT-OPTIONS: s_ebeln FOR itab-ebeln.
START-OF-SELECTION.
SELECT * INTO CORRESPONDING FIELDS OF TABLE itab
FROM ekko
INNER JOIN ekpo
ON ekkoebeln = ekpoebeln
WHERE ekko~ebeln IN s_ebeln
AND ekpo~banfn = space.
WRITE:/ text-001,
15 text-002,
25 text-003,
40 text-004,
70 text-005,
85 text-006.
ULINE.
LOOP AT itab.
WRITE:/ itab-ebeln, 16 itab-ebelp, 25 itab-matnr,
40 itab-txz01, 60 itab-menge, 88 itab-meins.
ENDLOOP.select-options: s_ekorg for ekko-ekorg.
select-options: s_matnr for ekpo-matnr.
select-options: s_werks for ekpo-werks.
select-options: s_aedat for ekko-aedat.
Check the PO numbers here is not necessary because you are using a select-option(range), if something erroneous is typed, the program will simply not select it.
This would be a different story if you where using a parameter. Here you would do a check against EKKO in the AT SELECTION-SCREEN event.
at selection-screen.
select Single * from ekko
where ebeln = p_ebeln.
if sy-subrc <> 0.
message E000(00).
Endif.
Regards,
Rich Heilman
Regards,
Rich Heilman
Maybe you are looking for
-
AIR installer causes application crash
Hi all, I'm developing an AIR 2.0 application and it appears that the AIR installer is causing an application crash. Here's what the person who is experiencing the crash is reporting: I installed the software per instructions. However, when I attempt
-
System errors and replys not posting
Over the last couple of days I've had several intermittent problems trying to view threads in this forum, mainly shown as System connection errors. Today I've also tried to post a reply in a thread, the submit appears to work (no error message) but m
-
click on 'run' to get into control panel or speech recognition or other programs. Even trying to click on run shuts me out, going nowhere. One day I'm dictating with my new headset and listening to my grand daughter's new song via the internet and t
-
I want to create my users with XML. I have plenty of examples on how to create "simple" users that do not need any of the more complex attributes such as "DirectoryUserAcl", "PrimaryUserProfileAcl" or "DefaultAcls". I have 2 questions: 1. How do I us
-
Acces key - CTRL KEy instead ALT key
hi, in ADF components access key is working based on Alt key for IE , is it possible to set access key with Control key ? is it possible to set Function keys as access keys ? please advice Regards Jeethi George