Issue with Background execution of a Program
Hi,
I have developed a simple Report.
If i execute the report in foreground, the execution will be perfect as per logic maintained in the code.
If i execute the report in background, a particular IF condition is getting failed in the program.
I tried to debug the code (maintaining sy-batch = 'X' while debug). The same IF condition which gets failed in background, will get satisfied now in debug mode with sy-batch = 'X'.
I believe sy-batch = 'X' means the program running in background.
But when i run the program in background (pressing F9 without any debug), again the particular IF condition in the code gets fails.
Any idea to resolve this kind of issues...??
Regards
Pavan
What is "getting failed"? Result not true, so not going to the code inside IF/ENDIF? What is your expected result?
Please post the code part here (using code tags, only the relevant part, please watch the formatting).
Thomas
Similar Messages
-
However, we've had issues with other legacy systems and programs for outlook
I have a user who when she logs into her workstation and tries to access her outlook folders she is denied access. If she removes and then adds them back they work. Only one other person on our network had this problem which I initially thought was connectivity
related. I replaced their cat five cable and that seemed to solve their problem. I tried this with this user and it cleared up for about a week but happened again today. Any thoughts or experience with this. Outlook doesnt support archives in a network share
so I cant turn to them. It uses a login batch script to load mapped drives according to department. This all predates me so I did not build them. However, we've had issues with other legacy systems and programs so it is highly possible that this could be an
issue.Will:Hi! Hi!
I use Firefox and it is now No. 1 on my choice of browsers. I agree it doesn't like the "for IE only" coded sites but then IE is now a non issue as it is dead in the water! So Safari is now really bloated and getting slower by the version. Firefox is quick, good to look at with numerous skins, and what is more has become the browser of choice for web developers on both platforms because it sticks to the WWC3 code. Camino is just another flavour of Netscape which seems to be a bloat AOL IE wannabee product. Do yourself a favour and download Firefox. Give it a few spins around the block and I'm sure you will agree. As for the sites it declines to accept because of bad code, then I would suggest a strong letter of protest to the webmaster! For too long IE has been flouting the rules and trying to be the only game in town. Take some affirmative action and let the webmasters know there are other browsers available to users. If you are still not a believer then check this out:
http://www.pcworld.com/reviews/article/0,aid,118959,00.asp
May the force be with you! -
Issue with background job--taking more time
Hi,
We have a custom program which runs as the background job. It runs every 2 hours.
Itu2019s taking more time than expected on ECC6 SR2 & SR3 on Oracle 10.2.0.4. We found that it taking more time while executing native SQL on DBA_EXTENTS. When we tried to fetch less number of records from DBA_EXTENTS, it works fine.
But we need the program to fetch all the records.
But it works fine on ECC5 on 10.2.0.2 & 10.2.0.4.
Here is the SQL statement:
EXEC SQL PERFORMING SAP_GET_EXT_PERF.
SELECT OWNER, SEGMENT_NAME, PARTITION_NAME,
SEGMENT_TYPE, TABLESPACE_NAME,
EXTENT_ID, FILE_ID, BLOCK_ID, BYTES
FROM SYS.DBA_EXTENTS
WHERE OWNER LIKE 'SAP%'
INTO
: EXTENTS_TBL-OWNER, :EXTENTS_TBL-SEGMENT_NAME,
:EXTENTS_TBL-PARTITION_NAME,
:EXTENTS_TBL-SEGMENT_TYPE , :EXTENTS_TBL-TABLESPACE_NAME,
:EXTENTS_TBL-EXTENT_ID, :EXTENTS_TBL-FILE_ID,
:EXTENTS_TBL-BLOCK_ID, :EXTENTS_TBL-BYTES
ENDEXEC.
Can somebody suggest what has to be done?
Has something changed in SAP7 (wrt background job etc) or do we need to fine tune the SQL statement?
Regards,
VivdhaHi,
there was an issue with LMT's but that was fixed in 10.2.0.4
besides missing system statistics:
But WHY do you collect every 2 hours this information? The dba_extents view is based on really heavy used system tables.
Normally , you would start queries of this type against dba_extents ie. to identify corrupt blocks and such:
SELECT owner , segment_name , segment_type
FROM dba_extents
WHERE file_id = &AFN
AND &BLOCKNO BETWEEN block_id AND block_id + blocks -1
Not sure what you want to achieve with it.
There are monitoring tools (OEM ?) around that may cover your needs.
Bye
yk -
Virsa CC 5.1: Issue with Background Job
Dear All,
I almost finished configuration of our new Compliance Calibrator dashboard (Java stack of NW'04). But, unfortunately, have an issue with SoD analysis now.
Using SAP Best Practice recommendations, we have uploaded all functions, business processes and risks into CC database, and then successfully generated new rules (there are about 190 active ones in our Analysis Engine).
I also configured JCo to R/3 backend and was able to extract the full list of our users, roles and profiles. But somehow background analysis job fails.
In job history table I see the following message: "Error while executing the Job:null", and in job log there is an entry, saying that "Daemon idle time longer than RFC time out, terminating daemon 0". But it's quite strange, as we use default values: RFC Time Out = 30 min, and daemons are invoked every 60 seconds.
Please, advise whether you had similar issues in your SAP environment and, if yes, how you resolved them.
Thanks,
LazizHi Laziz
I am now just doing the first part of CC. May I know your details in how to configured Jco To R/3 Backend? Do you need to create any SM59 for connection T in R/3? If yes, I am lacking of the details to do that if you could help? Thank you.
Regards
Florence -
Issues with Admissions Restricted flag on Programs of Study
Hi,
We have had issues recently with students booking when they should not be allowed to book. (example: admission approved for fall, but the student was able to book for the previous summer) One suggestion from SAP was to use the Admissions Restricted checkbox located in the Program Data section of the SC "Program of Study"
Testing went well, however, we found a couple of instances where this option did not work.
1. If the student had 2 admissions with the same program of study and one of them was in Rejected status, they would not be able to book. So the scenario is...a student applied last year and was rejected as an Undeclar UG. They applied again this year also as an Undeclar UG and were approved for Fall. When they book for fall...the error message returns that they do not have a valid admission.
2. It appears that if we can no longer use the Change of Program button on the Registration tab. If we try to change the program, we get the message that the "Student has no valid admission" for the program we are switching too. Which they don't have an admission for the change...that's why we do the Change of Program functionality.
I may have to file an OSS note for this, but I was wondering if anyone else used this feature and ran into the same problems.
Thanks!
MikeHi Mike,
If look into documentation of BADI it says "the system calls this BAdI when you process the following activities:
RA01 - Initial registration
RA02 - Extend study segment
RQ01 - Change of program
The logic you suppose to code is if you are getting value CV_ADMISSION_OK as space. Look for does that student have any approved admission for that level (UG/GR/DR). If he finds any records in Hrp1001(relat 530) with same level just set this flag to 'X'. It will allow you to change the program.
Let's say if SAP allows you to change of program without going through this validation. Again you will get caught when student will not be able to book course because it will not find any admission for new program. This badi is allowing you override admission check.
Thanks,
Prabhat Singh -
Weird issue with background image (Safari)
Just wonder if anyone can shed any light on this one....
Basically have a design in progress here:
http://www.hpwebdesign.co.uk/rachelworrall/index101.php
All was fine until I added the three images that fade into one another using the Ultimate Fade In slideshow script ( http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm )
When the page is initially loaded in Safari (5), the top section of the background image doesn't display - it starts just beneath the main content below the navigation.
The weird part is that it literally only takes a click of the mouse outside that Safari window to make it appear. A refresh, however, won't.
It seems fine in Firefox on a Mac, and the client didn't report any issue in IE.
Can anyone with Safari have a quick look and replicate that glitch? If not, then it might just be some weird local issue here.
Many thanks.I've put up a couple of screenshots here:
http://www.hpwebdesign.co.uk/rachelworrall/screenshots.htm
Its like that in Safari 5.0.3 (and 5.0.4 which I've just updated.)
Again, it literally just needs a click out of the Safari window to make it appear correctly as per the second screenshot.
Its like this on a 27" iMac, but had a look on the macbook, and its fine on there.
So if it looks OK with anyone else, I'm just going to put it down to a weird glitch on my machine here. -
Issue with regeneration of screens for program RVV50R10C
Hi All,
We have a custom program with BDC simulation of the standard transaction VL10F. The program was working fine since the system went until last week. It started failing since 5 Aug 08. On further investigation we have noticed that the screen names of few fields changed on 5 Aug 08, this was because someone regenerated the program. We know that the program was regenerated on 5 Aug but do not know who regenerated it or how was this program regenerated. The issue is the screen names of those fields are inconsistent across the systems as this regeneration happenned only in the production system. I would need answers to 2 questions.
1) How can I know who regenerated this program/screen?
2) How do I make all my systems consistent across the board?
Regards,
KarthikAlthough this is not an direct answer to your question but, you may wanna look into it.
According to OSS note 397856:
Symptom
You encounter problems when trying to call up Transaction VL10* as a batch input or Call Transaction.
Other terms
VL10A, VL10B, VL10C, VL10D, VL10E, VL10F, VL10G, VL10H, VL10I, VL10BATCH, SCAT, CATT
Solution
Batch inputs or Call Transaction for Transactions VL10* are not provided for.These transactions are assigned to reports RVV50R10A, RVV50R10B and RVV50R10C and can be called via Submit Report and a variant including the user role. Refer to Note 310022 to create the variant. -
Hello,
I have Mac book Pro last generation.
While preparing the book with Lightroom, I used new proposed tool that I found very useful , to place photos as background with different type of opacity. After upload to Blurb some of these backgrounds have disappeared at all and some have very bright color (overexposed) , so I am afraid to launch the print . After export into Pdf, everything works correctly.
Please find enclosed two obvious examples, two print screens of pfd file and 2 prinscreent from the ecvivalent of the book Hylem & Mourad wedding at elyseephoto blurb page page 28, 42, 43(i add print screen also).
Please help me to solve the issue, maybe there are some installation to correct for the graphic backgrounds? Are there minimum opacity level?
Thank you in advance for your quick answer.
Kind regards,
Anna AkounIn the top right hand corner of the Book Module under <Book > change from <PDF> to Blurb.
With Blurb selected you will get lo-res warnings when the resolution is too low. Later on you can change back to <PDF>.
See screen shot:
You would not get a lo-res warning if you used original images from your camera. But if you either use small JPGs, or you crop an image severely and then use it for a full page image, the image will be too small to be used. -
Issue with Supplier Open Interface Import Program
Hello Folks,
I need help with supplier conversion. I am trying to load suppliers through the supplier open interface program. I see that the record got rejected in AP_SUPPLIERS_INT table with status as REJECTED. However i do not see the record in AP_SUPPLIER_INT_REJECTIONS. Therefore, i am not able to understand the rejection reason. I enabled debug can seeing this log..
assign_party_usage (+)
do_assign_party_usage (+)
effective_start_date = 2011/05/12 effective_end_date = 4712/12/31
duplicates_exist (+)
No date tracking for this usage SUPPLIER. Check duplicate assignment.
l_has_duplicates = Y
duplicates_exist (-)
assign_party_usage (-)
Rejected Vendor_Interface_Id: 15004, No. of Messages from Create_Vendor API: 2, Message From Create_Vendor API:
Enter Password:
REP-0004: Warning: Unable to open user preference file.
MSG-00999: Custom Report
MSG-00001: After SRWINIT
MSG-00002: After Get_Company_Name
MSG-00003: After Get_NLS_Strings
MSG-00004: After Importing Suppliers
MSG-00005: After Get_Header_Information
MSG-00020: After SRWEXIT
As per my understanding from the log, there is some problem with party_usage_assignment. I would really appreciate is someone can help me debug the exact problem. Else i would have to open a SR for this
Thanks so much looking forward for your answers.Pl post details of OS, database and EBS versions.
Pl see if MOS Doc 1060824.1 (R12: Supplier Open Interface APXSUIMP Errors with REP-0004 Output Does Not Indicate Reason for Rejection) is applicable
HTH
Srini -
Issue with class loading - Java concurrent Program
Hi ,
We are facing a strange issue for one of our customer.
Scenario :
We have a Java Concurrent Program (A.java ) which refers another Java class (B.java) , we modified the file B.java for a fix and created a patch. after applying the patch and bouncing the apache ,we found that B.java is loaded the old version of the class file.
We asked them to restart the concurrent manager and related services, still we see that old version of B.java is loaded. (confirmed by adding code throwing exception - throw new Exception from a specific line and found that its not getting thrown at run-time)
Any clue on this?.
Thanks
Joseph GeorgeDeployed this file both tier - Database server tier and Application server tier.
I have face same issue, Concurrent program not picking file application server tier. its picking file from database server tier.
Thanks, Avaneesh -
Issue with multiple attachments in email program
Hi All,
i need one program which sends 3 excel sheets as an atatchments. in these attachments data should be separated by tab. i am not able to find suitable program for the requirement anybody can send me the code .
thanks,
maheedharhi,
Refer to this link...
send mail with multiple excel attachments
Cancatenate fields of internal table CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB to get the tab position between the fields. -
HERE IS MY CODE
<html>
<body background="C:\Documents and Settings\Godara\Desktop\kufri (65).jpg">
<h1>Hello world!</h1>
</body>
</html>Have you contacted Project VII support or searched their knowledge base?
http://www.projectseven.com/support/index.htm
Also, is there any way to remove unused styles (in an external CSS) in DW? Just it would be a pain to go through and remove the styles I've tried, but then later decided not to use.
Not exaclty a DW answer, but I've used the free FireFox add-on to help me find unused selectors. Point it to a sitemap.xml and it can spider the whole site (as listed in that xml file).
https://addons.mozilla.org/en-US/firefox/addon/5392
But be careful with it. It apparently doesn't read JavaScript and your PMM triggers are actually used.
Mark A. Boyd
Keep-On-Learnin' :-)
If you are reading this via email, be aware that it may not be an accurate representation of my message. Login to read the actual message and/or to reply. -
A week without my Muse. Please HELP. I am trying to be Patient.
Each time I try to open my muse it is freezing and shutting down right away. I open the file and it just freezes. I get a window that pops up explaining DEP (I have tried to shut it off and it doesn't work). Has anyone else ever had this happen? I really want to get my Muse working again, its going on a week without. I have windows Vista, 32 bit. Since I did the recent updates its not working anymore. Can I roll back to an older version? Thank you.So I found a fix to this myself. I found that others were having the same issue in Photoshop CS6 too. What I did was go to open the app, right click on the app icon, go to properties>compatibility>click the box for Compatibility Mode that says "Run this program in compatibility mode for:: select your operating system (Mine was windows xp sp2). I also selected "Run as Administrator". So far it is working, I am upset that this was such a simple go around and I have been without my muse for over a month now.
-
HELP! Captive 6 issue with backgrounds bleeding
I have a background on a slide about 9-11 slides in (they are all similar so I don't know which one is the culprit) that is somehow bleeding an image on some of the slides moving forward. I'm not sure why its doing it and I can't find any consistency with which slides have the problem and which ones don't . It's off and one for about 20 more slides, then it quits. Any ideas?
These are backgrounds that were created with the recording button in captivate of an application (web based). I did get it to go away by going in and highlighting all the slides then checking the box for project background image or whatever that box is in the properties. The problem is, if I bump anything, it seems to come back and sometimes on different slides. I also hit reset master slide and the master slide is just plain white. It is currently working but I'm afraid if I work on it again it will show back up. I'd like to know what I did wrong or right in having it show up AND in having it go away. FYI, I did check to see if it was an image as I went down the same path as you are suggesting about it playing for the rest of the project, it isn't.
-
Strange issue with table control in dialog programming! Please help!
Hello everyone:
I have a table control on screen painter and I have atleast 10 rows on display when user calls the screen. If I have 15 columns then ofcourse user has to scroll down to see extra rows. I have line selection set to "single" for table control so that user can select only one row at a time. This works fine when user does not have to scroll to see extra rows. It is tough for me to explain i.e., if the table control displays 10 rows when the screen opens up then they can only select single row at a time (rows 1 -10). For example user selected row 7 and now they scroll down to see extra rows (for example 13) then it lets them select row 13 also even though I set line selection to "single" in the properties for table control! They should be able to select only one row at a time. Is this some limitation with table control in SAP? Please give me any information you have.
Thanks.
MithunHi,
As you suspected, this is a limitation in the table control. You need to take care of the single-selection functionality yourself except for the rows that are actually being displayed. See [Note 588284|https://service.sap.com/sap/support/notes/588284] for the official SAP explanation.
Regards,
Jamie
Maybe you are looking for
-
How can i use my iphone without a sim card
I updated my iphone 3gs and now it wont let me use it without my sim card, is there a way to un-update it or something?
-
LR 1.3 using Epson Pro 3800 anyone?
I haven't tried printing yet, but the current driver from Epson for the 3800 doesn't indicate the paper profile specified in LR when printing. This may be an Epson driver issue with Leopard. Anyone?
-
Where do I find passbook on my iPad
Where do I find passbook on my iPad
-
Using Multiple Audio Interfaces With Logic (Edirol FA-101)
I just bought tiger so that i could aggregate my two edirol fa-101's and they still dont work. They cut out and the sync buttons flash. Its as if the computer ant deal with so much information. I stop all large processes on my g5 dual 1.8 and try aga
-
Wireless IP Camera Won't Connect To Westell 9100EM Router
I'm trying to connection an IP camera, on Fios, to my Verizon Westell 9100EM router. Connecting the camera via a wired connection works fine. Port forwarding is automatically configured when turning the camera on, at TCP ANY 554, and the IP camera i