How to debugg a script when the Required out put is like Fax or email
Hi this is Durga Prasad i have small doubt in scripts can any one clarify that one plz normally we will do that one with activating debugger but when a special requirement is like fax or e mail how we will do that one
"how to debugg a script when the Required out put is like Fax or email"
Thanks in advance
Durga Prasad.
Hi
DEBUG Smartform:
1) One way to debug smartform is to debug the Function Module of that smartforms.
If you want to debug particular smartform node that the solution would be,
insert a "Program Line" just above the node you want to debug and this program line write a normal abap breakpoint.
So whenever you call the smartforms, it will stop at this breakpoint and you can debug onwards.
2) SFTRACE can be used for debugging SMARTFORMS.
Read More here.
http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
script
1). Use Tools - Word Processing - Layout Set (SE71). Enter name of layout set and then Utilities - Activate Debugger.
It is of no consequence which layoutset you enter when selecting the SAPscript debugger. (Menu path: Tools-Wordprocessing - Forms, Utilities - Activate Debugger) The next layoutset called will invoke the debugger.
2). Another way to set the SAPScript debugger is to run program RSTXDBUG.
When you debug Print program it is same as you debug any other ABAP program. While when you debug SAPScript, you actually debug the code ( scripting) you have written SAPScript Form.
As per ur question there is nothing new with script debugging,
it is same as normal report debugging...
SMARTFORMS DEBUGGING
For smartforms debugging you can do this.
1. Execute the smartform (execute button in SMARTFORMS transaction)
2. Take the generated function module and display it in SE80.
3.Find the smartforms Elements (text elements, windows, code lines, loops) in this and set Soft break points.
Correct name is SMARTFORM_TRACE. You have lots of options for adequate analysis
Tcode - SFTRACE
Re: How to Debug a Smartform
Debug of smartform and sapscript.
Debugging SmartForms
Debugging of a subroutine pool.
SCRIPT
There are 2 separate kinds of debugging available when you try to debug scripts.
1. Debugging the print program : This is the normal debugging we do for our report programs.
2. Debugging the script itself : You Can debug a SAP Script by activating debugger in two ways:
a .In SE71->Menu->Utilities->Activate Debugger, then debugger will be get activated and when your print program is executing Script Debugger will be in active and you can proceed with your debugging.
b. Goto se38-> RSTXDBUG ->Execute this same as going thru in se71-> Menu, now debugger will be activated.
refer to the link below
http://www.howforge.com/how-to-debugging-sapscript-form
Look at the BLOG here, it is well explained
/people/sudheer.junnuthula2/blog/2007/01/09/script-debugging
Regards
Anji
Similar Messages
-
How to block the 'save' function when the required fields are not filled?
Hello, Everyone
I am new for this scripting. My question is:
How to block the 'save' function when the required fields are not filled?
I designed a PDF file with some required fields and I do not want the user to save the document until all required fields are filled. My idea is to write some scripts in Willsave method like:
if (this.getField("Family Name").value == ""){
app.alert('You should fill the Family Name field firstly!');
But I do not think it works as finally the document is saved after all.
Please help me on that!
So much thanks.Dear Randybearwang,
I am a Rocky myself and I know how though it is to establish some good codes. Since I created some forms with validation options myself I might have a code for you. The code also creates an alert box (Yes/no option) if the user chooses yes the form will be validatet, if he chooses "no" the alert window will be closed.If everything is filled out correctly the form will be saved otherwise the textbox will be higlighted and gets focus.
If you need further assistance , please let me know
Have fun with the code.
P.s I don´t know how to upload the "PDF" document. I wrote you an email, please get back to me if you still need the file. -
I've lost my iPhone 4... How can I find it when the device is off linesmen using "find my iPhone app"????? Any way of getting a location from it?????
No. It must be online in order to locate it.
What To Do If Your iDevice Is Lost Or Stolen
iPhone, iPod Touch, and iPad
If you activated Find My Phone before it was lost or stolen, you can track it only if it is connected to the Internet by Wi-Fi or cellular. What you cannot do is track your device using a serial number or other identifying number. You cannot expect Apple or anyone else to find your device for you. You cannot recover your loss unless you insure your device for such loss. It is not covered by your warranty.
If your iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should have done in advance - before you lost it or it was stolen - and some things to do after the fact. Here are some suggestions:
This link, Re: Help! I misplaced / lost my iPhone 5 today morning in delta Chelsea hotel downtown an I am not able to track it. Please help!, has some good advice regarding your options when your iDevice is lost or stolen.
1. Reporting a lost or stolen Apple product
2. Find my lost iPod Touch
3. AT&T. Sprint, and Verizon can block stolen phones/tablets
4. What-To-Do-When-Iphone-Is-Stolen
5. iCloud- Use Lost Mode
6. What to do if your iOS device is lost or stolen
7. 6 Ways to Track and Recover Your Lost/Stolen iPhone
8. Find My iPhone
9. Report Stolen iPad | Stolen Lost Found Online
It pays to be proactive by following the advice on using Find My Phone before you lose your device:
1. Find My iPhone
2. Setup your iDevice on iCloud
3. OS X Lion/Mountain Lion- About Find My Mac
4. How To Set Up Free Find Your iPhone (Even on Unsupported Devices) -
My messages won't say the contact name only shows the phone number, how do you change this when the contact is in my phone under that number already?
I thought that at first, but I have text this person before and had received responses in a timely manner. Its just weird that it all of a sudden removed their name.
Would this affect the delivery of the text message? -
I have a new computer and my old drive has my UNSAVED bookmarks on it and I want to import them, how do I do it when the bookmarks are not SAVED?
You can backup the bookmarks on the old computer and create a JSON or HTML backup and restore or import this file in the Bookmarks Manager (Bookmarks > Show All Bookmarks).
You can use an USB stick to transfer the saved bookmarks file to the new computer.<br />
You can also copy the places.sqlite file from that computer to have the bookmarks and the history.
*http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
*http://kb.mozillazine.org/Backing_up_and_restoring_bookmarks_-_Firefox -
How to use java script when popups are blocked in browser
How to use java script when popups are blocked in browser
Not. When people install a popup blocker they don't WANT popups, so stop trying to force them down their throats.
-
I have the macbook 13 inch aluminum. However, I want to upgrade it to Lion. Since I have 10.5.8- How do I update it? The requirement is 10.6.
To see how much RAM you have go to the Apple in the upper left corner and select About This Mac, then check Memory on More Info.
For hard drive storage space right click (or Control+Click) on your hard drive icon and select Get Info then look at Capacity (which is the size of the hard drive) and Available (Which is the free space on the hard drive)
The Late 2008 model 5,1 Aluminum Unibody can use up to 8gb of RAM http://eshop.macsales.com/shop/memory/Apple_MacBook_MacBook_Pro/Upgrade/DDR3
Here's a video of how to install RAM http://eshop.macsales.com/installvideos/macbook_13_unibody/ -
How can I generate data when the link is click on?
i have written a stackoverflow question ,
would like some input if you have any , thanks, i would like to stay away from using jquery
http://stackoverflow.com/questions/23143436/how-can-i-generate-data-when-the-link-is-click -on/23143813?noredirect=1#23143813I think you need to rephrase your question and be more specific. Also for me the images you are referring to do not exist. From your question I am interpreting it as "how do I program?"
-
How do you quit mail when the 'quit mail' is not illuminated
how do you quit mail when the 'quit mail' is not illuminated
Command ⌘ + Q, or if that doesn't work, force quit by pressing Command ⌘ + option + esc, selecting Mail, and then Force Quit.
-
How to logout an user when the browser is closed?
Hi,
does someone knows how to logout an user when the browser is closed?
Thanks.Hi,
There is an api wwctx_sso.cleanup_sessions which removes old sessions. This takes a parameter "p_hours_old" which indicates the age of the sessions which need to be removed. There is a job which runs which in turn calls this api to clean up sessions which are 7 days old or 168 hours old. You can see this from the dba_jobs table. You can try running this api.
Thanks,
Sharmila -
if i purchase a device through this official website,then how can i send warranty when the device have problem?
To purchase a device from the online US Apple Store you will need a US credit card with a valid US address and a valid US address to ship to. You cannot use a shipping forwarder.
If you are in a different country you would have to return to the US to access your warranty.
If you are in the US but not near an Apple Store you would start here for service: https://selfsolve.apple.com/agreementWarrantyDynamic.do -
How do I deactivate DreamWeaver when the hard drive died?
How do I deactivate DreamWeaver when the hard drive died? It will not reinstall on the new PC because it wants the old one deactivated, which is impossible. There is no way I can deactivate it and I have a legitimate copy. I had it on one PC that died, so I bought a new PC and put it on that. A few days later I had to return the new one because of problems with the PC. They give me a replacement which seems to be working OK, only now Adobe thinks I have DreamWeaver all over the place. I don't have it anywhere. All I want to do is put my legitimate copy on my new PC. HELP!!!
You need to contact Adobe Support either by chat or via phone when you have serial number and activation issues. They can take care of the deactivation for the lost drive. Chat operates 24/7.
Here are some links to help make contact:
http://www.adobe.com/support/chat/ivrchat.html
http://www.adobe.com/support/download-install/supportinfo/ -
HT4061 how to get full info about the iphone by putting the imei number in pc
how to get full info about the iphone by putting the imei number in pc
https://discussions.apple.com/message/23921736#23921736
-
How can i delete an icloud account with out password or access to old email
how can i delete an icloud account with out password or access to old email
If the old ID ("email address) is yours, and is an ealier version of your current iCloud ID, go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID. Click edit next to the primary email account, change it back to your old email address and save the change. Then edit the name of the account to change it back to your old email address. You can now use your current password to turn off Find My iDevice, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll. When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud). Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was. Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.
-
SInce i installed Lion, my desktop icons are lining up like regimented Windows icons!
how do i get them to stay where i put them, like they used to do?
thanks!
ellenIn that case, there may be a problem with your Finder preferences or window settings.
Try removing these files, then restarting:
~/Library/Preferences/com.apple.finder.plist
~/Desktop/.DS_Store
Let me know if you're not sure how to do that.
Maybe you are looking for
-
Is Apple video adapter compatible with my 12 inch ibook G4?
HI. Sorry if i'm repeating an old topic, but I can't seem to find this specific question in any of them. i was reading on the apple website that the video adapter M9109G/A (Model no) Is only compatible with ibook's without the external reset button?
-
Auto Save - Lost My Homework - Power Outage
Help - I am brand new to Mac - I love my new iMac 24", but the power went out tonight as I was in the middle of my homework assignment. I was using Pages to write my report and had not saved in the last 30 min's. I lost everything I had done! Can you
-
I synced my Iphone before downloading the newest update and lost all my purchased ringtones. How do I get them back and what do I do differently next time so it doesn't happen again?
-
Creation of tables in NetWeaverDeveloperStudio
Hi All, I need to create tables in ORACLE, is there any possibility of creating tables in NetWeaver Developer Studio and then deploy those tables in to the server directly, so it can update into the ORACLE database. Thanks&Regards, Lakshmi
-
Material master: BAPI_MATERIAL_SAVEDATA
Hi Friends, We are using the BAPI_MATERIAL_SAVEDATA for our mass material master upload. The programm is in use since 2005 (with several updates) and it works fine. Recently, I get feedback from my material master manager that some datas are not bein