Regarding changing and using
Hello experts:
First thank you in advance for all your replies.
would you please explain the difference of changing and using preferably by an example?
couldn't thank you more.
Best regards.
Frank
Hi,
USING and CHANGING in PERFORMS means like this.
USING- Call by value
CHANGING- Call by reference
Check the example below.
PERFORM conv_atinnnam_no USING l_refbatch CHANGING w_refbatch.
FORM conv_atinnnam_no USING p_name
CHANGING p_no.
CALL FUNCTION 'CONVERSION_EXIT_ATINN_INPUT'
EXPORTING
input = p_w_name
IMPORTING
output = p_w_no.
ENDFORM. " conv_atinnnam_no
The parameters passing under USING will not change if the corrosponding parameter in the FORM changes unless it is global variable. But in case of parameter under changing what ever changes we are making inside FORM will be reflected to Original variables.
In case of global variables USING and CHANGING works in
the same way.
Thanks,
Vinod,
Similar Messages
-
All Information regarding Change and Transport management System in SAP
Hello Experts,
Iam into Basis . I need all information ,fundamentals and concepts over Change and Transport management system in SAP .Its fundamentals,the way it works ,how requests r transporteded etc. I want more of this information in regards to practical scenario. Plz dont provide help link as iam aware of that. I need good explanatory content ,in your own words shall be appreciated more. If any body has any self prepared good explanatory and procedural matter , tat will be of help.requested to revert at earliest as this is a bit urgent. My Email Id is [email protected]
Useful answers shall be rewarded points.
Thanks and Regards,
Somyacheck this link
http://help.sap.com/saphelp_47x200/helpdata/en/d7/8eb9361a75ea43e10000009b38f839/frameset.htm -
Difference between CHANGING and USING
explain the concept of formal and acutal parameters... when we use changing
and when we use value with simple easy examples...
thanks
Message was edited by:
balaji velpuriPROGRAM form_test.
DATA: a1 TYPE p DECIMALS 3,
a2 TYPE i,
a3 TYPE d,
a4 TYPE spfli-carrid,
a5(1) TYPE c.
PERFORM subr USING a1 a2 a3 a4 a5.
PERFORM subr CHANGING a1 a2 a3 a4 a5.
PERFORM subr USING a1 a2 a3
CHANGING a4 a5.
FORM subr USING
value(f1) TYPE p
value(f2) TYPE i
f3 LIKE a3
CHANGING
value(f4) TYPE spfli-carrid
f5.
ENDFORM.
This example defines a subroutine subr with a parameter interface consisting of five formal parameters, f1 to f5. The subroutine is called internally three times. The actual parameters are the data objects a1 to a5. The three subroutine calls are all equally valid. There are further PERFORM statements that are also equally valid, so long as the sequence of the actual parameters remains unchanged. In each call, a1 is passed to f1, a2 to f2, and so on. When the subroutine ends, a3, a4, and a5 receive the values of f3, f4, and f5 respectively. The third of the subroutine calls documents in the program what the parameter interface of the subroutine shows, namely that only a4 and a5 are changed. In the case of reference parameter f3, it depends on the programming of the subroutine whether a3 is changed all the same.
REPORT demo_mod_tech_describe.
DATA:
date1 TYPE d, date2 TYPE t,
string1(6) TYPE c, string2(8) TYPE c,
number1 TYPE p DECIMALS 2, number2 TYPE p DECIMALS 0,
count1 TYPE i, count2 TYPE i.
PERFORM typetest USING date1 string1 number1 count1.
SKIP.
PERFORM typetest USING date2 string2 number2 count2.
FORM typetest USING now
txt TYPE c
value(num) TYPE p
int TYPE i.
DATA: t(1) TYPE c.
DESCRIBE FIELD now TYPE t.
WRITE: / 'Type of NOW is', t.
DESCRIBE FIELD txt LENGTH t IN CHARACTER MODE.
WRITE: / 'Length of TXT is', t.
DESCRIBE FIELD num DECIMALS t.
WRITE: / 'Decimals of NUM are', t.
DESCRIBE FIELD int TYPE t.
WRITE: / 'Type of INT is', t.
ENDFORM.
This produces the following output:
Type of NOW is D
Length of TXT is 6
Decimals of NUM are 2
Type of INT is I
Type of NOW is T
Length of TXT is 8
Decimals of NUM are 0
Type of INT is I
Regards,
Pavan -
When to use Perform Changing and using. and Table
Hi,
What is use of Perform chaging and using ?
in what situation we need to use it ?Hi Jim,
PERFORM: PERFORM command is used to call an ABAP subroutine (form) from any program, subject to the normal ABAP runtime authorization checking.Such calls to subroutines can be used for carrying out calculations, for obtaining data from the database that is needed at display or print time, for formatting data, and so on.
PERFORM commands, like all control commands, are executed when a document is formatted for display or printing. Communication between a subroutine that you call and the document is by way of symbols whose values are set in the subroutine.
ABAP Subroutine example is given in this link
http://help.sap.com/saphelp_nw70/helpdata/en/9f/db979d35c111d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/d1/803279454211d189710000e8322d00/content.htm
Passing the values in an internal table has many scenarios like pass by value pass by reference pass by value and referenceSuch scenarios are well explained in the following link
http://help.sap.com/saphelp_nw70/helpdata/en/9f/db979035c111d1829f0000e829fbfe/content.htm
Revert for further clarification,
Thanks and Regards
Srikanth.P -
Setting/changing and using date and time for an alarm.
While I know how to get the time I'm not sure how to somehow allow the user of the app to change it, save it and then use both the date and time to set off an alarm.
While this can be easily done using forms my application is purely canvas based so none of that easy to use stuff, I'd have to print the time on the screen then allow the user to change that time, repaint the numbers again while also changing it in system, save the time and date to memory then use it set off an alarm.
If anyone can link to some good, simple tutorials or explain themselves it'd be appreciated, thanks.This may be possible, but it may need a script to launch with firefox...so this may be a skeleton answer.
A couple of brianstorms to achieve this
*Cronzilla add on might be helpful [https://addons.mozilla.org/en-US/firefox/addon/cronzilla/]
*Saved sso login might be in the about:config file page:
[http://superuser.com/questions/664656/how-to-configure-firefox-for-ntlm-sso-single-sign-on] "securtiy ask for password"
* you may need to add to the security exceptions the sso login page
Two things we can do, file a bug to add this to the launch arguments, and find a meantime work around which stackoverflow.com would be a great place to ask this question. -
I am using labview 5.1 and DAQ 6.6. While recording data, which seems to work fine, the real-time plots simply stop and labview seems to lock up after about 30 seconds of reading data. The VI I am using I have been using for a long time and I have never had a problem like this before. I am really stumped as to why this happens.
Yes do the jpg thing.
If I understand you correctly, the data makes to the file.
Double check the data in the file to make sure you are getting good values. Who knows, you may have a bad channel that is ggofing with you scales such that just can't see the data.
It start to plot and then suddenly it just goes away huh?
Post a picture.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction -
I can't print e-mail but I can print PDF files or Word files. I was told by a computer pro that it may be a software problem. What can I do to correct this problem???
Follow the link in the first post above. I had to reset everything in the "print-print-printer "file for HP.
-
Has anyone gone to europe with an htc one and used a prepaid SIM there?
I will be going to Europe (france and spain thus far) in september and would like to be able to use our smartphones. I hear that outside of the USA, if you purchase a prepaid SIM (they run like 10euro for 1000/1000/2gb) it will work just fine. Can anyone verify this?
Thanks!jltravels,
It sounds like you are going to be visiting some beautiful places! We would love to make sure you are able to use your device while traveling. To find out all the information regarding traveling and using your device while outside the USA reach out to our Global Department http://vz.to/1eyPfPp
LindseyT_VZW
Follow us on Twitter @VZWSupport -
you can't open photo library using this version of iphoto. you have made changes to your photo library using a newer version of iphoto. please quit and use latest version of iphoto. iphoto 11 is installed.
This is a message you got?
If so, as your post isn't clear, it may be a bogus message caused by a corrupt database.
Option 1
Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
If that fails:
Option 2
Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
Regards
TD -
How to get the Details Regarding the tcode like used by and used in .
Hi all,
My requirement is if i give the Z* Tcode in the selection screen I should get the details like program Name and Creator Name and created on and last Changed by and used by and used in Related Data.
Somehow i managed to get all the data except for two fields used by and used in .Please let mke know is there any Function Module to fetch the used by(User Name ) and used in data or any table where this data is saved.
Thanks in Advance.
Regards,
NaveenHi Naveen,
What are you exactly looking for in "used by" (if it's who launched the transaction lastly -> performance statistics, transaction ST03N, search forum how to read it) and "used in" (programs in which the transaction is statically defined in CALL TRANSACTION, and other statements -> CROSS table)?
BR
Sandra -
hello !
i'm shamain silva,now i live in sri lanka.while im in dubai,i bought a iphone,when im on my bussiness work someone stole my mobile,so icomplained it to srilankan policewith the IMEI NO and all other my details,under referance no of C.I.B 4 12/144 SEEDUWA POLICE STATION.I hered from mouth to mouth from others that they were saying,if its stolen by some one,they can change the IMEI NO and use it back,so the police never find out the mobile,so i want to know,whether its correct or wrong ?
and would it be change the IMEI NO ?
can u follow up about my IMEI NO and give some details of it ?
IMEI/MEID 01305600192
thanks,
best regards,
shamain.I am sorry to hear you had your iPhone stolen.
I'm not sure if this will be of any assistance but here is an article that might help
http://support.apple.com/kb/HT2526
As far as being able to change the IMEI, I'm sure if the person hacking the iPhone is good enough that it IS possible. However your every day thief would not be that good I am sure.
It might also be possible for you to track the device yourself if you had enabled Find My iPhone in Settings>iCloud. -
I just reinstalled and this is the pop up that shows "You have made changes to your photo library using a newer version of iPhoto. Do you want to quit and use the latest version of iPhoto, or do you want to create a new photo library?" what do i do next? it just keeps popping up and loading but only gives a quit button?
Update it.
How old is your Mac? If it's very recent you need to update via the App Store
If you purchased at the App Store you need to update via the App Store
Otherwise you update via Softare Update
Regards
TD -
I am getting a message that my iphoto library cannot be opened because I mades changes to my photos in a newer version of iphoto and I need to quit and use the newest version of iPhoto. but in update, it says i have no updates. i dont even remember making changes in iphoto.Help. thanks.
What version of iPhoto? Assuming 09 or later...
Option 1
Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
If that fails:
Option 2
Download iPhoto Library Manager and use its rebuild function. (In Library Manager it's the FIle -> Rebuild command)
This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
Regards
TD -
Hello
Maybe not the best section ..
But we have in mind changing existing Oracle licences on all existing systems (ECC;CRM;PI,BI) with HANNA(and use HANNA DB)..
I wander what would be pro and what cons?
Thank you a lot
JanHi Jan,
If I understand correctly you are going to perform database migration activity in your present landscape. Firstly you have to contact SAP as well as one of the third party hardware vendor (who is going to provide certified HANA hardware). SAP will provide you all the license details.
For whole your migration activity below link will be helpful:-
SAP BW on HANA Cookbook
Migration to HANA made easy with DMO
Regards,
Rafikul -
You have made changes to your photo library using a newer version of iPhoto. Please quit and use the latest version of iPhoto.
This is the message I'm getting when I try to open iphoto. This happened after a member of the genius bar fixed the problem with the download of the update of the Mac OSX combined.Well, I'll guess it's iPhoto 11 then.
Option 1
Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
If that fails:
Option 2
Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
Regards
TD
Maybe you are looking for
-
F110 DME File selected is not the correct file
Hi Gurus, Could you advise on this issue please? We have executed a payment run F110 for vendors on SAP. The payments documents are created successfully. When we view the payment list via F110 -> EDIT -> Payment List -> generate via RFZALIZ0 program
-
How to download the same song(track) with different keys? iTunes seems to think I have already dowloaded the song and will not let me download the song in a different key or the Demo.
-
Hi folks. I'm going to do the following: I've got a JPanel p1 with a JComboBox and everytime the user changes the combobox' index I want to add a new JPanel with a JComboBox below the first JComboBox in p1. I know how I do this, but the correct layou
-
2 queries sharing 1 variable entry screen
We have 2 queries in a workbook which use identical user-entered variants. Is there a way to have the user only fill in the variants once for both queries. Thanks, Ron
-
Runtime exceptions - Help!
Hello, it's little ol' me again with my little ol' password generator applet. It compiles fine, but when I run it, I get all kinds of runtime exceptions when I click on any of the checkboxes. I have pored over this code til I'm blue in the face. I pe