Track changes to any field in Custom transaction and then call pop-up FM ?
Hi Friends,
I have created a custom transaction with 2 screens. Only if user has made some changes to any of the 40 fields in those 2 screens, I should ask user if they want to save by calling pop-up function module ? Rather than checking each field content with database content, is there any easy way to monitor the changes and call pop-up function module ?
Any help is suitably rewarded.
Niranjan
Thanks Amit for the reply.
I have 2 questions
1) Is there any easy way that SAP will keep track by itself, say in SYST structure, and I can just check in SY structure if something has changed ?
2) Along with 40 fields, I have 2 more sub-screens; Text editor AND table control. I need to check contents of these also and then call SAVE pop-up function module.
Pl let me know,
Niranjan
Similar Messages
-
ALV issue - capturing user changes in editable fields using custom button?
Hi,
I created a custom button in ALV tool bar. And also in my ALV grid I have couple of fields Editable option. User can change values for these 2 fields.
My question is -
After changing values for these editable fields(more than 1 record) , user will click on custom button and then I have to update all the user changed values in to my internal table(lt_tab) and then I have to process logic.
Problem is when user click on Custom button in ALV tool bar it is not having the changed values in lt_tab table.
Only when user clicks some thing on ALV grid records or fields then it is getting all the changed values in to lt_tab.
Can any one tell me how I can get changed values when user clicks on custom button?
1. Can we place custom button in ALV Grid? instead of ALV tool bar?
or
How I can capture user changes when they click on custom button?
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
TABLES
T_OUTTAB = lt_tab
Please check this logic-
CASE r_ucomm.
WHEN '&IC1'.
- It_tab having all changed field values
WHEN 'custom button'.
lt_tab - not having any changed values - showing all initial lt_tab values.
I highly appreciate your answers on this.
Thanks.
Rajesh.Hi,
Use this code, its working:-
*& Form ALV_DISPLAY
* SUB-ROUTINE ALV_DISPLAY IS USED TO SET THE PARAMETERS
* FOR THE FUNCTION MODULE REUSE_ALV_GRID_DISPLAY
* AND PASS THE INTERNAL TABLE EXISTING THE RECORDS TO BE
* DISPLAYED IN THE GRID FORMAT
FORM alv_display .
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
* I_INTERFACE_CHECK = ' '
* I_BYPASSING_BUFFER = ' '
* I_BUFFER_ACTIVE = ' '
i_callback_program = v_rep_id " report id
i_callback_pf_status_set = 'PF' " for PF-STATUS
i_callback_user_command = 'USER_COMMAND' " for User-Command
* I_CALLBACK_TOP_OF_PAGE = ' '
* I_CALLBACK_HTML_TOP_OF_PAGE = ' '
* I_CALLBACK_HTML_END_OF_LIST = ' '
* I_STRUCTURE_NAME =
* I_BACKGROUND_ID = ' '
* I_GRID_TITLE =
* I_GRID_SETTINGS =
is_layout = wa_layout " for layout
it_fieldcat = it_field " field catalog
* IT_EXCLUDING =
* IT_SPECIAL_GROUPS =
it_sort = it_sort " sort info
* IT_FILTER =
* IS_SEL_HIDE =
* I_DEFAULT = 'X'
i_save = 'A'
is_variant = wa_variant " variant name
* IT_EVENTS =
* IT_EVENT_EXIT =
* IS_PRINT =
* IS_REPREP_ID =
* I_SCREEN_START_COLUMN = 0
* I_SCREEN_START_LINE = 0
* I_SCREEN_END_COLUMN = 0
* I_SCREEN_END_LINE = 0
* I_HTML_HEIGHT_TOP = 0
* I_HTML_HEIGHT_END = 0
* IT_ALV_GRAPHICS =
* IT_HYPERLINK =
* IT_ADD_FIELDCAT =
* IT_EXCEPT_QINFO =
* IR_SALV_FULLSCREEN_ADAPTER =
* IMPORTING
* E_EXIT_CAUSED_BY_CALLER =
* ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = it_final " internal table
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " ALV_DISPLAY
*& Form USER_COMMAND
* SUB-ROUTINE USER_COMMAND IS USED TO HANDLE THE USER ACTION
* AND EXECUTE THE APPROPIATE CODE
* -->LV_OKCODE used to capture the function code
* of the user-defined push-buttons
* -->L_SELFIELD text
FORM user_command USING lv_okcode LIKE sy-ucomm l_selfield TYPE slis_selfield.
* assign the function code to variable v_okcode
lv_okcode = sy-ucomm.
* handle the code execution based on the function code encountered
CASE lv_okcode.
* when the function code is EXECUTE then process the selected records
WHEN 'EXECUTE'. "user-defined button
* to reflect the data changed into internal table
DATA : ref_grid TYPE REF TO cl_gui_alv_grid. "new
IF ref_grid IS INITIAL.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
e_grid = ref_grid.
ENDIF.
IF NOT ref_grid IS INITIAL.
CALL METHOD ref_grid->check_changed_data.
ENDIF.
* refresh the ALV Grid output from internal table
l_selfield-refresh = c_check.
ENDCASE.
ENDFORM.
This will reflect all the changes in the internal table. Now you can include your logic as per your requirement.
Hope this solves your problem.
Thanks & Regards,
Tarun Gambhir -
I already have creative cloud Photography plan and just want to add dreamweaver, is this possible? Alternatively, I have tried purchasing the Complete — For CS Customers but it asks me to contact customer support and then sends me through to the forums!!
yes.
contact adobe support by clicking here and, when available, click 'still need help', https://helpx.adobe.com/contact.html -
How can i change to display fields in the transaction WAE01
Hi friends ,
I need to change to mode ´Display´ the fields "Generation" ( Waste Generator - BPGEN ) and "Waste" ( Material That Represents the Waste - MATNR ) in the transaction WAE01. I'ts posible ?
I looked for any settings that would allow me to do this but not found.
Appreciate all the help they can will provide.
Thank you.Hi ! Amol,
That is true, but I need those fields are not editable since it started in the transaction WAE01.
Let me explain because I need to do this, end users often are wrong when capturing data in the fields Generation, Generator and Waste, but if you enter the field Generation and then press <ENTER>, The Generator and Waste fields are completed automatically.
My idea is to switch to display mode fields Generator y Waste and only allow data entry in the field Generation to avoid entry errors.
Thank you and I would appreciate your comments ! -
How to add fields in custom infotype and update its screens
Hi Experts
I want to enhance a custom infotype ( Add some new fields, and add special function on its screen). This custom infotype is created in previous release. is there any way to add fields in infotype? and let system automatcailly modify corresponding screens to add new fieldsGo to Transaction PM01.
2) Enter the custom Infotype number which you want to create (Should be a 4 digit number, start with 9).
3) Select the u2018Employee Infotypeu2019 radio button.
4) Select the u2018PS Structure Infotypeu2019.
5) Click on Createu2026 A separate table maintenance window appearsu2026
6) Create a PS structure with all the fields you want on the Infotype
7) Save and Activate the PS structure
8) Go back to the initial screen of PM01.
9) Click on u2018Allu2019 push button. It takes a few moments.
10) Click on u2018Technical Characteristicsu2019. Infotype list screen appears
11) Click on u2018Changeu2019(pencil) button
12) Select your Infotype and click on u2018Detailu2019 (magnifying glass) button
13) Give u2018T591Au2019 as subtype table
14) Give u2018T591Su2019 as subtype txt tab
15) Give your subtype field as subtype field
16) Save and come back to PM01 initial screen
17) Click on u2018Infotype Characteristicsu2019 u2026 Infotype list screen appears
18) Click on u2018Changeu2019 (pencil) button
19) Click on u2018New Entriesu2019
20) Enter your Infotype number and short text
21) Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotypeu2019s infotype characteristics screen and use as the reference to fill yours)
22) Save your entries.
23) Now the Infotype is created and ready to use.
24) If you want to change the layout of the Infotype as per your requirementu2026
25) In the PM01 initial screenu2026Select u2018Screenu2019 radio button and give 2000 as the screen name, then click on edit.
26) In the next screen.. Select u2018Layout Editoru2019 and click u2018Changeu2019.
27) Screen default layout appearsu2026here you can design/modify the screen..change the attributes of the fields..etc.
28) Save and activate. (Donu2019t forget to u2018Activate at every level
i think u have to select CI_INCLUDE while enhanceing the Standrad Infotype -
OBIEE 11g : Unable to see any images while customizing styles and skins
Hi,
I am trying to customize OBIEE 11g style and skin. I followed the steps mentioned at http://www.rittmanmead.com/2010/12/oracle-bi-ee-11g-styles-skins-custom-xml-messages/ and also in oracle white paper http://www.oracle.com/technetwork/middleware/bi/customizing-oracle-biee-11g-176387.pdf.
I am not able to see any images on any OBIEE screens. After login, I can see the name of skin which i have created as the default skin but login page images, header images (after login) are not coming up. Can you please provide solution?
P.S. I have not changed any images or any css files in the custom skin and style directory. I just wanted to know first whether the new skin/style works for me. If it works, then i will apply some sort of customization.That is correct. Also remember to delete browser cache. Here you have the folders: Re: how to insert the picture in the dashboard of BIEE
Let me know.
J.- -
Hi I am facing the three questions below.
1. How to use default RTE in custom page in Sharepoint hosted app.
I saw the article of Rich text Editor (ribbon based) in a webpart in SharePoint 2013 and tried it. But it did not work well. I guess it needs code-behind setting, however sharepoint hosted app does not support code-behind.
Does anybody know how to do this?
2. In above case, I placed the below code on custom page and tried to get the field's value when submit button was clicked.
<SharePoint:InputFormTextBox ID="rftDefaultValue"
RichText="true"
RichTextMode="FullHtml" runat="server"
TextMode="MultiLine" Rows="5">
</SharePoint:InputFormTextBox>
In debugger, the returned value was 'undefined'.
var note = $('#hogehoge').val();
Is it possible to get the RTE value? If yes, please let me know how to do this.
3. I need to submit the RTE value using REST call.
In this
article in MSDN, the item creation sample treats single line text field. Does anybody know the sample for RTE?Hi,
According to your description, you might want to use Rich Text Editor control in your SharePoint hosted app.
First of all, I would suggest you post one question in one thread to make it easier to be discussed, which would also help you get a quick solution.
Though we can add this control into a SharePoint hosted app, however, as we can’t add code behind for it, plus with the potential compatibility issues in different
browsers, I would suggest you use other JavaScript Rich Text Editor plugins instead.
Two JavaScript Rich Text Editor plugins for your reference:
http://quilljs.com/
http://nicedit.com/
If you want to submit the value of Rich Text Editor control to a SharePoint list using REST call, since the content in the Multiple Line of Text column is wrapped
with nested HTML tags, the similar requirement would also be applied to the content to be submitted.
Here is a code snippet about how to update a Multiple Line of Text column for your reference:
updateListItem(_spPageContextInfo.webAbsoluteUrl, "List018", 1);
function updateListItem(siteUrl, listName, itemId)
var itemType = GetItemTypeForListName(listName);
var item = {
"__metadata": { "type": itemType },
"MultiTextEnhanced": "<div><a href='http://bing.com/'>Bing</a><br></p></div>",
"Title": "123"
$.ajax({
url: siteUrl + "/_api/web/lists/getbytitle('" + listName + "')/items(" + itemId + ")",
method: "GET",
headers: { "Accept": "application/json; odata=verbose" },
success: function (data) {
console.log(data);
$.ajax({
url: data.d.__metadata.uri,
type: "POST",
contentType: "application/json;odata=verbose",
data: JSON.stringify(item),
headers: {
"Accept": "application/json;odata=verbose",
"X-RequestDigest": $("#__REQUESTDIGEST").val(),
"X-HTTP-Method": "MERGE",
"If-Match": data.d.__metadata.etag
success: function (data) {
console.log(data);
error: function (data) {
console.log(data);
error: function (data) {
console.log(data);
// Getting the item type for the list
function GetItemTypeForListName(name)
return"SP.Data." + name.charAt(0).toUpperCase() + name.slice(1) + "ListItem";
Thanks
Patrick Liang
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
contact [email protected]
Patrick Liang
TechNet Community Support -
SMQS transaction and Vertex calls timeout
Hi,
We just went live with one our SD projects. Before we went live we never had Vertex timeout issue, but after we went live we started getting 0 or 2 or sometimes 4 dumps in a day "CALL_FUNCTION_REMOTE_ERROR" The function where it dumps is RFC_CALCULATE_TAXES_DOC destination VERTEX. The description says "timeout during allocate" no connect of TP /usr/lpp/vertex/translink/verrfc from
host ansapap7 after 122 sec" .
RFC status: "CODE=CM_PRODUCT_SPECIFIC_ERROR CM_NO_STATUS_RECEIVED
CM_NO_DATA_RECEIVED SAPCODE=456 CONV=06153020"
RFC error text: "RFC_IO27"
CPI-C error text: "CPIC-CALL: 'ThSAPCMRCV'#Timeout during connection setup
(check that partner exists) "
Wierd thing is that it does not happen all the times. It happens 3 to 4 times in a day, sometimes it happens only once and sometimes does not happen at all.
I checked the SMQS transaction, it shows destination Vertex, max connection 1, max timeout 60. With this setting since last 3 + years we never had timeout issue, then why now when we have some 500 more orders being processed per day. These settings are still working for majority of orders, only some orders could pass through and get this dump.
Can someone guide me what this problem can be. Also can someone tell me is it safe to change the max connections and max timeout parameters in SMQS transactions and will changing those settings help in solving this.
Thanks in advance
PulinI had checked 645527 note also. We have not upgraded SAP since last 3 yrs. Its still 4.7, we have not applied any upgrade patches. It started happening after we went live on November 4th 06.
I think, this is some load distribution issue. Should I change the settings in SMQS transaction. Is that safe ?
If any one of you are using Vertex with SAP 4.7 or higher, then can you tell me what is present in table TTXC. Does this table contain old RFC calls(RFC_CALCULATE_TAXES1) or new RFC names(RFC_CALCULATE_TAXES_DOC).? -
I changed the password on my ipodtouch icloud and it still pops up and doesnt accept new password
when i sign in this opo up keeps popping up to put in my icloud password i do and it doesnt take it. i changed the password on my ipod touch it still pops up why would this do this?
Next time you want to change the network password.......change it on the Express first....and then on your main router. Then, as soon as you restart the main router, the Express already has the settings that it needs to join the network and it will join with no problems.
Now, you must reset the Express back to factory default settings and then set it up again. To do that......
Power off the Express for a minute
Hold in the reset button first, and keep holding it in for an additional 10 seconds while you simultaneously plug the Express back in to power
Release the reset button after the 10 second hold, and allow a full minute for the Express to restart to a slow, blinking amber light status
The Express has now been reset and you can reconfigure it to join your "new" network now. -
It isn't better for me. It is annoying and intrusive for you change my stuff.
When it was '''userset''' it was not changed to Yahoo, only the "default" setting was changed.
Sorry you are unhappy with that change, but if you change it now it will become '''userset''' and it won't be changed again.
Options > Search at the top to change it. -
Cannot load any site, it seems loading and then appears a blank page "untitled"
Everything was working properly and i used mozilla to view internet sites, and then one day i double clicked the shortcut icon to run mozilla as always, waiting to load the default homepage that i had set, and all i saw was a blank page "untitled", and every attempt to fix it hasn't worked, all i have managed was once to remove the programme download it again and re-install it, it worked properly but the next time i tryed to use mozilla it happened the same thing.
A possible cause is security software (firewall) that blocks or restricts Firefox without informing you about that, possibly after detecting changes (update) to the Firefox program.
Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process.
See:
* [[Server not found]]
* [[Firewalls]]
* http://kb.mozillazine.org/Browser_will_not_start_up -
Whenever I switch from My Music to iTunes Store and then back to My Music, it sends me to the top of My Music instead of where I was when I switched. How can I get it to return to where I was when I switch out of and back into My Music instead of going back to the top?
Firefox will reload a page and reposition at the top if the copy in the cache has expired. However, that shouldn't happen right away.
When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
(1) Bypass Firefox's Cache
Use Ctrl+Shift+r to reload the page fresh from the server.
Alternately, you also can clear Firefox's cache completely using:
orange Firefox button (or Tools menu) > Options > Advanced
On the Network mini-tab > Cached Web Content : "Clear Now"
If you have a large hard drive, this might take a few minutes.
(2) Remove the site's cookies (save any pending work first). While viewing a page on the site:
* right-click and choose View Page Info > Security > "View Cookies"
* Alt+t (open the classic Tools menu) > Page Info > Security > "View Cookies"
Then try reloading the page. Does that help? -
I download PDF documents from municipalities, often and from numerous municipalities.
They have a scanned image of a form that I need to fill out,
I enter my contact info as a text box onto the form, along with other information,
but when I save the document, there seems no way to flatten the fields so that the person I send the document to has a true PDF and cannot change the document.
They could delete one of the text boxes or change the text in the box (by mistake),
which could case some major complications.
How do I flatten the document, so I can send it back to the municipalities as a PDF that cannot be changed.
I am using Acrobat X Pro, on windows XP machineI doubt you could fix this. Generally a "garbled" file is considered unusable for copying, and that's that. If a PDF uses random mappings instead of standard ones it looks fine on screen, but text extraction is impossible.
Short of converting every page to bitmap and OCRing again. -
File to IDOC scenario: Create customer master and then return customer no
Hi all.
I have a scenario to pass xml file to sap XI to generate IDOC to create customer master in SAP. My problem is that I need to return customer no. created in SAP from IDOC. Is there any solution to do this? Someone told me that BPM could be used for doing this but I don't know the steps.I have no problem in create customer master in SAP. My only problem is how to return customer no. Any help would be appreciate. Thank you.
Best Regards,
Pavin>>u can use synch-Asynch bridge using BPM
This can not be done via sync-async bridge.There are 2 reasons for this
1.He has file adapter as sender and that doesn't support synchronous scenarios.
2.He has standard IDOC as receiver.there is no way you can fetch customer# from IDOC without writing a custom program,Thats why i said he need to either use RFC/Proxy or do some custom development.
Thanx
Aamir -
When i go to edit songs in my library, like changing the artists name or album, i then click sync and look on my ipod and the changes have not applied. I tried clicking the manage music manually box and to edit the songs manually from my ipod and still when i edit them and make changes on my actual ipod the songs are still the same. Any help?
I have tried everything I have read on the Internet about sync issues and restore etc and not there isn't a single song on my iPad or iPod touch. All of the songs are listed in my iTunes but are all greyed out, some have the cloud symbol next to them but lots don't and some say waiting.
Long and short is nothing will save to my devices at all.....HELP !!!!!!!?
Maybe you are looking for
-
At my education institution we own a number of iPads, around sixty. At present they have all been supervised by Apple Configurator and enrolled in Merkai. I have 15 of them set up with only one profile from Apple Configurator, which is for the wifi.
-
Am trying to go to app store to purchase but am unable to access
-
Hi I bought few years ago HP p6 2490eo desktop pc. It had Windows 8 preinstalled, but on box it didnt have any cd for windows 8 key. Then i installed WIndows 10, but i thought its stupid so i uninstalled it. And now i have installed windows 8.1 prev
-
X1 Carbon H5321gw WWAN and Windows 8, a solution
As many other users I had a problem with installation and firmware upgrade of H5321gw WWAN device under Windows 8. The drivers pack provided by Lenovo (http://download.lenovo.com/pccbbs/mobiles/g7wo06ww.exe) - run multiple times - did not install the
-
Need help reinstalling - challenge to those out there.
I need some help After downloading quicktime 7.1, front row etc from latest software update on my macbook pro, (with latest osx installed) i was unable to progress past the initial 'starting mac os x' screen. After trying various tricks via the manua